Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::AzureControlPlane (v0.6.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AzureControlPlane.

AzureControlPlane represents the control plane configurations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#config_encryption

def config_encryption() -> ::Google::Cloud::GkeMultiCloud::V1::AzureConfigEncryption
Returns

#config_encryption=

def config_encryption=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AzureConfigEncryption
Parameter
Returns

#database_encryption

def database_encryption() -> ::Google::Cloud::GkeMultiCloud::V1::AzureDatabaseEncryption
Returns

#database_encryption=

def database_encryption=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AzureDatabaseEncryption
Parameter
Returns

#endpoint_subnet_id

def endpoint_subnet_id() -> ::String
Returns
  • (::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"

#endpoint_subnet_id=

def endpoint_subnet_id=(value) -> ::String
Parameter
  • value (::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"

Returns
  • (::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"

#main_volume

def main_volume() -> ::Google::Cloud::GkeMultiCloud::V1::AzureDiskTemplate
Returns
  • (::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.

#main_volume=

def main_volume=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AzureDiskTemplate
Parameter
  • value (::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.

Returns
  • (::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.

#proxy_config

def proxy_config() -> ::Google::Cloud::GkeMultiCloud::V1::AzureProxyConfig
Returns

#proxy_config=

def proxy_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AzureProxyConfig
Parameter
Returns

#replica_placements

def replica_placements() -> ::Array<::Google::Cloud::GkeMultiCloud::V1::ReplicaPlacement>
Returns
  • (::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.

#replica_placements=

def replica_placements=(value) -> ::Array<::Google::Cloud::GkeMultiCloud::V1::ReplicaPlacement>
Parameter
  • value (::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.

Returns
  • (::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.

#root_volume

def root_volume() -> ::Google::Cloud::GkeMultiCloud::V1::AzureDiskTemplate
Returns

#root_volume=

def root_volume=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AzureDiskTemplate
Parameter
Returns

#ssh_config

def ssh_config() -> ::Google::Cloud::GkeMultiCloud::V1::AzureSshConfig
Returns

#ssh_config=

def ssh_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AzureSshConfig
Parameter
Returns

#subnet_id

def subnet_id() -> ::String
Returns
  • (::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.

#subnet_id=

def subnet_id=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.

#tags

def tags() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. A set of tags to apply to all underlying control plane Azure resources.

#tags=

def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. A set of tags to apply to all underlying control plane Azure resources.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. A set of tags to apply to all underlying control plane Azure resources.

#version

def version() -> ::String
Returns
  • (::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.

#version=

def version=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.

#vm_size

def vm_size() -> ::String
Returns
  • (::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.

#vm_size=

def vm_size=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.