Google Anthos Multi Cloud V1 Client - Class ReplicaPlacement (1.1.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class ReplicaPlacement.

Configuration for the placement of a control plane replica.

Generated from protobuf message google.cloud.gkemulticloud.v1.ReplicaPlacement

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ subnet_id string

Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.

↳ azure_availability_zone string

Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.

getSubnetId

Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.

Returns
Type Description
string

setSubnetId

Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.

Parameter
Name Description
var string
Returns
Type Description
$this

getAzureAvailabilityZone

Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.

Returns
Type Description
string

setAzureAvailabilityZone

Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.

Parameter
Name Description
var string
Returns
Type Description
$this