tencentcloud-sdk-nodejs 4.0.367 → 4.0.370
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 +438 -0
- package/SERVICE_CHANGELOG.md +388 -57
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +12 -0
- package/src/services/cii/v20210408/cii_models.ts +5 -0
- package/src/services/cme/v20191029/cme_client.ts +3 -1
- package/src/services/cme/v20191029/cme_models.ts +21 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +18 -6
- package/src/services/cwp/v20180228/cwp_client.ts +1 -0
- package/src/services/cwp/v20180228/cwp_models.ts +38 -2
- package/src/services/dnspod/v20210323/dnspod_client.ts +75 -26
- package/src/services/dnspod/v20210323/dnspod_models.ts +184 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
- package/src/services/mmps/v20200710/mmps_models.ts +6 -0
- package/src/services/monitor/v20180724/monitor_client.ts +333 -52
- package/src/services/monitor/v20180724/monitor_models.ts +1493 -447
- package/src/services/mrs/v20200910/mrs_client.ts +1 -0
- package/src/services/mrs/v20200910/mrs_models.ts +65 -0
- package/src/services/ocr/v20181119/ocr_models.ts +11 -10
- package/src/services/postgres/v20170312/postgres_models.ts +2 -2
- package/src/services/tcbr/v20220217/tcbr_client.ts +21 -7
- package/src/services/tcbr/v20220217/tcbr_models.ts +184 -16
- package/src/services/teo/v20220106/teo_client.ts +4 -3
- package/src/services/teo/v20220106/teo_models.ts +135 -108
- package/src/services/tke/v20180525/tke_client.ts +13 -1
- package/src/services/tke/v20180525/tke_models.ts +63 -8
- package/src/services/vod/v20180717/vod_models.ts +16 -15
- package/src/services/vpc/v20170312/vpc_client.ts +2 -0
- package/src/services/vpc/v20170312/vpc_models.ts +111 -6
- package/src/services/waf/v20180125/waf_client.ts +37 -20
- package/src/services/waf/v20180125/waf_models.ts +435 -129
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +4 -0
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +2 -1
- package/tencentcloud/services/cme/v20191029/cme_client.js +2 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +16 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -2
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +26 -10
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +37 -13
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +159 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +106 -14
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +155 -17
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1316 -413
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +55 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +11 -10
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +2 -2
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +7 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +9 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +153 -14
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +114 -91
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +54 -8
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -12
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +92 -6
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +363 -108
- package/test/dnspod.v20210323.test.js +48 -8
- package/test/monitor.v20180724.test.js +238 -8
- package/test/tcbr.v20220217.test.js +12 -2
- package/test/tke.v20180525.test.js +10 -0
- package/test/waf.v20180125.test.js +14 -4
|
@@ -48,9 +48,9 @@ it("dnspod.v20210323.ModifySubdomainStatus", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("dnspod.v20210323.
|
|
51
|
+
it("dnspod.v20210323.DescribeRecordType", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DescribeRecordType({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -88,6 +88,16 @@ it("dnspod.v20210323.ModifyRecordStatus", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("dnspod.v20210323.ModifyVasAutoRenewStatus", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyVasAutoRenewStatus({})
|
|
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
|
+
|
|
91
101
|
it("dnspod.v20210323.ModifyDomainStatus", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.ModifyDomainStatus({})
|
|
@@ -128,6 +138,16 @@ it("dnspod.v20210323.DescribeDomainShareInfo", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
141
|
+
it("dnspod.v20210323.CreateDeal", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateDeal({})
|
|
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
|
+
|
|
131
151
|
it("dnspod.v20210323.DeleteShareDomain", async function () {
|
|
132
152
|
try {
|
|
133
153
|
const data = await client.DeleteShareDomain({})
|
|
@@ -158,9 +178,9 @@ it("dnspod.v20210323.ModifyDynamicDNS", async function () {
|
|
|
158
178
|
}
|
|
159
179
|
})
|
|
160
180
|
|
|
161
|
-
it("dnspod.v20210323.
|
|
181
|
+
it("dnspod.v20210323.CreateRecordBatch", async function () {
|
|
162
182
|
try {
|
|
163
|
-
const data = await client.
|
|
183
|
+
const data = await client.CreateRecordBatch({})
|
|
164
184
|
expect(data).to.be.ok
|
|
165
185
|
} catch(error) {
|
|
166
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +198,9 @@ it("dnspod.v20210323.DescribeUserDetail", async function () {
|
|
|
178
198
|
}
|
|
179
199
|
})
|
|
180
200
|
|
|
181
|
-
it("dnspod.v20210323.
|
|
201
|
+
it("dnspod.v20210323.DeleteRecord", async function () {
|
|
182
202
|
try {
|
|
183
|
-
const data = await client.
|
|
203
|
+
const data = await client.DeleteRecord({})
|
|
184
204
|
expect(data).to.be.ok
|
|
185
205
|
} catch(error) {
|
|
186
206
|
expect(error.requestId).to.be.ok
|
|
@@ -218,6 +238,16 @@ it("dnspod.v20210323.DescribeDomainAnalytics", async function () {
|
|
|
218
238
|
}
|
|
219
239
|
})
|
|
220
240
|
|
|
241
|
+
it("dnspod.v20210323.ModifyPackageAutoRenew", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ModifyPackageAutoRenew({})
|
|
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
|
+
|
|
221
251
|
it("dnspod.v20210323.ModifyRecordRemark", async function () {
|
|
222
252
|
try {
|
|
223
253
|
const data = await client.ModifyRecordRemark({})
|
|
@@ -298,9 +328,19 @@ it("dnspod.v20210323.DescribeBatchTask", async function () {
|
|
|
298
328
|
}
|
|
299
329
|
})
|
|
300
330
|
|
|
301
|
-
it("dnspod.v20210323.
|
|
331
|
+
it("dnspod.v20210323.CreateDomain", async function () {
|
|
302
332
|
try {
|
|
303
|
-
const data = await client.
|
|
333
|
+
const data = await client.CreateDomain({})
|
|
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("dnspod.v20210323.PayOrderWithBalance", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.PayOrderWithBalance({})
|
|
304
344
|
expect(data).to.be.ok
|
|
305
345
|
} catch(error) {
|
|
306
346
|
expect(error.requestId).to.be.ok
|
|
@@ -88,6 +88,16 @@ it("monitor.v20180724.DescribeBindingPolicyObjectList", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("monitor.v20180724.DescribePrometheusScrapeJobs", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribePrometheusScrapeJobs({})
|
|
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
|
+
|
|
91
101
|
it("monitor.v20180724.ModifyAlarmPolicyNotice", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.ModifyAlarmPolicyNotice({})
|
|
@@ -108,6 +118,16 @@ it("monitor.v20180724.DeleteServiceDiscovery", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
121
|
+
it("monitor.v20180724.UninstallGrafanaDashboard", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.UninstallGrafanaDashboard({})
|
|
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("monitor.v20180724.DescribePolicyGroupList", async function () {
|
|
112
132
|
try {
|
|
113
133
|
const data = await client.DescribePolicyGroupList({})
|
|
@@ -118,6 +138,16 @@ it("monitor.v20180724.DescribePolicyGroupList", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
141
|
+
it("monitor.v20180724.ModifyPrometheusInstanceAttributes", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyPrometheusInstanceAttributes({})
|
|
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
|
+
|
|
121
151
|
it("monitor.v20180724.DeleteAlarmPolicy", async function () {
|
|
122
152
|
try {
|
|
123
153
|
const data = await client.DeleteAlarmPolicy({})
|
|
@@ -148,6 +178,16 @@ it("monitor.v20180724.ModifyAlarmPolicyTasks", async function () {
|
|
|
148
178
|
}
|
|
149
179
|
})
|
|
150
180
|
|
|
181
|
+
it("monitor.v20180724.DescribePrometheusInstances", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribePrometheusInstances({})
|
|
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
|
+
|
|
151
191
|
it("monitor.v20180724.DescribePolicyConditionList", async function () {
|
|
152
192
|
try {
|
|
153
193
|
const data = await client.DescribePolicyConditionList({})
|
|
@@ -178,6 +218,16 @@ it("monitor.v20180724.DescribeBasicAlarmList", async function () {
|
|
|
178
218
|
}
|
|
179
219
|
})
|
|
180
220
|
|
|
221
|
+
it("monitor.v20180724.CreatePrometheusAgent", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.CreatePrometheusAgent({})
|
|
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
|
+
|
|
181
231
|
it("monitor.v20180724.BindingPolicyObject", async function () {
|
|
182
232
|
try {
|
|
183
233
|
const data = await client.BindingPolicyObject({})
|
|
@@ -218,6 +268,36 @@ it("monitor.v20180724.UpdateAlertRuleState", async function () {
|
|
|
218
268
|
}
|
|
219
269
|
})
|
|
220
270
|
|
|
271
|
+
it("monitor.v20180724.UpdateExporterIntegration", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.UpdateExporterIntegration({})
|
|
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("monitor.v20180724.UpdatePrometheusScrapeJob", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.UpdatePrometheusScrapeJob({})
|
|
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("monitor.v20180724.UnbindPrometheusManagedGrafana", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.UnbindPrometheusManagedGrafana({})
|
|
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
|
+
|
|
221
301
|
it("monitor.v20180724.CreateAlarmPolicy", async function () {
|
|
222
302
|
try {
|
|
223
303
|
const data = await client.CreateAlarmPolicy({})
|
|
@@ -248,6 +328,16 @@ it("monitor.v20180724.DescribeProductList", async function () {
|
|
|
248
328
|
}
|
|
249
329
|
})
|
|
250
330
|
|
|
331
|
+
it("monitor.v20180724.DescribeExporterIntegrations", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DescribeExporterIntegrations({})
|
|
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
|
+
|
|
251
341
|
it("monitor.v20180724.DescribeAllNamespaces", async function () {
|
|
252
342
|
try {
|
|
253
343
|
const data = await client.DescribeAllNamespaces({})
|
|
@@ -268,6 +358,16 @@ it("monitor.v20180724.CreateServiceDiscovery", async function () {
|
|
|
268
358
|
}
|
|
269
359
|
})
|
|
270
360
|
|
|
361
|
+
it("monitor.v20180724.UnBindingAllPolicyObject", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.UnBindingAllPolicyObject({})
|
|
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
|
+
|
|
271
371
|
it("monitor.v20180724.DescribeStatisticData", async function () {
|
|
272
372
|
try {
|
|
273
373
|
const data = await client.DescribeStatisticData({})
|
|
@@ -278,6 +378,26 @@ it("monitor.v20180724.DescribeStatisticData", async function () {
|
|
|
278
378
|
}
|
|
279
379
|
})
|
|
280
380
|
|
|
381
|
+
it("monitor.v20180724.UpgradeGrafanaDashboard", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.UpgradeGrafanaDashboard({})
|
|
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("monitor.v20180724.BindPrometheusManagedGrafana", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.BindPrometheusManagedGrafana({})
|
|
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
|
+
|
|
281
401
|
it("monitor.v20180724.DescribeAlarmNotices", async function () {
|
|
282
402
|
try {
|
|
283
403
|
const data = await client.DescribeAlarmNotices({})
|
|
@@ -328,9 +448,9 @@ it("monitor.v20180724.ModifyAlarmReceivers", async function () {
|
|
|
328
448
|
}
|
|
329
449
|
})
|
|
330
450
|
|
|
331
|
-
it("monitor.v20180724.
|
|
451
|
+
it("monitor.v20180724.DestroyPrometheusInstance", async function () {
|
|
332
452
|
try {
|
|
333
|
-
const data = await client.
|
|
453
|
+
const data = await client.DestroyPrometheusInstance({})
|
|
334
454
|
expect(data).to.be.ok
|
|
335
455
|
} catch(error) {
|
|
336
456
|
expect(error.requestId).to.be.ok
|
|
@@ -348,6 +468,16 @@ it("monitor.v20180724.DeletePolicyGroup", async function () {
|
|
|
348
468
|
}
|
|
349
469
|
})
|
|
350
470
|
|
|
471
|
+
it("monitor.v20180724.GetPrometheusAgentManagementCommand", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.GetPrometheusAgentManagementCommand({})
|
|
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
|
+
|
|
351
481
|
it("monitor.v20180724.UpdateServiceDiscovery", async function () {
|
|
352
482
|
try {
|
|
353
483
|
const data = await client.UpdateServiceDiscovery({})
|
|
@@ -358,6 +488,16 @@ it("monitor.v20180724.UpdateServiceDiscovery", async function () {
|
|
|
358
488
|
}
|
|
359
489
|
})
|
|
360
490
|
|
|
491
|
+
it("monitor.v20180724.ModifyAlarmNotice", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.ModifyAlarmNotice({})
|
|
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
|
+
|
|
361
501
|
it("monitor.v20180724.DescribeMonitorTypes", async function () {
|
|
362
502
|
try {
|
|
363
503
|
const data = await client.DescribeMonitorTypes({})
|
|
@@ -378,9 +518,19 @@ it("monitor.v20180724.UpdateAlertRule", async function () {
|
|
|
378
518
|
}
|
|
379
519
|
})
|
|
380
520
|
|
|
381
|
-
it("monitor.v20180724.
|
|
521
|
+
it("monitor.v20180724.CreateExporterIntegration", async function () {
|
|
382
522
|
try {
|
|
383
|
-
const data = await client.
|
|
523
|
+
const data = await client.CreateExporterIntegration({})
|
|
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("monitor.v20180724.DeleteRecordingRules", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.DeleteRecordingRules({})
|
|
384
534
|
expect(data).to.be.ok
|
|
385
535
|
} catch(error) {
|
|
386
536
|
expect(error.requestId).to.be.ok
|
|
@@ -398,6 +548,26 @@ it("monitor.v20180724.CreatePolicyGroup", async function () {
|
|
|
398
548
|
}
|
|
399
549
|
})
|
|
400
550
|
|
|
551
|
+
it("monitor.v20180724.TerminatePrometheusInstances", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.TerminatePrometheusInstances({})
|
|
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("monitor.v20180724.DeletePrometheusScrapeJobs", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DeletePrometheusScrapeJobs({})
|
|
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
|
+
|
|
401
571
|
it("monitor.v20180724.DescribeProductEventList", async function () {
|
|
402
572
|
try {
|
|
403
573
|
const data = await client.DescribeProductEventList({})
|
|
@@ -448,9 +618,29 @@ it("monitor.v20180724.DescribeAlarmMetrics", async function () {
|
|
|
448
618
|
}
|
|
449
619
|
})
|
|
450
620
|
|
|
451
|
-
it("monitor.v20180724.
|
|
621
|
+
it("monitor.v20180724.SetDefaultAlarmPolicy", async function () {
|
|
452
622
|
try {
|
|
453
|
-
const data = await client.
|
|
623
|
+
const data = await client.SetDefaultAlarmPolicy({})
|
|
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
|
+
|
|
631
|
+
it("monitor.v20180724.DescribeRecordingRules", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.DescribeRecordingRules({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
641
|
+
it("monitor.v20180724.DeleteExporterIntegration", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.DeleteExporterIntegration({})
|
|
454
644
|
expect(data).to.be.ok
|
|
455
645
|
} catch(error) {
|
|
456
646
|
expect(error.requestId).to.be.ok
|
|
@@ -488,6 +678,16 @@ it("monitor.v20180724.DescribeAlarmEvents", async function () {
|
|
|
488
678
|
}
|
|
489
679
|
})
|
|
490
680
|
|
|
681
|
+
it("monitor.v20180724.UpdatePrometheusAgentStatus", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.UpdatePrometheusAgentStatus({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
491
691
|
it("monitor.v20180724.DeleteAlarmNotices", async function () {
|
|
492
692
|
try {
|
|
493
693
|
const data = await client.DeleteAlarmNotices({})
|
|
@@ -498,6 +698,16 @@ it("monitor.v20180724.DeleteAlarmNotices", async function () {
|
|
|
498
698
|
}
|
|
499
699
|
})
|
|
500
700
|
|
|
701
|
+
it("monitor.v20180724.UpdateRecordingRule", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.UpdateRecordingRule({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
501
711
|
it("monitor.v20180724.DescribeServiceDiscovery", async function () {
|
|
502
712
|
try {
|
|
503
713
|
const data = await client.DescribeServiceDiscovery({})
|
|
@@ -508,9 +718,9 @@ it("monitor.v20180724.DescribeServiceDiscovery", async function () {
|
|
|
508
718
|
}
|
|
509
719
|
})
|
|
510
720
|
|
|
511
|
-
it("monitor.v20180724.
|
|
721
|
+
it("monitor.v20180724.CreateRecordingRule", async function () {
|
|
512
722
|
try {
|
|
513
|
-
const data = await client.
|
|
723
|
+
const data = await client.CreateRecordingRule({})
|
|
514
724
|
expect(data).to.be.ok
|
|
515
725
|
} catch(error) {
|
|
516
726
|
expect(error.requestId).to.be.ok
|
|
@@ -548,4 +758,24 @@ it("monitor.v20180724.DescribeAlarmPolicy", async function () {
|
|
|
548
758
|
}
|
|
549
759
|
})
|
|
550
760
|
|
|
761
|
+
it("monitor.v20180724.CreatePrometheusScrapeJob", async function () {
|
|
762
|
+
try {
|
|
763
|
+
const data = await client.CreatePrometheusScrapeJob({})
|
|
764
|
+
expect(data).to.be.ok
|
|
765
|
+
} catch(error) {
|
|
766
|
+
expect(error.requestId).to.be.ok
|
|
767
|
+
expect(error.code).to.be.ok
|
|
768
|
+
}
|
|
769
|
+
})
|
|
770
|
+
|
|
771
|
+
it("monitor.v20180724.DescribePrometheusAgents", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.DescribePrometheusAgents({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
551
781
|
})
|
|
@@ -28,9 +28,9 @@ it("tcbr.v20220217.CreateCloudRunServer", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tcbr.v20220217.
|
|
31
|
+
it("tcbr.v20220217.DescribeServerManageTask", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeServerManageTask({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -68,6 +68,16 @@ it("tcbr.v20220217.ReleaseGray", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("tcbr.v20220217.UpdateCloudRunServer", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UpdateCloudRunServer({})
|
|
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
|
+
|
|
71
81
|
it("tcbr.v20220217.CreateCloudRunEnv", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.CreateCloudRunEnv({})
|
|
@@ -1388,6 +1388,16 @@ it("tke.v20180525.EnableClusterDeletionProtection", async function () {
|
|
|
1388
1388
|
}
|
|
1389
1389
|
})
|
|
1390
1390
|
|
|
1391
|
+
it("tke.v20180525.ForwardTKEEdgeApplicationRequestV3", async function () {
|
|
1392
|
+
try {
|
|
1393
|
+
const data = await client.ForwardTKEEdgeApplicationRequestV3({})
|
|
1394
|
+
expect(data).to.be.ok
|
|
1395
|
+
} catch(error) {
|
|
1396
|
+
expect(error.requestId).to.be.ok
|
|
1397
|
+
expect(error.code).to.be.ok
|
|
1398
|
+
}
|
|
1399
|
+
})
|
|
1400
|
+
|
|
1391
1401
|
it("tke.v20180525.SyncPrometheusTemplate", async function () {
|
|
1392
1402
|
try {
|
|
1393
1403
|
const data = await client.SyncPrometheusTemplate({})
|
|
@@ -98,6 +98,16 @@ it("waf.v20180125.CreateAccessExport", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("waf.v20180125.DescribeInstances", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeInstances({})
|
|
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
|
+
|
|
101
111
|
it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DeleteIpAccessControl({})
|
|
@@ -138,9 +148,9 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
141
|
-
it("waf.v20180125.
|
|
151
|
+
it("waf.v20180125.DescribeUserClbWafRegions", async function () {
|
|
142
152
|
try {
|
|
143
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeUserClbWafRegions({})
|
|
144
154
|
expect(data).to.be.ok
|
|
145
155
|
} catch(error) {
|
|
146
156
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +238,9 @@ it("waf.v20180125.ModifyWafAutoDenyRules", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
231
|
-
it("waf.v20180125.
|
|
241
|
+
it("waf.v20180125.CreateAttackDownloadTask", async function () {
|
|
232
242
|
try {
|
|
233
|
-
const data = await client.
|
|
243
|
+
const data = await client.CreateAttackDownloadTask({})
|
|
234
244
|
expect(data).to.be.ok
|
|
235
245
|
} catch(error) {
|
|
236
246
|
expect(error.requestId).to.be.ok
|