VPC環境で利用できます。
使用可能な Fabric Cluster Poolを照会します。
構文
getFabricClusterPoolList構文は次の通りです。
./ncloud vserver getFabricClusterPoolList \
--regionCode <KR|SGN|JPN> \
--zoneCode <zone-code> \
--serverSpecCode <server-spec-code> | --serverProductCode <server-product-code> \
[--output <json|xml>]
オプション
getFabricClusterPoolListの実行時に指定できるオプションについて説明します。
必須オプション
getFabricClusterPoolListの必須オプションです。
| オプション | タイプ | 必須の有無 | 説明 |
|---|---|---|---|
--regionCode |
String | Required | リージョンコード |
--zoneCode |
String | Required | ゾーンコード
|
--serverSpecCode |
String | Conditional | サーバスペックコード
|
--serverProductCode |
String | Conditional | サーバ商品コード
|
共通オプション
vserverコマンドで共通して使用するオプションについては、Server (VPC)のオプションをご参照ください。
例
Fabric Cluster Poolの照会リクエストが成功すると、各 Poolの識別情報が返されます。
コマンド
コマンドの例は次の通りです。
./ncloud vserver getFabricClusterPoolList \
--regionCode KR \
--zoneCode KR-1 \
--serverSpecCode gp8ap56-g3 \
--output json
出力
出力の例は次の通りです。
{
"getFabricClusterPoolListResponse": {
"totalRows": 1,
"fabricClusterPoolList": [
{
"fabricClusterPoolNo": "24680135",
"fabricClusterPoolName": "gpu-cluster-pool-01"
}
],
"requestId": "a7b8c9d0-e1f2-3456-0123-567890123456",
"returnCode": "0",
"returnMessage": "success"
}
}