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

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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. * azureClient. * control_plane.version. * control_plane.vm_size. * annotations. * authorization.admin_users. * authorization.admin_groups. * control_plane.root_volume.size_gib. * azure_services_authentication. * azure_services_authentication.tenant_id. * azure_services_authentication.application_id. * control_plane.proxy_config. * control_plane.proxy_config.resource_group_id. * control_plane.proxy_config.secret_id. * control_plane.ssh_config.authorized_key. * logging_config.component_config.enable_components * monitoring_config.managed_prometheus_config.enabled.

getAzureCluster

Required. The AzureCluster resource to update.

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

hasAzureCluster

clearAzureCluster

setAzureCluster

Required. The AzureCluster resource to update.

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

getValidateOnly

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

Returns
Type Description
bool

setValidateOnly

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

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

  • description.
  • azureClient.
    • control_plane.version.
    • control_plane.vm_size.
    • annotations.
    • authorization.admin_users.
    • authorization.admin_groups.
    • control_plane.root_volume.size_gib.
    • azure_services_authentication.
    • azure_services_authentication.tenant_id.
    • azure_services_authentication.application_id.
    • control_plane.proxy_config.
    • control_plane.proxy_config.resource_group_id.
    • control_plane.proxy_config.secret_id.
    • control_plane.ssh_config.authorized_key.
    • logging_config.component_config.enable_components
    • monitoring_config.managed_prometheus_config.enabled.
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 AzureCluster:

  • description.
  • azureClient.
    • control_plane.version.
    • control_plane.vm_size.
    • annotations.
    • authorization.admin_users.
    • authorization.admin_groups.
    • control_plane.root_volume.size_gib.
    • azure_services_authentication.
    • azure_services_authentication.tenant_id.
    • azure_services_authentication.application_id.
    • control_plane.proxy_config.
    • control_plane.proxy_config.resource_group_id.
    • control_plane.proxy_config.secret_id.
    • control_plane.ssh_config.authorized_key.
    • logging_config.component_config.enable_components
    • monitoring_config.managed_prometheus_config.enabled.
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
azureCluster Google\Cloud\GkeMultiCloud\V1\AzureCluster

Required. The AzureCluster 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 AzureCluster:

  • description.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.
Returns
Type Description
Google\Cloud\GkeMultiCloud\V1\UpdateAzureClusterRequest