Queries the enabled items of Alibaba Cloud Managed Services.
Operation description
To call this operation, you must meet the following prerequisites:
Use the latest version of the Alibaba Cloud or Database Autonomy Service (DAS) SDK.
Set the region to cn-shanghai when you use the SDK to call DAS.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdm:DescribeDasOpsConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
pc-bp1u5mas9exx7**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The returned status code. |
200 |
| Message |
string |
The returned message. Note
If the request is successful, Successful is returned. If the request fails, an error message such as an error code is returned. |
Successful |
| RequestId |
string |
The request ID. |
D00DB161-FEF6-5428-B37A-8D29A4C2**** |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
object |
SqlLogConfig |
|
| CommodityInstanceId |
string |
The instance ID of Alibaba Cloud Managed Services. |
pc-2zelo5v5u0678jx04 |
| EndTime |
integer |
The end time. The time is a UNIX timestamp in milliseconds. |
1608888296000 |
| StartTime |
integer |
The start time. The time is a UNIX timestamp in milliseconds. |
1672531200000 |
| OrderId |
integer |
The order ID. |
275772887390786 |
| Enable |
boolean |
Indicates whether Alibaba Cloud Managed Services is enabled. |
true |
| ChargeType |
string |
The billing method. |
http://prodpopscanGGfYbZif.302prod.xaliyun.com |
| AutoRenew |
boolean |
Indicates whether auto-renewal is enabled for the instance. Valid values:
|
true |
| OpsEnable |
boolean |
Indicates whether Alibaba Cloud Managed Services is enabled. |
|
| EcoEnable |
boolean |
Indicates whether DAS Economy Edition is enabled. |
false |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Successful",
"RequestId": "D00DB161-FEF6-5428-B37A-8D29A4C2****",
"Success": "true",
"Data": {
"CommodityInstanceId": "pc-2zelo5v5u0678jx04",
"EndTime": 1608888296000,
"StartTime": 1672531200000,
"OrderId": 275772887390786,
"Enable": true,
"ChargeType": "http://prodpopscanGGfYbZif.302prod.xaliyun.com",
"AutoRenew": true,
"OpsEnable": false,
"EcoEnable": false
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The request parameters are invalid. | The request parameters are invalid. |
| 403 | NoPermission | You are not authorized to do this action. | You do not have the permission to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.