Mengkueri zona yang mendukung penerapan koneksi IPsec-VPN di wilayah tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DescribeVpnGatewayAvailableZones |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| Spec |
string |
Yes |
Spesifikasi bandwidth.
Spesifikasi bandwidth yang berbeda dapat memengaruhi informasi zona yang dikembalikan. Nilai valid:
|
5M |
| AcceptLanguage |
string |
No |
Bahasa yang digunakan untuk menampilkan hasil yang dikembalikan. Nilai valid:
|
zh-CN |
| GatewayType |
string |
No |
Tipe Gateway VPN. Nilai valid:
|
Traditional |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RegionId |
string |
ID wilayah. |
cn-hangzhou |
| RequestId |
string |
ID permintaan. |
29784052-931F-543D-A612-36B3838163FA |
| AvailableZoneIdList |
array<object> |
Daftar zona. |
|
|
object |
Informasi zona. |
||
| ZoneId |
string |
ID zona. |
cn-hangzhou-h |
| ZoneName |
string |
Nama zona. |
cn-hangzhou-h |
Contoh
Respons sukses
JSONformat
{
"RegionId": "cn-hangzhou",
"RequestId": "29784052-931F-543D-A612-36B3838163FA",
"AvailableZoneIdList": [
{
"ZoneId": "cn-hangzhou-h",
"ZoneName": "cn-hangzhou-h"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbbiden.SubUser | User not authorized to operate on the specified resource as your account is created by another user. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. | You are not authorized to perform operations on the specified resource. Apply for the required permissions and try again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.