仮想サーバリソース状態取得
API情報
| API種別 | メソッド | URI | 対象 | 名称 | 実行 |
|---|---|---|---|---|---|
| 設定 | GET | /:GisServiceCode/virtual-servers/:IvmServiceCode.json?Item=ResourceStatus /:GisServiceCode/virtual-servers/:IvdServiceCode.json?Item=ResourceStatus | 仮想サーバ | 仮想サーバリソース状態取得 | 同期 |
- 指定した仮想サーバIvmServiceCodeまたはIvdServiceCodeのステータスを取得します
- IvmServiceCodeおよびIvdServiceCodeはGisServiceCodeに所属する契約を指定する必要があります
リクエストパラメータ
| パラメータ | 必須 | 意味 | 値 | |
|---|---|---|---|---|
| URL | GisServiceCode | ○ | P2契約のサービスコード | gis######## |
| IvmServiceCode or IvdServiceCode | ○ | 仮想サーバのサービスコード | ivm########, ivd######## | |
| クエリストリング | Item | ○ | 取得するフィールド | "ResourceStatus" |
レスポンス
| フィールド | タイプ | 意味 | 値 |
|---|---|---|---|
| ResourceStatus | String | 仮想サーバステータス |
制限
- 特になし
サンプル
リクエストボディ
無し
レスポンス (JSON)
{
"RequestId": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"ResourceStatus": "Stopped"
}