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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Generated from protobuf field string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.

Generated from protobuf field string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAzureAvailabilityZone

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

Generated from protobuf field string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setAzureAvailabilityZone

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

Generated from protobuf field string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this