Queries the status of a disaster recovery switchover task by task ID.
Operation description
You can call this operation to query the status of a disaster recovery switchover task by task ID.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| bpstudio:GetFoTaskStatus | get | *BPStudioVirtual acs:bpstudio::{#accountId}:bpstudiovirtual/{#BPStudioVirtualId} |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| TaskId | integer | No | The disaster recovery switchover task ID. | 2615 |
Response parameters
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
Sample success responses
JSONformat
{
"RequestId": "923692F0-A15B-58B4-BAF4-2AFA4AF46240",
"Message": "OKITHEVRQCN6ULQG",
"Code": 200,
"Data": "Running"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
