Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureClusterNetworking.
ClusterNetworking contains cluster-wide networking configuration.
Generated from protobuf message google.cloud.gkemulticloud.v1.AzureClusterNetworking
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ virtual_network_id
string
Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>
This field cannot be changed after creation.
↳ pod_address_cidr_blocks
array
Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14
). All pods in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
↳ service_address_cidr_blocks
array
Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14
). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
↳ service_load_balancer_subnet_id
string
Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are 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/subnetid456"
getVirtualNetworkId
Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster.
All components in the cluster (i.e. control plane and node pools) run on a
single VNet.
Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>
This field cannot be changed after creation.
string
setVirtualNetworkId
Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster.
All components in the cluster (i.e. control plane and node pools) run on a
single VNet.
Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>
This field cannot be changed after creation.
var
string
$this
getPodAddressCidrBlocks
Required. The IP address range of the pods in this cluster, in CIDR
notation (e.g. 10.96.0.0/14
).
All pods in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
setPodAddressCidrBlocks
Required. The IP address range of the pods in this cluster, in CIDR
notation (e.g. 10.96.0.0/14
).
All pods in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
var
string[]
$this
getServiceAddressCidrBlocks
Required. The IP address range for services in this cluster, in CIDR
notation (e.g. 10.96.0.0/14
).
All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
setServiceAddressCidrBlocks
Required. The IP address range for services in this cluster, in CIDR
notation (e.g. 10.96.0.0/14
).
All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
var
string[]
$this
getServiceLoadBalancerSubnetId
Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are 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/subnetid456"
string
setServiceLoadBalancerSubnetId
Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are 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/subnetid456"
var
string
$this