Queries the status of a disaster recovery switchover task by task ID.
Operation description
Queries the status of a disaster recovery switchover task by task ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetFoTaskStatus |
get |
*BPStudioVirtual
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
integer |
No |
The disaster recovery switchover task ID. |
2615 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
923692F0-A15B-58B4-BAF4-2AFA4AF46240 |
| Message |
string |
The returned message. If the request was successful, a success message is returned. If the request failed, an error message is returned. |
OKITHEVRQCN6ULQG |
| Code |
string |
The response code. |
200 |
| Data |
string |
The status of the switchover task. |
Running |
Task states:
-
Creating: The task is being created.
-
Modified: The task is modified.
-
Verifying: The task is being verified.
-
Verified_Failure: The task failed to pass the verification.
-
Verified_Success: The task passed the verification.
-
Valuating: Fees are being calculated for the task.
-
Valuating_Failure: Fees failed to be calculated for the task.
-
Valuating_Success: Fees are calculated for the task.
-
Deploying: The task is being deployed.
-
Deployed_Failure: The task failed to be deployed.
-
Partially_Deployed_Success: Some resources of the task are deployed.
-
Deployed_Success: The task is deployed.
-
Destroying: The task is being released.
-
Delayed_Destroy: The task release is delayed.
-
Destroyed_Failure: The task failed to be released.
-
Partially_Destroyed_Success: Some resources of the task are released.
-
Destroyed_Success: The task is released.
-
Revised: The task architecture is adjusted.
-
Verifying_In_Revision: The task resources are being verified during architecture adjustment.
-
Verified_Failure_In_Revision: The task resources failed to pass the verification during architecture adjustment.
-
Verified_Success_In_Revision: The task resources are verified during architecture adjustment.
-
Valuating_In_Revision: Fees are being calculated for the task during architecture adjustment.
-
Valuating_Failure_In_Revision: Fees failed to be calculated for the task during architecture adjustment.
-
Valuating_Success_In_Revision: Fees are calculated for the task during architecture adjustment.
Examples
Success response
JSON format
{
"RequestId": "923692F0-A15B-58B4-BAF4-2AFA4AF46240",
"Message": "OKITHEVRQCN6ULQG",
"Code": "200",
"Data": "Running"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.