- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- BareMetalClusterCreateConfig
- BareMetalClusterUpgradeConfig
Queries the bare metal user cluster version config.
HTTP request
POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*}/bareMetalClusters: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 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.
BareMetalClusterCreateConfig
Message for bare metal 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}/bareMetalAdminClusters/{bareMetalAdminCluster}" |
BareMetalClusterUpgradeConfig
Message for bare metal 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}/bareMetalClusters/{bareMetalCluster}" |