Mengkueri wilayah tempat Anda dapat menyambungkan instans jaringan ke instans Cloud Enterprise Network (CEN).
Deskripsi operasi
The regions that CEN supports vary based on the network instance type. You can specify the ProductType parameter to query the regions that CEN supports for a specific type of network instance. If you do not specify the ProductType parameter, the system queries the regions supported for all network instance types by default.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProductType |
string |
No |
Tipe instans jaringan. Nilai valid:
|
VPC |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid: |
zh-CN |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D5CEED59-36AA-47CC-9D81-16F71C46BD80 |
| Regions |
object |
||
| Region |
array<object> |
A list of regions. |
|
|
object |
|||
| LocalName |
string |
The name of the region. |
华东 1 |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D5CEED59-36AA-47CC-9D81-16F71C46BD80",
"Regions": {
"Region": [
{
"LocalName": "华东 1",
"RegionId": "cn-hangzhou"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter.OwnerIdOrOwnerAccount | The input parameter OwnerAccount or OwnerId that is mandatory for processing this request is not supplied | The error message returned because the OwnerId or OwnerAccount parameter is not set. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.