Queries a list of user-defined namespaces.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ListUserDefineRegion |
list |
*All Resource
|
None | None |
Request syntax
POST /pop/v5/user_region_defs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DebugEnable |
boolean |
No |
Indicates whether remote debugging is allowed. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| Code |
integer |
The status of the API call or a POP error code. |
200 |
| Message |
string |
Additional information. |
success |
| RequestId |
string |
The ID of the request. |
b197-40ab-9155-**** |
| UserDefineRegionList |
object |
||
| UserDefineRegionEntity |
array<object> |
The list of namespaces. |
|
|
object |
The namespace object. |
||
| BelongRegion |
string |
The ID of the physical region to which the namespace belongs. |
cn-shenzhen |
| RegionName |
string |
The name of the namespace. |
betaappManager |
| Description |
string |
The description of the namespace. |
betaappManager |
| DebugEnable |
boolean |
Indicates whether remote debugging is allowed. |
false |
| UserId |
string |
The ID of the Alibaba Cloud account. |
edas_****_test@aliyun-****.com |
| Id |
integer |
The unique ID. |
1330 |
| RegionId |
string |
The ID of the namespace. Note
This ID cannot be changed after the namespace is created. The format is |
cn-shenzhen:betaappManager |
| MseInstanceId |
string |
The type of the registry. Valid values:
|
default:EDAS |
| RegistryType |
string |
The ID of the MSE registry instance. |
mse_prepaid_public_cn-tl32n****** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "b197-40ab-9155-****",
"UserDefineRegionList": {
"UserDefineRegionEntity": [
{
"BelongRegion": "cn-shenzhen",
"RegionName": "betaappManager",
"Description": "betaappManager",
"DebugEnable": false,
"UserId": "edas_****_test@aliyun-****.com",
"Id": 1330,
"RegionId": "cn-shenzhen:betaappManager",
"MseInstanceId": "default:EDAS",
"RegistryType": "mse_prepaid_public_cn-tl32n******"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.