- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- VmwareClusterCreateConfig
- VmwareClusterUpgradeConfig
- VmwareVersionInfo
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 |
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 |
User cluster create use case. Require admin cluster membership or resource name. |
upgradeConfig |
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 ( |
Fields | |
---|---|
versions[] |
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 |
Fields | |
---|---|
Union field
|
|
adminClusterMembership |
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 |
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 |
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 ( |
Fields | |
---|---|
version |
Version number e.g. 1.13.1-gke.1000. |
hasDependencies |
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 |
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[] |
The list of upgrade dependencies for this version. |