vSwitch の詳細を照会します。
この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - DescribeVSwitches への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:DescribeVSwitches |
get |
*すべてのリソース。
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| VpcId |
string |
任意 |
||
| VSwitchId |
string |
任意 |
||
| ZoneId |
string |
任意 |
||
| RegionId |
string |
任意 |
||
| IsDefault |
boolean |
任意 |
||
| PageNumber |
integer |
任意 |
||
| PageSize |
integer |
任意 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| PageSize |
integer |
||
| RequestId |
string |
||
| PageNumber |
integer |
||
| TotalCount |
integer |
||
| VSwitches |
object |
||
| VSwitch |
array<object> |
||
|
object |
|||
| CreationTime |
string |
||
| Status |
string |
||
| VpcId |
string |
||
| IsDefault |
boolean |
||
| VSwitchId |
string |
||
| CidrBlock |
string |
||
| Description |
string |
||
| AvailableIpAddressCount |
integer |
||
| ResourceGroupId |
string |
||
| ZoneId |
string |
||
| VSwitchName |
string |
例
成功レスポンス
JSONJSON
{
"PageSize": 0,
"RequestId": "",
"PageNumber": 0,
"TotalCount": 0,
"VSwitches": {
"VSwitch": [
{
"CreationTime": "",
"Status": "",
"VpcId": "",
"IsDefault": false,
"VSwitchId": "",
"CidrBlock": "",
"Description": "",
"AvailableIpAddressCount": 0,
"ResourceGroupId": "",
"ZoneId": "",
"VSwitchName": ""
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Forbidden.VpcNotFound | Specified VPC can not found. | |
| 400 | IellgalParameter.OwnerAccount | The specified parameter OwnerAccount is not valid. | |
| 400 | OperationFailed.Endpoint | The specified RegionId is unavailable for this endpoint. | 指定された RegionId はターゲットエンドポイントで利用できません。 |
| 400 | Mismatch.InstanceIdAndRegionId | The instanceId and regionId are mismatched. | 指定されたインスタンス ID とリージョン情報が一致しません。パラメーターを確認してください。 |
| 404 | InvalidVSwitchId.NotFound | VSwitch not exist. | |
| 404 | InvalidVpcIdNumber.NotSupported | The number of vpcIds exceeds the limit. | |
| 404 | InvalidVSwitchIdNumber.NotSupported | The number of vSwitchIds exceeds the limit. | |
| 404 | InvalidRegionId.NotFound | The specified region not found. | リージョン情報が無効です。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。