Google Anthos Multi Cloud V1 Client - Class AzureClusterNetworking (0.1.4)

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.

Parameters
Name
Description
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.

Generated from protobuf field string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description
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.

Generated from protobuf field string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
var
string
Returns
Type
Description
$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.

Generated from protobuf field repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

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.

Generated from protobuf field repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
var
string[]
Returns
Type
Description
$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.

Generated from protobuf field repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

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.

Generated from protobuf field repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
var
string[]
Returns
Type
Description
$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"

Generated from protobuf field string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
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"

Generated from protobuf field string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: