DescribeVpcs を呼び出して、指定されたリージョンで利用可能な VPC を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
servicemesh:DescribeVpcs |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of entries returned. This parameter is optional and is not returned by default. |
10 |
| RequestId |
string |
The request ID. |
BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
| NextToken |
string |
Indicates the position at which the current call ends reading. An empty value indicates that all data has been read. |
"" |
| MaxResults |
integer |
The maximum number of entries returned in this request. |
10 |
| Vpcs |
array<object> |
The list of available VPCs in the specified region. |
|
|
object |
An available VPC in the specified region. |
||
| VpcId |
string |
The ID of the VPC. |
vpc-bp1qkf2o3xmqc2519**** |
| VpcName |
string |
The name of the VPC. |
vpc-test |
| Status |
string |
The status of the VPC. Valid values:
|
Available |
| IsDefault |
boolean |
Indicates whether the VPC is the default VPC in the region. Valid values:
|
false |
例
成功レスポンス
JSONJSON
{
"TotalCount": 10,
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"NextToken": "\"\"",
"MaxResults": 10,
"Vpcs": [
{
"VpcId": "vpc-bp1qkf2o3xmqc2519****",
"VpcName": "vpc-test",
"Status": "Available",
"IsDefault": false
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。