All Products
Search
Document Center

Cloud Architect Design Tools:GetFoTaskStatus

Last Updated:Jul 25, 2025

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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 Resources is 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.
OperationAccess levelResource typeCondition keyAssociated operation
bpstudio:GetFoTaskStatusget
*BPStudioVirtual
acs:bpstudio::{#accountId}:bpstudiovirtual/{#BPStudioVirtualId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TaskIdintegerNo

The disaster recovery switchover task ID.

2615

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

923692F0-A15B-58B4-BAF4-2AFA4AF46240
Messagestring

The returned message. If the request was successful, a success message is returned. If the request failed, an error message is returned.

OKITHEVRQCN6ULQG
Codestring

The response code.

200
Datastring

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

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 timeSummary of changesOperation
No change history