All Products
Search
Document Center

:ClearPairDrill

更新時間:Dec 20, 2023

Clears the disaster recovery drills that were initiated from the secondary disk of a replication pair and deletes the auto-created drill disks.

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 parameters

Parameter

Type

Required

Example

Description

Action String Yes ClearPairDrill

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

RegionId String Yes cn-hangzhou

The region ID. You can call the DescribeRegions operation to query the most recent list of regions in which async replication is supported.

PairId String Yes pair-xxxx

The ID of the replication pair. You can call the DescribeDiskReplicaPairs operation to query a list of replication pairs, including replication pair IDs.

DrillId String Yes drill-xxxx

The ID of the drill. You can call the DescribePairDrills operation to query the disaster recovery drills that are performed on replication pairs in a specific region.

Response parameters

Parameter

Type

Example

Description

RequestId String 20758A-585D-4A41-A9B2-28DA8F4F****

The ID of the request.

Examples

Sample requests

http(s)://ebs.cn-hangzhou.aliyuncs.com/?Action=ClearPairDrill
&RegionId=cn-hangzhou
&PairId=pair-xxxx
&DrillId=drill-xxxx
&<Common request parameters>

Sample success responses

XML format

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

<ClearPairDrillResponse>
    <RequestId>20758A-585D-4A41-A9B2-28DA8F4F****</RequestId>
</ClearPairDrillResponse>

JSON format

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

{
  "RequestId" : "20758A-585D-4A41-A9B2-28DA8F4F****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The parameter %s is invalid. Invalid parameter.
400 InvalidParameter.Conflict The specified parameter %s and %s are not blank at the same time. A parameter conflict has occurred.
400 InvalidParameter.Format Specified parameter format is not valid. Invalid parameter format. The correct response formats include XML and JSON. The default format is XML.
400 MissingParameter The input parameter %s that is mandatory for processing this request is not supplied. A required parameter is not specified.
403 Forbidden User is not authorized to operate. You do not have the permissions to perform this operation on the resource. Check the permissions of your account or contact your Alibaba Cloud account administrator.
403 Forbidden.Action User is not authorized to operate this action. You have no access to this operation. Check the permissions of your account or contact your Alibaba Cloud account administrator.
403 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance. Your account balance is insufficient.
403 LastTokenProcessing The last token request is processing. The ClientToken value is used in another request that is being processed. Try again later.
403 NoPermission.SLR The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. You do not have the permissions to create service-linked roles.
403 OperationDenied The operation is not allowed. The operation cannot be performed.
404 InvalidApi.NotFound Specified api is not found, please check your url and method. The specified API operation is not found. Check the URL and method used to call this operation. The API operation that you called does not exist. Check whether the API name is correct and whether the letters are in the correct case.
404 NoSuchResource The specified resource does not exist. The specified resource does not exist.
500 InternalError The request processing has failed due to some unknown error, exception or failure. An internal error occurred.
504 RequestTimeout The request is timeout, please try again later. The request timed out. Try again later.

For a list of error codes, see Service error codes.