ksyun-sdk-node 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist/service/Actiontrail/v20190401/index.js +31 -31
  2. package/dist/service/Aicp/v20240612/index.js +382 -382
  3. package/dist/service/Aicp/v20251212/index.js +47 -47
  4. package/dist/service/Bill/v20180601/index.js +45 -45
  5. package/dist/service/Bill/v20220601/index.js +35 -35
  6. package/dist/service/Bill_union/v20200101/index.js +130 -130
  7. package/dist/service/Bill_union/v20221222/index.js +93 -93
  8. package/dist/service/Bill_union/v20250801/index.js +37 -37
  9. package/dist/service/Bws/v20160304/index.js +106 -106
  10. package/dist/service/Cdn/v20160901/index.js +42 -42
  11. package/dist/service/Cdn/v20200630/index.js +306 -306
  12. package/dist/service/Cdn/v20200901/index.js +108 -108
  13. package/dist/service/Cdn/v20211201/index.js +21 -21
  14. package/dist/service/Cdn/v3/index.js +476 -300
  15. package/dist/service/Cen/v20160304/index.js +355 -355
  16. package/dist/service/Clickhouse/v20210101/index.js +533 -533
  17. package/dist/service/Cloud_advisor/v20250610/index.js +47 -47
  18. package/dist/service/Dmp/v20240101/index.js +248 -248
  19. package/dist/service/Dts/v20180108/index.js +274 -274
  20. package/dist/service/Ebs/v20160304/index.js +383 -383
  21. package/dist/service/Eip/v20160304/index.js +158 -158
  22. package/dist/service/Epc/v20151101/index.js +1668 -1668
  23. package/dist/service/Iam/v20151101/index.js +834 -834
  24. package/dist/service/Iam/v20240513/index.js +23 -23
  25. package/dist/service/Iam/v20240703/index.js +20 -20
  26. package/dist/service/Influxdb/v20191010/index.js +350 -350
  27. package/dist/service/Kad/v20161122/index.js +104 -104
  28. package/dist/service/Kce/v20180314/index.js +216 -216
  29. package/dist/service/Kce/v20190806/index.js +501 -501
  30. package/dist/service/Kce/v20201231/index.js +39 -39
  31. package/dist/service/Kce/v20230101/index.js +130 -130
  32. package/dist/service/Kce/v20230306/index.js +305 -305
  33. package/dist/service/Kce/v20231115/index.js +36 -36
  34. package/dist/service/Kce2/v20230101/index.js +219 -219
  35. package/dist/service/Kcf/v20211215/index.js +141 -141
  36. package/dist/service/Kci/v20200702/index.js +242 -242
  37. package/dist/service/Kcm/v20160304/index.js +161 -161
  38. package/dist/service/Kcrs/v20211109/index.js +608 -608
  39. package/dist/service/Kcs/v20160701/index.js +939 -939
  40. package/dist/service/Kcs/v20170401/index.js +22 -22
  41. package/dist/service/Kcs/v20240701/index.js +21 -21
  42. package/dist/service/Kead/v20200101/index.js +45 -45
  43. package/dist/service/Kec/v20160304/index.js +1679 -1679
  44. package/dist/service/Ked/v1/index.js +568 -568
  45. package/dist/service/Kes/v20201215/index.js +112 -112
  46. package/dist/service/Ket/v20170101/index.js +124 -124
  47. package/dist/service/Kfw/v20160304/index.js +31 -31
  48. package/dist/service/Kingpay/v1/index.js +20 -20
  49. package/dist/service/Kkms/v20160304/index.js +108 -108
  50. package/dist/service/Klog/v20200731/index.js +232 -232
  51. package/dist/service/Kls/v20170101/index.js +135 -135
  52. package/dist/service/Kmr/v20210902/index.js +288 -288
  53. package/dist/service/Kmr/v20231231/index.js +100 -100
  54. package/dist/service/Kmr/v20240814/index.js +256 -256
  55. package/dist/service/Knad/v20230323/index.js +231 -231
  56. package/dist/service/Kpfs/v20240930/index.js +117 -117
  57. package/dist/service/Krds/v20160701/index.js +1286 -1286
  58. package/dist/service/Krds/v20200825/index.js +145 -145
  59. package/dist/service/Memcached/v20180627/index.js +172 -172
  60. package/dist/service/Milvus/v20231010/index.js +252 -252
  61. package/dist/service/Mongodb/v20170101/index.js +618 -618
  62. package/dist/service/Mongodb/v20250101/index.js +20 -20
  63. package/dist/service/Monitor/v20100525/index.js +41 -41
  64. package/dist/service/Monitor/v20181114/index.js +25 -25
  65. package/dist/service/Monitor/v20210101/index.js +144 -144
  66. package/dist/service/Monitor/v20220101/index.js +30 -30
  67. package/dist/service/Monitor/v20250101/index.js +42 -42
  68. package/dist/service/Pdns/v20160304/index.js +442 -442
  69. package/dist/service/Postgresql/v20181225/index.js +702 -702
  70. package/dist/service/Rabbitmq/v20191017/index.js +235 -235
  71. package/dist/service/Relyt/v20240117/index.js +21 -21
  72. package/dist/service/Resourcemanager/v20210320/index.js +110 -110
  73. package/dist/service/Sks/v20151101/index.js +70 -70
  74. package/dist/service/Slb/v20160304/index.js +1549 -1549
  75. package/dist/service/Slb/v20250430/index.js +630 -630
  76. package/dist/service/Sqlserver/v20190425/index.js +633 -633
  77. package/dist/service/Sts/v20151101/index.js +37 -37
  78. package/dist/service/Tagv2/v20200901/index.js +141 -141
  79. package/dist/service/Ter/v20240415/index.js +70 -70
  80. package/dist/service/Tidb/v20210520/index.js +549 -549
  81. package/dist/service/Trade/v20200114/index.js +20 -20
  82. package/dist/service/Trade/v20200831/index.js +22 -22
  83. package/dist/service/Trade/v20250220/index.js +58 -58
  84. package/dist/service/Trade/v20250321/index.js +54 -54
  85. package/dist/service/Trade/v20250828/index.js +32 -32
  86. package/dist/service/Vpc/v20160304/index.js +1776 -1776
  87. package/dist/service/Waf/v20200707/index.js +312 -312
  88. package/package.json +1 -1
  89. package/src/service/Actiontrail/v20190401/index.js +42 -42
  90. package/src/service/Aicp/v20240612/index.js +504 -505
  91. package/src/service/Aicp/v20251212/index.js +62 -62
  92. package/src/service/Bill/v20180601/index.js +63 -64
  93. package/src/service/Bill/v20220601/index.js +50 -50
  94. package/src/service/Bill_union/v20200101/index.js +181 -183
  95. package/src/service/Bill_union/v20221222/index.js +124 -124
  96. package/src/service/Bill_union/v20250801/index.js +52 -52
  97. package/src/service/Bws/v20160304/index.js +141 -141
  98. package/src/service/Cdn/v20160901/index.js +60 -61
  99. package/src/service/Cdn/v20200630/index.js +399 -399
  100. package/src/service/Cdn/v20200901/index.js +143 -143
  101. package/src/service/Cdn/v20211201/index.js +32 -32
  102. package/src/service/Cdn/v3/index.js +589 -413
  103. package/src/service/Cen/v20160304/index.js +493 -493
  104. package/src/service/Clickhouse/v20210101/index.js +720 -722
  105. package/src/service/Cloud_advisor/v20250610/index.js +66 -66
  106. package/src/service/Dmp/v20240101/index.js +351 -356
  107. package/src/service/Dts/v20180108/index.js +375 -377
  108. package/src/service/Ebs/v20160304/index.js +528 -531
  109. package/src/service/Eip/v20160304/index.js +221 -226
  110. package/src/service/Epc/v20151101/index.js +2065 -2068
  111. package/src/service/Iam/v20151101/index.js +1155 -1158
  112. package/src/service/Iam/v20240513/index.js +34 -34
  113. package/src/service/Iam/v20240703/index.js +31 -31
  114. package/src/service/Influxdb/v20191010/index.js +493 -493
  115. package/src/service/Kad/v20161122/index.js +151 -152
  116. package/src/service/Kce/v20180314/index.js +309 -309
  117. package/src/service/Kce/v20190806/index.js +662 -664
  118. package/src/service/Kce/v20201231/index.js +50 -50
  119. package/src/service/Kce/v20230101/index.js +182 -183
  120. package/src/service/Kce/v20230306/index.js +423 -423
  121. package/src/service/Kce/v20231115/index.js +51 -51
  122. package/src/service/Kce2/v20230101/index.js +286 -286
  123. package/src/service/Kcf/v20211215/index.js +192 -194
  124. package/src/service/Kci/v20200702/index.js +309 -309
  125. package/src/service/Kcm/v20160304/index.js +219 -219
  126. package/src/service/Kcrs/v20211109/index.js +836 -836
  127. package/src/service/Kcs/v20160701/index.js +1237 -1241
  128. package/src/service/Kcs/v20170401/index.js +33 -33
  129. package/src/service/Kcs/v20240701/index.js +32 -32
  130. package/src/service/Kead/v20200101/index.js +63 -64
  131. package/src/service/Kec/v20160304/index.js +2061 -2066
  132. package/src/service/Ked/v1/index.js +794 -795
  133. package/src/service/Kes/v20201215/index.js +160 -160
  134. package/src/service/Ket/v20170101/index.js +172 -172
  135. package/src/service/Kfw/v20160304/index.js +45 -46
  136. package/src/service/Kingpay/v1/index.js +31 -31
  137. package/src/service/Kkms/v20160304/index.js +156 -156
  138. package/src/service/Klog/v20200731/index.js +320 -320
  139. package/src/service/Kls/v20170101/index.js +183 -183
  140. package/src/service/Kmr/v20210902/index.js +411 -411
  141. package/src/service/Kmr/v20231231/index.js +135 -135
  142. package/src/service/Kmr/v20240814/index.js +359 -359
  143. package/src/service/Knad/v20230323/index.js +322 -324
  144. package/src/service/Kpfs/v20240930/index.js +170 -170
  145. package/src/service/Krds/v20160701/index.js +1700 -1702
  146. package/src/service/Krds/v20200825/index.js +203 -203
  147. package/src/service/Memcached/v20180627/index.js +238 -245
  148. package/src/service/Milvus/v20231010/index.js +355 -355
  149. package/src/service/Mongodb/v20170101/index.js +822 -825
  150. package/src/service/Mongodb/v20250101/index.js +31 -31
  151. package/src/service/Monitor/v20100525/index.js +56 -56
  152. package/src/service/Monitor/v20181114/index.js +36 -36
  153. package/src/service/Monitor/v20210101/index.js +205 -207
  154. package/src/service/Monitor/v20220101/index.js +44 -45
  155. package/src/service/Monitor/v20250101/index.js +57 -57
  156. package/src/service/Pdns/v20160304/index.js +625 -625
  157. package/src/service/Postgresql/v20181225/index.js +939 -940
  158. package/src/service/Rabbitmq/v20191017/index.js +332 -338
  159. package/src/service/Relyt/v20240117/index.js +32 -32
  160. package/src/service/Resourcemanager/v20210320/index.js +157 -158
  161. package/src/service/Sks/v20151101/index.js +96 -97
  162. package/src/service/Slb/v20160304/index.js +1844 -1844
  163. package/src/service/Slb/v20250430/index.js +739 -739
  164. package/src/service/Sqlserver/v20190425/index.js +861 -861
  165. package/src/service/Sts/v20151101/index.js +52 -52
  166. package/src/service/Tagv2/v20200901/index.js +199 -199
  167. package/src/service/Ter/v20240415/index.js +97 -97
  168. package/src/service/Tidb/v20210520/index.js +746 -746
  169. package/src/service/Trade/v20200114/index.js +31 -31
  170. package/src/service/Trade/v20200831/index.js +33 -33
  171. package/src/service/Trade/v20250220/index.js +81 -81
  172. package/src/service/Trade/v20250321/index.js +77 -77
  173. package/src/service/Trade/v20250828/index.js +43 -43
  174. package/src/service/Vpc/v20160304/index.js +2436 -2437
  175. package/src/service/Waf/v20200707/index.js +420 -420
@@ -1,798 +1,797 @@
1
1
  const BaseClient = require("../../../base/BaseClient.js");
2
2
 
3
3
  module.exports = class Client extends BaseClient {
4
- _baseConfig = {
5
- 'protocol': 'http://',
6
- 'endpoint': 'ked.api.ksyun.com',
7
- 'config': {
8
- 'timeout': 60, //设置timeout
9
- 'headers': {
10
- 'Accept': 'application/json'
11
- },
12
- 'credentials': {
13
- 'region': 'cn-shanghai-3',
14
- 'service': 'ked',
15
- },
16
- },
17
- }
18
- _apiList = {
19
- 'CloudDeskreinstall': {
20
- 'url': '/',
21
- 'method': 'PUT',
22
- 'config': {
23
- 'query': {
24
- 'Version': 'V1',
25
- 'Action': 'CloudDeskreinstall',
26
- },
27
- 'headers': {
28
- 'Content-Type': 'application/json'
29
- },
30
- },
31
- 'paramsType': {
32
- 'instanceId': 'String',
33
- 'imageId': 'String',
34
- }
35
- },
36
- 'CloudDeskmanage': {
37
- 'url': '/',
38
- 'method': 'POST',
39
- 'config': {
40
- 'query': {
41
- 'Version': 'V1',
42
- 'Action': 'CloudDeskmanage',
43
- },
44
- 'headers': {
45
- 'Content-Type': 'application/json'
46
- },
47
- },
48
- 'paramsType': {
49
- 'instanceIds': 'Array',
50
- 'action1': 'String',
51
- }
52
- },
53
- 'CloudDeskedit': {
54
- 'url': '/',
55
- 'method': 'PUT',
56
- 'config': {
57
- 'query': {
58
- 'Version': 'V1',
59
- 'Action': 'CloudDeskedit',
60
- },
61
- 'headers': {
62
- 'Content-Type': 'application/json'
63
- },
64
- },
65
- 'paramsType': {
66
- 'instanceId': 'String',
67
- 'name': 'String',
68
- }
69
- },
70
- 'CloudDeskcreate': {
71
- 'url': '/',
72
- 'method': 'POST',
73
- 'config': {
74
- 'query': {
75
- 'Version': 'V1',
76
- 'Action': 'CloudDeskcreate',
77
- },
78
- 'headers': {
79
- 'Content-Type': 'application/json'
80
- },
81
- },
82
- 'paramsType': {
83
- 'instanceName': 'String',
84
- 'instanceType': 'String',
85
- 'imageId': 'String',
86
- 'edgeNodeId': 'String',
87
- 'systemDisk': 'Int',
88
- 'dataDisk': 'Int',
89
- 'billType': 'Int',
90
- 'duration': 'Int',
91
- 'securityGroupId': 'String',
92
- 'gpu': 'String',
93
- 'quantity': 'Int',
94
- 'uniqueSuffix': 'Boolean',
95
- }
96
- },
97
- 'CloudDesklist': {
98
- 'url': '/',
99
- 'method': 'GET',
100
- 'config': {
101
- 'query': {
102
- 'Version': 'V1',
103
- 'Action': 'CloudDesklist',
104
- },
105
- 'headers': {
106
- 'Content-Type': 'application/json'
107
- },
108
- },
109
- 'paramsType': {
110
- 'page': 'Int',
111
- 'size': 'Int',
112
- 'connected': 'String',
113
- 'labelIds': 'String',
114
- 'name': 'String',
115
- 'userName': 'String',
116
- }
117
- },
118
- 'Strategyruleedit': {
119
- 'url': '/',
120
- 'method': 'POST',
121
- 'config': {
122
- 'query': {
123
- 'Version': 'V1',
124
- 'Action': 'Strategyruleedit',
125
- },
126
- 'headers': {
127
- 'Content-Type': 'application/json'
128
- },
129
- },
130
- 'paramsType': {
131
- 'securityGroupId': 'String',
132
- 'policies': 'Array',
133
- }
134
- },
135
- 'Strategyrulecreate': {
136
- 'url': '/',
137
- 'method': 'POST',
138
- 'config': {
139
- 'query': {
140
- 'Version': 'V1',
141
- 'Action': 'Strategyrulecreate',
142
- },
143
- 'headers': {
144
- 'Content-Type': 'application/json'
145
- },
146
- },
147
- 'paramsType': {
148
- 'name': 'String',
149
- 'description': 'String',
150
- 'policies': 'Array',
151
- }
152
- },
153
- 'Strategyunbound': {
154
- 'url': '/',
155
- 'method': 'PUT',
156
- 'config': {
157
- 'query': {
158
- 'Version': 'V1',
159
- 'Action': 'Strategyunbound',
160
- },
161
- 'headers': {
162
- 'Content-Type': 'application/json'
163
- },
164
- },
165
- 'paramsType': {
166
- 'securityGroupId': 'String',
167
- 'instanceId': 'String',
168
- }
169
- },
170
- 'Strategybound': {
171
- 'url': '/',
172
- 'method': 'PUT',
173
- 'config': {
174
- 'query': {
175
- 'Version': 'V1',
176
- 'Action': 'Strategybound',
177
- },
178
- 'headers': {
179
- 'Content-Type': 'application/json'
180
- },
181
- },
182
- 'paramsType': {
183
- 'securityGroupId': 'String',
184
- 'instanceId': 'String',
185
- }
186
- },
187
- 'Strategydelete': {
188
- 'url': '/',
189
- 'method': 'DELETE',
190
- 'config': {
191
- 'query': {
192
- 'Version': 'V1',
193
- 'Action': 'Strategydelete',
194
- },
195
- 'headers': {
196
- 'Content-Type': 'application/json'
197
- },
198
- },
199
- 'paramsType': {
200
- 'id': 'Array',
201
- }
202
- },
203
- 'Strategyedit': {
204
- 'url': '/',
205
- 'method': 'PUT',
206
- 'config': {
207
- 'query': {
208
- 'Version': 'V1',
209
- 'Action': 'Strategyedit',
210
- },
211
- 'headers': {
212
- 'Content-Type': 'application/json'
213
- },
214
- },
215
- 'paramsType': {
216
- 'securityGroupId': 'String',
217
- 'name': 'String',
218
- 'description': 'String',
219
- }
220
- },
221
- 'Strategycreate': {
222
- 'url': '/',
223
- 'method': 'POST',
224
- 'config': {
225
- 'query': {
226
- 'Version': 'V1',
227
- 'Action': 'Strategycreate',
228
- },
229
- 'headers': {
230
- 'Content-Type': 'application/json'
231
- },
232
- },
233
- 'paramsType': {
234
- 'name': 'String',
235
- 'description': 'String',
236
- }
237
- },
238
- 'Strategylist': {
239
- 'url': '/',
240
- 'method': 'GET',
241
- 'config': {
242
- 'query': {
243
- 'Version': 'V1',
244
- 'Action': 'Strategylist',
245
- },
246
- 'headers': {
247
- 'Content-Type': 'application/json'
248
- },
249
- },
250
- 'paramsType': {
251
- 'size': 'Int',
252
- 'page': 'Int',
253
- 'name': 'String',
254
- }
255
- },
256
- 'Rolesdelete': {
257
- 'url': '/',
258
- 'method': 'DELETE',
259
- 'config': {
260
- 'query': {
261
- 'Version': 'V1',
262
- 'Action': 'Rolesdelete',
263
- },
264
- 'headers': {
265
- 'Content-Type': 'application/json'
266
- },
267
- },
268
- 'paramsType': {
269
- 'id': 'Int',
270
- }
271
- },
272
- 'Rolesedit': {
273
- 'url': '/',
274
- 'method': 'PUT',
275
- 'config': {
276
- 'query': {
277
- 'Version': 'V1',
278
- 'Action': 'Rolesedit',
279
- },
280
- 'headers': {
281
- 'Content-Type': 'application/json'
282
- },
283
- },
284
- 'paramsType': {
285
- 'id': 'Int',
286
- 'name': 'String',
287
- 'description': 'String',
288
- 'fileTransfer': 'Int',
289
- 'clipboard': 'Int',
290
- 'disk': 'Int',
291
- 'usb': 'Int',
292
- }
293
- },
294
- 'Rolescreate': {
295
- 'url': '/',
296
- 'method': 'POST',
297
- 'config': {
298
- 'query': {
299
- 'Version': 'V1',
300
- 'Action': 'Rolescreate',
301
- },
302
- 'headers': {
303
- 'Content-Type': 'application/json'
304
- },
305
- },
306
- 'paramsType': {
307
- 'name': 'String',
308
- 'description': 'String',
309
- 'fileTransfer': 'Int',
310
- 'clipboard': 'Int',
311
- 'disk': 'Int',
312
- 'usb': 'Int',
313
- }
314
- },
315
- 'Roleslist': {
316
- 'url': '/',
317
- 'method': 'GET',
318
- 'config': {
319
- 'query': {
320
- 'Version': 'V1',
321
- 'Action': 'Roleslist',
322
- },
323
- 'headers': {
324
- 'Content-Type': 'application/json'
325
- },
326
- },
327
- 'paramsType': {
328
- 'size': 'Int',
329
- 'page': 'Int',
330
- 'name': 'String',
331
- }
332
- },
333
- 'Imagedelete': {
334
- 'url': '/',
335
- 'method': 'DELETE',
336
- 'config': {
337
- 'query': {
338
- 'Version': 'V1',
339
- 'Action': 'Imagedelete',
340
- },
341
- 'headers': {
342
- 'Content-Type': 'application/json'
343
- },
344
- },
345
- 'paramsType': {
346
- 'imageId': 'String',
347
- }
348
- },
349
- 'Imageedit': {
350
- 'url': '/',
351
- 'method': 'PUT',
352
- 'config': {
353
- 'query': {
354
- 'Version': 'V1',
355
- 'Action': 'Imageedit',
356
- },
357
- 'headers': {
358
- 'Content-Type': 'application/json'
359
- },
360
- },
361
- 'paramsType': {
362
- 'id': 'Int',
363
- 'imageId': 'String',
364
- 'imageName': 'String',
365
- 'description': 'String',
366
- }
367
- },
368
- 'Imagecreate': {
369
- 'url': '/',
370
- 'method': 'POST',
371
- 'config': {
372
- 'query': {
373
- 'Version': 'V1',
374
- 'Action': 'Imagecreate',
375
- },
376
- 'headers': {
377
- 'Content-Type': 'application/json'
378
- },
379
- },
380
- 'paramsType': {
381
- 'imageName': 'String',
382
- 'description': 'String',
383
- 'instanceId': 'String',
384
- }
385
- },
386
- 'Imagelist': {
387
- 'url': '/',
388
- 'method': 'GET',
389
- 'config': {
390
- 'query': {
391
- 'Version': 'V1',
392
- 'Action': 'Imagelist',
393
- },
394
- 'headers': {
395
- 'Content-Type': 'application/json'
396
- },
397
- },
398
- 'paramsType': {
399
- 'size': 'Int',
400
- 'page': 'Int',
401
- 'name': 'String',
402
- }
403
- },
404
- 'StrategyrulebatchEdit': {
405
- 'url': '/',
406
- 'method': 'DELETE',
407
- 'config': {
408
- 'query': {
409
- 'Version': 'V1',
410
- 'Action': 'StrategyrulebatchEdit',
411
- },
412
- 'headers': {
413
- 'Content-Type': 'application/json'
414
- },
415
- },
416
- 'paramsType': {
417
- 'securityGroupIds': 'Array',
418
- }
419
- },
420
- 'Monitorregions': {
421
- 'url': '/',
422
- 'method': 'GET',
423
- 'config': {
424
- 'query': {
425
- 'Version': 'V1',
426
- 'Action': 'Monitorregions',
427
- },
428
- 'headers': {
429
- 'Content-Type': 'application/json'
430
- },
431
- },
432
- 'paramsType': {
433
- }
434
- },
435
- 'Usersinstancebind': {
436
- 'url': '/',
437
- 'method': 'POST',
438
- 'config': {
439
- 'query': {
440
- 'Version': 'V1',
441
- 'Action': 'Usersinstancebind',
442
- },
443
- 'headers': {
444
- 'Content-Type': 'application/json'
445
- },
446
- },
447
- 'paramsType': {
448
- 'id': 'Int',
449
- 'instanceId': 'String',
450
- }
451
- },
452
- 'Userspasswordreset': {
453
- 'url': '/',
454
- 'method': 'PUT',
455
- 'config': {
456
- 'query': {
457
- 'Version': 'V1',
458
- 'Action': 'Userspasswordreset',
459
- },
460
- 'headers': {
461
- 'Content-Type': 'application/json'
462
- },
463
- },
464
- 'paramsType': {
465
- 'id': 'Int',
466
- 'password': 'String',
467
- }
468
- },
469
- 'Usersdelete': {
470
- 'url': '/',
471
- 'method': 'DELETE',
472
- 'config': {
473
- 'query': {
474
- 'Version': 'V1',
475
- 'Action': 'Usersdelete',
476
- },
477
- 'headers': {
478
- 'Content-Type': 'application/json'
479
- },
480
- },
481
- 'paramsType': {
482
- 'id': 'Int',
483
- }
484
- },
485
- 'Usersedit': {
486
- 'url': '/',
487
- 'method': 'PUT',
488
- 'config': {
489
- 'query': {
490
- 'Version': 'V1',
491
- 'Action': 'Usersedit',
492
- },
493
- 'headers': {
494
- 'Content-Type': 'application/json'
495
- },
496
- },
497
- 'paramsType': {
498
- 'id': 'Int',
499
- 'name': 'String',
500
- 'phoneOrEmail': 'String',
501
- 'nickName': 'String',
502
- 'status': 'Int',
503
- }
504
- },
505
- 'Userscreate': {
506
- 'url': '/',
507
- 'method': 'POST',
508
- 'config': {
509
- 'query': {
510
- 'Version': 'V1',
511
- 'Action': 'Userscreate',
512
- },
513
- 'headers': {
514
- 'Content-Type': 'application/json'
515
- },
516
- },
517
- 'paramsType': {
518
- 'name': 'String',
519
- 'password': 'String',
520
- 'phoneOrEmail': 'String',
521
- 'roleId': 'Int',
522
- }
523
- },
524
- 'Userslist': {
525
- 'url': '/',
526
- 'method': 'GET',
527
- 'config': {
528
- 'query': {
529
- 'Version': 'V1',
530
- 'Action': 'Userslist',
531
- },
532
- 'headers': {
533
- 'Content-Type': 'application/json'
534
- },
535
- },
536
- 'paramsType': {
537
- 'size': 'Int',
538
- 'page': 'Int',
539
- 'username': 'String',
540
- 'phone': 'String',
541
- 'email': 'String',
542
- }
543
- },
544
- 'CloudDeskgetDesktopUrl': {
545
- 'url': '/',
546
- 'method': 'POST',
547
- 'config': {
548
- 'query': {
549
- 'Version': 'V1',
550
- 'Action': 'CloudDeskgetDesktopUrl',
551
- },
552
- 'headers': {
553
- 'Content-Type': 'application/json'
554
- },
555
- },
556
- 'paramsType': {
557
- 'token': 'String',
558
- 'instanceId': 'String',
559
- }
560
- },
561
- 'QueryCloudDesksubmitShell': {
562
- 'url': '/',
563
- 'method': 'POST',
564
- 'config': {
565
- 'query': {
566
- 'Version': 'V1',
567
- 'Action': 'QueryCloudDesksubmitShell',
568
- },
569
- 'headers': {
570
- 'Content-Type': 'application/json'
571
- },
572
- },
573
- 'paramsType': {
574
- 'instanceIds': 'Array',
575
- 'name': 'String',
576
- 'shellContent': 'String',
577
- }
578
- },
579
- 'CreateCloudDeskgetToken': {
580
- 'url': '/',
581
- 'method': 'POST',
582
- 'config': {
583
- 'query': {
584
- 'Version': 'V1',
585
- 'Action': 'CreateCloudDeskgetToken',
586
- },
587
- 'headers': {
588
- 'Content-Type': 'application/json'
589
- },
590
- },
591
- 'paramsType': {
592
- 'username': 'String',
593
- 'password': 'String',
594
- }
595
- },
596
- 'QueryShellStatus': {
597
- 'url': '/',
598
- 'method': 'GET',
599
- 'config': {
600
- 'query': {
601
- 'Version': 'V1',
602
- 'Action': 'QueryShellStatus',
603
- },
604
- 'headers': {
605
- 'Content-Type': 'application/json'
606
- },
607
- },
608
- 'paramsType': {
609
- 'instanceIds': 'String',
610
- 'planId': 'Int',
611
- }
612
- },
613
- 'SetProxyIp': {
614
- 'url': '/',
615
- 'method': 'POST',
616
- 'config': {
617
- 'query': {
618
- 'Version': 'V1',
619
- 'Action': 'SetProxyIp',
620
- },
621
- 'headers': {
622
- 'Content-Type': 'application/json'
623
- },
624
- },
625
- 'paramsType': {
626
- 'instanceIds': 'Array',
627
- 'province': 'String',
628
- 'isp': 'String',
629
- 'city': 'String',
630
- }
631
- },
632
- 'GetProxyConfig': {
633
- 'url': '/',
634
- 'method': 'GET',
635
- 'config': {
636
- 'query': {
637
- 'Version': 'V1',
638
- 'Action': 'GetProxyConfig',
639
- },
640
- 'headers': {
641
- 'Content-Type': 'application/json'
642
- },
643
- },
644
- 'paramsType': {
645
- 'instanceId': 'String',
646
- }
647
- },
648
- 'QueryRuledetail': {
649
- 'url': '/',
650
- 'method': 'GET',
651
- 'config': {
652
- 'query': {
653
- 'Version': 'V1',
654
- 'Action': 'QueryRuledetail',
655
- },
656
- 'headers': {
657
- 'Content-Type': 'application/json'
658
- },
659
- },
660
- 'paramsType': {
661
- 'securityGroupId': 'String',
662
- }
663
- },
664
- 'QueryUsersinfo': {
665
- 'url': '/',
666
- 'method': 'POST',
667
- 'config': {
668
- 'query': {
669
- 'Version': 'V1',
670
- 'Action': 'QueryUsersinfo',
671
- },
672
- 'headers': {
673
- 'Content-Type': 'application/json'
674
- },
675
- },
676
- 'paramsType': {
677
- 'username': 'String',
678
- 'phone': 'String',
679
- 'email': 'String',
680
- }
681
- },
682
- 'GetDetail': {
683
- 'url': '/',
684
- 'method': 'GET',
685
- 'config': {
686
- 'query': {
687
- 'Version': 'V1',
688
- 'Action': 'GetDetail',
689
- },
690
- 'headers': {
691
- 'Content-Type': 'application/json'
692
- },
693
- },
694
- 'paramsType': {
695
- 'instanceId': 'String',
696
- }
697
- },
698
- 'ListLabel': {
699
- 'url': '/',
700
- 'method': 'GET',
701
- 'config': {
702
- 'query': {
703
- 'Version': 'V1',
704
- 'Action': 'ListLabel',
705
- },
706
- 'headers': {
707
- 'Content-Type': 'application/json'
708
- },
709
- },
710
- 'paramsType': {
711
- 'name': 'String',
712
- }
713
- },
714
- 'CancelInstanceLabel': {
715
- 'url': '/',
716
- 'method': 'POST',
717
- 'config': {
718
- 'query': {
719
- 'Version': 'V1',
720
- 'Action': 'CancelInstanceLabel',
721
- },
722
- 'headers': {
723
- 'Content-Type': 'application/json'
724
- },
725
- },
726
- 'paramsType': {
727
- 'labelId': 'Array',
728
- 'instanceId': 'String',
729
- }
730
- },
731
- 'UpdateInstanceLabel': {
732
- 'url': '/',
733
- 'method': 'POST',
734
- 'config': {
735
- 'query': {
736
- 'Version': 'V1',
737
- 'Action': 'UpdateInstanceLabel',
738
- },
739
- 'headers': {
740
- 'Content-Type': 'application/json'
741
- },
742
- },
743
- 'paramsType': {
744
- 'labelId': 'Array',
745
- 'instanceId': 'String',
746
- }
747
- },
748
- 'DeleteLabel': {
749
- 'url': '/',
750
- 'method': 'POST',
751
- 'config': {
752
- 'query': {
753
- 'Version': 'V1',
754
- 'Action': 'DeleteLabel',
755
- },
756
- 'headers': {
757
- 'Content-Type': 'application/json'
758
- },
759
- },
760
- 'paramsType': {
761
- 'id': 'Array',
762
- }
763
- },
764
- 'UpdateLabel': {
765
- 'url': '/',
766
- 'method': 'POST',
767
- 'config': {
768
- 'query': {
769
- 'Version': 'V1',
770
- 'Action': 'UpdateLabel',
771
- },
772
- 'headers': {
773
- 'Content-Type': 'application/json'
774
- },
775
- },
776
- 'paramsType': {
777
- 'id': 'Int',
778
- 'name': 'String',
779
- }
780
- },
781
- 'CreateLabel': {
782
- 'url': '/',
783
- 'method': 'POST',
784
- 'config': {
785
- 'query': {
786
- 'Version': 'V1',
787
- 'Action': 'CreateLabel',
788
- },
789
- 'headers': {
790
- 'Content-Type': 'application/json'
791
- },
792
- },
793
- 'paramsType': {
794
- 'name': 'String',
795
- }
796
- },
797
- }
798
- }
4
+ _baseConfig = {
5
+ protocol: "http://",
6
+ endpoint: "ked.api.ksyun.com",
7
+ config: {
8
+ timeout: 60, //设置timeout
9
+ headers: {
10
+ Accept: "application/json",
11
+ },
12
+ credentials: {
13
+ region: "cn-shanghai-3",
14
+ service: "ked",
15
+ },
16
+ },
17
+ };
18
+ _apiList = {
19
+ CloudDeskreinstall: {
20
+ url: "/",
21
+ method: "PUT",
22
+ config: {
23
+ query: {
24
+ Version: "V1",
25
+ Action: "CloudDeskreinstall",
26
+ },
27
+ headers: {
28
+ "Content-Type": "application/json",
29
+ },
30
+ },
31
+ paramsType: {
32
+ instanceId: "String",
33
+ imageId: "String",
34
+ },
35
+ },
36
+ CloudDeskmanage: {
37
+ url: "/",
38
+ method: "POST",
39
+ config: {
40
+ query: {
41
+ Version: "V1",
42
+ Action: "CloudDeskmanage",
43
+ },
44
+ headers: {
45
+ "Content-Type": "application/json",
46
+ },
47
+ },
48
+ paramsType: {
49
+ instanceIds: "Array",
50
+ action1: "String",
51
+ },
52
+ },
53
+ CloudDeskedit: {
54
+ url: "/",
55
+ method: "PUT",
56
+ config: {
57
+ query: {
58
+ Version: "V1",
59
+ Action: "CloudDeskedit",
60
+ },
61
+ headers: {
62
+ "Content-Type": "application/json",
63
+ },
64
+ },
65
+ paramsType: {
66
+ instanceId: "String",
67
+ name: "String",
68
+ },
69
+ },
70
+ CloudDeskcreate: {
71
+ url: "/",
72
+ method: "POST",
73
+ config: {
74
+ query: {
75
+ Version: "V1",
76
+ Action: "CloudDeskcreate",
77
+ },
78
+ headers: {
79
+ "Content-Type": "application/json",
80
+ },
81
+ },
82
+ paramsType: {
83
+ instanceName: "String",
84
+ instanceType: "String",
85
+ imageId: "String",
86
+ edgeNodeId: "String",
87
+ systemDisk: "Int",
88
+ dataDisk: "Int",
89
+ billType: "Int",
90
+ duration: "Int",
91
+ securityGroupId: "String",
92
+ gpu: "String",
93
+ quantity: "Int",
94
+ uniqueSuffix: "Boolean",
95
+ },
96
+ },
97
+ CloudDesklist: {
98
+ url: "/",
99
+ method: "GET",
100
+ config: {
101
+ query: {
102
+ Version: "V1",
103
+ Action: "CloudDesklist",
104
+ },
105
+ headers: {
106
+ "Content-Type": "application/json",
107
+ },
108
+ },
109
+ paramsType: {
110
+ page: "Int",
111
+ size: "Int",
112
+ connected: "String",
113
+ labelIds: "String",
114
+ name: "String",
115
+ userName: "String",
116
+ },
117
+ },
118
+ Strategyruleedit: {
119
+ url: "/",
120
+ method: "POST",
121
+ config: {
122
+ query: {
123
+ Version: "V1",
124
+ Action: "Strategyruleedit",
125
+ },
126
+ headers: {
127
+ "Content-Type": "application/json",
128
+ },
129
+ },
130
+ paramsType: {
131
+ securityGroupId: "String",
132
+ policies: "Array",
133
+ },
134
+ },
135
+ Strategyrulecreate: {
136
+ url: "/",
137
+ method: "POST",
138
+ config: {
139
+ query: {
140
+ Version: "V1",
141
+ Action: "Strategyrulecreate",
142
+ },
143
+ headers: {
144
+ "Content-Type": "application/json",
145
+ },
146
+ },
147
+ paramsType: {
148
+ name: "String",
149
+ description: "String",
150
+ policies: "Array",
151
+ },
152
+ },
153
+ Strategyunbound: {
154
+ url: "/",
155
+ method: "PUT",
156
+ config: {
157
+ query: {
158
+ Version: "V1",
159
+ Action: "Strategyunbound",
160
+ },
161
+ headers: {
162
+ "Content-Type": "application/json",
163
+ },
164
+ },
165
+ paramsType: {
166
+ securityGroupId: "String",
167
+ instanceId: "String",
168
+ },
169
+ },
170
+ Strategybound: {
171
+ url: "/",
172
+ method: "PUT",
173
+ config: {
174
+ query: {
175
+ Version: "V1",
176
+ Action: "Strategybound",
177
+ },
178
+ headers: {
179
+ "Content-Type": "application/json",
180
+ },
181
+ },
182
+ paramsType: {
183
+ securityGroupId: "String",
184
+ instanceId: "String",
185
+ },
186
+ },
187
+ Strategydelete: {
188
+ url: "/",
189
+ method: "DELETE",
190
+ config: {
191
+ query: {
192
+ Version: "V1",
193
+ Action: "Strategydelete",
194
+ },
195
+ headers: {
196
+ "Content-Type": "application/json",
197
+ },
198
+ },
199
+ paramsType: {
200
+ id: "Array",
201
+ },
202
+ },
203
+ Strategyedit: {
204
+ url: "/",
205
+ method: "PUT",
206
+ config: {
207
+ query: {
208
+ Version: "V1",
209
+ Action: "Strategyedit",
210
+ },
211
+ headers: {
212
+ "Content-Type": "application/json",
213
+ },
214
+ },
215
+ paramsType: {
216
+ securityGroupId: "String",
217
+ name: "String",
218
+ description: "String",
219
+ },
220
+ },
221
+ Strategycreate: {
222
+ url: "/",
223
+ method: "POST",
224
+ config: {
225
+ query: {
226
+ Version: "V1",
227
+ Action: "Strategycreate",
228
+ },
229
+ headers: {
230
+ "Content-Type": "application/json",
231
+ },
232
+ },
233
+ paramsType: {
234
+ name: "String",
235
+ description: "String",
236
+ },
237
+ },
238
+ Strategylist: {
239
+ url: "/",
240
+ method: "GET",
241
+ config: {
242
+ query: {
243
+ Version: "V1",
244
+ Action: "Strategylist",
245
+ },
246
+ headers: {
247
+ "Content-Type": "application/json",
248
+ },
249
+ },
250
+ paramsType: {
251
+ size: "Int",
252
+ page: "Int",
253
+ name: "String",
254
+ },
255
+ },
256
+ Rolesdelete: {
257
+ url: "/",
258
+ method: "DELETE",
259
+ config: {
260
+ query: {
261
+ Version: "V1",
262
+ Action: "Rolesdelete",
263
+ },
264
+ headers: {
265
+ "Content-Type": "application/json",
266
+ },
267
+ },
268
+ paramsType: {
269
+ id: "Int",
270
+ },
271
+ },
272
+ Rolesedit: {
273
+ url: "/",
274
+ method: "PUT",
275
+ config: {
276
+ query: {
277
+ Version: "V1",
278
+ Action: "Rolesedit",
279
+ },
280
+ headers: {
281
+ "Content-Type": "application/json",
282
+ },
283
+ },
284
+ paramsType: {
285
+ id: "Int",
286
+ name: "String",
287
+ description: "String",
288
+ fileTransfer: "Int",
289
+ clipboard: "Int",
290
+ disk: "Int",
291
+ usb: "Int",
292
+ },
293
+ },
294
+ Rolescreate: {
295
+ url: "/",
296
+ method: "POST",
297
+ config: {
298
+ query: {
299
+ Version: "V1",
300
+ Action: "Rolescreate",
301
+ },
302
+ headers: {
303
+ "Content-Type": "application/json",
304
+ },
305
+ },
306
+ paramsType: {
307
+ name: "String",
308
+ description: "String",
309
+ fileTransfer: "Int",
310
+ clipboard: "Int",
311
+ disk: "Int",
312
+ usb: "Int",
313
+ },
314
+ },
315
+ Roleslist: {
316
+ url: "/",
317
+ method: "GET",
318
+ config: {
319
+ query: {
320
+ Version: "V1",
321
+ Action: "Roleslist",
322
+ },
323
+ headers: {
324
+ "Content-Type": "application/json",
325
+ },
326
+ },
327
+ paramsType: {
328
+ size: "Int",
329
+ page: "Int",
330
+ name: "String",
331
+ },
332
+ },
333
+ Imagedelete: {
334
+ url: "/",
335
+ method: "DELETE",
336
+ config: {
337
+ query: {
338
+ Version: "V1",
339
+ Action: "Imagedelete",
340
+ },
341
+ headers: {
342
+ "Content-Type": "application/json",
343
+ },
344
+ },
345
+ paramsType: {
346
+ imageId: "String",
347
+ },
348
+ },
349
+ Imageedit: {
350
+ url: "/",
351
+ method: "PUT",
352
+ config: {
353
+ query: {
354
+ Version: "V1",
355
+ Action: "Imageedit",
356
+ },
357
+ headers: {
358
+ "Content-Type": "application/json",
359
+ },
360
+ },
361
+ paramsType: {
362
+ id: "Int",
363
+ imageId: "String",
364
+ imageName: "String",
365
+ description: "String",
366
+ },
367
+ },
368
+ Imagecreate: {
369
+ url: "/",
370
+ method: "POST",
371
+ config: {
372
+ query: {
373
+ Version: "V1",
374
+ Action: "Imagecreate",
375
+ },
376
+ headers: {
377
+ "Content-Type": "application/json",
378
+ },
379
+ },
380
+ paramsType: {
381
+ imageName: "String",
382
+ description: "String",
383
+ instanceId: "String",
384
+ },
385
+ },
386
+ Imagelist: {
387
+ url: "/",
388
+ method: "GET",
389
+ config: {
390
+ query: {
391
+ Version: "V1",
392
+ Action: "Imagelist",
393
+ },
394
+ headers: {
395
+ "Content-Type": "application/json",
396
+ },
397
+ },
398
+ paramsType: {
399
+ size: "Int",
400
+ page: "Int",
401
+ name: "String",
402
+ },
403
+ },
404
+ StrategyrulebatchEdit: {
405
+ url: "/",
406
+ method: "DELETE",
407
+ config: {
408
+ query: {
409
+ Version: "V1",
410
+ Action: "StrategyrulebatchEdit",
411
+ },
412
+ headers: {
413
+ "Content-Type": "application/json",
414
+ },
415
+ },
416
+ paramsType: {
417
+ securityGroupIds: "Array",
418
+ },
419
+ },
420
+ Monitorregions: {
421
+ url: "/",
422
+ method: "GET",
423
+ config: {
424
+ query: {
425
+ Version: "V1",
426
+ Action: "Monitorregions",
427
+ },
428
+ headers: {
429
+ "Content-Type": "application/json",
430
+ },
431
+ },
432
+ paramsType: {},
433
+ },
434
+ Usersinstancebind: {
435
+ url: "/",
436
+ method: "POST",
437
+ config: {
438
+ query: {
439
+ Version: "V1",
440
+ Action: "Usersinstancebind",
441
+ },
442
+ headers: {
443
+ "Content-Type": "application/json",
444
+ },
445
+ },
446
+ paramsType: {
447
+ id: "Int",
448
+ instanceId: "String",
449
+ },
450
+ },
451
+ Userspasswordreset: {
452
+ url: "/",
453
+ method: "PUT",
454
+ config: {
455
+ query: {
456
+ Version: "V1",
457
+ Action: "Userspasswordreset",
458
+ },
459
+ headers: {
460
+ "Content-Type": "application/json",
461
+ },
462
+ },
463
+ paramsType: {
464
+ id: "Int",
465
+ password: "String",
466
+ },
467
+ },
468
+ Usersdelete: {
469
+ url: "/",
470
+ method: "DELETE",
471
+ config: {
472
+ query: {
473
+ Version: "V1",
474
+ Action: "Usersdelete",
475
+ },
476
+ headers: {
477
+ "Content-Type": "application/json",
478
+ },
479
+ },
480
+ paramsType: {
481
+ id: "Int",
482
+ },
483
+ },
484
+ Usersedit: {
485
+ url: "/",
486
+ method: "PUT",
487
+ config: {
488
+ query: {
489
+ Version: "V1",
490
+ Action: "Usersedit",
491
+ },
492
+ headers: {
493
+ "Content-Type": "application/json",
494
+ },
495
+ },
496
+ paramsType: {
497
+ id: "Int",
498
+ name: "String",
499
+ phoneOrEmail: "String",
500
+ nickName: "String",
501
+ status: "Int",
502
+ },
503
+ },
504
+ Userscreate: {
505
+ url: "/",
506
+ method: "POST",
507
+ config: {
508
+ query: {
509
+ Version: "V1",
510
+ Action: "Userscreate",
511
+ },
512
+ headers: {
513
+ "Content-Type": "application/json",
514
+ },
515
+ },
516
+ paramsType: {
517
+ name: "String",
518
+ password: "String",
519
+ phoneOrEmail: "String",
520
+ roleId: "Int",
521
+ },
522
+ },
523
+ Userslist: {
524
+ url: "/",
525
+ method: "GET",
526
+ config: {
527
+ query: {
528
+ Version: "V1",
529
+ Action: "Userslist",
530
+ },
531
+ headers: {
532
+ "Content-Type": "application/json",
533
+ },
534
+ },
535
+ paramsType: {
536
+ size: "Int",
537
+ page: "Int",
538
+ username: "String",
539
+ phone: "String",
540
+ email: "String",
541
+ },
542
+ },
543
+ CloudDeskgetDesktopUrl: {
544
+ url: "/",
545
+ method: "POST",
546
+ config: {
547
+ query: {
548
+ Version: "V1",
549
+ Action: "CloudDeskgetDesktopUrl",
550
+ },
551
+ headers: {
552
+ "Content-Type": "application/json",
553
+ },
554
+ },
555
+ paramsType: {
556
+ token: "String",
557
+ instanceId: "String",
558
+ },
559
+ },
560
+ QueryCloudDesksubmitShell: {
561
+ url: "/",
562
+ method: "POST",
563
+ config: {
564
+ query: {
565
+ Version: "V1",
566
+ Action: "QueryCloudDesksubmitShell",
567
+ },
568
+ headers: {
569
+ "Content-Type": "application/json",
570
+ },
571
+ },
572
+ paramsType: {
573
+ instanceIds: "Array",
574
+ name: "String",
575
+ shellContent: "String",
576
+ },
577
+ },
578
+ CreateCloudDeskgetToken: {
579
+ url: "/",
580
+ method: "POST",
581
+ config: {
582
+ query: {
583
+ Version: "V1",
584
+ Action: "CreateCloudDeskgetToken",
585
+ },
586
+ headers: {
587
+ "Content-Type": "application/json",
588
+ },
589
+ },
590
+ paramsType: {
591
+ username: "String",
592
+ password: "String",
593
+ },
594
+ },
595
+ QueryShellStatus: {
596
+ url: "/",
597
+ method: "GET",
598
+ config: {
599
+ query: {
600
+ Version: "V1",
601
+ Action: "QueryShellStatus",
602
+ },
603
+ headers: {
604
+ "Content-Type": "application/json",
605
+ },
606
+ },
607
+ paramsType: {
608
+ instanceIds: "String",
609
+ planId: "Int",
610
+ },
611
+ },
612
+ SetProxyIp: {
613
+ url: "/",
614
+ method: "POST",
615
+ config: {
616
+ query: {
617
+ Version: "V1",
618
+ Action: "SetProxyIp",
619
+ },
620
+ headers: {
621
+ "Content-Type": "application/json",
622
+ },
623
+ },
624
+ paramsType: {
625
+ instanceIds: "Array",
626
+ province: "String",
627
+ isp: "String",
628
+ city: "String",
629
+ },
630
+ },
631
+ GetProxyConfig: {
632
+ url: "/",
633
+ method: "GET",
634
+ config: {
635
+ query: {
636
+ Version: "V1",
637
+ Action: "GetProxyConfig",
638
+ },
639
+ headers: {
640
+ "Content-Type": "application/json",
641
+ },
642
+ },
643
+ paramsType: {
644
+ instanceId: "String",
645
+ },
646
+ },
647
+ QueryRuledetail: {
648
+ url: "/",
649
+ method: "GET",
650
+ config: {
651
+ query: {
652
+ Version: "V1",
653
+ Action: "QueryRuledetail",
654
+ },
655
+ headers: {
656
+ "Content-Type": "application/json",
657
+ },
658
+ },
659
+ paramsType: {
660
+ securityGroupId: "String",
661
+ },
662
+ },
663
+ QueryUsersinfo: {
664
+ url: "/",
665
+ method: "POST",
666
+ config: {
667
+ query: {
668
+ Version: "V1",
669
+ Action: "QueryUsersinfo",
670
+ },
671
+ headers: {
672
+ "Content-Type": "application/json",
673
+ },
674
+ },
675
+ paramsType: {
676
+ username: "String",
677
+ phone: "String",
678
+ email: "String",
679
+ },
680
+ },
681
+ GetDetail: {
682
+ url: "/",
683
+ method: "GET",
684
+ config: {
685
+ query: {
686
+ Version: "V1",
687
+ Action: "GetDetail",
688
+ },
689
+ headers: {
690
+ "Content-Type": "application/json",
691
+ },
692
+ },
693
+ paramsType: {
694
+ instanceId: "String",
695
+ },
696
+ },
697
+ ListLabel: {
698
+ url: "/",
699
+ method: "GET",
700
+ config: {
701
+ query: {
702
+ Version: "V1",
703
+ Action: "ListLabel",
704
+ },
705
+ headers: {
706
+ "Content-Type": "application/json",
707
+ },
708
+ },
709
+ paramsType: {
710
+ name: "String",
711
+ },
712
+ },
713
+ CancelInstanceLabel: {
714
+ url: "/",
715
+ method: "POST",
716
+ config: {
717
+ query: {
718
+ Version: "V1",
719
+ Action: "CancelInstanceLabel",
720
+ },
721
+ headers: {
722
+ "Content-Type": "application/json",
723
+ },
724
+ },
725
+ paramsType: {
726
+ labelId: "Array",
727
+ instanceId: "String",
728
+ },
729
+ },
730
+ UpdateInstanceLabel: {
731
+ url: "/",
732
+ method: "POST",
733
+ config: {
734
+ query: {
735
+ Version: "V1",
736
+ Action: "UpdateInstanceLabel",
737
+ },
738
+ headers: {
739
+ "Content-Type": "application/json",
740
+ },
741
+ },
742
+ paramsType: {
743
+ labelId: "Array",
744
+ instanceId: "String",
745
+ },
746
+ },
747
+ DeleteLabel: {
748
+ url: "/",
749
+ method: "POST",
750
+ config: {
751
+ query: {
752
+ Version: "V1",
753
+ Action: "DeleteLabel",
754
+ },
755
+ headers: {
756
+ "Content-Type": "application/json",
757
+ },
758
+ },
759
+ paramsType: {
760
+ id: "Array",
761
+ },
762
+ },
763
+ UpdateLabel: {
764
+ url: "/",
765
+ method: "POST",
766
+ config: {
767
+ query: {
768
+ Version: "V1",
769
+ Action: "UpdateLabel",
770
+ },
771
+ headers: {
772
+ "Content-Type": "application/json",
773
+ },
774
+ },
775
+ paramsType: {
776
+ id: "Int",
777
+ name: "String",
778
+ },
779
+ },
780
+ CreateLabel: {
781
+ url: "/",
782
+ method: "POST",
783
+ config: {
784
+ query: {
785
+ Version: "V1",
786
+ Action: "CreateLabel",
787
+ },
788
+ headers: {
789
+ "Content-Type": "application/json",
790
+ },
791
+ },
792
+ paramsType: {
793
+ name: "String",
794
+ },
795
+ },
796
+ };
797
+ };