All Products
Search
Document Center

:ClearReplicaGroupDrill

更新時間:Dec 20, 2023

Clears a disaster recovery drill that was performed on the replication pair-consistent group and deletes the drill disks that were automatically created for the drill.

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 ClearReplicaGroupDrill

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

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.

GroupId String Yes pg-xxxx

The ID of the replication pair-consistent group. You can call the DescribeDiskReplicaGroups operation to query a list of replication pair-consistent groups, including group IDs.

DrillId String Yes pg-drill-xxxx

The ID of the drill. You can call the DescribeReplicaGroupDrills operation to query the disaster recovery drills of the specified replication pair-consistent group in the current region.

Response parameters

Parameter

Type

Example

Description

RequestId String C123F94F-4E38-19AE-942A-A8D6F44F****

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

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

<ClearReplicaGroupDrillResponse>
    <RequestId>C123F94F-4E38-19AE-942A-A8D6F44F****</RequestId>
</ClearReplicaGroupDrillResponse>

JSON format

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

{
  "RequestId" : "C123F94F-4E38-19AE-942A-A8D6F44F****"
}

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.