Queries the task result of a database dry run node.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:QueryPreCheckDatabase |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
No |
The ID of the database pre-check task. Note
You can call the StartPreCheckDatabase operation to obtain this parameter. |
t-000bc9nqwxsbyvod**** |
| InstanceUuid |
string |
No |
The unique identifier of the server database backup client. Note
You can call the DescribeUniBackupDatabase operation to obtain this parameter. |
ebc895506c6911ed800000163e0e**** |
| UniRegionId |
string |
Yes |
The region ID of the database server. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each API request. You can use this ID to troubleshoot issues. |
CE500770-42D3-442E-9DDD-156E0F9F**** |
| Progress |
integer |
The pre-check progress. Valid values: 0 to 100. |
100 |
| Result |
string |
The task result of the dry run node. The value is a JSON string. The KEY valid values are:
Note
Dry run item description
|
[ { "instanceId": "i-wz91if83t97xgtn2****", "checkTime": 1671245753, "sourceType": "MSSQL", "results": [ { "item": "OSS_INTERNAL_ENDPOINT_CONNECTIVITY", "result": "PASSED" }, { "item": "SERVICE_CONNECTIVITY", "result": "PASSED" }, { "item": "SQL_SERVER_DB_IN_SIMPLE_RECOVERY_MODE", "result": "WARNING" }, { "item": "SQL_SERVER_DB_NOT_ONLINE", "result": "PASSED" } ] } ] |
| CompletedTime |
integer |
The time when the pre-check was completed. |
1657524396 |
| Description |
string |
The status description of the pre-check task. Valid values:
|
completed |
| UpdatedTime |
integer |
The time when the pre-check was last updated. |
1671084106 |
| CreatedTime |
integer |
The time when the pre-check started. |
1660448660 |
Examples
Success response
JSON format
{
"RequestId": "CE500770-42D3-442E-9DDD-156E0F9F****",
"Progress": 100,
"Result": "[\n {\n \"instanceId\": \"i-wz91if83t97xgtn2****\",\n \"checkTime\": 1671245753,\n \"sourceType\": \"MSSQL\",\n \"results\":\n [\n {\n \"item\": \"OSS_INTERNAL_ENDPOINT_CONNECTIVITY\",\n \"result\": \"PASSED\"\n },\n {\n \"item\": \"SERVICE_CONNECTIVITY\",\n \"result\": \"PASSED\"\n },\n {\n \"item\": \"SQL_SERVER_DB_IN_SIMPLE_RECOVERY_MODE\",\n \"result\": \"WARNING\"\n },\n {\n \"item\": \"SQL_SERVER_DB_NOT_ONLINE\",\n \"result\": \"PASSED\"\n }\n ]\n }\n]",
"CompletedTime": 1657524396,
"Description": "completed",
"UpdatedTime": 1671084106,
"CreatedTime": 1660448660
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.