tencentcloud-sdk-nodejs 4.0.907 → 4.0.909
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 +420 -0
- package/SERVICE_CHANGELOG.md +662 -30
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +3 -1
- package/src/services/aiart/v20221229/aiart_models.ts +5 -5
- package/src/services/apm/v20210622/apm_models.ts +4 -0
- package/src/services/cbs/v20170312/cbs_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +31 -7
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +616 -96
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +3241 -797
- package/src/services/cfs/v20190719/cfs_client.ts +2 -2
- package/src/services/cfs/v20190719/cfs_models.ts +14 -6
- package/src/services/csip/v20221121/csip_models.ts +8 -0
- package/src/services/dlc/v20210125/dlc_client.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +13 -1
- package/src/services/domain/v20180808/domain_models.ts +1 -1
- package/src/services/emr/v20190103/emr_models.ts +9 -1
- package/src/services/ess/v20201111/ess_client.ts +46 -10
- package/src/services/ess/v20201111/ess_models.ts +7 -7
- package/src/services/essbasic/v20210526/essbasic_client.ts +15 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +9 -7
- package/src/services/faceid/v20180301/faceid_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +9 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +300 -276
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +3804 -3686
- package/src/services/lcic/v20220817/lcic_models.ts +8 -0
- package/src/services/lke/v20231130/lke_client.ts +12 -4
- package/src/services/lke/v20231130/lke_models.ts +376 -95
- package/src/services/monitor/v20180724/monitor_models.ts +5 -5
- package/src/services/mps/v20190612/mps_models.ts +11 -0
- package/src/services/organization/v20210331/organization_client.ts +13 -0
- package/src/services/organization/v20210331/organization_models.ts +110 -0
- package/src/services/rce/v20201103/rce_client.ts +142 -9
- package/src/services/rce/v20201103/rce_models.ts +1027 -216
- package/src/services/redis/v20180412/redis_client.ts +34 -8
- package/src/services/redis/v20180412/redis_models.ts +192 -9
- package/src/services/tmt/v20180321/tmt_models.ts +1 -1
- package/src/services/trro/v20220325/trro_client.ts +1 -0
- package/src/services/trro/v20220325/trro_models.ts +96 -5
- package/src/services/trtc/v20190722/trtc_client.ts +14 -100
- package/src/services/trtc/v20190722/trtc_models.ts +6 -1
- package/src/services/tse/v20201207/tse_models.ts +5 -0
- package/src/services/tsf/v20180326/tsf_models.ts +4 -4
- package/src/services/tsi/v20210325/tsi_client.ts +13 -2
- package/src/services/tsi/v20210325/tsi_models.ts +24 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +3 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +3 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +5 -5
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +4 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +31 -7
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +187 -23
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +279 -33
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +3130 -796
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +14 -6
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +8 -0
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +13 -1
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +44 -8
- package/tencentcloud/services/ess/v20201111/ess_client.js +44 -8
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +7 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +13 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +9 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +11 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +15 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +3732 -3618
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +368 -95
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +5 -5
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +11 -0
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +107 -0
- package/tencentcloud/services/rce/v20201103/rce_client.d.ts +37 -1
- package/tencentcloud/services/rce/v20201103/rce_client.js +54 -0
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +983 -215
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +11 -3
- package/tencentcloud/services/redis/v20180412/redis_client.js +15 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +186 -9
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +1 -1
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +95 -5
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +12 -98
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +12 -98
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +5 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -4
- package/tencentcloud/services/tsi/v20210325/tsi_client.d.ts +12 -1
- package/tencentcloud/services/tsi/v20210325/tsi_client.js +12 -1
- package/tencentcloud/services/tsi/v20210325/tsi_models.d.ts +24 -4
- package/test/cdwdoris.v20211228.test.js +432 -22
- package/test/iotexplorer.v20190423.test.js +22 -2
- package/test/organization.v20210331.test.js +10 -0
- package/test/rce.v20201103.test.js +90 -0
- package/test/redis.v20180412.test.js +22 -2
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.cdwdoris.v20211228.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cdwdoris.v20211228.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("cdwdoris.v20211228.
|
|
21
|
+
it("cdwdoris.v20211228.CreateBackUpSchedule", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.CreateBackUpSchedule({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,29 @@ it("cdwdoris.v20211228.ScaleUpInstance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("cdwdoris.v20211228.
|
|
31
|
+
it("cdwdoris.v20211228.DescribeFrontEnd", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeFrontEnd({})
|
|
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("cdwdoris.v20211228.DescribeBackUpSchedules", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeBackUpSchedules({})
|
|
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("cdwdoris.v20211228.DescribeBackUpJob", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeBackUpJob({})
|
|
34
54
|
expect(data).to.be.ok
|
|
35
55
|
} catch(error) {
|
|
36
56
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +68,9 @@ it("cdwdoris.v20211228.DestroyInstance", async function () {
|
|
|
48
68
|
}
|
|
49
69
|
})
|
|
50
70
|
|
|
51
|
-
it("cdwdoris.v20211228.
|
|
71
|
+
it("cdwdoris.v20211228.DescribeDorisMetricFiles", async function () {
|
|
52
72
|
try {
|
|
53
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeDorisMetricFiles({})
|
|
54
74
|
expect(data).to.be.ok
|
|
55
75
|
} catch(error) {
|
|
56
76
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +88,9 @@ it("cdwdoris.v20211228.DescribeDatabaseAuditRecords", async function () {
|
|
|
68
88
|
}
|
|
69
89
|
})
|
|
70
90
|
|
|
71
|
-
it("cdwdoris.v20211228.
|
|
91
|
+
it("cdwdoris.v20211228.DescribeRestoreTaskDetail", async function () {
|
|
72
92
|
try {
|
|
73
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeRestoreTaskDetail({})
|
|
74
94
|
expect(data).to.be.ok
|
|
75
95
|
} catch(error) {
|
|
76
96
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +98,9 @@ it("cdwdoris.v20211228.DescribeClusterConfigs", async function () {
|
|
|
78
98
|
}
|
|
79
99
|
})
|
|
80
100
|
|
|
81
|
-
it("cdwdoris.v20211228.
|
|
101
|
+
it("cdwdoris.v20211228.CreateWorkloadGroup", async function () {
|
|
82
102
|
try {
|
|
83
|
-
const data = await client.
|
|
103
|
+
const data = await client.CreateWorkloadGroup({})
|
|
84
104
|
expect(data).to.be.ok
|
|
85
105
|
} catch(error) {
|
|
86
106
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +118,9 @@ it("cdwdoris.v20211228.DescribeDatabaseAuditDownload", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
101
|
-
it("cdwdoris.v20211228.
|
|
121
|
+
it("cdwdoris.v20211228.DescribeInstanceNodesInfo", async function () {
|
|
102
122
|
try {
|
|
103
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeInstanceNodesInfo({})
|
|
104
124
|
expect(data).to.be.ok
|
|
105
125
|
} catch(error) {
|
|
106
126
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +128,9 @@ it("cdwdoris.v20211228.DescribeInstance", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
111
|
-
it("cdwdoris.v20211228.
|
|
131
|
+
it("cdwdoris.v20211228.DescribeInstanceUsedSubnets", async function () {
|
|
112
132
|
try {
|
|
113
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeInstanceUsedSubnets({})
|
|
114
134
|
expect(data).to.be.ok
|
|
115
135
|
} catch(error) {
|
|
116
136
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +138,9 @@ it("cdwdoris.v20211228.RestartClusterForNode", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
121
|
-
it("cdwdoris.v20211228.
|
|
141
|
+
it("cdwdoris.v20211228.DescribeUserBindWorkloadGroup", async function () {
|
|
122
142
|
try {
|
|
123
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeUserBindWorkloadGroup({})
|
|
124
144
|
expect(data).to.be.ok
|
|
125
145
|
} catch(error) {
|
|
126
146
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +148,9 @@ it("cdwdoris.v20211228.DescribeInstanceNodes", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
131
|
-
it("cdwdoris.v20211228.
|
|
151
|
+
it("cdwdoris.v20211228.DescribeBackUpTables", async function () {
|
|
132
152
|
try {
|
|
133
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeBackUpTables({})
|
|
134
154
|
expect(data).to.be.ok
|
|
135
155
|
} catch(error) {
|
|
136
156
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +158,249 @@ it("cdwdoris.v20211228.DescribeSlowQueryRecordsDownload", async function () {
|
|
|
138
158
|
}
|
|
139
159
|
})
|
|
140
160
|
|
|
141
|
-
it("cdwdoris.v20211228.
|
|
161
|
+
it("cdwdoris.v20211228.DescribeRegionZone", async function () {
|
|
142
162
|
try {
|
|
143
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeRegionZone({})
|
|
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
|
+
|
|
171
|
+
it("cdwdoris.v20211228.ModifyNodeStatus", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyNodeStatus({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("cdwdoris.v20211228.DescribeClusterConfigsHistory", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeClusterConfigsHistory({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("cdwdoris.v20211228.DescribeSlowQueryRecords", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeSlowQueryRecords({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("cdwdoris.v20211228.ModifyWorkloadGroupStatus", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.ModifyWorkloadGroupStatus({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
it("cdwdoris.v20211228.ModifyUserBindWorkloadGroup", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ModifyUserBindWorkloadGroup({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("cdwdoris.v20211228.DeleteBackUpData", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DeleteBackUpData({})
|
|
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
|
+
|
|
231
|
+
it("cdwdoris.v20211228.DescribeInstances", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeInstances({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
it("cdwdoris.v20211228.ModifyWorkloadGroup", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ModifyWorkloadGroup({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("cdwdoris.v20211228.DescribeInstanceState", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeInstanceState({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("cdwdoris.v20211228.DescribeClusterConfigs", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeClusterConfigs({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
it("cdwdoris.v20211228.DeleteWorkloadGroup", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DeleteWorkloadGroup({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
it("cdwdoris.v20211228.OpenBackUp", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.OpenBackUp({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("cdwdoris.v20211228.DescribeDmsSqlHistory", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeDmsSqlHistory({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
it("cdwdoris.v20211228.DescribeReplicaVersion", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeReplicaVersion({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("cdwdoris.v20211228.DescribeFederationToken", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DescribeFederationToken({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("cdwdoris.v20211228.ModifySecurityGroups", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifySecurityGroups({})
|
|
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
|
+
|
|
331
|
+
it("cdwdoris.v20211228.RecoverBackUpJob", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.RecoverBackUpJob({})
|
|
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
|
+
|
|
341
|
+
it("cdwdoris.v20211228.ReduceInstance", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.ReduceInstance({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("cdwdoris.v20211228.ModifyUserPrivilegesV3", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.ModifyUserPrivilegesV3({})
|
|
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
|
+
|
|
361
|
+
it("cdwdoris.v20211228.DescribeInstanceOperations", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeInstanceOperations({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
it("cdwdoris.v20211228.FitClsLog", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.FitClsLog({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
it("cdwdoris.v20211228.DescribeSqlApis", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeSqlApis({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
391
|
+
it("cdwdoris.v20211228.DescribeBackUpTaskDetail", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.DescribeBackUpTaskDetail({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
401
|
+
it("cdwdoris.v20211228.DescribeInstance", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeInstance({})
|
|
144
404
|
expect(data).to.be.ok
|
|
145
405
|
} catch(error) {
|
|
146
406
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +418,46 @@ it("cdwdoris.v20211228.CreateInstanceNew", async function () {
|
|
|
158
418
|
}
|
|
159
419
|
})
|
|
160
420
|
|
|
421
|
+
it("cdwdoris.v20211228.DescribeGoodsDetail", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.DescribeGoodsDetail({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
431
|
+
it("cdwdoris.v20211228.DescribeDatabaseAuditResource", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.DescribeDatabaseAuditResource({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
441
|
+
it("cdwdoris.v20211228.CancelBackupJob", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.CancelBackupJob({})
|
|
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
|
+
|
|
451
|
+
it("cdwdoris.v20211228.ScaleUpInstance", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.ScaleUpInstance({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
161
461
|
it("cdwdoris.v20211228.ScaleOutInstance", async function () {
|
|
162
462
|
try {
|
|
163
463
|
const data = await client.ScaleOutInstance({})
|
|
@@ -168,6 +468,116 @@ it("cdwdoris.v20211228.ScaleOutInstance", async function () {
|
|
|
168
468
|
}
|
|
169
469
|
})
|
|
170
470
|
|
|
471
|
+
it("cdwdoris.v20211228.DescribeBackUpJobDetail", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.DescribeBackUpJobDetail({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
it("cdwdoris.v20211228.DescribeInstanceNodesRole", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.DescribeInstanceNodesRole({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
491
|
+
it("cdwdoris.v20211228.RestartClusterForConfigs", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.RestartClusterForConfigs({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
501
|
+
it("cdwdoris.v20211228.DescribeSpec", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DescribeSpec({})
|
|
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
|
+
|
|
511
|
+
it("cdwdoris.v20211228.DescribeAreaRegion", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.DescribeAreaRegion({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
521
|
+
it("cdwdoris.v20211228.ResizeDisk", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.ResizeDisk({})
|
|
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
|
+
|
|
531
|
+
it("cdwdoris.v20211228.DescribeInstancesHealthState", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.DescribeInstancesHealthState({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
541
|
+
it("cdwdoris.v20211228.RestartClusterForNode", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.RestartClusterForNode({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
551
|
+
it("cdwdoris.v20211228.DescribeSlowQueryRecordsDownload", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.DescribeSlowQueryRecordsDownload({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
561
|
+
it("cdwdoris.v20211228.DescribeInstanceNodes", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeInstanceNodes({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
571
|
+
it("cdwdoris.v20211228.DescribeWorkloadGroup", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.DescribeWorkloadGroup({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
171
581
|
it("cdwdoris.v20211228.ModifyInstance", async function () {
|
|
172
582
|
try {
|
|
173
583
|
const data = await client.ModifyInstance({})
|
|
@@ -178,9 +588,9 @@ it("cdwdoris.v20211228.ModifyInstance", async function () {
|
|
|
178
588
|
}
|
|
179
589
|
})
|
|
180
590
|
|
|
181
|
-
it("cdwdoris.v20211228.
|
|
591
|
+
it("cdwdoris.v20211228.ModifyInstanceKeyValConfigs", async function () {
|
|
182
592
|
try {
|
|
183
|
-
const data = await client.
|
|
593
|
+
const data = await client.ModifyInstanceKeyValConfigs({})
|
|
184
594
|
expect(data).to.be.ok
|
|
185
595
|
} catch(error) {
|
|
186
596
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("iotexplorer.v20190423.DescribeTopicPolicy", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("iotexplorer.v20190423.
|
|
81
|
+
it("iotexplorer.v20190423.CreateCloudStorageAIService", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.CreateCloudStorageAIService({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -588,6 +588,16 @@ it("iotexplorer.v20190423.DescribeCloudStorageThumbnail", async function () {
|
|
|
588
588
|
}
|
|
589
589
|
})
|
|
590
590
|
|
|
591
|
+
it("iotexplorer.v20190423.ResetCloudStorageAIService", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.ResetCloudStorageAIService({})
|
|
594
|
+
expect(data).to.be.ok
|
|
595
|
+
} catch(error) {
|
|
596
|
+
expect(error.requestId).to.be.ok
|
|
597
|
+
expect(error.code).to.be.ok
|
|
598
|
+
}
|
|
599
|
+
})
|
|
600
|
+
|
|
591
601
|
it("iotexplorer.v20190423.GetWechatDeviceTicket", async function () {
|
|
592
602
|
try {
|
|
593
603
|
const data = await client.GetWechatDeviceTicket({})
|
|
@@ -738,6 +748,16 @@ it("iotexplorer.v20190423.CreatePositionFence", async function () {
|
|
|
738
748
|
}
|
|
739
749
|
})
|
|
740
750
|
|
|
751
|
+
it("iotexplorer.v20190423.ModifyProductCloudStorageAIService", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.ModifyProductCloudStorageAIService({})
|
|
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
|
+
|
|
741
761
|
it("iotexplorer.v20190423.CreateLoRaGateway", async function () {
|
|
742
762
|
try {
|
|
743
763
|
const data = await client.CreateLoRaGateway({})
|
|
@@ -618,6 +618,16 @@ it("organization.v20210331.CreateOrganizationMemberPolicy", async function () {
|
|
|
618
618
|
}
|
|
619
619
|
})
|
|
620
620
|
|
|
621
|
+
it("organization.v20210331.ListOrganizationService", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.ListOrganizationService({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
621
631
|
it("organization.v20210331.ListTargetsForPolicy", async function () {
|
|
622
632
|
try {
|
|
623
633
|
const data = await client.ListTargetsForPolicy({})
|
|
@@ -18,6 +18,46 @@ const client = new tencentcloud.rce.v20201103.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("rce.v20201103.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("rce.v20201103.ModifyNameListData", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyNameListData({})
|
|
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("rce.v20201103.DeleteNameListData", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteNameListData({})
|
|
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("rce.v20201103.DescribeNameListDataList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeNameListDataList({})
|
|
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("rce.v20201103.DescribeNameListDetail", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeNameListDetail({})
|
|
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
|
+
|
|
21
61
|
it("rce.v20201103.ManageMarketingRisk", async function () {
|
|
22
62
|
try {
|
|
23
63
|
const data = await client.ManageMarketingRisk({})
|
|
@@ -28,4 +68,54 @@ it("rce.v20201103.ManageMarketingRisk", async function () {
|
|
|
28
68
|
}
|
|
29
69
|
})
|
|
30
70
|
|
|
71
|
+
it("rce.v20201103.ModifyNameList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyNameList({})
|
|
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("rce.v20201103.CreateNameList", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateNameList({})
|
|
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("rce.v20201103.DeleteNameList", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteNameList({})
|
|
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("rce.v20201103.ImportNameListData", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ImportNameListData({})
|
|
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
|
+
it("rce.v20201103.DescribeNameList", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeNameList({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
31
121
|
})
|