Checks whether Database Autonomy Service (DAS) Professional Edition is enabled for a specified database instance.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeInstanceDasPro

The operation that you want to perform. Set the value to DescribeInstanceDasPro.

InstanceId String Yes rm-2ze8g2am97624****

The ID of the database instance.

Response parameters

Parameter Type Example Description
Message String Successful

The message that is returned for the request.

Note If the request is successful, Successful is returned. If the request fails, an error message that contains information such as an error code is returned.
RequestId String 9CB97BC4-6479-55D0-B9D0-EA925AFE****

The ID of the request.

Data Boolean true

Indicates whether DAS Professional Edition is enabled for the database instance.

  • true
  • false
Code String 200

The returned HTTP status code.

Success String true

Indicates whether the request is successful. Valid values:

  • true
  • false

Examples

Sample requests

http(s)://das.cn-shanghai.aliyuncs.com/?Action=DescribeInstanceDasPro
&InstanceId=rm-2ze8g2am97624****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeInstanceDasProResponse>
    <Message>Successful</Message>
    <RequestId>9CB97BC4-6479-55D0-B9D0-EA925AFE****</RequestId>
    <Data>true</Data>
    <Code>200</Code>
    <Success>true</Success>
</DescribeInstanceDasProResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "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. The error message returned because the specified request parameters are invalid.

For a list of error codes, visit the API Error Center.