Method: projects.locations.bareMetalClusters.queryVersionConfig

ベアメタル ユーザー クラスタのバージョン構成をクエリします。

HTTP リクエスト

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

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
parent

string

必須。バージョン構成をクエリするプロジェクトとロケーションの親。形式: "projects/{project}/locations/{location}"

クエリ パラメータ

パラメータ
結合パラメータ config_type。バージョンをリストするユースケースを指定するバージョン構成リクエストの構成。config_type は次のいずれかになります。
createConfig

object (BareMetalClusterCreateConfig)

ユーザー クラスタの作成ユースケース。管理クラスタのメンバーシップまたはリソース名が必要です。

upgradeConfig

object (BareMetalClusterUpgradeConfig)

ユーザー クラスタのアップグレードのユースケース。ユーザー クラスタのリソース名が必要です。

リクエストの本文

リクエストの本文は空にする必要があります。

レスポンス本文

ベアメタル管理クラスタのバージョン構成をクエリした際のレスポンス メッセージ。

成功した場合、レスポンスの本文には次の構造のデータが含まれます。

JSON 表現
{
  "versions": [
    {
      object (BareMetalVersionInfo)
    }
  ]
}
項目
versions[]

object (BareMetalVersionInfo)

インストールまたはアップグレード可能なバージョンのリスト。

認可スコープ

次の OAuth スコープが必要です。

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

詳細については、Authentication Overview をご覧ください。

BareMetalClusterCreateConfig

ベアメタル ユーザー クラスタの作成構成に関するメッセージ。

JSON 表現
{

  // 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.
}
フィールド

共用体フィールド admin_cluster

admin_cluster は次のいずれかになります。

adminClusterMembership

string

管理クラスタのメンバーシップ。これは、管理クラスタのフリート メンバーシップの完全なリソース名です。形式: "projects/{project}/locations/{location}/memberships/{membership}"

adminClusterName

string

管理クラスタのリソース名。これは、管理クラスタ リソースの完全なリソース名です。形式: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bareMetalAdminCluster}"

BareMetalClusterUpgradeConfig

ベアメタル ユーザー クラスタのアップグレード構成に関するメッセージ。

JSON 表現
{
  "clusterName": string
}
項目
clusterName

string

ユーザー クラスタのリソース名。これは、ユーザー クラスタ リソースの完全なリソース名です。形式: "projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster}"