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

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.

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.

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.

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.

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.

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this