You can call this operation to query the details of a cache analysis task.

Request parameters

Parameter Type Required Example Description
Action String No DescribeCacheAnalysisJob

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

InstanceId String No r-xxxxxx

The ID of the instance.

JobId String No xxxx-xxxx-xxxx-xxxx

The ID of the cache analysis task.

Response parameters

Parameter Type Example Description
Code String 200

The returned status code.

Data String r-xxxxxx

The returned data.

Message String None

Indicates the reason why an error occurred in taskState.

RequestId String B6D17591-B48B-4D31-9CD6-9B9796B2270A

The ID of the request.

Success String true

Indicates whether the request was successful. Valid values:

  • true
  • False

Examples

Sample requests

http(s)://dbs-api.cn-hangzhou.aliyuncs.com/? Action=DescribeCacheAnalysisJob
&<Common request parameters>

Sample success responses

XML format

<DescribeCacheAnalysisJobReponse>
  <Message>None</Message>
  <RequestId> B6D17591-B48B-4D31-9CD6-9B9796B2270A</RequestId>
  <Data>r-xxxxxx</Data>
  <Code>200</Code>
  <Success>true</Success>
</DescribeCacheAnalysisJobReponse>

JSON format

{"Message":"None",
"RequestId":" B6D17591-B48B-4D31-9CD6-9B9796B2270A",
"Data":"r-xxxxxx",
"Code":"200",
"Success":"true"}

Error codes

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