ksyun-sdk-node 1.4.8 → 1.4.9
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.
- package/dist/service/Aicp/v20240612/index.js +0 -20
- package/dist/service/Aicp/v20251212/index.js +76 -0
- package/dist/service/Cdn/v20160901/index.js +0 -14
- package/dist/service/Cdn/v20250503/index.js +333 -0
- package/dist/service/Epc/v20151101/index.js +86 -5
- package/package.json +1 -1
- package/src/service/Aicp/v20240612/index.js +0 -20
- package/src/service/Aicp/v20251212/index.js +68 -0
- package/src/service/Cdn/v20160901/index.js +0 -14
- package/src/service/Cdn/v20250503/index.js +333 -0
- package/src/service/Epc/v20151101/index.js +81 -0
|
@@ -485,26 +485,6 @@ module.exports = class Client extends BaseClient {
|
|
|
485
485
|
ProjectId: "Filter",
|
|
486
486
|
Filter: "Filter"
|
|
487
487
|
}
|
|
488
|
-
},
|
|
489
|
-
DescribeModelChats: {
|
|
490
|
-
url: "/",
|
|
491
|
-
method: "GET",
|
|
492
|
-
config: {
|
|
493
|
-
query: {
|
|
494
|
-
Version: "2024-06-12",
|
|
495
|
-
Action: "DescribeModelChats"
|
|
496
|
-
},
|
|
497
|
-
headers: {
|
|
498
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
paramsType: {
|
|
502
|
-
ChatId: "String",
|
|
503
|
-
CreateTimeStart: "Int",
|
|
504
|
-
CreateTimeEnd: "Int",
|
|
505
|
-
Marker: "Int",
|
|
506
|
-
MaxResults: "Int"
|
|
507
|
-
}
|
|
508
488
|
}
|
|
509
489
|
});
|
|
510
490
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
7
|
+
module.exports = class Client extends BaseClient {
|
|
8
|
+
constructor(...args) {
|
|
9
|
+
super(...args);
|
|
10
|
+
_defineProperty(this, "_baseConfig", {
|
|
11
|
+
protocol: "http://",
|
|
12
|
+
endpoint: "aicp.api.ksyun.com",
|
|
13
|
+
config: {
|
|
14
|
+
timeout: 60,
|
|
15
|
+
//设置timeout
|
|
16
|
+
headers: {
|
|
17
|
+
Accept: "application/json"
|
|
18
|
+
},
|
|
19
|
+
credentials: {
|
|
20
|
+
region: "cn-shanghai-3",
|
|
21
|
+
service: "aicp"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
CreateTrainJob: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "POST",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2025-12-12",
|
|
32
|
+
Action: "CreateTrainJob"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
TrainJobName: "String",
|
|
40
|
+
Description: "String",
|
|
41
|
+
ResourcePoolId: "String",
|
|
42
|
+
Priority: "String",
|
|
43
|
+
QueueName: "String",
|
|
44
|
+
Framework: "String",
|
|
45
|
+
AccessType: "String",
|
|
46
|
+
SelfHealing: "Boolean",
|
|
47
|
+
MaxRuntimeHour: "Int",
|
|
48
|
+
JobRunOnCPU: "Boolean",
|
|
49
|
+
SupportTensorboard: "Boolean",
|
|
50
|
+
StorageConfigs: "Array",
|
|
51
|
+
Roles: "Array"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
DescribeTrainJobs: {
|
|
55
|
+
url: "/",
|
|
56
|
+
method: "GET",
|
|
57
|
+
config: {
|
|
58
|
+
query: {
|
|
59
|
+
Version: "2025-12-12",
|
|
60
|
+
Action: "DescribeTrainJobs"
|
|
61
|
+
},
|
|
62
|
+
headers: {
|
|
63
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
paramsType: {
|
|
67
|
+
TrainJobId: "Filter",
|
|
68
|
+
Filter: "Filter",
|
|
69
|
+
PageSize: "Int",
|
|
70
|
+
Page: "Int",
|
|
71
|
+
TrainJobName: "String"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
};
|
|
@@ -23,20 +23,6 @@ module.exports = class Client extends BaseClient {
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
GetDomainLogs: {
|
|
27
|
-
url: "/",
|
|
28
|
-
method: "GET",
|
|
29
|
-
config: {
|
|
30
|
-
query: {
|
|
31
|
-
Version: "2016-09-01",
|
|
32
|
-
Action: "GetDomainLogs"
|
|
33
|
-
},
|
|
34
|
-
headers: {
|
|
35
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
paramsType: {}
|
|
39
|
-
},
|
|
40
26
|
GetRefreshOrPreloadTask: {
|
|
41
27
|
url: "/",
|
|
42
28
|
method: "GET",
|
|
@@ -65,6 +65,339 @@ module.exports = class Client extends BaseClient {
|
|
|
65
65
|
Schema: "String",
|
|
66
66
|
ResultType: "String"
|
|
67
67
|
}
|
|
68
|
+
},
|
|
69
|
+
GetCdnDomains: {
|
|
70
|
+
url: "/",
|
|
71
|
+
method: "GET",
|
|
72
|
+
config: {
|
|
73
|
+
query: {
|
|
74
|
+
Version: "V3",
|
|
75
|
+
Action: "GetCdnDomains"
|
|
76
|
+
},
|
|
77
|
+
headers: {
|
|
78
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
paramsType: {
|
|
82
|
+
PageSize: "Int",
|
|
83
|
+
PageNumber: "Int",
|
|
84
|
+
DomainName: "String",
|
|
85
|
+
ProjectId: "Int",
|
|
86
|
+
DomainStatus: "String",
|
|
87
|
+
CdnType: "String",
|
|
88
|
+
FuzzyMatch: "String"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
DeleteCdnDomain: {
|
|
92
|
+
url: "/",
|
|
93
|
+
method: "GET",
|
|
94
|
+
config: {
|
|
95
|
+
query: {
|
|
96
|
+
Version: "V3",
|
|
97
|
+
Action: "DeleteCdnDomain"
|
|
98
|
+
},
|
|
99
|
+
headers: {
|
|
100
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
paramsType: {
|
|
104
|
+
DomainId: "String"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
GetCdnDomainBasicInfo: {
|
|
108
|
+
url: "/",
|
|
109
|
+
method: "GET",
|
|
110
|
+
config: {
|
|
111
|
+
query: {
|
|
112
|
+
Version: "V3",
|
|
113
|
+
Action: "GetCdnDomainBasicInfo"
|
|
114
|
+
},
|
|
115
|
+
headers: {
|
|
116
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
paramsType: {
|
|
120
|
+
DomainId: "String"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
ModifyCdnDomainBasicInfo: {
|
|
124
|
+
url: "/",
|
|
125
|
+
method: "GET",
|
|
126
|
+
config: {
|
|
127
|
+
query: {
|
|
128
|
+
Version: "V3",
|
|
129
|
+
Action: "ModifyCdnDomainBasicInfo"
|
|
130
|
+
},
|
|
131
|
+
headers: {
|
|
132
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
paramsType: {
|
|
136
|
+
DomainId: "String",
|
|
137
|
+
Regions: "String",
|
|
138
|
+
OriginType: "String",
|
|
139
|
+
OriginProtocol: "String",
|
|
140
|
+
Origin: "String"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
AddCdnDomain: {
|
|
144
|
+
url: "/",
|
|
145
|
+
method: "GET",
|
|
146
|
+
config: {
|
|
147
|
+
query: {
|
|
148
|
+
Version: "V3",
|
|
149
|
+
Action: "AddCdnDomain"
|
|
150
|
+
},
|
|
151
|
+
headers: {
|
|
152
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
paramsType: {
|
|
156
|
+
DomainName: "String",
|
|
157
|
+
CdnType: "String",
|
|
158
|
+
ProjectId: "String",
|
|
159
|
+
CdnProtocol: "String",
|
|
160
|
+
Regions: "String",
|
|
161
|
+
OriginType: "String",
|
|
162
|
+
OriginProtocol: "String",
|
|
163
|
+
Origin: "String"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
GetDomainConfigs: {
|
|
167
|
+
url: "/",
|
|
168
|
+
method: "GET",
|
|
169
|
+
config: {
|
|
170
|
+
query: {
|
|
171
|
+
Version: "V3",
|
|
172
|
+
Action: "GetDomainConfigs"
|
|
173
|
+
},
|
|
174
|
+
headers: {
|
|
175
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
paramsType: {
|
|
179
|
+
DomainId: "String",
|
|
180
|
+
ConfigList: "String"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
StartStopCdnDomain: {
|
|
184
|
+
url: "/",
|
|
185
|
+
method: "GET",
|
|
186
|
+
config: {
|
|
187
|
+
query: {
|
|
188
|
+
Version: "V3",
|
|
189
|
+
Action: "StartStopCdnDomain"
|
|
190
|
+
},
|
|
191
|
+
headers: {
|
|
192
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
paramsType: {
|
|
196
|
+
DomainId: "String",
|
|
197
|
+
ActionType: "String"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
SetCacheRuleConfig: {
|
|
201
|
+
url: "/",
|
|
202
|
+
method: "POST",
|
|
203
|
+
config: {
|
|
204
|
+
query: {
|
|
205
|
+
Version: "V3",
|
|
206
|
+
Action: "SetCacheRuleConfig"
|
|
207
|
+
},
|
|
208
|
+
headers: {
|
|
209
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
paramsType: {
|
|
213
|
+
DomainId: "String",
|
|
214
|
+
CacheRules: "Array"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
SetBackOriginHostConfig: {
|
|
218
|
+
url: "/",
|
|
219
|
+
method: "GET",
|
|
220
|
+
config: {
|
|
221
|
+
query: {
|
|
222
|
+
Version: "V3",
|
|
223
|
+
Action: "SetBackOriginHostConfig"
|
|
224
|
+
},
|
|
225
|
+
headers: {
|
|
226
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
paramsType: {
|
|
230
|
+
DomainId: "String",
|
|
231
|
+
FollowReqDomain: "String",
|
|
232
|
+
BackOriginHost: "String"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
GetValidDomainList: {
|
|
236
|
+
url: "/",
|
|
237
|
+
method: "GET",
|
|
238
|
+
config: {
|
|
239
|
+
query: {
|
|
240
|
+
Version: "V3",
|
|
241
|
+
Action: "GetValidDomainList"
|
|
242
|
+
},
|
|
243
|
+
headers: {
|
|
244
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
paramsType: {
|
|
248
|
+
StartTime: "String",
|
|
249
|
+
EndTime: "String",
|
|
250
|
+
CdnType: "String"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
GetDomainAuthContent: {
|
|
254
|
+
url: "/",
|
|
255
|
+
method: "GET",
|
|
256
|
+
config: {
|
|
257
|
+
query: {
|
|
258
|
+
Version: "V3",
|
|
259
|
+
Action: "GetDomainAuthContent"
|
|
260
|
+
},
|
|
261
|
+
headers: {
|
|
262
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
paramsType: {
|
|
266
|
+
DomainName: "String"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
SetVideoSeekConfig: {
|
|
270
|
+
url: "/",
|
|
271
|
+
method: "GET",
|
|
272
|
+
config: {
|
|
273
|
+
query: {
|
|
274
|
+
Version: "V3",
|
|
275
|
+
Action: "SetVideoSeekConfig"
|
|
276
|
+
},
|
|
277
|
+
headers: {
|
|
278
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
paramsType: {
|
|
282
|
+
DomainId: "String",
|
|
283
|
+
Enable: "String"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
SetPageCompressConfig: {
|
|
287
|
+
url: "/",
|
|
288
|
+
method: "GET",
|
|
289
|
+
config: {
|
|
290
|
+
query: {
|
|
291
|
+
Version: "V3",
|
|
292
|
+
Action: "SetPageCompressConfig"
|
|
293
|
+
},
|
|
294
|
+
headers: {
|
|
295
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
paramsType: {
|
|
299
|
+
DomainId: "String",
|
|
300
|
+
Enable: "String",
|
|
301
|
+
CompressType: "String",
|
|
302
|
+
FileType: "String",
|
|
303
|
+
FileSize: "String"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
SetBrCompressConfig: {
|
|
307
|
+
url: "/",
|
|
308
|
+
method: "GET",
|
|
309
|
+
config: {
|
|
310
|
+
query: {
|
|
311
|
+
Version: "V3",
|
|
312
|
+
Action: "SetBrCompressConfig"
|
|
313
|
+
},
|
|
314
|
+
headers: {
|
|
315
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
paramsType: {
|
|
319
|
+
DomainId: "String",
|
|
320
|
+
Enable: "String",
|
|
321
|
+
CompressType: "String",
|
|
322
|
+
FileType: "String",
|
|
323
|
+
FileSize: "String"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
SetIgnoreQueryStringConfig: {
|
|
327
|
+
url: "/",
|
|
328
|
+
method: "GET",
|
|
329
|
+
config: {
|
|
330
|
+
query: {
|
|
331
|
+
Version: "V3",
|
|
332
|
+
Action: "SetIgnoreQueryStringConfig"
|
|
333
|
+
},
|
|
334
|
+
headers: {
|
|
335
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
paramsType: {
|
|
339
|
+
DomainId: "String",
|
|
340
|
+
Enable: "String",
|
|
341
|
+
HashKeyArgs: "String",
|
|
342
|
+
Type: "String"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
SetSetOriginAdvancedConfig: {
|
|
346
|
+
url: "/",
|
|
347
|
+
method: "POST",
|
|
348
|
+
config: {
|
|
349
|
+
query: {
|
|
350
|
+
Version: "V3",
|
|
351
|
+
Action: "SetSetOriginAdvancedConfig"
|
|
352
|
+
},
|
|
353
|
+
headers: {
|
|
354
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
paramsType: {
|
|
358
|
+
DomainId: "String",
|
|
359
|
+
Enable: "String",
|
|
360
|
+
OriginType: "String",
|
|
361
|
+
Origin: "String",
|
|
362
|
+
BackupOriginType: "String",
|
|
363
|
+
BackupOrigin: "String",
|
|
364
|
+
OriginPolicy: "String",
|
|
365
|
+
OriginPolicyBestCount: "String"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
ValidateDomainOwner: {
|
|
369
|
+
url: "/",
|
|
370
|
+
method: "GET",
|
|
371
|
+
config: {
|
|
372
|
+
query: {
|
|
373
|
+
Version: "V3",
|
|
374
|
+
Action: "ValidateDomainOwner"
|
|
375
|
+
},
|
|
376
|
+
headers: {
|
|
377
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
paramsType: {
|
|
381
|
+
DomainName: "String",
|
|
382
|
+
AuthType: "String"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
SetHttp2OptionConfig: {
|
|
386
|
+
url: "/",
|
|
387
|
+
method: "GET",
|
|
388
|
+
config: {
|
|
389
|
+
query: {
|
|
390
|
+
Version: "V3",
|
|
391
|
+
Action: "SetHttp2OptionConfig"
|
|
392
|
+
},
|
|
393
|
+
headers: {
|
|
394
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
paramsType: {
|
|
398
|
+
DomainId: "String",
|
|
399
|
+
Enable: "String"
|
|
400
|
+
}
|
|
68
401
|
}
|
|
69
402
|
});
|
|
70
403
|
}
|
|
@@ -95,7 +95,10 @@ module.exports = class Client extends BaseClient {
|
|
|
95
95
|
"Engine.N": "String",
|
|
96
96
|
"AiModel.N": "String",
|
|
97
97
|
UserData: "String",
|
|
98
|
-
StorageRoceNetworkInterfaceMode: "String"
|
|
98
|
+
StorageRoceNetworkInterfaceMode: "String",
|
|
99
|
+
RoceCluster: "String",
|
|
100
|
+
SRoceCluster: "String",
|
|
101
|
+
UserDefinedData: "String"
|
|
99
102
|
}
|
|
100
103
|
},
|
|
101
104
|
StartEpc: {
|
|
@@ -187,7 +190,8 @@ module.exports = class Client extends BaseClient {
|
|
|
187
190
|
ContainerAgent: "String",
|
|
188
191
|
PasswordInherit: "String",
|
|
189
192
|
DataDiskMount: "String",
|
|
190
|
-
StorageRoceNetworkCardName: "String"
|
|
193
|
+
StorageRoceNetworkCardName: "String",
|
|
194
|
+
UserDefinedData: "String"
|
|
191
195
|
}
|
|
192
196
|
},
|
|
193
197
|
ModifySecurityGroup: {
|
|
@@ -346,7 +350,8 @@ module.exports = class Client extends BaseClient {
|
|
|
346
350
|
paramsType: {
|
|
347
351
|
MaxResults: "Int",
|
|
348
352
|
NextToken: "String",
|
|
349
|
-
"ImageId.N": "String"
|
|
353
|
+
"ImageId.N": "String",
|
|
354
|
+
Filter: "Filter"
|
|
350
355
|
}
|
|
351
356
|
},
|
|
352
357
|
ModifyDns: {
|
|
@@ -1478,7 +1483,8 @@ module.exports = class Client extends BaseClient {
|
|
|
1478
1483
|
UniqueSuffix: "Boolean",
|
|
1479
1484
|
InstallRunCommandAgent: "Boolean",
|
|
1480
1485
|
Count: "Int",
|
|
1481
|
-
SoZoneId: "String"
|
|
1486
|
+
SoZoneId: "String",
|
|
1487
|
+
UserData: "String"
|
|
1482
1488
|
}
|
|
1483
1489
|
},
|
|
1484
1490
|
DescribeSoImages: {
|
|
@@ -1969,7 +1975,8 @@ module.exports = class Client extends BaseClient {
|
|
|
1969
1975
|
InstanceId: "String",
|
|
1970
1976
|
InstanceName: "String",
|
|
1971
1977
|
Password: "String",
|
|
1972
|
-
SoZoneId: "String"
|
|
1978
|
+
SoZoneId: "String",
|
|
1979
|
+
UserData: "String"
|
|
1973
1980
|
}
|
|
1974
1981
|
},
|
|
1975
1982
|
CreateSoKeyPair: {
|
|
@@ -1989,6 +1996,80 @@ module.exports = class Client extends BaseClient {
|
|
|
1989
1996
|
Description: "String",
|
|
1990
1997
|
SoZoneId: "String"
|
|
1991
1998
|
}
|
|
1999
|
+
},
|
|
2000
|
+
InstallAgent: {
|
|
2001
|
+
url: "/",
|
|
2002
|
+
method: "GET",
|
|
2003
|
+
config: {
|
|
2004
|
+
query: {
|
|
2005
|
+
Version: "2015-11-01",
|
|
2006
|
+
Action: "InstallAgent"
|
|
2007
|
+
},
|
|
2008
|
+
headers: {
|
|
2009
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
paramsType: {
|
|
2013
|
+
HostId: "String",
|
|
2014
|
+
AgentId: "String",
|
|
2015
|
+
Username: "String",
|
|
2016
|
+
Password: "String",
|
|
2017
|
+
Key: "String"
|
|
2018
|
+
}
|
|
2019
|
+
},
|
|
2020
|
+
DescribeAgent: {
|
|
2021
|
+
url: "/",
|
|
2022
|
+
method: "GET",
|
|
2023
|
+
config: {
|
|
2024
|
+
query: {
|
|
2025
|
+
Version: "2015-11-01",
|
|
2026
|
+
Action: "DescribeAgent"
|
|
2027
|
+
},
|
|
2028
|
+
headers: {
|
|
2029
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
paramsType: {
|
|
2033
|
+
AgentName: "String",
|
|
2034
|
+
AgentId: "String",
|
|
2035
|
+
AgentType: "String"
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
DescribeAgentInstallStatus: {
|
|
2039
|
+
url: "/",
|
|
2040
|
+
method: "GET",
|
|
2041
|
+
config: {
|
|
2042
|
+
query: {
|
|
2043
|
+
Version: "2015-11-01",
|
|
2044
|
+
Action: "DescribeAgentInstallStatus"
|
|
2045
|
+
},
|
|
2046
|
+
headers: {
|
|
2047
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
paramsType: {
|
|
2051
|
+
HostId: "Filter",
|
|
2052
|
+
AgentId: "String",
|
|
2053
|
+
Status: "String",
|
|
2054
|
+
NextToken: "String",
|
|
2055
|
+
MaxResults: "Int"
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2058
|
+
DescribeSoUserData: {
|
|
2059
|
+
url: "/",
|
|
2060
|
+
method: "GET",
|
|
2061
|
+
config: {
|
|
2062
|
+
query: {
|
|
2063
|
+
Version: "2015-11-01",
|
|
2064
|
+
Action: "DescribeSoUserData"
|
|
2065
|
+
},
|
|
2066
|
+
headers: {
|
|
2067
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
2068
|
+
}
|
|
2069
|
+
},
|
|
2070
|
+
paramsType: {
|
|
2071
|
+
InstanceId: "String"
|
|
2072
|
+
}
|
|
1992
2073
|
}
|
|
1993
2074
|
});
|
|
1994
2075
|
}
|
package/package.json
CHANGED
|
@@ -479,25 +479,5 @@ module.exports = class Client extends BaseClient {
|
|
|
479
479
|
Filter: "Filter",
|
|
480
480
|
},
|
|
481
481
|
},
|
|
482
|
-
DescribeModelChats: {
|
|
483
|
-
url: "/",
|
|
484
|
-
method: "GET",
|
|
485
|
-
config: {
|
|
486
|
-
query: {
|
|
487
|
-
Version: "2024-06-12",
|
|
488
|
-
Action: "DescribeModelChats",
|
|
489
|
-
},
|
|
490
|
-
headers: {
|
|
491
|
-
"Content-Type": "application/x-www-form-urlencoded",
|
|
492
|
-
},
|
|
493
|
-
},
|
|
494
|
-
paramsType: {
|
|
495
|
-
ChatId: "String",
|
|
496
|
-
CreateTimeStart: "Int",
|
|
497
|
-
CreateTimeEnd: "Int",
|
|
498
|
-
Marker: "Int",
|
|
499
|
-
MaxResults: "Int",
|
|
500
|
-
},
|
|
501
|
-
},
|
|
502
482
|
};
|
|
503
483
|
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
|
+
|
|
3
|
+
module.exports = class Client extends BaseClient {
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "aicp.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: "aicp",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
CreateTrainJob: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "POST",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2025-12-12",
|
|
25
|
+
Action: "CreateTrainJob",
|
|
26
|
+
},
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/json",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
TrainJobName: "String",
|
|
33
|
+
Description: "String",
|
|
34
|
+
ResourcePoolId: "String",
|
|
35
|
+
Priority: "String",
|
|
36
|
+
QueueName: "String",
|
|
37
|
+
Framework: "String",
|
|
38
|
+
AccessType: "String",
|
|
39
|
+
SelfHealing: "Boolean",
|
|
40
|
+
MaxRuntimeHour: "Int",
|
|
41
|
+
JobRunOnCPU: "Boolean",
|
|
42
|
+
SupportTensorboard: "Boolean",
|
|
43
|
+
StorageConfigs: "Array",
|
|
44
|
+
Roles: "Array",
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
DescribeTrainJobs: {
|
|
48
|
+
url: "/",
|
|
49
|
+
method: "GET",
|
|
50
|
+
config: {
|
|
51
|
+
query: {
|
|
52
|
+
Version: "2025-12-12",
|
|
53
|
+
Action: "DescribeTrainJobs",
|
|
54
|
+
},
|
|
55
|
+
headers: {
|
|
56
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
paramsType: {
|
|
60
|
+
TrainJobId: "Filter",
|
|
61
|
+
Filter: "Filter",
|
|
62
|
+
PageSize: "Int",
|
|
63
|
+
Page: "Int",
|
|
64
|
+
TrainJobName: "String",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -16,20 +16,6 @@ module.exports = class Client extends BaseClient {
|
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
18
|
_apiList = {
|
|
19
|
-
GetDomainLogs: {
|
|
20
|
-
url: "/",
|
|
21
|
-
method: "GET",
|
|
22
|
-
config: {
|
|
23
|
-
query: {
|
|
24
|
-
Version: "2016-09-01",
|
|
25
|
-
Action: "GetDomainLogs",
|
|
26
|
-
},
|
|
27
|
-
headers: {
|
|
28
|
-
"Content-Type": "application/x-www-form-urlencoded",
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
paramsType: {},
|
|
32
|
-
},
|
|
33
19
|
GetRefreshOrPreloadTask: {
|
|
34
20
|
url: "/",
|
|
35
21
|
method: "GET",
|
|
@@ -59,5 +59,338 @@ module.exports = class Client extends BaseClient {
|
|
|
59
59
|
ResultType: "String",
|
|
60
60
|
},
|
|
61
61
|
},
|
|
62
|
+
GetCdnDomains: {
|
|
63
|
+
url: "/",
|
|
64
|
+
method: "GET",
|
|
65
|
+
config: {
|
|
66
|
+
query: {
|
|
67
|
+
Version: "V3",
|
|
68
|
+
Action: "GetCdnDomains",
|
|
69
|
+
},
|
|
70
|
+
headers: {
|
|
71
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
paramsType: {
|
|
75
|
+
PageSize: "Int",
|
|
76
|
+
PageNumber: "Int",
|
|
77
|
+
DomainName: "String",
|
|
78
|
+
ProjectId: "Int",
|
|
79
|
+
DomainStatus: "String",
|
|
80
|
+
CdnType: "String",
|
|
81
|
+
FuzzyMatch: "String",
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
DeleteCdnDomain: {
|
|
85
|
+
url: "/",
|
|
86
|
+
method: "GET",
|
|
87
|
+
config: {
|
|
88
|
+
query: {
|
|
89
|
+
Version: "V3",
|
|
90
|
+
Action: "DeleteCdnDomain",
|
|
91
|
+
},
|
|
92
|
+
headers: {
|
|
93
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
paramsType: {
|
|
97
|
+
DomainId: "String",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
GetCdnDomainBasicInfo: {
|
|
101
|
+
url: "/",
|
|
102
|
+
method: "GET",
|
|
103
|
+
config: {
|
|
104
|
+
query: {
|
|
105
|
+
Version: "V3",
|
|
106
|
+
Action: "GetCdnDomainBasicInfo",
|
|
107
|
+
},
|
|
108
|
+
headers: {
|
|
109
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
paramsType: {
|
|
113
|
+
DomainId: "String",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
ModifyCdnDomainBasicInfo: {
|
|
117
|
+
url: "/",
|
|
118
|
+
method: "GET",
|
|
119
|
+
config: {
|
|
120
|
+
query: {
|
|
121
|
+
Version: "V3",
|
|
122
|
+
Action: "ModifyCdnDomainBasicInfo",
|
|
123
|
+
},
|
|
124
|
+
headers: {
|
|
125
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
paramsType: {
|
|
129
|
+
DomainId: "String",
|
|
130
|
+
Regions: "String",
|
|
131
|
+
OriginType: "String",
|
|
132
|
+
OriginProtocol: "String",
|
|
133
|
+
Origin: "String",
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
AddCdnDomain: {
|
|
137
|
+
url: "/",
|
|
138
|
+
method: "GET",
|
|
139
|
+
config: {
|
|
140
|
+
query: {
|
|
141
|
+
Version: "V3",
|
|
142
|
+
Action: "AddCdnDomain",
|
|
143
|
+
},
|
|
144
|
+
headers: {
|
|
145
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
paramsType: {
|
|
149
|
+
DomainName: "String",
|
|
150
|
+
CdnType: "String",
|
|
151
|
+
ProjectId: "String",
|
|
152
|
+
CdnProtocol: "String",
|
|
153
|
+
Regions: "String",
|
|
154
|
+
OriginType: "String",
|
|
155
|
+
OriginProtocol: "String",
|
|
156
|
+
Origin: "String",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
GetDomainConfigs: {
|
|
160
|
+
url: "/",
|
|
161
|
+
method: "GET",
|
|
162
|
+
config: {
|
|
163
|
+
query: {
|
|
164
|
+
Version: "V3",
|
|
165
|
+
Action: "GetDomainConfigs",
|
|
166
|
+
},
|
|
167
|
+
headers: {
|
|
168
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
paramsType: {
|
|
172
|
+
DomainId: "String",
|
|
173
|
+
ConfigList: "String",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
StartStopCdnDomain: {
|
|
177
|
+
url: "/",
|
|
178
|
+
method: "GET",
|
|
179
|
+
config: {
|
|
180
|
+
query: {
|
|
181
|
+
Version: "V3",
|
|
182
|
+
Action: "StartStopCdnDomain",
|
|
183
|
+
},
|
|
184
|
+
headers: {
|
|
185
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
paramsType: {
|
|
189
|
+
DomainId: "String",
|
|
190
|
+
ActionType: "String",
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
SetCacheRuleConfig: {
|
|
194
|
+
url: "/",
|
|
195
|
+
method: "POST",
|
|
196
|
+
config: {
|
|
197
|
+
query: {
|
|
198
|
+
Version: "V3",
|
|
199
|
+
Action: "SetCacheRuleConfig",
|
|
200
|
+
},
|
|
201
|
+
headers: {
|
|
202
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
paramsType: {
|
|
206
|
+
DomainId: "String",
|
|
207
|
+
CacheRules: "Array",
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
SetBackOriginHostConfig: {
|
|
211
|
+
url: "/",
|
|
212
|
+
method: "GET",
|
|
213
|
+
config: {
|
|
214
|
+
query: {
|
|
215
|
+
Version: "V3",
|
|
216
|
+
Action: "SetBackOriginHostConfig",
|
|
217
|
+
},
|
|
218
|
+
headers: {
|
|
219
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
paramsType: {
|
|
223
|
+
DomainId: "String",
|
|
224
|
+
FollowReqDomain: "String",
|
|
225
|
+
BackOriginHost: "String",
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
GetValidDomainList: {
|
|
229
|
+
url: "/",
|
|
230
|
+
method: "GET",
|
|
231
|
+
config: {
|
|
232
|
+
query: {
|
|
233
|
+
Version: "V3",
|
|
234
|
+
Action: "GetValidDomainList",
|
|
235
|
+
},
|
|
236
|
+
headers: {
|
|
237
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
paramsType: {
|
|
241
|
+
StartTime: "String",
|
|
242
|
+
EndTime: "String",
|
|
243
|
+
CdnType: "String",
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
GetDomainAuthContent: {
|
|
247
|
+
url: "/",
|
|
248
|
+
method: "GET",
|
|
249
|
+
config: {
|
|
250
|
+
query: {
|
|
251
|
+
Version: "V3",
|
|
252
|
+
Action: "GetDomainAuthContent",
|
|
253
|
+
},
|
|
254
|
+
headers: {
|
|
255
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
paramsType: {
|
|
259
|
+
DomainName: "String",
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
SetVideoSeekConfig: {
|
|
263
|
+
url: "/",
|
|
264
|
+
method: "GET",
|
|
265
|
+
config: {
|
|
266
|
+
query: {
|
|
267
|
+
Version: "V3",
|
|
268
|
+
Action: "SetVideoSeekConfig",
|
|
269
|
+
},
|
|
270
|
+
headers: {
|
|
271
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
paramsType: {
|
|
275
|
+
DomainId: "String",
|
|
276
|
+
Enable: "String",
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
SetPageCompressConfig: {
|
|
280
|
+
url: "/",
|
|
281
|
+
method: "GET",
|
|
282
|
+
config: {
|
|
283
|
+
query: {
|
|
284
|
+
Version: "V3",
|
|
285
|
+
Action: "SetPageCompressConfig",
|
|
286
|
+
},
|
|
287
|
+
headers: {
|
|
288
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
paramsType: {
|
|
292
|
+
DomainId: "String",
|
|
293
|
+
Enable: "String",
|
|
294
|
+
CompressType: "String",
|
|
295
|
+
FileType: "String",
|
|
296
|
+
FileSize: "String",
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
SetBrCompressConfig: {
|
|
300
|
+
url: "/",
|
|
301
|
+
method: "GET",
|
|
302
|
+
config: {
|
|
303
|
+
query: {
|
|
304
|
+
Version: "V3",
|
|
305
|
+
Action: "SetBrCompressConfig",
|
|
306
|
+
},
|
|
307
|
+
headers: {
|
|
308
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
paramsType: {
|
|
312
|
+
DomainId: "String",
|
|
313
|
+
Enable: "String",
|
|
314
|
+
CompressType: "String",
|
|
315
|
+
FileType: "String",
|
|
316
|
+
FileSize: "String",
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
SetIgnoreQueryStringConfig: {
|
|
320
|
+
url: "/",
|
|
321
|
+
method: "GET",
|
|
322
|
+
config: {
|
|
323
|
+
query: {
|
|
324
|
+
Version: "V3",
|
|
325
|
+
Action: "SetIgnoreQueryStringConfig",
|
|
326
|
+
},
|
|
327
|
+
headers: {
|
|
328
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
paramsType: {
|
|
332
|
+
DomainId: "String",
|
|
333
|
+
Enable: "String",
|
|
334
|
+
HashKeyArgs: "String",
|
|
335
|
+
Type: "String",
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
SetSetOriginAdvancedConfig: {
|
|
339
|
+
url: "/",
|
|
340
|
+
method: "POST",
|
|
341
|
+
config: {
|
|
342
|
+
query: {
|
|
343
|
+
Version: "V3",
|
|
344
|
+
Action: "SetSetOriginAdvancedConfig",
|
|
345
|
+
},
|
|
346
|
+
headers: {
|
|
347
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
paramsType: {
|
|
351
|
+
DomainId: "String",
|
|
352
|
+
Enable: "String",
|
|
353
|
+
OriginType: "String",
|
|
354
|
+
Origin: "String",
|
|
355
|
+
BackupOriginType: "String",
|
|
356
|
+
BackupOrigin: "String",
|
|
357
|
+
OriginPolicy: "String",
|
|
358
|
+
OriginPolicyBestCount: "String",
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
ValidateDomainOwner: {
|
|
362
|
+
url: "/",
|
|
363
|
+
method: "GET",
|
|
364
|
+
config: {
|
|
365
|
+
query: {
|
|
366
|
+
Version: "V3",
|
|
367
|
+
Action: "ValidateDomainOwner",
|
|
368
|
+
},
|
|
369
|
+
headers: {
|
|
370
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
paramsType: {
|
|
374
|
+
DomainName: "String",
|
|
375
|
+
AuthType: "String",
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
SetHttp2OptionConfig: {
|
|
379
|
+
url: "/",
|
|
380
|
+
method: "GET",
|
|
381
|
+
config: {
|
|
382
|
+
query: {
|
|
383
|
+
Version: "V3",
|
|
384
|
+
Action: "SetHttp2OptionConfig",
|
|
385
|
+
},
|
|
386
|
+
headers: {
|
|
387
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
paramsType: {
|
|
391
|
+
DomainId: "String",
|
|
392
|
+
Enable: "String",
|
|
393
|
+
},
|
|
394
|
+
},
|
|
62
395
|
};
|
|
63
396
|
};
|
|
@@ -89,6 +89,9 @@ module.exports = class Client extends BaseClient {
|
|
|
89
89
|
"AiModel.N": "String",
|
|
90
90
|
UserData: "String",
|
|
91
91
|
StorageRoceNetworkInterfaceMode: "String",
|
|
92
|
+
RoceCluster: "String",
|
|
93
|
+
SRoceCluster: "String",
|
|
94
|
+
UserDefinedData: "String",
|
|
92
95
|
},
|
|
93
96
|
},
|
|
94
97
|
StartEpc: {
|
|
@@ -181,6 +184,7 @@ module.exports = class Client extends BaseClient {
|
|
|
181
184
|
PasswordInherit: "String",
|
|
182
185
|
DataDiskMount: "String",
|
|
183
186
|
StorageRoceNetworkCardName: "String",
|
|
187
|
+
UserDefinedData: "String",
|
|
184
188
|
},
|
|
185
189
|
},
|
|
186
190
|
ModifySecurityGroup: {
|
|
@@ -340,6 +344,7 @@ module.exports = class Client extends BaseClient {
|
|
|
340
344
|
MaxResults: "Int",
|
|
341
345
|
NextToken: "String",
|
|
342
346
|
"ImageId.N": "String",
|
|
347
|
+
Filter: "Filter",
|
|
343
348
|
},
|
|
344
349
|
},
|
|
345
350
|
ModifyDns: {
|
|
@@ -1472,6 +1477,7 @@ module.exports = class Client extends BaseClient {
|
|
|
1472
1477
|
InstallRunCommandAgent: "Boolean",
|
|
1473
1478
|
Count: "Int",
|
|
1474
1479
|
SoZoneId: "String",
|
|
1480
|
+
UserData: "String",
|
|
1475
1481
|
},
|
|
1476
1482
|
},
|
|
1477
1483
|
DescribeSoImages: {
|
|
@@ -1963,6 +1969,7 @@ module.exports = class Client extends BaseClient {
|
|
|
1963
1969
|
InstanceName: "String",
|
|
1964
1970
|
Password: "String",
|
|
1965
1971
|
SoZoneId: "String",
|
|
1972
|
+
UserData: "String",
|
|
1966
1973
|
},
|
|
1967
1974
|
},
|
|
1968
1975
|
CreateSoKeyPair: {
|
|
@@ -1983,5 +1990,79 @@ module.exports = class Client extends BaseClient {
|
|
|
1983
1990
|
SoZoneId: "String",
|
|
1984
1991
|
},
|
|
1985
1992
|
},
|
|
1993
|
+
InstallAgent: {
|
|
1994
|
+
url: "/",
|
|
1995
|
+
method: "GET",
|
|
1996
|
+
config: {
|
|
1997
|
+
query: {
|
|
1998
|
+
Version: "2015-11-01",
|
|
1999
|
+
Action: "InstallAgent",
|
|
2000
|
+
},
|
|
2001
|
+
headers: {
|
|
2002
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
2003
|
+
},
|
|
2004
|
+
},
|
|
2005
|
+
paramsType: {
|
|
2006
|
+
HostId: "String",
|
|
2007
|
+
AgentId: "String",
|
|
2008
|
+
Username: "String",
|
|
2009
|
+
Password: "String",
|
|
2010
|
+
Key: "String",
|
|
2011
|
+
},
|
|
2012
|
+
},
|
|
2013
|
+
DescribeAgent: {
|
|
2014
|
+
url: "/",
|
|
2015
|
+
method: "GET",
|
|
2016
|
+
config: {
|
|
2017
|
+
query: {
|
|
2018
|
+
Version: "2015-11-01",
|
|
2019
|
+
Action: "DescribeAgent",
|
|
2020
|
+
},
|
|
2021
|
+
headers: {
|
|
2022
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
2023
|
+
},
|
|
2024
|
+
},
|
|
2025
|
+
paramsType: {
|
|
2026
|
+
AgentName: "String",
|
|
2027
|
+
AgentId: "String",
|
|
2028
|
+
AgentType: "String",
|
|
2029
|
+
},
|
|
2030
|
+
},
|
|
2031
|
+
DescribeAgentInstallStatus: {
|
|
2032
|
+
url: "/",
|
|
2033
|
+
method: "GET",
|
|
2034
|
+
config: {
|
|
2035
|
+
query: {
|
|
2036
|
+
Version: "2015-11-01",
|
|
2037
|
+
Action: "DescribeAgentInstallStatus",
|
|
2038
|
+
},
|
|
2039
|
+
headers: {
|
|
2040
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
2041
|
+
},
|
|
2042
|
+
},
|
|
2043
|
+
paramsType: {
|
|
2044
|
+
HostId: "Filter",
|
|
2045
|
+
AgentId: "String",
|
|
2046
|
+
Status: "String",
|
|
2047
|
+
NextToken: "String",
|
|
2048
|
+
MaxResults: "Int",
|
|
2049
|
+
},
|
|
2050
|
+
},
|
|
2051
|
+
DescribeSoUserData: {
|
|
2052
|
+
url: "/",
|
|
2053
|
+
method: "GET",
|
|
2054
|
+
config: {
|
|
2055
|
+
query: {
|
|
2056
|
+
Version: "2015-11-01",
|
|
2057
|
+
Action: "DescribeSoUserData",
|
|
2058
|
+
},
|
|
2059
|
+
headers: {
|
|
2060
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
2061
|
+
},
|
|
2062
|
+
},
|
|
2063
|
+
paramsType: {
|
|
2064
|
+
InstanceId: "String",
|
|
2065
|
+
},
|
|
2066
|
+
},
|
|
1986
2067
|
};
|
|
1987
2068
|
};
|