All Products
Search
Document Center

Resource Management:ListExampleQueries

Last Updated:Jun 28, 2024

Queries all sample query templates.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
MaxResultsstringNo

The maximum number of entries per page.

Valid values: 1 to 50.

Default value: 50.

10
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results.

eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The request ID.

D696E6EF-3A6D-5770-801E-4982081FE4D0
MaxResultsstring

The maximum number of entries per page.

10
NextTokenstring

The pagination token that is used in the next request to retrieve a new page of results.

eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****
ExampleQueriesobject []

The information about the sample query templates.

QueryIdstring

The ID of the template.

sq-0PfKy****
Namestring

The name of the template.

Query of All Alibaba Cloud Resources
Descriptionstring

The description of the template.

Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.

Examples

Sample success responses

JSONformat

{
  "RequestId": "D696E6EF-3A6D-5770-801E-4982081FE4D0",
  "MaxResults": "10",
  "NextToken": "eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****",
  "ExampleQueries": [
    {
      "QueryId": "sq-0PfKy****",
      "Name": "Query of All Alibaba Cloud Resources",
      "Description": "Queries all resources on which you have permissions and sorts the resources by resource type and resource ID. "
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history