Queries the namespaces that are available for migration.

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/resource/migrate_region_select HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
LogicalRegionId String No cn-hangzhou:test

The ID of the namespace.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Message String success

The returned message.

RegionEntityList Array

The list of namespaces.

RegionEntity
RegionName String Beta

The name of the namespace.

RegionNo String cn-beijing:beta

The ID of the namespace.

RequestId String b197-40ab-9155-7ca7

The ID of the request.

Examples

Sample requests

GET /pop/v5/resource/migrate_region_select HTTP/1.1
Common request header

Sample success responses

XML format

<Message>success</Message>
<RegionEntityList>
    <RegionEntity>
        <RegionName>Beta</RegionName>
        <RegionNo>cn-beijing:beta</RegionNo>
    </RegionEntity>
    <RegionEntity>
        <RegionName>AllFlow</RegionName>
        <RegionNo>cn-beijing:AllFlow</RegionNo>
    </RegionEntity>
    <RegionEntity>
        <RegionName>doc-test</RegionName>
        <RegionNo>cn-beijing:doc</RegionNo>
    </RegionEntity>
    <RegionEntity>
        <RegionName>test_region</RegionName>
        <RegionNo>cn-beijing:test</RegionNo>
    </RegionEntity>
</RegionEntityList>
<Code>200</Code>

JSON format

{
	"Message": "success",
	"RegionEntityList": {
		"RegionEntity": [
			{
				"RegionName": "Beta",
				"RegionNo": "cn-beijing:beta"
			},
			{
				"RegionName": "AllFlow",
				"RegionNo": "cn-beijing:AllFlow"
			},
			{
				"RegionName": "doc-test",
				"RegionNo": "cn-beijing:doc"
			},
			{
				"RegionName": "test_region",
				"RegionNo": "cn-beijing:test"
			}
		]
	},
	"Code": 200
}

Error codes

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