Queries whether Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled for a database instance.
Operation description
For more information about the database instances that support DAS Enterprise Edition, see Overview of DAS Enterprise Edition.
If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
This operation is applicable only to DAS Enterprise Edition V1 and V2.
We recommend that you call the DescribeSqlLogConfig operation to query the DAS Enterprise Edition configurations of a database instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdm:DescribeInstanceDasPro |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The database instance ID. |
rm-2ze8g2am97624**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The returned message. Note
If the request was successful, Successful is returned. If the request failed, an error message such as an error code is returned. |
Successful |
| RequestId |
string |
The request ID. |
9CB97BC4-6479-55D0-B9D0-EA925AFE**** |
| Data |
boolean |
Indicates whether DAS Enterprise Edition is enabled for the database instance. Valid values:
|
true |
| Code |
string |
The HTTP status code returned. |
200 |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Message": "Successful",
"RequestId": "9CB97BC4-6479-55D0-B9D0-EA925AFE****",
"Data": true,
"Code": "200",
"Success": "true"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The request parameters are invalid. | |
| 403 | NoPermission | You are not authorized to do this action. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.