Memanggil DescribeEnsRegions untuk mengkueri daftar node ENS yang dapat Anda gunakan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeEnsRegions |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| EnsRegionId |
string |
No |
ID node (wilayah). Secara default, ID semua node yang tersedia dikueri. |
cn-dalian-unicom |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Kode bisnis. 0 dikembalikan jika panggilan berhasil. Kode kesalahan dikembalikan jika panggilan gagal. |
0 |
| EnsRegions |
object |
||
| EnsRegions |
array<object> |
Informasi wilayah. |
|
|
object |
|||
| Area |
string |
The code of the region. |
NorthEastChina |
| EnName |
string |
The name of the node. |
NorthChina |
| EnsRegionId |
string |
The ID of the node. |
cn-dalian-unicom |
| Name |
string |
The name of the node. |
大连联通 |
| Province |
string |
The province where the node is deployed. |
辽宁省 |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"Code": 0,
"EnsRegions": {
"EnsRegions": [
{
"Area": "NorthEastChina",
"EnName": "NorthChina",
"EnsRegionId": "cn-dalian-unicom",
"Name": "大连联通",
"Province": "辽宁省"
}
]
},
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.