You can call this operation to query the list of stack group operations.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListStackGroupOperations

The operation that you want to perform. Set the value to ListStackGroupOperations.

RegionId String Yes cn-hangzhou

The region ID of the stack. You can call the DescribeRegions operation to query the most recent region list.

StackGroupName String Yes MyStackGroup

The name of the stack group. The name must be unique in a region. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

PageSize Long No 10

The number of entries to return on each page. Valid values: 1 to 50. Default value: 10.

PageNumber Long No 1

The number of the page to return. Pages start from page 1. Default value: 1.

Response parameters

Parameter Type Example Description
PageNumber Integer 1

The page number of the returned page.

PageSize Integer 10

The number of entries returned per page.

RequestId String 14A07460-EBE7-47CA-9757-12CC4761D47A

The ID of the request.

StackGroupOperations Array

The list of stack group operations.

Action String CREATE

The operation that was performed.

Valid values: CREATE, UPDATE, DELETE, and DETECT_DRIFT.

CreateTime String 2020-01-20T09:22:36.000000

The time when the operation was initiated.

EndTime String 2020-01-20T09:22:41.000000

The time when the operation ended.

OperationDescription String Create stack instance in hangzhou

The description of the operation. The description describes the purpose or action of the operation.

OperationId String 14A07460-EBE7-47CA-9757-12CC4761D47A

The ID of the operation.

StackGroupId String fd0ddef9-9540-4b42-a464-94f7783501d0

The ID of the stack group.

StackGroupName String MyStackGroup

The name of the stack group.

Status String SUCCEEDED

The status of the operation.

Valid values: RUNNING, SUCCEEDED, FAILED, STOPPING, and STOPPED.

TotalCount Integer 1

The total number of queried entries.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ListStackGroupOperations
&RegionId=cn-hangzhou
&StackGroupName=MyStackGroup
&<Common request parameters>

Sample success responses

XML format

<PageNumber>1</PageNumber>
<TotalCount>1</TotalCount>
<PageSize>10</PageSize>
<RequestId>4D838E26-B457-4871-B6DE-18814050D13D</RequestId>
<StackGroupOperations>
    <Status>SUCCEEDED</Status>
    <StackGroupId>fd0ddef9-9540-4b42-a464-94f7783501d0</StackGroupId>
    <Action>CREATE</Action>
    <StackGroupName>MyStackGroup</StackGroupName>
    <CreateTime>2020-01-20T09:22:36.000000</CreateTime>
    <OperationId>6da106ca-1784-4a6f-a7e1-e723863dc75a</OperationId>
    <EndTime>2020-01-20T09:22:41.000000</EndTime>
</StackGroupOperations>

JSON format

{
	"PageNumber": 1,
	"TotalCount": 1,
	"PageSize": 10,
	"RequestId": "4D838E26-B457-4871-B6DE-18814050D13D",
	"StackGroupOperations": [
		{
			"Status": "SUCCEEDED",
			"StackGroupId": "fd0ddef9-9540-4b42-a464-94f7783501d0",
			"Action": "CREATE",
			"StackGroupName": "MyStackGroup",
			"CreateTime": "2020-01-20T09:22:36.000000",
			"OperationId": "6da106ca-1784-4a6f-a7e1-e723863dc75a",
			"EndTime": "2020-01-20T09:22:41.000000"
		}
	]
}

Error codes

For a list of error codes, visit the API Error Center.