You can call this operation to query the target time when an instance can be restored.

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 DescribeBackupTimes

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

DrdsInstanceId String Yes Drdshbga7******

The ID of the DRDS instance.

AccessKeyId String No xxxxxxxxxxxxx

The ID key. For more information, see Common parameters.

Response parameters

Prameter Type Sample response Description
RequestId String 4780A19F-5ECB-4C56-AD20-966A3F******

The ID of the request.

RestoreTime

Recoverable time

End time String 1568636******

The end timestamp.

StartTime String 1568632******

Start timestamp

Success Boolean true

The result of the operation.

Examples

Sample request


http(s)://[Endpoint]/? Action=DescribeBackupTimes
&DrdsInstanceId=drdshbga71******
& <Common request parameters>

Sample success responses

XML format

<DescribeBackupTimesResponse>
	  <RequestId>4780A19F-5ECB-4C56-AD20-966A3F******</RequestId>
	  <Success>true</Success>
	  <RestoreTime>
		    <EndTime>1568636******</EndTime>
		    <StartTime>1568632******</StartTime>
	  </RestoreTime>
</DescribeBackupTimesResponse>

JSON format

{
	"RestoreTime":{
		"EndTime":"1568636******",
		"StartTime":"1568632******"
	},
	"RequestId":"4780A19F-5ECB-4C56-AD20-966A3F******",
	"Success":true
}

Error codes

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