gcloud container vmware clusters query-version-config [--location=LOCATION] [--cluster=CLUSTER | [--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP : --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global" --admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT]] [GCLOUD_WIDE_FLAG …]
us-west1, run:
gcloud container vmware clusters query-version-config --location=us-west1
To query versions for creating a cluster with an admin cluster membership named
my-admin-cluster-membership managed in project
my-admin-cluster-project and location us-west, run:
gcloud container vmware clusters query-version-config --location=us-west1 --admin-cluster-membership=my-admin-cluster-membership --admin-cluster-membership-project=my-admin-cluster-project
To query versions for upgrading a user cluster named
my-user-cluster in location us-west1, run:
gcloud container vmware clusters query-version-config --location=us-west1 --cluster=my-user-clusterproject attribute:
--location on the command line with a fully
specified name;
container_vmware/location with a fully specified
name;
--project on the command line;
core/project.
--location=LOCATIONlocation attribute:
--location on the command line;
container_vmware/location.
To set the project attribute:
--cluster on the command line with a fully
specified name;
--project on the command line;
core/project.
location attribute:
--cluster on the command line with a fully
specified name;
--location on the command line;
container_vmware/location.
--cluster=CLUSTERcluster attribute:
--cluster on the command line.
--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
To set the admin_cluster_membership attribute:
--admin-cluster-membership on the command
line.
--admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global"location attribute:
--admin-cluster-membership on the command line
with a fully specified name;
--admin-cluster-membership-location on the
command line.
--admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECTproject attribute:
--admin-cluster-membership on the command line
with a fully specified name;
--admin-cluster-membership-project on the
command line;
--project on the command line;
core/project.
--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.
gcloud alpha container vmware clusters query-version-configgcloud beta container vmware clusters query-version-config
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.