GetAgenticDatabase
Queries the details of a database in Agentic DMS based on the database UUID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetAgenticDatabase |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DatabaseUuid |
string |
Yes |
The UUID of the database. You can obtain the UUID by calling ListAgenticDatabase or SearchAgenticDatabase. |
md-HZ-fp9K7r*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
67E910F2-4B62-5B0C-ACA3-7547695C**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code returned when an exception occurs during the request. |
UnknownError |
| ErrorMessage |
string |
The error message returned when the API call fails. |
UnknownError |
| Data | AgenticDatabase |
The database details. |
Examples
Success response
JSON format
{
"RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
"Success": true,
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Data": {
"CatalogUuid": "mc-HZ-OfjcNc2z***",
"CatalogName": "prod_mysql_order",
"CatalogType": "JDBC",
"DbType": "MYSQL",
"DatabaseUuid": "md-HZ-fp9K7r***",
"Name": "order_db",
"QualifiedName": "order_db",
"SearchName": "order_db",
"Description": "Order database",
"EngineMeta": {
"SchemaName": "public",
"CatalogName": "def",
"Encoding": "utf8mb4",
"StorageCapacity": 1024
},
"StorageLocation": "oss://examplebucket/datalake/order_db/",
"RegionId": "cn-hangzhou",
"State": 0,
"Properties": {
"test": "test",
"test2": 1
},
"DatabaseBizAttrs": {
"test": "test",
"test2": 1
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.