Updated on 2025-09-19 GMT+08:00

Checking a DR Task Name

Function

This API is used to check whether a DR task name is available.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/disaster-recovery/check-name

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID. To obtain the value, see Obtaining a Project ID.

Constraints

N/A

Range

N/A

Default Value

N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

dr_name

Yes

String

Definition

DR name.

Constraints

N/A

Range

N/A

Default Value

N/A

type

No

String

Definition

DR type.

Constraints

N/A

Range

N/A

Default Value

N/A

standby_region

No

String

Definition

Region where the DR cluster is located.

Constraints

N/A

Range

N/A

Default Value

N/A

standby_project_id

No

String

Definition

Project ID of the DR cluster.

Constraints

N/A

Range

N/A

Default Value

N/A

Request Parameters

None

Response Parameters

Status code: 200

DR task name checked.

None

Example Requests

https://{Endpoint}/rds/v2/0536cdee2200d5912f7cc00b877980f1/disaster-recovery/check-name?dr_name=dws-it

Example Responses

None

Status Codes

Status Code

Description

200

DR task name checked.

400

Request error.

401

Authentication failed.

403

You do not have required permissions.

404

No resources found.

500

Internal server error.

503

Service unavailable.