Query instance change tasks

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 DescribeDrdsTasks

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

DrdsInstanceId String Yes drdshbga76******

The ID of the DRDS instance.

AccessKeyId String No test

AccessKey ID.

DbName String No test

The name of the database.

TaskType String No test

The type of the check task.

Response parameters

Prameter Type Sample response Description
RequestId String CD412DF7-F21D-44CE-88FF-ED2491******

The ID of the request.

Success Boolean true

Indicates whether the request was successful.

Tasks

The returned list of tasks.

Task

The details about a task.

Content String upgrade_instance

The task content.

Id Long 6***8

The ID of the task.

State String FAILED

The status of the task.

Examples

Sample request


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

Sample success responses

XML format

<DescribeDrdsTasksResponse>
      <RequestId>CD412DF7-F21D-44CE-88FF-ED2491******</RequestId>
      <Tasks>
            <Task>
                  <State>FAILED</State>
                  <Id>6***8</Id>
                  <Content>upgrade_instance</Content>
            </Task>
        
      </Tasks>
      <Success>true</Success>
</DescribeDrdsTasksResponse>

Error codes

HTTP status code Error code Error message Description
400 ActionUnauthorized The specified action is not available for you The error message returned because you are not authorized to perform this action. Perform RAM authorization first.

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