Queries the details of features that are supported by Resource Orchestration Service (ROS).
Operation description
You can call this operation to query the Terraform hosting, resource cleaner, and scenario features.
This topic provides an example on how to query the details of features supported by ROS in the China (Hangzhou) region. The details include Terraform versions, provider versions, and supported resource types.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Feature | string | Yes | The one or more features that you want to query. Valid values:
| Terraform |
RegionId | string | Yes | The region ID of the stack. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "EBF833DA-D0E2-52BE-92E2-59CA56BE834E",
"Terraform": {
"SupportedVersions": [
{
"ProviderVersions": [
{
"ProviderName": "alicloud",
"SupportedVersions": [
"1.121.2"
]
}
],
"TerraformVersion": "1.0.11",
"Transform": "Aliyun::Terraform-v1.0",
"UpdateAllowedTransforms": [
"Aliyun::Terraform-v1.1"
]
}
],
"SupportedResourceTypes": {
"SystemTag": [
"alicloud_instance"
],
"CustomTag": [
"alicloud_instance"
],
"EstimateCost": [
"alicloud_instance"
],
"ResourceGroup": [
"alicloud_instance"
],
"StackOperationRisk": {
"DeleteStack": [
"alicloud_instance"
]
}
}
},
"TemplateScratch": {
"SupportedResourceTypes": [
{
"ResourceType": "ALIYUN::ECS::Disk",
"SourceResourcesSupported": true,
"SourceTagSupported": true,
"SourceResourceGroupSupported": true,
"SourceSupported": true,
"SupportedTemplateScratchTypes": [
"ArchitectureReplication"
]
}
]
},
"ResourceCleaner": {
"SupportedResourceTypes": [
{
"ResourceType": "ECS:Instance",
"SupportedFilters": [
"ResourceName"
],
"SideEffects": [
"StopInstance"
]
}
]
},
"TemplateParameterConstraints": {
"SupportedResourceTypes": [
{
"ResourceType": "ALIYUN::ECS::Disk",
"Properties": [
"[\"DiskCategory\", \"ZoneId\"]"
]
}
]
},
"DriftDetection": {
"SupportedResourceTypes": [
"ALIYUN::ECS::Disk"
]
},
"ResourceImport": {
"SupportedResourceTypes": [
{
"ResourceType": "ALIYUN::ECS::Disk",
"ResourceIdentifiers": [
"DiskId"
]
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
Change time | Summary of changes | Operation |
---|---|---|
2023-08-24 | The response structure of the API has changed | View Change Details |
2023-03-30 | The response structure of the API has changed | View Change Details |
2022-01-12 | The response structure of the API has changed | View Change Details |