Queries the regions that support cross-region replication.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeVaultReplicationRegions

The operation that you want to perform. Set the value to DescribeVaultReplicationRegions.

Token String No 01W3ZZOQ

The access token.

VaultId String No v-00030j3c******sn

The ID of the backup vault.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code. The status code 200 indicates that the call is successful.

Message String successful

The message that is returned. If the call is successful, "successful" is returned. If the call fails, an error message is returned.

RequestId String F4EEB401-DD21-588D-AE3B-1E835C7655E1

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

  • true: The call is successful.
  • false: The call fails.
Regions Array of String cn-hangzhou

The regions that support cross-region replication.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeVaultReplicationRegions
&Token=01W3ZZOQ
&VaultId=v-00030j3c******sn
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeVaultReplicationRegionsResponse>
    <Code>200</Code>
    <Message>successful</Message>
    <RequestId>F4EEB401-DD21-588D-AE3B-1E835C7655E1</RequestId>
    <Success>true</Success>
    <Regions>cn-hangzhou</Regions>
</DescribeVaultReplicationRegionsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Code" : "200",
  "Message" : "successful",
  "RequestId" : "F4EEB401-DD21-588D-AE3B-1E835C7655E1",
  "Success" : true,
  "Regions" : [ "cn-hangzhou" ]
}

Error codes

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