All Products
Search
Document Center

Enterprise Distributed Application Service:ListUserDefineRegion

Last Updated:Mar 16, 2023

Queries custom namespaces.

Authorization information

There is currently no authorization information disclosed in the API.

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-****
UserDefineRegionListarray

The namespaces.

object

The object data of 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.

NoteThe 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.