ksyun-sdk-node 1.4.9 → 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.
- package/dist/service/Aicp/v20240612/index.js +24 -0
- package/dist/service/Bws/v20160304/index.js +3 -0
- package/dist/service/Cdn/v20250503/index.js +0 -333
- package/dist/service/Cdn/v3/index.js +600 -0
- package/dist/service/Cen/v20160304/index.js +147 -103
- package/dist/service/Clickhouse/v20210101/index.js +204 -19
- package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
- package/dist/service/Dmp/v20240101/index.js +362 -0
- package/dist/service/Dts/v20180108/index.js +386 -0
- package/dist/service/Ebs/v20160304/index.js +197 -34
- package/dist/service/Eip/v20160304/index.js +79 -1
- package/dist/service/Influxdb/v20191010/index.js +504 -0
- package/dist/service/Kad/v20161122/index.js +32 -0
- package/dist/service/Kce/v20190806/index.js +234 -43
- package/dist/service/Kce/v20201231/index.js +2 -2
- package/dist/service/Kce/v20230101/index.js +193 -0
- package/dist/service/Kce/v20230306/index.js +434 -0
- package/dist/service/Kce/v20231115/index.js +65 -0
- package/dist/service/Kce2/v20230101/index.js +313 -0
- package/dist/service/Kci/v20200702/index.js +336 -0
- package/dist/service/Kcm/v20160304/index.js +113 -3
- package/dist/service/Kcrs/v20211109/index.js +88 -92
- package/dist/service/Kcs/v20160701/index.js +165 -23
- package/dist/service/Kcs/v20170401/index.js +1 -36
- package/dist/service/Kcs/v20240701/index.js +45 -0
- package/dist/service/Kead/v20200101/index.js +37 -8
- package/dist/service/Ked/v1/index.js +805 -0
- package/dist/service/Ket/v20170101/index.js +42 -0
- package/dist/service/Kfw/v20160304/index.js +59 -0
- package/dist/service/Kingpay/v1/index.js +44 -0
- package/dist/service/Knad/v20230323/index.js +333 -0
- package/dist/service/Kpfs/v20240930/index.js +181 -0
- package/dist/service/Krds/v20160701/index.js +505 -96
- package/dist/service/Krds/v20200825/index.js +48 -8
- package/dist/service/Milvus/v20231010/index.js +366 -0
- package/dist/service/Mongodb/v20170101/index.js +163 -13
- package/dist/service/Mongodb/v20250101/index.js +44 -0
- package/dist/service/Pdns/v20160304/index.js +636 -0
- package/dist/service/Postgresql/v20181225/index.js +950 -0
- package/dist/service/Rabbitmq/v20191017/index.js +107 -6
- package/dist/service/Relyt/v20240117/index.js +45 -0
- package/dist/service/Sks/v20151101/index.js +2 -1
- package/dist/service/Slb/v20160304/index.js +426 -53
- package/dist/service/Slb/v20250430/index.js +750 -0
- package/dist/service/Sqlserver/v20190425/index.js +872 -0
- package/dist/service/Sts/v20151101/index.js +19 -0
- package/dist/service/Tagv2/v20200901/index.js +42 -6
- package/dist/service/Ter/v20240415/index.js +114 -0
- package/dist/service/Tidb/v20210520/index.js +415 -21
- package/dist/service/Trade/v20250220/index.js +97 -0
- package/dist/service/Trade/v20250321/index.js +93 -0
- package/dist/service/Trade/v20250828/index.js +56 -0
- package/dist/service/Vpc/v20160304/index.js +32 -0
- package/dist/service/Waf/v20200707/index.js +188 -5
- package/package.json +1 -1
- package/src/service/Aicp/v20240612/index.js +24 -0
- package/src/service/Bws/v20160304/index.js +3 -0
- package/src/service/Cdn/{v20250503 → v3}/index.js +196 -0
- package/src/service/Cen/v20160304/index.js +144 -100
- package/src/service/Clickhouse/v20210101/index.js +203 -18
- package/src/service/Cloud_advisor/v20250610/index.js +73 -0
- package/src/service/Dmp/v20240101/index.js +354 -0
- package/src/service/Dts/v20180108/index.js +378 -0
- package/src/service/Ebs/v20160304/index.js +194 -31
- package/src/service/Eip/v20160304/index.js +79 -1
- package/src/service/Influxdb/v20191010/index.js +496 -0
- package/src/service/Kad/v20161122/index.js +32 -0
- package/src/service/Kce/v20190806/index.js +233 -42
- package/src/service/Kce/v20201231/index.js +2 -2
- package/src/service/Kce/v20230101/index.js +185 -0
- package/src/service/Kce/v20230306/index.js +426 -0
- package/src/service/Kce/v20231115/index.js +57 -0
- package/src/service/Kce2/v20230101/index.js +305 -0
- package/src/service/Kci/v20200702/index.js +328 -0
- package/src/service/Kcm/v20160304/index.js +110 -0
- package/src/service/Kcrs/v20211109/index.js +87 -91
- package/src/service/Kcs/v20160701/index.js +164 -22
- package/src/service/Kcs/v20170401/index.js +1 -36
- package/src/service/Kcs/v20240701/index.js +37 -0
- package/src/service/Kead/v20200101/index.js +37 -8
- package/src/service/Ked/v1/index.js +797 -0
- package/src/service/Ket/v20170101/index.js +42 -0
- package/src/service/Kfw/v20160304/index.js +51 -0
- package/src/service/Kingpay/v1/index.js +36 -0
- package/src/service/Knad/v20230323/index.js +325 -0
- package/src/service/Kpfs/v20240930/index.js +173 -0
- package/src/service/Krds/v20160701/index.js +502 -93
- package/src/service/Krds/v20200825/index.js +48 -8
- package/src/service/Milvus/v20231010/index.js +358 -0
- package/src/service/Mongodb/v20170101/index.js +162 -12
- package/src/service/Mongodb/v20250101/index.js +36 -0
- package/src/service/Pdns/v20160304/index.js +628 -0
- package/src/service/Postgresql/v20181225/index.js +942 -0
- package/src/service/Rabbitmq/v20191017/index.js +107 -6
- package/src/service/Relyt/v20240117/index.js +37 -0
- package/src/service/Sks/v20151101/index.js +1 -0
- package/src/service/Slb/v20160304/index.js +416 -43
- package/src/service/Slb/v20250430/index.js +742 -0
- package/src/service/Sqlserver/v20190425/index.js +864 -0
- package/src/service/Sts/v20151101/index.js +19 -0
- package/src/service/Tagv2/v20200901/index.js +42 -6
- package/src/service/Ter/v20240415/index.js +106 -0
- package/src/service/Tidb/v20210520/index.js +412 -18
- package/src/service/Trade/v20250220/index.js +89 -0
- package/src/service/Trade/v20250321/index.js +85 -0
- package/src/service/Trade/v20250828/index.js +48 -0
- package/src/service/Vpc/v20160304/index.js +32 -0
- package/src/service/Waf/v20200707/index.js +187 -4
|
@@ -133,9 +133,7 @@ module.exports = class Client extends BaseClient {
|
|
|
133
133
|
"Content-Type": "application/json"
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
|
-
paramsType: {
|
|
137
|
-
Action: "String"
|
|
138
|
-
}
|
|
136
|
+
paramsType: {}
|
|
139
137
|
},
|
|
140
138
|
DescribeRegions: {
|
|
141
139
|
url: "/",
|
|
@@ -149,9 +147,7 @@ module.exports = class Client extends BaseClient {
|
|
|
149
147
|
"Content-Type": "application/json"
|
|
150
148
|
}
|
|
151
149
|
},
|
|
152
|
-
paramsType: {
|
|
153
|
-
Action: "String"
|
|
154
|
-
}
|
|
150
|
+
paramsType: {}
|
|
155
151
|
},
|
|
156
152
|
DescribeSecurityGroupRules: {
|
|
157
153
|
url: "/",
|
|
@@ -236,6 +232,111 @@ module.exports = class Client extends BaseClient {
|
|
|
236
232
|
InstanceId: "String",
|
|
237
233
|
InstanceName: "String"
|
|
238
234
|
}
|
|
235
|
+
},
|
|
236
|
+
AllocateEip: {
|
|
237
|
+
url: "/",
|
|
238
|
+
method: "POST",
|
|
239
|
+
config: {
|
|
240
|
+
query: {
|
|
241
|
+
Version: "2019-10-17",
|
|
242
|
+
Action: "AllocateEip"
|
|
243
|
+
},
|
|
244
|
+
headers: {
|
|
245
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
paramsType: {
|
|
249
|
+
InstanceId: "String"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
DeallocateEip: {
|
|
253
|
+
url: "/",
|
|
254
|
+
method: "POST",
|
|
255
|
+
config: {
|
|
256
|
+
query: {
|
|
257
|
+
Version: "2019-10-17",
|
|
258
|
+
Action: "DeallocateEip"
|
|
259
|
+
},
|
|
260
|
+
headers: {
|
|
261
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
paramsType: {
|
|
265
|
+
InstanceId: "String"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
SupportPlugins: {
|
|
269
|
+
url: "/",
|
|
270
|
+
method: "GET",
|
|
271
|
+
config: {
|
|
272
|
+
query: {
|
|
273
|
+
Version: "2019-10-17",
|
|
274
|
+
Action: "SupportPlugins"
|
|
275
|
+
},
|
|
276
|
+
headers: {
|
|
277
|
+
"Content-Type": "application/json"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
paramsType: {}
|
|
281
|
+
},
|
|
282
|
+
RestartInstance: {
|
|
283
|
+
url: "/",
|
|
284
|
+
method: "POST",
|
|
285
|
+
config: {
|
|
286
|
+
query: {
|
|
287
|
+
Version: "2019-10-17",
|
|
288
|
+
Action: "RestartInstance"
|
|
289
|
+
},
|
|
290
|
+
headers: {
|
|
291
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
paramsType: {}
|
|
295
|
+
},
|
|
296
|
+
ListInstancePlugins: {
|
|
297
|
+
url: "/",
|
|
298
|
+
method: "GET",
|
|
299
|
+
config: {
|
|
300
|
+
query: {
|
|
301
|
+
Version: "2019-10-17",
|
|
302
|
+
Action: "ListInstancePlugins"
|
|
303
|
+
},
|
|
304
|
+
headers: {
|
|
305
|
+
"Content-Type": "application/json"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
paramsType: {}
|
|
309
|
+
},
|
|
310
|
+
EnableInstancePlugins: {
|
|
311
|
+
url: "/",
|
|
312
|
+
method: "POST",
|
|
313
|
+
config: {
|
|
314
|
+
query: {
|
|
315
|
+
Version: "2019-10-17",
|
|
316
|
+
Action: "EnableInstancePlugins"
|
|
317
|
+
},
|
|
318
|
+
headers: {
|
|
319
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
paramsType: {}
|
|
323
|
+
},
|
|
324
|
+
DisableInstancePlugins: {
|
|
325
|
+
url: "/",
|
|
326
|
+
method: "POST",
|
|
327
|
+
config: {
|
|
328
|
+
query: {
|
|
329
|
+
Version: "2019-10-17",
|
|
330
|
+
Action: "DisableInstancePlugins"
|
|
331
|
+
},
|
|
332
|
+
headers: {
|
|
333
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
paramsType: {
|
|
337
|
+
InstanceId: "String",
|
|
338
|
+
DisablePlugins: "Array"
|
|
339
|
+
}
|
|
239
340
|
}
|
|
240
341
|
});
|
|
241
342
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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: "relyt.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: "relyt"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
GetDwsuMetric: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "POST",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2024-01-17",
|
|
32
|
+
Action: "GetDwsuMetric"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
DwsuId: "String",
|
|
40
|
+
Timestamp: "Int"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|