-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathACS::ECS::DeleteSnapshotGroups.yml
More file actions
44 lines (44 loc) · 1.14 KB
/
ACS::ECS::DeleteSnapshotGroups.yml
File metadata and controls
44 lines (44 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FormatVersion: OOS-2019-06-01
Description:
name-en: ACS::ECS::DeleteSnapshotGroups
name-zh-cn: 删除一致性快照组
en: Delete snapshot groups.
zh-cn: 删除一致性快照组
Parameters:
regionId:
Type: String
Label:
en: RegionId
zh-cn: 地域Id
Tasks:
- Name: DescribeSnapshotGroups
Action: ACS::ExecuteApi
Description:
en: Describe snapshot groups
zh-cn: 查询一致性快照组
Properties:
Service: ECS
API: DescribeSnapshotGroups
Parameters:
RegionId: '{{ regionId }}'
Outputs:
snapshotGroupIds:
Type: List
ValueSelector: .SnapshotGroups.SnapshotGroup[].SnapshotGroupId
- Name: DeleteSnapshotGroups
Action: ACS::ExecuteApi
Description:
en: Delete snapshot groups
zh-cn: 删除一致性快照组
Properties:
Service: ECS
API: DeleteSnapshotGroup
Parameters:
RegionId: '{{ regionId }}'
SnapshotGroupId: '{{ ACS::TaskLoopItem }}'
Loop:
Items: '{{ DescribeSnapshotGroups.snapshotGroupIds }}'
RateControl:
MaxErrors: 0
Mode: Concurrency
Concurrency: 1