Queries the configurations of different regions supported by Enterprise Distributed Application Service (EDAS).

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 uses only the common request header. For more information, see Common request parameters.

Request syntax

GET /pop/v5/region_config HTTP/1.1

Request parameters

No request parameters.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Message String success

The returned message.

RegionConfig Struct

The configuration information of the region.

AddressServerHost String ****.edas.aliyun.com

The domain name of Address Server.

AgentInstallScript String http://edas-qd.oss-cn-****-internal.aliyuncs.com/****sh

The installation path of the script for EDAS Agent.

FileServerConfig Struct

The information about File Server.

Bucket String edas-bj

The Object Storage Service (OSS) bucket of File Server.

InternalUrl String oss-cn-beijing-****.aliyuncs.com

The internal URL of File Server.

PublicUrl String oss-cn-beijing.aliyuncs.com

The public URL of File Server.

VpcUrl String v*****-oss-cn-beijing.aliyuncs.com

The virtual private cloud (VPC) URL of File Server.

FileServerType String oss

The type of File Server.

Id String cn-beijing

The ID of the region configuration.

ImageId String m-2zea4hx8f9zxqah2****

The ID of the official image.

Name String China (Beijing)

The name of the region configuration.

No Integer 1

The sequence number of the region. This parameter is obsolete.

Tag String ALIYUN_SHARE

The tag of the region. Set the value to ALIYUN_SHARE.

RequestId String b197-40ab-9155-7ca7

The ID of the request.

Examples

Sample requests

GET /pop/v5/region_config HTTP/1.1
Common request header

Sample success responses

XML format

<Message>success</Message>
<RegionConfig>
    <Name>China (Beijing)</Name>
    <ImageId>m-2zea****qah2as71</ImageId>
    <FileServerType>oss</FileServerType>
    <FileServerConfig>
        <InternalUrl>oss-cn-****-internal.aliyuncs.com</InternalUrl>
        <PublicUrl>oss-cn-****.aliyuncs.com</PublicUrl>
        <Bucket>edas-bj</Bucket>
        <VpcUrl>****-oss-cn-beijing.aliyuncs.com</VpcUrl>
    </FileServerConfig>
    <Tag>ALIYUN_SHARE</Tag>
    <AddressServerHost>addr-bj-****.edas.aliy*un.com</AddressServerHost>
    <Id>cn-beijing</Id>
    <No>0</No>
    <AgentInstallScript>http://edas-****-cn-qingdao-***.aliyuncs.com/****.sh</AgentInstallScript>
</RegionConfig>
<Code>200</Code>

JSON format

{
	"Message": "success",
	"RegionConfig": {
		"Name": "China (Beijing)",
		"ImageId": "m-2zea****qah2as71",
		"FileServerType": "oss",
		"FileServerConfig": {
			"InternalUrl": "oss-cn-****-internal.aliyuncs.com",
			"PublicUrl": "oss-cn-****.aliyuncs.com",
			"Bucket": "edas-bj",
			"VpcUrl": "****-oss-cn-beijing.aliyuncs.com"
		},
		"Tag": "ALIYUN_SHARE",
		"AddressServerHost": "addr-bj-****.edas.aliy*un.com",
		"Id": "cn-beijing",
		"No": 0,
		"AgentInstallScript": "http://edas-****-cn-qingdao-***.aliyuncs.com/****.sh"
	},
	"Code": 200
}

Error codes

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