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

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

Methods

build

Parameters
NameDescription
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.
Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\UpdateAzureNodePoolRequest

__construct

Constructor.

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

getAzureNodePool

Required. The AzureNodePool resource to update.

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

hasAzureNodePool

clearAzureNodePool

setAzureNodePool

Required. The AzureNodePool resource to update.

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

getValidateOnly

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

Returns
TypeDescription
bool

setValidateOnly

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$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.
Returns
TypeDescription
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.
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this