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

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsClusterNetworking.

ClusterNetworking defines cluster-wide networking configuration.

Anthos clusters on AWS run on a single VPC. This includes control plane replicas and node pool nodes.

Generated from protobuf message google.cloud.gkemulticloud.v1.AwsClusterNetworking

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vpc_id string

Required. The VPC associated with the cluster. All component clusters (i.e. control plane and node pools) run on a single VPC. This field cannot be changed after creation.

↳ pod_address_cidr_blocks array

Required. All pods in the cluster are assigned an IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.

↳ service_address_cidr_blocks array

Required. All services in the cluster are assigned an IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.

getVpcId

Required. The VPC associated with the cluster. All component clusters (i.e. control plane and node pools) run on a single VPC.

This field cannot be changed after creation.

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

Returns
TypeDescription
string

setVpcId

Required. The VPC associated with the cluster. All component clusters (i.e. control plane and node pools) run on a single VPC.

This field cannot be changed after creation.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPodAddressCidrBlocks

Required. All pods in the cluster are assigned an 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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPodAddressCidrBlocks

Required. All pods in the cluster are assigned an 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
NameDescription
var string[]
Returns
TypeDescription
$this

getServiceAddressCidrBlocks

Required. All services in the cluster are assigned an IPv4 address from these ranges.

Only a single range is supported. This field cannot be changed after creation.

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServiceAddressCidrBlocks

Required. All services in the cluster are assigned an IPv4 address from these ranges.

Only a single range is supported. This field cannot be changed after creation.

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this