Queries for an overview.
Operation description
Usage notes
This topic provides an example of how to query a list of stacks in the China (Hangzhou) region.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
ros:ListSummaries | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Option | string | No | Output information options. Valid values:
| StackDetail |
Response elements
Element | Type | Description | Example |
object | |||
| RegionSummaries | array<object> | Statistics about the number of Resource Orchestration Service (ROS) resources in each region. | |
array<object> | Statistics about the number of ROS resources in each region. | ||
StackGroupCount | string | The number of stack groups. | 1 |
RegionId | string | The region ID. | cn-hangzhou |
StackCount | string | The number of stacks. | 1 |
| StackDetails | array<object> | Stack details. | |
object | Stack details. | ||
Count | string | The number of stacks. | 1 |
BriefStatus | string | The brief status of the stack. Valid values:
| COMPLETE |
TemplateScratchCount | integer | The number of resource scenarios. | 1 |
| CenterSummary | object | Statistics about the number of central ROS resources. | |
TemplateCount | string | The number of templates. | 2 |
RegisteredResourceTypeCount | integer | The number of registered resource types. | 3 |
RequestId | string | The request ID. | B842BB91-A004-59CC-83E3-C961567FCBC8 |
Examples
Success response
JSON format
{
"RegionSummaries": [
{
"StackGroupCount": "1",
"RegionId": "cn-hangzhou",
"StackCount": "1",
"StackDetails": [
{
"Count": "1",
"BriefStatus": "COMPLETE"
}
],
"TemplateScratchCount": 1
}
],
"CenterSummary": {
"TemplateCount": "2",
"RegisteredResourceTypeCount": 3
},
"RequestId": "B842BB91-A004-59CC-83E3-C961567FCBC8"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.