gcloud container azure clusters update

NAME
gcloud container azure clusters update - update an Anthos cluster on Azure
SYNOPSIS
gcloud container azure clusters update(CLUSTER :--location=LOCATION)[--admin-groups=[GROUP,…]][--admin-users=USER,[USER,…]][--async][--cluster-version=CLUSTER_VERSION][--logging=COMPONENT,[COMPONENT,…]][--ssh-public-key=SSH_PUBLIC_KEY][--validate-only][--vm-size=VM_SIZE][--annotations=ANNOTATION,[ANNOTATION,…]    |--clear-annotations][--clear-description    |--description=DESCRIPTION][--client=CLIENT    |--azure-application-id=AZURE_APPLICATION_ID--azure-tenant-id=AZURE_TENANT_ID--clear-client][--disable-managed-prometheus    |--enable-managed-prometheus][GCLOUD_WIDE_FLAG]
DESCRIPTION
(DEPRECATED) Update an Anthos cluster on Azure.

This command is deprecated. Seehttps://cloud.google.com/kubernetes-engine/multi-cloud/docs/azure/deprecations/deprecation-announcementfor more details.

EXAMPLES
To update a cluster namedmy-clustermanaged in locationus-west1, run:
gcloudcontainerazureclustersupdatemy-cluster--location=us-west1--cluster-version=CLUSTER_VERSION--client=CLIENT
POSITIONAL ARGUMENTS
Cluster resource - Azure cluster to update. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentcluster on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

CLUSTER
ID of the cluster or fully qualified identifier for the cluster.

To set thecluster attribute:

  • provide the argumentcluster on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Google Cloud location for the cluster.

To set thelocation attribute:

  • provide the argumentcluster on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertycontainer_azure/location.
FLAGS
--admin-groups=[GROUP,…]
Groups of users that can perform operations as a cluster administrator.
--admin-users=USER,[USER,…]
Users that can perform operations as a cluster administrator.
--async
Return immediately, without waiting for the operation in progress to complete.
--cluster-version=CLUSTER_VERSION
Kubernetes version to use for the cluster.
--logging=COMPONENT,[COMPONENT,…]
Set the components that have logging enabled.

Examples:

gcloudcontainerazureclustersupdate--logging=SYSTEMgcloudcontainerazureclustersupdate--logging=SYSTEM,WORKLOAD

COMPONENT must be one of:SYSTEM,WORKLOAD.

--ssh-public-key=SSH_PUBLIC_KEY
SSH public key to use for authentication.
--validate-only
Validate the update of the cluster, but don't actually perform it.
--vm-size=VM_SIZE
Azure Virtual Machine Size (e.g. Standard_DS1_v).
Annotations

At most one of these can be specified:

--annotations=ANNOTATION,[ANNOTATION,…]
Annotations for the cluster.
--clear-annotations
Clear the annotations for the cluster.
Description

At most one of these can be specified:

--clear-description
Clear the description for the cluster.
--description=DESCRIPTION
Description for the cluster.
Authentication configuration

At most one of these can be specified:

Client resource - Azure client to use for cluster update. This represents aCloud resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.

To set theproject attribute:

  • provide the argument--client on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argument--client on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertycontainer_azure/location.
--client=CLIENT
ID of the client or fully qualified identifier for the client.

To set theclient attribute:

  • provide the argument--client on the command line.
Azure services authentication
--azure-application-id=AZURE_APPLICATION_ID
ID of the Azure Application to manage Azure resources.
--azure-tenant-id=AZURE_TENANT_ID
ID of the Azure Tenant to manage Azure resources.
--clear-client
Clear the Azure client. This flag is required when updating to use Azureworkload identity federation from Azure client to manage Azure resources.
Monitoring Config

At most one of these can be specified:

--disable-managed-prometheus
Disable managed collection for Managed Service for Prometheus.
--enable-managed-prometheus
Enable managed collection for Managed Service for Prometheus.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This variant is also available:
gcloudalphacontainerazureclustersupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.