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

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

Response message for AzureClusters.CreateAzureNodePool method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The AzureCluster resource where this node pool will be created. Location names are formatted as projects/<project-id>/locations/<region>. See Resource Names for more details on Google Cloud resource names.

↳ azure_node_pool Google\Cloud\GkeMultiCloud\V1\AzureNodePool

Required. The specification of the AzureNodePool to create.

↳ azure_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 AzureNodePool resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

↳ validate_only bool

If set, only validate the request, but do not actually create the node pool.

getParent

Required. The AzureCluster resource where this node pool will be created.

Location names are formatted as projects/<project-id>/locations/<region>. 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
TypeDescription
string

setParent

Required. The AzureCluster resource where this node pool will be created.

Location names are formatted as projects/<project-id>/locations/<region>. 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
NameDescription
var string
Returns
TypeDescription
$this

getAzureNodePool

Required. The specification of the AzureNodePool to create.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\AzureNodePool|null

hasAzureNodePool

clearAzureNodePool

setAzureNodePool

Required. The specification of the AzureNodePool to create.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\GkeMultiCloud\V1\AzureNodePool
Returns
TypeDescription
$this

getAzureNodePoolId

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureNodePool resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

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

Returns
TypeDescription
string

setAzureNodePoolId

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureNodePool resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this