-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathACS::ECD::RebuildDesktop.json
58 lines (58 loc) · 1.25 KB
/
ACS::ECD::RebuildDesktop.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
{
"FormatVersion": "OOS-2019-06-01",
"Description": {
"name-en": "ACS::ECD::RebuildDesktop",
"name-zh-cn": "重建云桌面",
"en": "Rebuild ECD desktop",
"zh-cn": "重建云桌面"
},
"Parameters": {
"regionId": {
"Description": {
"en": "The id of region",
"zh-cn": "地域ID"
},
"Type": "String",
"Default": "{{ ACS::RegionId }}"
},
"desktopId": {
"Description": {
"en": "The id of desktop",
"zh-cn": "云桌面ID"
},
"Type": "String"
}
},
"Tasks": [
{
"Name": "stopDesktop",
"Action": "ACS::ECD::StopDesktop",
"Description": {
"en": "Stop the desktops",
"zh-cn": "停止云桌面"
},
"Properties": {
"regionId": "{{ regionId }}",
"desktopId": "{{ desktopId }}"
}
},
{
"Name": "rebuildDesktop",
"Action": "ACS::ExecuteApi",
"Description": {
"en": "Rebuild desktops",
"zh-cn": "重建云桌面"
},
"Properties": {
"Service": "ECD",
"API": "RebuildDesktops",
"Parameters": {
"RegionId": "{{ regionId }}",
"DesktopId": [
"{{ desktopId }}"
]
}
}
}
]
}