Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class CreateAwsNodePoolRequest.
Response message for AwsClusters.CreateAwsNodePool
method.
Generated from protobuf message google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The AwsCluster resource where this node pool will be created. |
↳ aws_node_pool |
Google\Cloud\GkeMultiCloud\V1\AwsNodePool
Required. The specification of the AwsNodePool to create. |
↳ aws_node_pool_id |
string
Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AwsNodePool resource name formatted as |
↳ validate_only |
bool
If set, only validate the request, but do not actually create the node pool. |
getParent
Required. The AwsCluster resource where this node pool will be created.
AwsCluster
names are formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>
.
See Resource Names
for more details on Google Cloud resource names.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The AwsCluster resource where this node pool will be created.
AwsCluster
names are formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>
.
See Resource Names
for more details on Google Cloud resource names.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAwsNodePool
Required. The specification of the AwsNodePool to create.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeMultiCloud\V1\AwsNodePool|null |
hasAwsNodePool
clearAwsNodePool
setAwsNodePool
Required. The specification of the AwsNodePool to create.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeMultiCloud\V1\AwsNodePool
|
Returns | |
---|---|
Type | Description |
$this |
getAwsNodePoolId
Required. A client provided ID the resource. Must be unique within the parent resource.
The provided ID will be part of the AwsNodePool
resource name formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.
Valid characters are /[a-z][0-9]-/
. Cannot be longer than 40 characters.
Generated from protobuf field string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setAwsNodePoolId
Required. A client provided ID the resource. Must be unique within the parent resource.
The provided ID will be part of the AwsNodePool
resource name formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.
Valid characters are /[a-z][0-9]-/
. Cannot be longer than 40 characters.
Generated from protobuf field string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
If set, only validate the request, but do not actually create the node pool.
Generated from protobuf field bool validate_only = 4;
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
If set, only validate the request, but do not actually create the node pool.
Generated from protobuf field bool validate_only = 4;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |