You can call this operation to query the list of cache analysis tasks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DescribeCacheAnalysisJobs

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

InstanceId String No r-xxxxxx

The ID of the instance.

StartTime String No 1596177993000

The start time of the query task.

EndTime String No 1596177993000

The end time of the query task.

PageNo String No 1

The number of the page to return.

PageSize String No 10

The number of entries to return on each page.

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=DescribeCacheAnalysisJobs
&<Common request parameters>

Sample success responses

XML format

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

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.