Create a DMS logical database.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:CreateLogicDatabase |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Alias |
string |
Yes |
The alias of the logical database. |
test_logic_db |
| DatabaseIds |
array |
Yes |
The IDs of physical databases that compose the logical database. Call ListDatabases or SearchDatabase to query database IDs. |
|
|
integer |
Yes |
The DatabaseId values of physical databases in the logical database. Call ListDatabases or SearchDatabase to obtain IDs. |
1860**** |
|
| Tid |
integer |
No |
The ID of the tenant. Note
To find the tenant ID, hover over your profile picture in the upper-right corner of the DMS console. See "View information about the current tenant" in Manage DMS tenants. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
C51420E3-144A-4A94-B473-8662FCF4AD10 |
| Success |
boolean |
Whether the request succeeded. Valid values:
|
true |
| ErrorMessage |
string |
The error message. |
UnknownError |
| ErrorCode |
string |
The error code. |
UnknownError |
| LogicDbId |
integer |
The ID of the logical database. |
1*** |
Examples
Success response
JSON format
{
"RequestId": "C51420E3-144A-4A94-B473-8662FCF4AD10",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"LogicDbId": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.