システムストレージ情報一覧取得
API情報
| API種別 | メソッド | URI | 対象 | 名称 | 実行 |
|---|---|---|---|---|---|
| 契約、設定 | GET | /:GisServiceCode/system-storages.json?StartIndex=N&Count=M | システムストレージ | システムストレージ情報一覧取得 | 同期 |
- 指定したGisServiceCodeに所属するシステムストレージの詳細情報一覧を取得します
リクエストパラメータ
| パラメータ | 必須 | 意味 | 値 | |
|---|---|---|---|---|
| URL | GisServiceCode | ○ | P2契約のサービスコード | gis######## |
| クエリストリング | StartIndex | StartIndexだけスキップした位置から情報を取得する。省略した場合は頭から取得 | 数値 | |
| Count | 取得する情報の最大数。省略した場合は終わりまですべて取得 | 数値 |
レスポンス
| フィールド | タイプ | 意味 | 値 |
|---|---|---|---|
| SystemStorageList | Array | システムストレージ情報 | オブジェクトの配列 |
| ServiceCode | String | システムストレージのサービスコード | iba########, ica######## |
| Label | String | ラベル | 文字列 |
| ContractStatus | String | 契約状態 | |
| StartDate | String | 利用開始日 | YYYYMMDD |
| StopDate | String | 解約予定日 | YYYYMMDD |
| Type | String | システムストレージ品目 | |
| OSType | String | OS種別 | ”Linux", ”Windows" |
| ELSOption | String | ELSオプションの有無(有る場合のみ出力) | "Yes" |
| StorageSize | String | ストレージ容量 | 数値 |
| ResourceStatus | String | ストレージステータス | |
| Mode | String | ストレージのモード | "Basic", "Backup", "Master", "Clone" |
| Encryption | String | 暗号化 | "Yes", "No" |
| StorageGroup | String | ストレージグループ | "Y", "Z" |
| SourceServiceCode | String | インスタントクローニングのクローン元ストレージのサービスコード | ica######## |
| DestinationServiceCodes | Array | インスタントクローニングのクローン先ストレージのサービスコード | ica######## の配列 |
| AttachedVirtualServer.ServiceCode | String | 接続された仮想サーバのサービスコード | ivm########, ivd######## |
| AttachedVirtualServer.URI | String | 仮想サーバの情報へアクセスするためのURI | URI |
| AttachedVirtualServer.Type | String | 仮想サーバ品目 | |
| AttachedVirtualServer.OSType | String | OS種別 | "Linux", "Windows" |
| AttachedVirtualServer.PciSlot | String | PCIスロット | 16進数 |
制限
- 特になし
サンプル
リクエストボディ
無し
レスポンス (JSON)
{ |
"RequestId": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx", |
"SystemStorageList": [ |
{ |
"ServiceCode": "ica#######1", |
"Label": "XXXXX", |
"ContractStatus": "InService", |
"StartDate": "YYYYMMDD", |
"StopDate": "", |
"Type": "SX30GB_CENTOS6_64", |
"OSType": "Linux", |
"StorageSize": "30GB", |
"ResourceStatus": "Attached", |
"Mode": "Master", |
"Encryption": "Yes", |
"StorageGroup": "Y", |
"SourceServiceCode": "", |
"DestinationServiceCodes": [ |
"ica######11", |
"ica######12" |
], |
"AttachedVirtualServer": { |
"ServiceCode": "ivm#######1", |
"URI": "/r/20151130/gis########/virtual-servers/ivm#######1.json", |
"Type": "VG1-3", |
"OSType": "Linux", |
"PciSlot": 0x## |
} |
}, |
{ |
"ServiceCode": "ica#######2", |
"Label": "XXXXX", |
"ContractStatus": "InService", |
"StartDate": "YYYYMMDD", |
"StopDate": "", |
"Type": "SX30GB_CENTOS7_64", |
"OSType": "Linux", |
"StorageSize": "30GB", |
"ResourceStatus": "Attached", |
"Mode": "Clone", |
"Encryption": "Yes", |
"StorageGroup": "Y", |
"SourceServiceCode": "ica######13", |
"DestinationServiceCodes": [ |
], |
"AttachedVirtualServer": { |
"ServiceCode": "ivm#######2", |
"URI": "/r/20151130/gis########/virtual-servers/ivm#######2.json", |
"Type": "VG1-3", |
"OSType": "Linux", |
"PciSlot": 0x## |
} |
}, |
{ |
"ServiceCode": "ica#######3", |
"Label": "XXXXX", |
"ContractStatus": "InService", |
"StartDate": "YYYYMMDD", |
"StopDate": "", |
"Type": "SX30GB_CENTOS7_64", |
"OSType": "Linux", |
"StorageSize": "30GB", |
"ResourceStatus": "Attached", |
"Mode": "Basic", |
"Encryption": "Yes", |
"StorageGroup": "Y", |
"SourceServiceCode": "", |
"DestinationServiceCodes": [ |
], |
"AttachedVirtualServer": { |
"ServiceCode": "ivm#######3", |
"URI": "/r/20151130/gis########/virtual-servers/ivm#######3.json", |
"Type": "VG1-3", |
"OSType": "Linux", |
"PciSlot": 0x## |
} |
} |
] |
} |