Method: projects.locations.vmwareClusters.queryVersionConfig

Queries the VMware user cluster version config.

HTTP request

POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/vmwareClusters:queryVersionConfig

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}"

Query parameters

Parameters
Union parameter config_type. The config of the version config request to specify the use case to list versions. config_type can be only one of the following:
createConfig

object (VmwareClusterCreateConfig)

User cluster create use case. Require admin cluster membership or resource name.

upgradeConfig

object (VmwareClusterUpgradeConfig)

User cluster upgrade use case. Require user cluster resource name.

Request body

The request body must be empty.

Response body

Response message for querying VMware user cluster version config.

If successful, the response body contains data with the following structure:

JSON representation
{
  "versions": [
    {
      object (VmwareVersionInfo)
    }
  ]
}
Fields
versions[]

object (VmwareVersionInfo)

List of available versions to install or to upgrade to.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

VmwareClusterCreateConfig

Message for VMware user cluster create config.

JSON representation
{

  // Union field admin_cluster can be only one of the following:
  "adminClusterMembership": string,
  "adminClusterName": string
  // End of list of possible types for union field admin_cluster.
}
Fields

Union field admin_cluster.

admin_cluster can be only one of the following:

adminClusterMembership

string

The admin cluster membership. This is the full resource name of the admin cluster's fleet membership. Format: "projects/{project}/locations/{location}/memberships/{membership}"

adminClusterName

string

The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{vmwareAdminCluster}"

VmwareClusterUpgradeConfig

Message for VMware user cluster upgrade config.

JSON representation
{
  "clusterName": string
}
Fields
clusterName

string

The user cluster resource name. This is the full resource name of the user cluster resource. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmwareCluster}"

VmwareVersionInfo

Contains information about a specific Anthos on VMware version.

JSON representation
{
  "version": string,
  "hasDependencies": boolean,
  "isInstalled": boolean,
  "dependencies": [
    {
      object (UpgradeDependency)
    }
  ]
}
Fields
version

string

Version number e.g. 1.13.1-gke.1000.

hasDependencies

boolean

If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster) must be upgraded before this version can be installed or upgraded to.

isInstalled

boolean

If set, the version is installed in the admin cluster. Otherwise, the version bundle must be downloaded and installed before a user cluster can be created at or upgraded to this version.

dependencies[]

object (UpgradeDependency)

The list of upgrade dependencies for this version.