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 | |
---|---|
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. |
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 |