# Anthos Multi-Cloud v1 API - Class AzureControlPlane (2.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.9.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.8.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane)

    [Obsolete]
    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](https://learn.microsoft.com/dotnet/api/system.object) \> AzureControlPlane

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AzureControlPlane](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AzureControlPlane](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AzureControlPlane](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GkeMultiCloud.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)

## Assembly

Google.Cloud.GkeMultiCloud.V1.dll

## Constructors

### AzureControlPlane()

    public AzureControlPlane()

### AzureControlPlane(AzureControlPlane)

    public AzureControlPlane(AzureControlPlane other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureControlPlane` |

## Properties

### ConfigEncryption

    [Obsolete]
    public AzureConfigEncryption ConfigEncryption { get; set; }

Optional. Configuration related to vm config encryption.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureConfigEncryption` |   |

### DatabaseEncryption

    [Obsolete]
    public AzureDatabaseEncryption DatabaseEncryption { get; set; }

Optional. Configuration related to application-layer secrets encryption.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### MainVolume

    [Obsolete]
    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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureDiskTemplate` |   |

### ProxyConfig

    [Obsolete]
    public AzureProxyConfig ProxyConfig { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureProxyConfig` |   |

### ReplicaPlacements

    [Obsolete]
    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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ReplicaPlacement` |   |

### RootVolume

    [Obsolete]
    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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AzureDiskTemplate` |   |

### SshConfig

    [Obsolete]
    public AzureSshConfig SshConfig { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |