Queries the change tasks of an instance by calling the DescribeDrdsTasks operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeDrdsTasks |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drdsxxxxxxxxxxxx |
| DbName |
string |
No |
The database name. |
test |
| TaskType |
string |
No |
The task type. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
CD412DF7-F21D-44CE-88FF-ED24917174A8 |
| Tasks |
object |
||
| Task |
array<object> |
The task list. |
|
|
object |
|||
| State |
string |
Indicates the state of the task. |
FAILED |
| Content |
string |
Indicates the content of a task. |
upgrade_instance |
| Id |
integer |
Indicates the ID of the task. |
64148 |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "CD412DF7-F21D-44CE-88FF-ED24917174A8",
"Tasks": {
"Task": [
{
"State": "FAILED",
"Content": "upgrade_instance",
"Id": 64148
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ActionUnauthorized | The specified action is not available for you | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidDRDSInstanceId.NotFound | The DrdsInstanceId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.