Anda dapat memanggil operasi DescribeCenGeographicSpans untuk melakukan kueri pada area terhubung yang didukung oleh Cloud Enterprise Network (CEN).
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman. Nilai default: 10. Nilai yang valid: 1 hingga 50. |
10 |
| GeographicSpanId |
string |
No |
ID dari geographic span. Catatan
Jika Anda tidak menentukan parameter ini, sistem akan melakukan kueri pada semua geographic span yang didukung oleh Cloud Enterprise Network (CEN). |
china_asia-pacific |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
Jumlah entri yang dikembalikan pada setiap halaman. |
10 |
| RequestId |
string |
ID permintaan. |
09780287-BC24-4164-8334-773432E32696 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| TotalCount |
integer |
Jumlah total entri. |
1 |
| GeographicSpanModels |
object |
||
| GeographicSpanModel |
array<object> |
Daftar geographic span. |
|
|
object |
|||
| LocalGeoRegionId |
string |
The ID of the local area. |
asia-pacific |
| GeographicSpanId |
string |
The ID of the geographic span. |
china_asia-pacific |
| OppositeGeoRegionId |
string |
The ID of the peer area. |
china |
Contoh
Respons sukses
JSONformat
{
"PageSize": 10,
"RequestId": "09780287-BC24-4164-8334-773432E32696",
"PageNumber": 1,
"TotalCount": 1,
"GeographicSpanModels": {
"GeographicSpanModel": [
{
"LocalGeoRegionId": "asia-pacific",
"GeographicSpanId": "china_asia-pacific",
"OppositeGeoRegionId": "china"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.