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

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

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

↳ per_node_pool_sg_rules_disabled bool

Optional. Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools.

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

getPerNodePoolSgRulesDisabled

Optional. Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools.

Returns
Type Description
bool

setPerNodePoolSgRulesDisabled

Optional. Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools.

Parameter
Name Description
var bool
Returns
Type Description
$this