-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathACS::SWAS::QueryInstanceAttributes.json
58 lines (58 loc) · 1.29 KB
/
ACS::SWAS::QueryInstanceAttributes.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": {
"en": "Query SWAS instance attributes",
"zh-cn": "查询轻量应用服务器属性",
"name-en": "ACS::SWAS::QueryInstanceAttributes",
"name-zh-cn": "查询轻量应用服务器属性"
},
"Parameters": {
"regionId": {
"Description": {
"en": "The ID of region",
"zh-cn": "地域ID"
},
"Type": "String",
"Default": "{{ ACS::RegionId }}"
},
"instanceId": {
"Description": {
"en": "The ID of SWAS instance",
"zh-cn": "SWAS实例ID"
},
"Type": "String"
}
},
"Tasks": [
{
"Name": "queryInstanceInfo",
"Action": "ACS::ExecuteApi",
"Description": {
"en": "Queries instance info",
"zh-cn": "获取实例信息"
},
"Properties": {
"Service": "SWAS-OPEN",
"API": "ListInstances",
"Parameters": {
"RegionId": "{{ regionId }}",
"InstanceIds": [
"{{ instanceId }}"
]
}
},
"Outputs": {
"instanceInfo": {
"Type": "Json",
"ValueSelector": "Instances[]"
}
}
}
],
"Outputs": {
"instanceInfo": {
"Type": "Json",
"Value": "{{ queryInstanceInfo.instanceInfo }}"
}
}
}