Anthos Multi-Cloud v1 API - Class AzureControlPlane (2.5.0)

public sealed class AzureControlPlane : IMessage<AzureControlPlane>, IEquatable<AzureControlPlane>, IDeepCloneable<AzureControlPlane>, IBufferMessage, IMessage

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class AzureControlPlane.

AzureControlPlane represents the control plane configurations.

Inheritance

object > AzureControlPlane

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Constructors

AzureControlPlane()

public AzureControlPlane()

AzureControlPlane(AzureControlPlane)

public AzureControlPlane(AzureControlPlane other)
Parameter
Name Description
other AzureControlPlane

Properties

ConfigEncryption

public AzureConfigEncryption ConfigEncryption { get; set; }

Optional. Configuration related to vm config encryption.

Property Value
Type Description
AzureConfigEncryption

DatabaseEncryption

public AzureDatabaseEncryption DatabaseEncryption { get; set; }

Optional. Configuration related to application-layer secrets encryption.

Property Value
Type Description
AzureDatabaseEncryption

EndpointSubnetId

public string EndpointSubnetId { get; set; }

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"

Property Value
Type Description
string

MainVolume

public AzureDiskTemplate MainVolume { get; set; }

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.

Property Value
Type Description
AzureDiskTemplate

ProxyConfig

public AzureProxyConfig ProxyConfig { get; set; }

Optional. Proxy configuration for outbound HTTP(S) traffic.

Property Value
Type Description
AzureProxyConfig

ReplicaPlacements

public RepeatedField<ReplicaPlacement> ReplicaPlacements { get; }

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.

Property Value
Type Description
RepeatedFieldReplicaPlacement

RootVolume

public AzureDiskTemplate RootVolume { get; set; }

Optional. Configuration related to the root volume provisioned for each control plane replica.

When unspecified, it defaults to 32-GiB Azure Disk.

Property Value
Type Description
AzureDiskTemplate

SshConfig

public AzureSshConfig SshConfig { get; set; }

Required. SSH configuration for how to access the underlying control plane machines.

Property Value
Type Description
AzureSshConfig

SubnetId

public string SubnetId { get; set; }

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.

Property Value
Type Description
string

Tags

public MapField<string, string> Tags { get; }

Optional. A set of tags to apply to all underlying control plane Azure resources.

Property Value
Type Description
MapFieldstringstring

Version

public string Version { get; set; }

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][google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig].

Property Value
Type Description
string

VmSize

public string VmSize { get; set; }

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.

Property Value
Type Description
string