This topic provides an example on how to query the list of resource types supported by Resource Orchestration Service (ROS).
Operation Description
For more information about errors common to all operations, see Common error codes.
debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
EntityType | string | No | The entity type. Valid values:
| Resource |
Provider | string | No | The provider of the resource type. Valid values:
| ROS |
ResourceType | string | No | The resource type. The resource type can contain letters, digits, colons (:), and asterisks (*). You can use an asterisk (*) to perform a fuzzy match. | MODULE::MyOrganization::MyService::MyUsecase |
Response parameters
The operation that you want to perform. Set the value to ListResourceTypes.
Examples
Sample success responses
JSON
format
{
"ResourceTypes": [
"[\"ALIYUN::ECS::Instance\",\"ALIYUN::RDS::Instance\"]"
],
"RequestId": "EA00860C-ECAF-5253-A1F9-8198695A7157",
"ResourceTypeSummaries": [
{
"Provider": "ROS",
"EntityType": "Module",
"ResourceType": "MODULE::MyOrganization::MyService::MyUsecase",
"DefaultVersionId": "v1",
"LatestVersionId": "v10",
"CreateTime": "2023-02-24T08:25:21",
"UpdateTime": "2023-02-24T08:25:21",
"Description": "It is a demo.",
"TotalVersionCount": 10
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-05-10 | The input parameters of the API operation change.,The response structure of the API operation changes. | see changesets | ||||||||
| ||||||||||
2022-01-18 | The input parameters of the API operation change. | see changesets | ||||||||
|