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

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

Request message for AzureClusters.UpdateAzureCluster method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ azure_cluster Google\Cloud\GkeMultiCloud\V1\AzureCluster

Required. The AzureCluster resource to update.

↳ validate_only bool

If set, only validate the request, but do not actually update the cluster.

↳ 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 AzureCluster: * description. * annotations. * azureClient. * control_plane.version. * control_plane.vm_size. * authorization.admin_users. * control_plane.root_volume.size_gib. * logging_config

getAzureCluster

Required. The AzureCluster resource to update.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

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

hasAzureCluster

clearAzureCluster

setAzureCluster

Required. The AzureCluster resource to update.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED];

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

getValidateOnly

If set, only validate the request, but do not actually update the cluster.

Generated from protobuf field bool validate_only = 2;

Returns
TypeDescription
bool

setValidateOnly

If set, only validate the request, but do not actually update the cluster.

Generated from protobuf field bool validate_only = 2;

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 AzureCluster:

  • description.
  • annotations.
    • azureClient.
    • control_plane.version.
    • control_plane.vm_size.
    • authorization.admin_users.
    • control_plane.root_volume.size_gib.
    • logging_config

Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

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 AzureCluster:

  • description.
  • annotations.
    • azureClient.
    • control_plane.version.
    • control_plane.vm_size.
    • authorization.admin_users.
    • control_plane.root_volume.size_gib.
    • logging_config

Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this