Import stacks from multiple different accounts into a stack group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:ImportStacksToStackGroup |
create |
*StackGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the stack group. You can call DescribeRegions to view the latest list of Alibaba Cloud regions. |
cn-hangzhou |
| StackGroupName |
string |
Yes |
The name of the stack group. The name must be unique within a single region. It cannot exceed 255 characters and must start with a letter or number, and can include letters, numbers, hyphens (-), and underscores (_). |
MyStackGroup |
| StackArns |
array |
Yes |
A list of ARNs for the stacks to be imported into the stack group, in the format |
|
|
string |
No |
The ARN of the stack to be imported into the stack group, in the format acs:ros:${RegionId}:${AccountId}:stack/${StackId}. A maximum of 10 stacks can be added. |
acs:ros:cn-hangzhou:175458000000****:stack/4a65f506-c3cc-43b6-af06-3f000000**** |
|
| ResourceDirectoryFolderIds |
array |
No |
A list of resource directory folder IDs for the stacks to be imported. A maximum of 10 folders can be added. |
|
|
string |
No |
The resource directory folder ID for the stacks to be imported. A maximum of 10 folders can be added. |
["fd-1111VL****"] |
|
| ClientToken |
string |
No |
Ensures the idempotence of the request. This value is generated by the client and must be globally unique. It cannot exceed 64 characters and can include letters, numbers, hyphens (-), and underscores (_). For more information, see How to Ensure Idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
| OperationDescription |
string |
No |
Description of the operation. |
Import ops stacks to stack group |
| OperationPreferences |
object |
No |
Operation settings for importing stacks into the stack group. Includes the following parameters:
Multiple parameters are separated by commas (,). Note
|
{"FailureToleranceCount": 1,"MaxConcurrentCount": 2} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
14A07460-EBE7-47CA-9757-12CC4761D47A |
| OperationId |
string |
Operation ID. |
6da106ca-1784-4a6f-a7e1-e723863d**** |
Examples
Success response
JSON format
{
"RequestId": "14A07460-EBE7-47CA-9757-12CC4761D47A",
"OperationId": "6da106ca-1784-4a6f-a7e1-e723863d****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.