Kullanılabilir ENS düğümlerinin listesini sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeEnsRegions |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EnsRegionId |
string |
No |
Uç bölgenin kimliği.\n\nBu parametreyi belirtmezseniz, etkin olan tüm uç bölgelerin kimlikleri döndürülür. |
cn-dalian-unicom |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Durum kodu. 0 değeri, çağrının başarılı olduğunu gösterir. Çağrı başarısız olursa, bir hata kodu döndürülür. |
0 |
| EnsRegions |
object |
||
| EnsRegions |
array<object> |
Bölgelerin ayrıntıları. |
|
|
object |
|||
| Area |
string |
Bölge kodu. |
NorthEastChina |
| EnName |
string |
Uç bölgenin İngilizce adı. |
NorthChina |
| EnsRegionId |
string |
Uç bölgenin kimliği. |
cn-dalian-unicom |
| Name |
string |
Uç bölgenin adı. |
大连联通 |
| Province |
string |
Uç bölgenin bulunduğu il. |
辽宁省 |
| RequestId |
string |
İstek kimliği. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"Code": 0,
"EnsRegions": {
"EnsRegions": [
{
"Area": "NorthEastChina",
"EnName": "NorthChina",
"EnsRegionId": "cn-dalian-unicom",
"Name": "大连联通",
"Province": "辽宁省"
}
]
},
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
|
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.