tencentcloud-sdk-nodejs 4.0.359 → 4.0.362
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 +580 -0
- package/SERVICE_CHANGELOG.md +691 -50
- package/package.json +1 -1
- package/products.md +28 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_client.ts +25 -12
- package/src/services/acp/v20220105/acp_models.ts +50 -0
- package/src/services/antiddos/v20200309/antiddos_client.ts +3 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +68 -2
- package/src/services/apigateway/v20180808/apigateway_client.ts +30 -17
- package/src/services/apigateway/v20180808/apigateway_models.ts +74 -22
- package/src/services/cat/v20180409/cat_client.ts +38 -377
- package/src/services/cat/v20180409/cat_models.ts +384 -2402
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/ciam/index.ts +5 -0
- package/src/services/ciam/v20220331/ciam_client.ts +155 -0
- package/src/services/ciam/v20220331/ciam_models.ts +699 -0
- package/src/services/ciam/v20220331/index.ts +6 -0
- package/src/services/cii/v20210408/cii_client.ts +3 -0
- package/src/services/cii/v20210408/cii_models.ts +61 -0
- package/src/services/cvm/v20170312/cvm_models.ts +18 -8
- package/src/services/dlc/v20210125/dlc_client.ts +13 -0
- package/src/services/dlc/v20210125/dlc_models.ts +99 -6
- package/src/services/eis/v20210601/eis_models.ts +39 -0
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/facefusion/v20181201/facefusion_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/live/v20180801/live_client.ts +16 -3
- package/src/services/live/v20180801/live_models.ts +105 -37
- package/src/services/mmps/v20200710/mmps_client.ts +30 -5
- package/src/services/mmps/v20200710/mmps_models.ts +193 -103
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/oceanus/v20190422/oceanus_client.ts +22 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +40 -0
- package/src/services/ocr/v20181119/ocr_client.ts +2 -1
- package/src/services/ocr/v20181119/ocr_models.ts +28 -3
- package/src/services/postgres/v20170312/postgres_models.ts +53 -38
- package/src/services/redis/v20180412/redis_models.ts +10 -0
- package/src/services/ses/v20201002/ses_client.ts +1 -1
- package/src/services/tbaas/v20180416/tbaas_models.ts +1 -1
- package/src/services/teo/v20220106/teo_client.ts +653 -396
- package/src/services/teo/v20220106/teo_models.ts +2869 -567
- package/src/services/tiia/v20190529/tiia_client.ts +34 -11
- package/src/services/tiia/v20190529/tiia_models.ts +70 -14
- package/src/services/vpc/v20170312/vpc_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/v20220105/acp_client.d.ts +9 -5
- package/tencentcloud/services/acp/v20220105/acp_client.js +12 -6
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +43 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +57 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +10 -6
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +13 -7
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +65 -20
- package/tencentcloud/services/cat/v20180409/cat_client.d.ts +9 -117
- package/tencentcloud/services/cat/v20180409/cat_client.js +12 -174
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +348 -2028
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/ciam/index.d.ts +6 -0
- package/tencentcloud/services/ciam/index.js +7 -0
- package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +50 -0
- package/tencentcloud/services/ciam/v20220331/ciam_client.js +91 -0
- package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +579 -0
- package/tencentcloud/services/ciam/v20220331/ciam_models.js +18 -0
- package/tencentcloud/services/ciam/v20220331/index.d.ts +6 -0
- package/tencentcloud/services/ciam/v20220331/index.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +52 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -8
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +85 -6
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +32 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +6 -2
- package/tencentcloud/services/live/v20180801/live_client.js +7 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +91 -32
- package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +9 -1
- package/tencentcloud/services/mmps/v20200710/mmps_client.js +12 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +164 -88
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +15 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +16 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +34 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +24 -3
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +50 -38
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +8 -0
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +199 -123
- package/tencentcloud/services/teo/v20220106/teo_client.js +297 -183
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +2528 -588
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +25 -11
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +26 -10
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +61 -12
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
- package/test/acp.v20220105.test.js +14 -4
- package/test/apigateway.v20180808.test.js +14 -4
- package/test/cat.v20180409.test.js +8 -278
- package/test/ciam.v20220331.test.js +121 -0
- package/test/dlc.v20210125.test.js +10 -0
- package/test/live.v20180801.test.js +10 -0
- package/test/mmps.v20200710.test.js +20 -0
- package/test/oceanus.v20190422.test.js +10 -0
- package/test/teo.v20220106.test.js +312 -122
- package/test/tiia.v20190529.test.js +10 -0
|
@@ -28,166 +28,6 @@ it("cat.v20180409.SuspendProbeTask", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("cat.v20180409.GetRespTimeTrendEx", async function () {
|
|
32
|
-
try {
|
|
33
|
-
const data = await client.GetRespTimeTrendEx({})
|
|
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("cat.v20180409.ModifyAgentGroup", async function () {
|
|
42
|
-
try {
|
|
43
|
-
const data = await client.ModifyAgentGroup({})
|
|
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("cat.v20180409.DescribeTasksByType", async function () {
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.DescribeTasksByType({})
|
|
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("cat.v20180409.VerifyResult", async function () {
|
|
62
|
-
try {
|
|
63
|
-
const data = await client.VerifyResult({})
|
|
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("cat.v20180409.CreateTaskEx", async function () {
|
|
72
|
-
try {
|
|
73
|
-
const data = await client.CreateTaskEx({})
|
|
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("cat.v20180409.PauseTask", async function () {
|
|
82
|
-
try {
|
|
83
|
-
const data = await client.PauseTask({})
|
|
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("cat.v20180409.DescribeAgentGroups", async function () {
|
|
92
|
-
try {
|
|
93
|
-
const data = await client.DescribeAgentGroups({})
|
|
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("cat.v20180409.GetRealAvailRatio", async function () {
|
|
102
|
-
try {
|
|
103
|
-
const data = await client.GetRealAvailRatio({})
|
|
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("cat.v20180409.CreateAgentGroup", async function () {
|
|
112
|
-
try {
|
|
113
|
-
const data = await client.CreateAgentGroup({})
|
|
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
|
-
|
|
121
|
-
it("cat.v20180409.DescribeTaskDetail", async function () {
|
|
122
|
-
try {
|
|
123
|
-
const data = await client.DescribeTaskDetail({})
|
|
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
|
-
|
|
131
|
-
it("cat.v20180409.CreateProbeTasks", async function () {
|
|
132
|
-
try {
|
|
133
|
-
const data = await client.CreateProbeTasks({})
|
|
134
|
-
expect(data).to.be.ok
|
|
135
|
-
} catch(error) {
|
|
136
|
-
expect(error.requestId).to.be.ok
|
|
137
|
-
expect(error.code).to.be.ok
|
|
138
|
-
}
|
|
139
|
-
})
|
|
140
|
-
|
|
141
|
-
it("cat.v20180409.DescribeAlarmTopic", async function () {
|
|
142
|
-
try {
|
|
143
|
-
const data = await client.DescribeAlarmTopic({})
|
|
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
|
-
|
|
151
|
-
it("cat.v20180409.DescribeAlarms", async function () {
|
|
152
|
-
try {
|
|
153
|
-
const data = await client.DescribeAlarms({})
|
|
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
|
-
|
|
161
|
-
it("cat.v20180409.GetReturnCodeHistory", async function () {
|
|
162
|
-
try {
|
|
163
|
-
const data = await client.GetReturnCodeHistory({})
|
|
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("cat.v20180409.DeleteTasks", async function () {
|
|
172
|
-
try {
|
|
173
|
-
const data = await client.DeleteTasks({})
|
|
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("cat.v20180409.GetDailyAvailRatio", async function () {
|
|
182
|
-
try {
|
|
183
|
-
const data = await client.GetDailyAvailRatio({})
|
|
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
31
|
it("cat.v20180409.DescribeProbeMetricData", async function () {
|
|
192
32
|
try {
|
|
193
33
|
const data = await client.DescribeProbeMetricData({})
|
|
@@ -198,86 +38,6 @@ it("cat.v20180409.DescribeProbeMetricData", async function () {
|
|
|
198
38
|
}
|
|
199
39
|
})
|
|
200
40
|
|
|
201
|
-
it("cat.v20180409.ResumeProbeTask", async function () {
|
|
202
|
-
try {
|
|
203
|
-
const data = await client.ResumeProbeTask({})
|
|
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("cat.v20180409.ModifyTaskEx", async function () {
|
|
212
|
-
try {
|
|
213
|
-
const data = await client.ModifyTaskEx({})
|
|
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("cat.v20180409.DescribeAgents", async function () {
|
|
222
|
-
try {
|
|
223
|
-
const data = await client.DescribeAgents({})
|
|
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("cat.v20180409.DescribeUserLimit", async function () {
|
|
232
|
-
try {
|
|
233
|
-
const data = await client.DescribeUserLimit({})
|
|
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("cat.v20180409.DescribeCatLogs", async function () {
|
|
242
|
-
try {
|
|
243
|
-
const data = await client.DescribeCatLogs({})
|
|
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("cat.v20180409.UpdateProbeTaskConfigurationList", async function () {
|
|
252
|
-
try {
|
|
253
|
-
const data = await client.UpdateProbeTaskConfigurationList({})
|
|
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("cat.v20180409.DescribeDetailedSingleProbeData", async function () {
|
|
262
|
-
try {
|
|
263
|
-
const data = await client.DescribeDetailedSingleProbeData({})
|
|
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("cat.v20180409.BindAlarmPolicy", async function () {
|
|
272
|
-
try {
|
|
273
|
-
const data = await client.BindAlarmPolicy({})
|
|
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
41
|
it("cat.v20180409.DescribeProbeTasks", async function () {
|
|
282
42
|
try {
|
|
283
43
|
const data = await client.DescribeProbeTasks({})
|
|
@@ -288,39 +48,9 @@ it("cat.v20180409.DescribeProbeTasks", async function () {
|
|
|
288
48
|
}
|
|
289
49
|
})
|
|
290
50
|
|
|
291
|
-
it("cat.v20180409.
|
|
292
|
-
try {
|
|
293
|
-
const data = await client.GetResultSummary({})
|
|
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("cat.v20180409.DeleteAgentGroup", async function () {
|
|
302
|
-
try {
|
|
303
|
-
const data = await client.DeleteAgentGroup({})
|
|
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("cat.v20180409.GetAvailRatioHistory", async function () {
|
|
312
|
-
try {
|
|
313
|
-
const data = await client.GetAvailRatioHistory({})
|
|
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("cat.v20180409.RunTask", async function () {
|
|
51
|
+
it("cat.v20180409.UpdateProbeTaskConfigurationList", async function () {
|
|
322
52
|
try {
|
|
323
|
-
const data = await client.
|
|
53
|
+
const data = await client.UpdateProbeTaskConfigurationList({})
|
|
324
54
|
expect(data).to.be.ok
|
|
325
55
|
} catch(error) {
|
|
326
56
|
expect(error.requestId).to.be.ok
|
|
@@ -338,9 +68,9 @@ it("cat.v20180409.DescribeProbeNodes", async function () {
|
|
|
338
68
|
}
|
|
339
69
|
})
|
|
340
70
|
|
|
341
|
-
it("cat.v20180409.
|
|
71
|
+
it("cat.v20180409.CreateProbeTasks", async function () {
|
|
342
72
|
try {
|
|
343
|
-
const data = await client.
|
|
73
|
+
const data = await client.CreateProbeTasks({})
|
|
344
74
|
expect(data).to.be.ok
|
|
345
75
|
} catch(error) {
|
|
346
76
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +78,9 @@ it("cat.v20180409.GetReturnCodeInfo", async function () {
|
|
|
348
78
|
}
|
|
349
79
|
})
|
|
350
80
|
|
|
351
|
-
it("cat.v20180409.
|
|
81
|
+
it("cat.v20180409.DescribeDetailedSingleProbeData", async function () {
|
|
352
82
|
try {
|
|
353
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeDetailedSingleProbeData({})
|
|
354
84
|
expect(data).to.be.ok
|
|
355
85
|
} catch(error) {
|
|
356
86
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +98,9 @@ it("cat.v20180409.DeleteProbeTask", async function () {
|
|
|
368
98
|
}
|
|
369
99
|
})
|
|
370
100
|
|
|
371
|
-
it("cat.v20180409.
|
|
101
|
+
it("cat.v20180409.ResumeProbeTask", async function () {
|
|
372
102
|
try {
|
|
373
|
-
const data = await client.
|
|
103
|
+
const data = await client.ResumeProbeTask({})
|
|
374
104
|
expect(data).to.be.ok
|
|
375
105
|
} catch(error) {
|
|
376
106
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.ciam.v20220331.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("ciam.v20220331.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("ciam.v20220331.DeleteUsers", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteUsers({})
|
|
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("ciam.v20220331.UpdateUser", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.UpdateUser({})
|
|
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("ciam.v20220331.ListUser", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ListUser({})
|
|
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("ciam.v20220331.UpdateUserStatus", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.UpdateUserStatus({})
|
|
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("ciam.v20220331.ListUserByProperty", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ListUserByProperty({})
|
|
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("ciam.v20220331.DescribeUserById", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeUserById({})
|
|
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("ciam.v20220331.CreateUser", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateUser({})
|
|
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("ciam.v20220331.SetPassword", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.SetPassword({})
|
|
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("ciam.v20220331.LinkAccount", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.LinkAccount({})
|
|
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("ciam.v20220331.ResetPassword", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ResetPassword({})
|
|
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
|
+
|
|
121
|
+
})
|
|
@@ -178,6 +178,16 @@ it("dlc.v20210125.CreateWorkGroup", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("dlc.v20210125.ListTaskJobLogDetail", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ListTaskJobLogDetail({})
|
|
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
|
+
|
|
181
191
|
it("dlc.v20210125.UnbindWorkGroupsFromUser", async function () {
|
|
182
192
|
try {
|
|
183
193
|
const data = await client.UnbindWorkGroupsFromUser({})
|
|
@@ -878,6 +878,16 @@ it("live.v20180801.DescribePlayErrorCodeDetailInfoList", async function () {
|
|
|
878
878
|
}
|
|
879
879
|
})
|
|
880
880
|
|
|
881
|
+
it("live.v20180801.DescribeLiveTimeShiftBillInfoList", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.DescribeLiveTimeShiftBillInfoList({})
|
|
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
|
+
|
|
881
891
|
it("live.v20180801.DescribeLiveStreamPublishedList", async function () {
|
|
882
892
|
try {
|
|
883
893
|
const data = await client.DescribeLiveStreamPublishedList({})
|
|
@@ -58,6 +58,16 @@ it("mmps.v20200710.DescribeFlySecMiniAppScanTaskStatus", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("mmps.v20200710.DescribeResourceUsageInfo", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeResourceUsageInfo({})
|
|
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
|
+
|
|
61
71
|
it("mmps.v20200710.CreateFlySecMiniAppScanTask", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.CreateFlySecMiniAppScanTask({})
|
|
@@ -108,6 +118,16 @@ it("mmps.v20200710.DescribeScanTaskStatus", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
121
|
+
it("mmps.v20200710.DescribeBasicDiagnosisResourceUsageInfo", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeBasicDiagnosisResourceUsageInfo({})
|
|
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
|
+
|
|
111
131
|
it("mmps.v20200710.CreateAppScanTaskRepeat", async function () {
|
|
112
132
|
try {
|
|
113
133
|
const data = await client.CreateAppScanTaskRepeat({})
|
|
@@ -128,6 +128,16 @@ it("oceanus.v20190422.DescribeSystemResources", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("oceanus.v20190422.ModifyJob", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ModifyJob({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("oceanus.v20190422.DeleteResourceConfigs", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DeleteResourceConfigs({})
|