-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathACS::ECS::DeleteSnapshotGroups.json
65 lines (65 loc) · 1.55 KB
/
ACS::ECS::DeleteSnapshotGroups.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"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
}
}
}
]
}