tencentcloud-sdk-nodejs 4.0.623 → 4.0.625
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/CHANGELOG.md +272 -0
- package/SERVICE_CHANGELOG.md +366 -26
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +2 -1
- package/src/services/cfs/v20190719/cfs_models.ts +4 -0
- package/src/services/cloudstudio/index.ts +2 -0
- package/src/services/cloudstudio/v20230508/cloudstudio_client.ts +145 -0
- package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +424 -0
- package/src/services/cloudstudio/v20230508/index.ts +6 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -0
- package/src/services/cls/v20201016/cls_models.ts +22 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +30 -0
- package/src/services/csip/v20221121/csip_client.ts +19 -2
- package/src/services/csip/v20221121/csip_models.ts +160 -10
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +139 -11
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +943 -140
- package/src/services/dlc/v20210125/dlc_client.ts +29 -26
- package/src/services/dlc/v20210125/dlc_models.ts +197 -95
- package/src/services/ess/v20201111/ess_client.ts +12 -0
- package/src/services/ess/v20201111/ess_models.ts +89 -4
- package/src/services/monitor/v20180724/monitor_client.ts +3 -3
- package/src/services/oceanus/v20190422/oceanus_client.ts +23 -8
- package/src/services/oceanus/v20190422/oceanus_models.ts +268 -21
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +11 -4
- package/src/services/sms/v20190711/sms_client.ts +0 -1
- package/src/services/sms/v20190711/sms_models.ts +2 -2
- package/src/services/sms/v20210111/sms_models.ts +2 -2
- package/src/services/tbaas/v20180416/tbaas_client.ts +38 -14
- package/src/services/tbaas/v20180416/tbaas_models.ts +72 -8
- package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +20 -15
- package/src/services/tdmq/v20200217/tdmq_client.ts +13 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +55 -6
- package/src/services/tke/v20180525/tke_client.ts +85 -24
- package/src/services/tke/v20180525/tke_models.ts +310 -133
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +2 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/cloudstudio/index.d.ts +4 -0
- package/tencentcloud/services/cloudstudio/index.js +2 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_client.d.ts +46 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_client.js +85 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +384 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.js +18 -0
- package/tencentcloud/services/cloudstudio/v20230508/index.d.ts +6 -0
- package/tencentcloud/services/cloudstudio/v20230508/index.js +9 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +21 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +30 -0
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +5 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +6 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +153 -10
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +41 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +60 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +880 -105
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +26 -26
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +26 -26
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +194 -95
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +87 -4
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +3 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +7 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +9 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +263 -21
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +11 -4
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +0 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +0 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +2 -2
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +24 -8
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +25 -7
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +70 -8
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +20 -15
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +53 -6
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +25 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +36 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +296 -130
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/test/cloudstudio.v20230508.test.js +111 -0
- package/test/csip.v20221121.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +100 -0
- package/test/ess.v20201111.test.js +10 -0
- package/test/oceanus.v20190422.test.js +12 -2
- package/test/tbaas.v20180416.test.js +10 -0
- package/test/tdmq.v20200217.test.js +10 -0
- package/test/tke.v20180525.test.js +54 -4
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.cloudstudio.v20230508.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("cloudstudio.v20230508.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("cloudstudio.v20230508.DescribeConfig", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeConfig({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("cloudstudio.v20230508.ModifyWorkspace", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ModifyWorkspace({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("cloudstudio.v20230508.DescribeWorkspaces", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeWorkspaces({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("cloudstudio.v20230508.DescribeImages", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeImages({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("cloudstudio.v20230508.CreateWorkspace", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateWorkspace({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("cloudstudio.v20230508.CreateWorkspaceToken", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateWorkspaceToken({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("cloudstudio.v20230508.RemoveWorkspace", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.RemoveWorkspace({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("cloudstudio.v20230508.StopWorkspace", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.StopWorkspace({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("cloudstudio.v20230508.RunWorkspace", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.RunWorkspace({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
})
|
|
@@ -138,6 +138,16 @@ it("csip.v20221121.DescribeRiskCenterAssetViewPortRiskList", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("csip.v20221121.CreateRiskCenterScanTask", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateRiskCenterScanTask({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("csip.v20221121.DescribeDbAssets", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.DescribeDbAssets({})
|
|
@@ -28,6 +28,16 @@ it("cynosdb.v20190107.ResumeServerless", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("cynosdb.v20190107.UpgradeProxyVersion", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.UpgradeProxyVersion({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
it("cynosdb.v20190107.DescribeBackupConfig", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeBackupConfig({})
|
|
@@ -38,6 +48,16 @@ it("cynosdb.v20190107.DescribeBackupConfig", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
51
|
+
it("cynosdb.v20190107.CreateProxyEndPoint", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateProxyEndPoint({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
41
61
|
it("cynosdb.v20190107.ModifyResourcePackageClusters", async function () {
|
|
42
62
|
try {
|
|
43
63
|
const data = await client.ModifyResourcePackageClusters({})
|
|
@@ -128,6 +148,16 @@ it("cynosdb.v20190107.SwitchClusterVpc", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
151
|
+
it("cynosdb.v20190107.CloseProxy", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CloseProxy({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
131
161
|
it("cynosdb.v20190107.DescribeClusterDetail", async function () {
|
|
132
162
|
try {
|
|
133
163
|
const data = await client.DescribeClusterDetail({})
|
|
@@ -188,6 +218,16 @@ it("cynosdb.v20190107.ActivateInstance", async function () {
|
|
|
188
218
|
}
|
|
189
219
|
})
|
|
190
220
|
|
|
221
|
+
it("cynosdb.v20190107.DescribeProxyNodes", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeProxyNodes({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
191
231
|
it("cynosdb.v20190107.DisassociateSecurityGroups", async function () {
|
|
192
232
|
try {
|
|
193
233
|
const data = await client.DisassociateSecurityGroups({})
|
|
@@ -278,6 +318,16 @@ it("cynosdb.v20190107.ModifyClusterName", async function () {
|
|
|
278
318
|
}
|
|
279
319
|
})
|
|
280
320
|
|
|
321
|
+
it("cynosdb.v20190107.ModifyProxyRwSplit", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifyProxyRwSplit({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
281
331
|
it("cynosdb.v20190107.ModifyVipVport", async function () {
|
|
282
332
|
try {
|
|
283
333
|
const data = await client.ModifyVipVport({})
|
|
@@ -298,6 +348,16 @@ it("cynosdb.v20190107.DeleteAuditRuleTemplates", async function () {
|
|
|
298
348
|
}
|
|
299
349
|
})
|
|
300
350
|
|
|
351
|
+
it("cynosdb.v20190107.ModifyProxyDesc", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.ModifyProxyDesc({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
301
361
|
it("cynosdb.v20190107.CreateParamTemplate", async function () {
|
|
302
362
|
try {
|
|
303
363
|
const data = await client.CreateParamTemplate({})
|
|
@@ -378,6 +438,16 @@ it("cynosdb.v20190107.RestartInstance", async function () {
|
|
|
378
438
|
}
|
|
379
439
|
})
|
|
380
440
|
|
|
441
|
+
it("cynosdb.v20190107.UpgradeProxy", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.UpgradeProxy({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
381
451
|
it("cynosdb.v20190107.DescribeClusters", async function () {
|
|
382
452
|
try {
|
|
383
453
|
const data = await client.DescribeClusters({})
|
|
@@ -678,6 +748,16 @@ it("cynosdb.v20190107.UnbindClusterResourcePackages", async function () {
|
|
|
678
748
|
}
|
|
679
749
|
})
|
|
680
750
|
|
|
751
|
+
it("cynosdb.v20190107.DescribeProxies", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.DescribeProxies({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
681
761
|
it("cynosdb.v20190107.OpenWan", async function () {
|
|
682
762
|
try {
|
|
683
763
|
const data = await client.OpenWan({})
|
|
@@ -798,6 +878,16 @@ it("cynosdb.v20190107.InquirePriceRenew", async function () {
|
|
|
798
878
|
}
|
|
799
879
|
})
|
|
800
880
|
|
|
881
|
+
it("cynosdb.v20190107.ReloadBalanceProxyNode", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.ReloadBalanceProxyNode({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
801
891
|
it("cynosdb.v20190107.SearchClusterDatabases", async function () {
|
|
802
892
|
try {
|
|
803
893
|
const data = await client.SearchClusterDatabases({})
|
|
@@ -1018,6 +1108,16 @@ it("cynosdb.v20190107.DescribeBackupDownloadUrl", async function () {
|
|
|
1018
1108
|
}
|
|
1019
1109
|
})
|
|
1020
1110
|
|
|
1111
|
+
it("cynosdb.v20190107.CreateProxy", async function () {
|
|
1112
|
+
try {
|
|
1113
|
+
const data = await client.CreateProxy({})
|
|
1114
|
+
expect(data).to.be.ok
|
|
1115
|
+
} catch(error) {
|
|
1116
|
+
expect(error.requestId).to.be.ok
|
|
1117
|
+
expect(error.code).to.be.ok
|
|
1118
|
+
}
|
|
1119
|
+
})
|
|
1120
|
+
|
|
1021
1121
|
it("cynosdb.v20190107.ModifyDBInstanceSecurityGroups", async function () {
|
|
1022
1122
|
try {
|
|
1023
1123
|
const data = await client.ModifyDBInstanceSecurityGroups({})
|
|
@@ -328,6 +328,16 @@ it("ess.v20201111.CreateFlowByFiles", async function () {
|
|
|
328
328
|
}
|
|
329
329
|
})
|
|
330
330
|
|
|
331
|
+
it("ess.v20201111.CreateSeal", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.CreateSeal({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
331
341
|
it("ess.v20201111.DescribeIntegrationRoles", async function () {
|
|
332
342
|
try {
|
|
333
343
|
const data = await client.DescribeIntegrationRoles({})
|
|
@@ -118,6 +118,16 @@ it("oceanus.v20190422.DescribeClusters", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("oceanus.v20190422.DeleteJobs", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DeleteJobs({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
it("oceanus.v20190422.CreateJob", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.CreateJob({})
|
|
@@ -148,9 +158,9 @@ it("oceanus.v20190422.RunJobs", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("oceanus.v20190422.
|
|
161
|
+
it("oceanus.v20190422.DescribeWorkSpaces", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeWorkSpaces({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +158,16 @@ it("tbaas.v20180416.DeployDynamicBcosContract", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("tbaas.v20180416.GetLatestTransactionList", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.GetLatestTransactionList({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
161
171
|
it("tbaas.v20180416.DownloadUserCert", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.DownloadUserCert({})
|
|
@@ -1118,6 +1118,16 @@ it("tdmq.v20200217.SendMsg", async function () {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
})
|
|
1120
1120
|
|
|
1121
|
+
it("tdmq.v20200217.SendRocketMQMessage", async function () {
|
|
1122
|
+
try {
|
|
1123
|
+
const data = await client.SendRocketMQMessage({})
|
|
1124
|
+
expect(data).to.be.ok
|
|
1125
|
+
} catch(error) {
|
|
1126
|
+
expect(error.requestId).to.be.ok
|
|
1127
|
+
expect(error.code).to.be.ok
|
|
1128
|
+
}
|
|
1129
|
+
})
|
|
1130
|
+
|
|
1121
1131
|
it("tdmq.v20200217.ClearCmqSubscriptionFilterTags", async function () {
|
|
1122
1132
|
try {
|
|
1123
1133
|
const data = await client.ClearCmqSubscriptionFilterTags({})
|
|
@@ -498,6 +498,16 @@ it("tke.v20180525.ModifyPrometheusAlertPolicy", async function () {
|
|
|
498
498
|
}
|
|
499
499
|
})
|
|
500
500
|
|
|
501
|
+
it("tke.v20180525.UpdateAddon", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.UpdateAddon({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
501
511
|
it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
|
|
502
512
|
try {
|
|
503
513
|
const data = await client.DescribeClusterAuthenticationOptions({})
|
|
@@ -508,6 +518,16 @@ it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
|
|
|
508
518
|
}
|
|
509
519
|
})
|
|
510
520
|
|
|
521
|
+
it("tke.v20180525.InstallAddon", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.InstallAddon({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
511
531
|
it("tke.v20180525.DeleteECMInstances", async function () {
|
|
512
532
|
try {
|
|
513
533
|
const data = await client.DeleteECMInstances({})
|
|
@@ -808,9 +828,9 @@ it("tke.v20180525.DescribeClusterLevelAttribute", async function () {
|
|
|
808
828
|
}
|
|
809
829
|
})
|
|
810
830
|
|
|
811
|
-
it("tke.v20180525.
|
|
831
|
+
it("tke.v20180525.DescribeAddonValues", async function () {
|
|
812
832
|
try {
|
|
813
|
-
const data = await client.
|
|
833
|
+
const data = await client.DescribeAddonValues({})
|
|
814
834
|
expect(data).to.be.ok
|
|
815
835
|
} catch(error) {
|
|
816
836
|
expect(error.requestId).to.be.ok
|
|
@@ -878,9 +898,9 @@ it("tke.v20180525.DescribePrometheusTemp", async function () {
|
|
|
878
898
|
}
|
|
879
899
|
})
|
|
880
900
|
|
|
881
|
-
it("tke.v20180525.
|
|
901
|
+
it("tke.v20180525.DeleteAddon", async function () {
|
|
882
902
|
try {
|
|
883
|
-
const data = await client.
|
|
903
|
+
const data = await client.DeleteAddon({})
|
|
884
904
|
expect(data).to.be.ok
|
|
885
905
|
} catch(error) {
|
|
886
906
|
expect(error.requestId).to.be.ok
|
|
@@ -1408,6 +1428,16 @@ it("tke.v20180525.DescribeECMInstances", async function () {
|
|
|
1408
1428
|
}
|
|
1409
1429
|
})
|
|
1410
1430
|
|
|
1431
|
+
it("tke.v20180525.DeleteTKEEdgeCluster", async function () {
|
|
1432
|
+
try {
|
|
1433
|
+
const data = await client.DeleteTKEEdgeCluster({})
|
|
1434
|
+
expect(data).to.be.ok
|
|
1435
|
+
} catch(error) {
|
|
1436
|
+
expect(error.requestId).to.be.ok
|
|
1437
|
+
expect(error.code).to.be.ok
|
|
1438
|
+
}
|
|
1439
|
+
})
|
|
1440
|
+
|
|
1411
1441
|
it("tke.v20180525.DescribeClusterEndpoints", async function () {
|
|
1412
1442
|
try {
|
|
1413
1443
|
const data = await client.DescribeClusterEndpoints({})
|
|
@@ -1808,6 +1838,16 @@ it("tke.v20180525.DescribeEnableVpcCniProgress", async function () {
|
|
|
1808
1838
|
}
|
|
1809
1839
|
})
|
|
1810
1840
|
|
|
1841
|
+
it("tke.v20180525.DescribePrometheusAlertRule", async function () {
|
|
1842
|
+
try {
|
|
1843
|
+
const data = await client.DescribePrometheusAlertRule({})
|
|
1844
|
+
expect(data).to.be.ok
|
|
1845
|
+
} catch(error) {
|
|
1846
|
+
expect(error.requestId).to.be.ok
|
|
1847
|
+
expect(error.code).to.be.ok
|
|
1848
|
+
}
|
|
1849
|
+
})
|
|
1850
|
+
|
|
1811
1851
|
it("tke.v20180525.EnableClusterDeletionProtection", async function () {
|
|
1812
1852
|
try {
|
|
1813
1853
|
const data = await client.EnableClusterDeletionProtection({})
|
|
@@ -1898,6 +1938,16 @@ it("tke.v20180525.DescribePrometheusTemplates", async function () {
|
|
|
1898
1938
|
}
|
|
1899
1939
|
})
|
|
1900
1940
|
|
|
1941
|
+
it("tke.v20180525.DescribeAddon", async function () {
|
|
1942
|
+
try {
|
|
1943
|
+
const data = await client.DescribeAddon({})
|
|
1944
|
+
expect(data).to.be.ok
|
|
1945
|
+
} catch(error) {
|
|
1946
|
+
expect(error.requestId).to.be.ok
|
|
1947
|
+
expect(error.code).to.be.ok
|
|
1948
|
+
}
|
|
1949
|
+
})
|
|
1950
|
+
|
|
1901
1951
|
it("tke.v20180525.DescribePrometheusInstancesOverview", async function () {
|
|
1902
1952
|
try {
|
|
1903
1953
|
const data = await client.DescribePrometheusInstancesOverview({})
|