Google Anthos Multi Cloud V1 Client - Class UpdateAzureNodePoolRequest (0.6.1)

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

Request message for AzureClusters.UpdateAzureNodePool method.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ azure_node_pool Google\Cloud\GkeMultiCloud\V1\AzureNodePool

Required. The AzureNodePool resource to update.

↳ validate_only bool

If set, only validate the request, but don't actually update the node pool.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool: *. annotations. * version. * autoscaling.min_node_count. * autoscaling.max_node_count. * config.ssh_config.authorized_key. * management.auto_repair. * management.

getAzureNodePool

Required. The AzureNodePool resource to update.

Returns
Type Description
Google\Cloud\GkeMultiCloud\V1\AzureNodePool|null

hasAzureNodePool

clearAzureNodePool

setAzureNodePool

Required. The AzureNodePool resource to update.

Parameter
Name Description
var Google\Cloud\GkeMultiCloud\V1\AzureNodePool
Returns
Type Description
$this

getValidateOnly

If set, only validate the request, but don't actually update the node pool.

Returns
Type Description
bool

setValidateOnly

If set, only validate the request, but don't actually update the node pool.

Parameter
Name Description
var bool
Returns
Type Description
$this

getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool: *. annotations.

  • version.
    • autoscaling.min_node_count.
    • autoscaling.max_node_count.
    • config.ssh_config.authorized_key.
    • management.auto_repair.
    • management.
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool: *. annotations.

  • version.
    • autoscaling.min_node_count.
    • autoscaling.max_node_count.
    • config.ssh_config.authorized_key.
    • management.auto_repair.
    • management.
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
azureNodePool Google\Cloud\GkeMultiCloud\V1\AzureNodePool

Required. The AzureNodePool resource to update.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AzureNodePool:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
Returns
Type Description
Google\Cloud\GkeMultiCloud\V1\UpdateAzureNodePoolRequest