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
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 |
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. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot