You can call this operation to query logical regions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

POST /pop/v5/user_region_defs HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
DebugEnable Boolean No false

Specifies whether remote debugging is allowed in the logical regions that you want to query.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

RequestId String b197-40ab-9155-7ca7

The ID of the request.

UserDefineRegionList Array

The returned list of logical regions.

Id Long 1330

The ID of the returned logical region in Enterprise Distributed Application Service (EDAS).

UserId String edas_****_test@aliyun-****.com

The primary account of the user who created the logical region.

RegionId String cn-shenzhen:betaszappManager

The ID of the logical region, in the format of Physical region ID: Logical region name. Note: The ID of the logical region cannot be changed after being created.

RegionName String betaszappManager

The name of the logical region returned.

Description String betaszappManager

The description about the logical region returned.

BelongRegion String cn-shenzhen

The ID of the physical region to which the logical region belongs.

DebugEnable Boolean false

Indicates whether remote debugging is allowed in this region.

Examples

Sample requests

POST /pop/v5/user_region_defs HTTP/1.1
Common request headers

Sample success responses

JSON format

{
    "Message": "success",
    "Code": 200,
    "UserDefineRegionList": {
        "UserDefineRegionEntity": [
            {
                "Description": "betaszappManager",
                "RegionName": "betaszappManager",
                "BelongRegion": "cn-shenzhen",
                "RegionId": "cn-shenzhen:betaszappManager",
                "Id": 1330,
                "UserId": "edas_****_test@aliyun-****.com",
                "DebugEnable": false
            },
            {
                "Description": "betaszAppManagerAPI",
                "RegionName": "betaszAppManagerAPI",
                "BelongRegion": "cn-shenzhen",
                "RegionId": "cn-shenzhen:betaszAppManagerAPI",
                "Id": 1423,
                "UserId": "edas_****_test@aliyun-****.com",
                "DebugEnable": false
            }
        ]
    }
}

XML format

<Message>success</Message>
<Code>200</Code>
<UserDefineRegionList>
    <UserDefineRegionEntity>
        <Description>betaszappManager</Description>
        <RegionName>betaszappManager</RegionName>
        <BelongRegion>cn-shenzhen</BelongRegion>
        <RegionId>cn-shenzhen:betaszappManager</RegionId>
        <Id>1330</Id>
        <UserId>edas_****_test@aliyun-****.com</UserId>
        <DebugEnable>false</DebugEnable>
    </UserDefineRegionEntity>
    <UserDefineRegionEntity>
        <Description>betaszAppManagerAPI</Description>
        <RegionName>betaszAppManagerAPI</RegionName>
        <BelongRegion>cn-shenzhen</BelongRegion>
        <RegionId>cn-shenzhen:betaszAppManagerAPI</RegionId>
        <Id>1423</Id>
        <UserId>edas_****_test@aliyun-****.com</UserId>
        <DebugEnable>false</DebugEnable>
    </UserDefineRegionEntity>
</UserDefineRegionList>

Error codes

For a list of error codes, visit the API Error Center.