Checks whether a DRDS database name is valid.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:CheckDrdsDbName |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The ID of the DRDS instance. |
drds******** |
| DbName |
string |
Yes |
The name of the DRDS database. |
drds_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CF38538C-68BD-4278-B58F-EDE96F****** |
| Result |
boolean |
The check result. A value of true indicates that the database name is valid. A value of false indicates that the database name is invalid. |
true |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "CF38538C-68BD-4278-B58F-EDE96F******",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDbName.Empty | DbName can not be empty | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidDbName.Keyword | Current DbName is the keyword | |
| 404 | InvalidDbName.DuplicatedInPublic | Current DbName is duplicated in public instance | |
| 404 | InvalidDbName.Duplicated | Current DbName provided has already existed in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.