Obtaining Task Information

Function

This API is used to obtain information about a task with a specified ID. Before calling this API:

URI

Request

Parameter description

Table 1 Request parameters

Name

Type

Mandatory

Description

project_id

string

Yes

Project ID of a tenant in a region.

To obtain this value, see Obtaining a Project ID.

id

string

Yes

Task ID. Currently, the following tasks are supported:

  • CreateGaussDBV5Instance: Creating a DB instance
  • BackupSnapshotGaussDBV5InInstance: Creating a manual backup
  • CloneGaussDBV5NewInstance: Restoring data to a new DB instance
  • RestoreGaussDBV5InInstance: Restoring data to the original DB instance
  • DeleteGaussDBV5Instance: Deleting a DB instance
  • EnlargeGaussDBV5Volume: Scaling up storage
  • ResizeGaussDBV5Flavor: Changing specifications

Response

Status Code

Error Code

For details, see Error Codes.