Modifies the information about a logical database.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | EditLogicDatabase |
The operation that you want to perform. Set the value to EditLogicDatabase. |
Alias | String | Yes | test_logic_db |
|
LogicDbId | Long | Yes | 1*** |
The ID of the logical database. You can call the ListLogicDatabases operation to query the ID of the logical database. |
DatabaseIds | Array of Long | Yes | 1860**** |
|
Tid | Long | No | 134325 |
The ID of the tenant. Note To view the ID of the tenant, move the pointer over the profile picture in the upper-right
corner of the Data Management (DMS) console. For more information, see the "View information
about the current tenant" section of the Manage DMS tenants topic.
|
RegionId | String | No | cn-hangzhou |
The ID of the region in which DMS is activated. For more information about the valid values of the parameter, see RegionID parameter. Note Set this parameter to the ID of the region that is in proximity to your applications.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | C51420E3-144A-4A94-B473-8662FCF4AD10 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request is successful. Valid values:
|
ErrorMessage | String | UnknownError |
The error message. |
ErrorCode | String | UnknownError |
The error code. |
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=EditLogicDatabase
&Alias=test_logic_db
&LogicDbId=1***
&DatabaseIds=[1860****]
&Tid=1***
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<EditLogicDatabaseResponse>
<RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>
<Success>true</Success>
</EditLogicDatabaseResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "C51420E3-144A-4A94-B473-8662FCF4AD10",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.