Google Anthos Multi Cloud V1 Client - Class ReplicaPlacement (0.4.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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

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.

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.

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.

Returns
TypeDescription
string

setAzureAvailabilityZone

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this