仮想サーバ契約状態一覧取得
API情報
| API種別 | メソッド | URI | 対象 | 名称 | 実行 |
|---|---|---|---|---|---|
| 契約 | GET | /:GisServiceCode/virtual-servers.json?Item=ContractStatus&StartIndex=N&Count=M | 仮想サーバ | 仮想サーバ契約状態一覧取得 | 同期 |
- 指定したGisServiceCodeに所属する仮想サーバの契約状態一覧を取得します
リクエストパラメータ
| パラメータ | 必須 | 意味 | 値 | |
|---|---|---|---|---|
| URL | GisServiceCode | ○ | P2契約サービスコード | gis######## |
| クエリストリング | Item | ○ | 取得するフィールド | "ContractStatus" |
| StartIndex | StartIndexだけスキップした位置から情報を取得する | 数値 | ||
| Count | 取得する情報の最大数 | 数値 |
レスポンス
| フィールド | タイプ | 意味 | 値 |
|---|---|---|---|
| VirtualServerList | Array | 仮想サーバ一覧 | オブジェクトの配列 |
| VirtualServerList.ServiceCode | String | サービスコード | ivm########, ivd######## |
| VirtualServerList.ContractStatus | String | 契約状態 |
制限
- 特になし
サンプル
リクエストボディ
無し
レスポンス (JSON)
{
"RequestId": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"VirtualServerList": [
{
"ServiceCode": "ivm#######1",
"ContractStatus": "InService"
},
{
"ServiceCode": "ivm#######2",
"ContractStatus": "InService"
},
{
"ServiceCode": "ivd#######1",
"ContractStatus": "InService"
}
]
}