Queries the statistics of a restoration task.

If you have created restoration tasks, you can call this operation to query the numbers of restoration tasks that are in the restored or being restored state.

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 DescribeBackupRestoreCount

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

Response parameters

Parameter Type Example Description
RequestId String ECC6B3E3-D496-512D-B46D-E6996A6B63EE

The ID of the request, which is used to locate and troubleshoot issues.

BackupRestoreCount Object

The statistics of the restoration task.

Total Integer 30

The total number of the restoration tasks that you create.

Recovering Integer 3

The number of the restoration tasks that are in the being restored state.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeBackupRestoreCount
&Common request parameters

Sample success responses

XML format

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

<DescribeBackupRestoreCountResponse>
    <RequestId>ECC6B3E3-D496-512D-B46D-E6996A6B63EE</RequestId>
    <BackupRestoreCount>
        <Total>30</Total>
        <Recovering>3</Recovering>
    </BackupRestoreCount>
</DescribeBackupRestoreCountResponse>

JSON format

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

{
  "RequestId" : "ECC6B3E3-D496-512D-B46D-E6996A6B63EE",
  "BackupRestoreCount" : {
    "Total" : 30,
    "Recovering" : 3
  }
}

Error codes

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