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 | |
---|---|
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.
Generated from protobuf field string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |