Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureControlPlane.
AzureControlPlane represents the control plane configurations.
Generated from protobuf message google.cloud.gkemulticloud.v1.AzureControlPlane
Namespace
Google \ Cloud \ GkeMultiCloud \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ version
string
Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000
). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig
.
↳ subnet_id
string
Optional. The ARM ID of the default subnet for the control plane. The control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements
is specified. This subnet will also be used as default for AzureControlPlane.endpoint_subnet_id
if AzureControlPlane.endpoint_subnet_id
is not specified. Similarly it will be used as default for AzureClusterNetworking.service_load_balancer_subnet_id
. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default
.
↳ vm_size
string
Optional. The Azure VM size name. Example: Standard_DS2_v2
. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions
. When unspecified, it defaults to Standard_DS2_v2
.
↳ ssh_config
Google\Cloud\GkeMultiCloud\V1\AzureSshConfig
Required. SSH configuration for how to access the underlying control plane machines.
↳ root_volume
Google\Cloud\GkeMultiCloud\V1\AzureDiskTemplate
Optional. Configuration related to the root volume provisioned for each control plane replica. When unspecified, it defaults to 32-GiB Azure Disk.
↳ main_volume
Google\Cloud\GkeMultiCloud\V1\AzureDiskTemplate
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
↳ database_encryption
Google\Cloud\GkeMultiCloud\V1\AzureDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
↳ proxy_config
Google\Cloud\GkeMultiCloud\V1\AzureProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
↳ config_encryption
Google\Cloud\GkeMultiCloud\V1\AzureConfigEncryption
Optional. Configuration related to vm config encryption.
↳ tags
array| Google\Protobuf\Internal\MapField
Optional. A set of tags to apply to all underlying control plane Azure resources.
↳ replica_placements
array< Google\Cloud\GkeMultiCloud\V1\ReplicaPlacement
>
Optional. Configuration for where to place the control plane replicas. Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
↳ endpoint_subnet_id
string
Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id. Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
getVersion
Required. The Kubernetes version to run on control plane replicas
(e.g. 1.19.10-gke.1000
).
You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig .
string
setVersion
Required. The Kubernetes version to run on control plane replicas
(e.g. 1.19.10-gke.1000
).
You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig .
var
string
$this
getSubnetId
Optional. The ARM ID of the default subnet for the control plane. The
control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements
is specified. This subnet will also
be used as default for AzureControlPlane.endpoint_subnet_id
if AzureControlPlane.endpoint_subnet_id
is not specified. Similarly it will
be used as default for AzureClusterNetworking.service_load_balancer_subnet_id
.
Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default
.
string
setSubnetId
Optional. The ARM ID of the default subnet for the control plane. The
control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements
is specified. This subnet will also
be used as default for AzureControlPlane.endpoint_subnet_id
if AzureControlPlane.endpoint_subnet_id
is not specified. Similarly it will
be used as default for AzureClusterNetworking.service_load_balancer_subnet_id
.
Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default
.
var
string
$this
getVmSize
Optional. The Azure VM size name. Example: Standard_DS2_v2
.
For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions
.
When unspecified, it defaults to Standard_DS2_v2
.
string
setVmSize
Optional. The Azure VM size name. Example: Standard_DS2_v2
.
For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions
.
When unspecified, it defaults to Standard_DS2_v2
.
var
string
$this
getSshConfig
Required. SSH configuration for how to access the underlying control plane machines.
hasSshConfig
clearSshConfig
setSshConfig
Required. SSH configuration for how to access the underlying control plane machines.
$this
getRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica.
When unspecified, it defaults to 32-GiB Azure Disk.
hasRootVolume
clearRootVolume
setRootVolume
Optional. Configuration related to the root volume provisioned for each control plane replica.
When unspecified, it defaults to 32-GiB Azure Disk.
$this
getMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica.
The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
hasMainVolume
clearMainVolume
setMainVolume
Optional. Configuration related to the main volume provisioned for each control plane replica.
The main volume is in charge of storing all of the cluster's etcd state. When unspecified, it defaults to a 8-GiB Azure Disk.
$this
getDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
hasDatabaseEncryption
clearDatabaseEncryption
setDatabaseEncryption
Optional. Configuration related to application-layer secrets encryption.
$this
getProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
hasProxyConfig
clearProxyConfig
setProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
$this
getConfigEncryption
Optional. Configuration related to vm config encryption.
hasConfigEncryption
clearConfigEncryption
setConfigEncryption
Optional. Configuration related to vm config encryption.
$this
getTags
Optional. A set of tags to apply to all underlying control plane Azure resources.
setTags
Optional. A set of tags to apply to all underlying control plane Azure resources.
$this
getReplicaPlacements
Optional. Configuration for where to place the control plane replicas.
Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
setReplicaPlacements
Optional. Configuration for where to place the control plane replicas.
Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.
$this
getEndpointSubnetId
Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
string
setEndpointSubnetId
Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
var
string
$this