CreateVaultReplication

更新时间:
复制 MD 格式

Configures backup vault replication.

Operation description

Call this method in the region where the destination backup vault is located. Before you use this API, review the billing methods and pricing of Cloud Backup.

Try it now

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ReplicationSourceVaultId

string

Yes

The ID of the source backup vault.

v-*********************

ReplicationTargetVaultId

string

Yes

The ID of the destination backup vault.

r-*********************

ReplicationSourceRegionId

string

No

The ID of the source region. If you do not specify this parameter, the region where the API is called is used.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

280DD872-EE25-52E8-9CB4-491067173DD0

TaskId

string

The ID of the backup vault initialization task. Use DescribeTask to query the task status.

t-*********************

Success

boolean

Indicates whether the request was successful.

  • true: The request was successful.

  • false: The request failed.

true

Code

string

The return code. A value of 200 indicates that the request was successful.

200

Message

string

The returned message. If the request is successful, successful is returned. If the request fails, an error message is returned.

successful

Examples

Success response

JSON format

{
  "RequestId": "280DD872-EE25-52E8-9CB4-491067173DD0",
  "TaskId": "t-*********************",
  "Success": true,
  "Code": "200",
  "Message": "successful"
}

Error codes

See for a complete list.

Release notes

See 变更详情 for a complete list.