All Products
Search
Document Center

Enterprise Distributed Application Service:ListUserDefineRegion

Last Updated:Mar 01, 2024

Queries custom namespaces.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /pop/v5/user_region_defs

Request parameters

ParameterTypeRequiredDescriptionExample
DebugEnablebooleanNo

Specifies whether remote debugging is allowed.

false

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

b197-40ab-9155-****
UserDefineRegionListobject []

The namespaces.

BelongRegionstring

The ID of the region to which the namespace belongs.

cn-shenzhen
RegionNamestring

The name of the namespace.

betaappManager
Descriptionstring

The description of the namespace.

betaappManager
DebugEnableboolean

Indicates whether remote debugging is allowed.

false
UserIdstring

The ID of the Alibaba Cloud account to which the namespace belongs.

edas_****_test@aliyun-****.com
Idlong

The unique identifier of the namespace.

1330
RegionIdstring

The ID of the namespace.

Note The ID cannot be changed after the namespace is created. The ID is in the Physical region ID:Logical region identifier format .
cn-shenzhen:betaappManager
MseInstanceIdstring

The type of the registry. Valid values:

  • default: shared service registry of Enterprise Distributed Application Service (EDAS)
  • exclusive_mse: Microservices Engine (MSE) Nacos registry
default: EDAS
RegistryTypestring

The ID of the MSE instance.

mse_prepaid_public_cn-tl32n******

Examples

Sample success responses

JSONformat

{
  "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

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history