All Products
Search
Document Center

Resource Management:ListResourceTypes

Last Updated:Jun 21, 2024

Queries the resource types supported by Resource Center.

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
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh-CN: Chinese
  • en-US: English
zh-CN
ResourceTypestringNo

The resource type.

For more information about the resource types that are supported by Resource Center, see Services that work with Resource Center.

ACS::ACK::Cluster
QueryarrayNo

The query conditions.

stringNo

The field for the query. Valid values:

  • ResourceType
  • ProductName
  • ResourceTypeName
  • FilterKeys
ResourceType

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

ResourceTypesobject []

The information about the resource types.

ResourceTypestring

The resource type.

ACS::ACK::Cluster
ProductNamestring

The name of the Alibaba Cloud service.

Container Service for Kubernetes
ResourceTypeNamestring

The name of the resource type.

Cluster
FilterKeysarray

The supported filter conditions.

string

A supported filter condition.

ResourceName
RequestIdstring

The ID of the request.

E5556E4C-479A-5BBB-B325-F07563E7E917

Examples

Sample success responses

JSONformat

{
  "ResourceTypes": [
    {
      "ResourceType": "ACS::ACK::Cluster",
      "ProductName": "Container Service for Kubernetes\n",
      "ResourceTypeName": "Cluster\n",
      "FilterKeys": [
        "ResourceName"
      ]
    }
  ],
  "RequestId": "E5556E4C-479A-5BBB-B325-F07563E7E917"
}

Error codes

HTTP status codeError codeError messageDescription
409InvalidParameter.QueryThe specified parameter Query is not valid.The Query parameter is invalid.
409InvalidParameter.ResourceTypeThe specified parameter ResourceType is not valid.The ResourceType parameter is invalid.

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

Change history

Change timeSummary of changesOperation
No change history