- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- BareMetalAdminClusterUpgradeConfig
Queries the bare metal admin cluster version config.
HTTP request
POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/bareMetalAdminClusters: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: |
|
upgradeConfig |
Admin cluster upgrade use case. Require admin cluster resource name. |
Request body
The request body must be empty.
Response body
Response message for querying bare metal admin 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.
BareMetalAdminClusterUpgradeConfig
Message for bare metal admin cluster upgrade config.
JSON representation |
---|
{ "clusterName": string } |
Fields | |
---|---|
clusterName |
The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bareMetalAdminCluster}" |