tencentcloud-sdk-nodejs 4.0.843 → 4.0.845
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 +293 -0
- package/SERVICE_CHANGELOG.md +256 -133
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +4 -3
- package/src/services/cls/v20201016/cls_client.ts +93 -33
- package/src/services/cls/v20201016/cls_models.ts +252 -133
- package/src/services/dlc/v20210125/dlc_models.ts +8 -3
- package/src/services/domain/v20180808/domain_client.ts +13 -1
- package/src/services/domain/v20180808/domain_models.ts +36 -4
- package/src/services/dts/v20211206/dts_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +25 -8
- package/src/services/ess/v20201111/ess_models.ts +59 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +6 -2
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +12 -10
- package/src/services/ims/v20201229/ims_client.ts +1 -1
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -0
- package/src/services/lke/v20231130/lke_client.ts +27 -1
- package/src/services/lke/v20231130/lke_models.ts +238 -3
- package/src/services/ocr/v20181119/ocr_client.ts +22 -7
- package/src/services/ocr/v20181119/ocr_models.ts +346 -259
- package/src/services/rce/v20201103/rce_models.ts +10 -5
- package/src/services/rum/v20210622/rum_models.ts +33 -33
- package/src/services/tdmq/v20200217/tdmq_models.ts +6 -6
- package/src/services/teo/v20220901/teo_client.ts +104 -17
- package/src/services/teo/v20220901/teo_models.ts +257 -45
- package/src/services/tione/v20191022/tione_models.ts +1 -1
- package/src/services/tms/v20201229/tms_client.ts +13 -1
- package/src/services/tms/v20201229/tms_models.ts +40 -16
- package/src/services/tse/v20201207/tse_client.ts +3 -2
- package/src/services/tse/v20201207/tse_models.ts +37 -13
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +4 -3
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +31 -11
- package/tencentcloud/services/cls/v20201016/cls_client.js +45 -15
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +242 -133
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +8 -3
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +34 -4
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +14 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +56 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +6 -2
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +6 -2
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +12 -10
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -0
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +9 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +12 -0
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +232 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +341 -257
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +10 -5
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +33 -33
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +6 -6
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +42 -5
- package/tencentcloud/services/teo/v20220901/teo_client.js +55 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +241 -43
- package/tencentcloud/services/tione/v20191022/tione_models.d.ts +1 -1
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +5 -1
- package/tencentcloud/services/tms/v20201229/tms_client.js +6 -0
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +38 -16
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +36 -13
- package/test/cls.v20201016.test.js +66 -16
- package/test/domain.v20180808.test.js +10 -0
- package/test/ess.v20201111.test.js +12 -2
- package/test/lke.v20231130.test.js +20 -0
- package/test/ocr.v20181119.test.js +10 -0
- package/test/teo.v20220901.test.js +64 -4
- package/test/tms.v20201229.test.js +10 -0
|
@@ -720,6 +720,19 @@ export interface QpsThreshold {
|
|
|
720
720
|
*/
|
|
721
721
|
Max: number;
|
|
722
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* DescribeCloudNativeAPIGatewayConfig返回参数结构体
|
|
725
|
+
*/
|
|
726
|
+
export interface DescribeCloudNativeAPIGatewayConfigResponse {
|
|
727
|
+
/**
|
|
728
|
+
* 获取云原生API网关响应结果。
|
|
729
|
+
*/
|
|
730
|
+
Result?: DescribeCloudNativeAPIGatewayConfigResult;
|
|
731
|
+
/**
|
|
732
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
733
|
+
*/
|
|
734
|
+
RequestId?: string;
|
|
735
|
+
}
|
|
723
736
|
/**
|
|
724
737
|
* ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
|
725
738
|
*/
|
|
@@ -2772,17 +2785,17 @@ export interface KongPassiveHealthCheck {
|
|
|
2772
2785
|
Type?: string;
|
|
2773
2786
|
}
|
|
2774
2787
|
/**
|
|
2775
|
-
*
|
|
2788
|
+
* CreateGovernanceServices请求参数结构体
|
|
2776
2789
|
*/
|
|
2777
|
-
export interface
|
|
2790
|
+
export interface CreateGovernanceServicesRequest {
|
|
2778
2791
|
/**
|
|
2779
|
-
*
|
|
2792
|
+
* tse 实例 id。
|
|
2780
2793
|
*/
|
|
2781
|
-
|
|
2794
|
+
InstanceId: string;
|
|
2782
2795
|
/**
|
|
2783
|
-
*
|
|
2796
|
+
* 服务信息。
|
|
2784
2797
|
*/
|
|
2785
|
-
|
|
2798
|
+
GovernanceServices: Array<GovernanceServiceInput>;
|
|
2786
2799
|
}
|
|
2787
2800
|
/**
|
|
2788
2801
|
* DescribeCloudNativeAPIGateway请求参数结构体
|
|
@@ -4098,17 +4111,17 @@ export interface DescribeGovernanceServicesResponse {
|
|
|
4098
4111
|
RequestId?: string;
|
|
4099
4112
|
}
|
|
4100
4113
|
/**
|
|
4101
|
-
*
|
|
4114
|
+
* 云原生网关限流插件参数限流的精确Qps阈值
|
|
4102
4115
|
*/
|
|
4103
|
-
export interface
|
|
4116
|
+
export interface AccurateQpsThreshold {
|
|
4104
4117
|
/**
|
|
4105
|
-
*
|
|
4118
|
+
* qps阈值控制维度,包含:second、minute、hour、day、month、year
|
|
4106
4119
|
*/
|
|
4107
|
-
|
|
4120
|
+
Unit: string;
|
|
4108
4121
|
/**
|
|
4109
|
-
*
|
|
4122
|
+
* 全局配置ID
|
|
4110
4123
|
*/
|
|
4111
|
-
|
|
4124
|
+
GlobalConfigId: string;
|
|
4112
4125
|
}
|
|
4113
4126
|
/**
|
|
4114
4127
|
* CreateGovernanceNamespaces返回参数结构体
|
|
@@ -5830,6 +5843,11 @@ export interface LimitRule {
|
|
|
5830
5843
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5831
5844
|
*/
|
|
5832
5845
|
QpsThresholds?: Array<QpsThreshold>;
|
|
5846
|
+
/**
|
|
5847
|
+
* 精确限流阈值
|
|
5848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5849
|
+
*/
|
|
5850
|
+
AccurateQpsThresholds?: Array<AccurateQpsThreshold>;
|
|
5833
5851
|
}
|
|
5834
5852
|
/**
|
|
5835
5853
|
* CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
|
@@ -7316,6 +7334,10 @@ export interface CreateEngineRequest {
|
|
|
7316
7334
|
如果只有一个磁盘,storageCapacity与storageOption里面的capacity应该一致
|
|
7317
7335
|
*/
|
|
7318
7336
|
StorageOption?: Array<StorageOption>;
|
|
7337
|
+
/**
|
|
7338
|
+
* ZK引擎实例,可用区分布约束,STRICT:强约束,PERMISSIVE: 弱约束
|
|
7339
|
+
*/
|
|
7340
|
+
AffinityConstraint?: string;
|
|
7319
7341
|
}
|
|
7320
7342
|
/**
|
|
7321
7343
|
* ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
|
|
@@ -7677,7 +7699,8 @@ export interface EngineRegionInfo {
|
|
|
7677
7699
|
*/
|
|
7678
7700
|
VpcInfos: Array<VpcInfo>;
|
|
7679
7701
|
/**
|
|
7680
|
-
* 是否为主地域
|
|
7702
|
+
* Polaris: 是否为主地域
|
|
7703
|
+
Zookeeper: 是否为Leader固定地域
|
|
7681
7704
|
*/
|
|
7682
7705
|
MainRegion?: boolean;
|
|
7683
7706
|
/**
|
|
@@ -58,6 +58,16 @@ it("cls.v20201016.CreateIndex", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("cls.v20201016.QueryMetric", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.QueryMetric({})
|
|
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("cls.v20201016.ModifyShipper", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyShipper({})
|
|
@@ -178,9 +188,9 @@ it("cls.v20201016.CreateConfig", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("cls.v20201016.
|
|
191
|
+
it("cls.v20201016.DescribeMachineGroupConfigs", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeMachineGroupConfigs({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -258,9 +268,9 @@ it("cls.v20201016.ModifyIndex", async function () {
|
|
|
258
268
|
}
|
|
259
269
|
})
|
|
260
270
|
|
|
261
|
-
it("cls.v20201016.
|
|
271
|
+
it("cls.v20201016.ModifyKafkaRecharge", async function () {
|
|
262
272
|
try {
|
|
263
|
-
const data = await client.
|
|
273
|
+
const data = await client.ModifyKafkaRecharge({})
|
|
264
274
|
expect(data).to.be.ok
|
|
265
275
|
} catch(error) {
|
|
266
276
|
expect(error.requestId).to.be.ok
|
|
@@ -408,6 +418,16 @@ it("cls.v20201016.DescribeShipperTasks", async function () {
|
|
|
408
418
|
}
|
|
409
419
|
})
|
|
410
420
|
|
|
421
|
+
it("cls.v20201016.ModifyDashboardSubscribe", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.ModifyDashboardSubscribe({})
|
|
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
|
+
|
|
411
431
|
it("cls.v20201016.DeleteIndex", async function () {
|
|
412
432
|
try {
|
|
413
433
|
const data = await client.DeleteIndex({})
|
|
@@ -458,6 +478,16 @@ it("cls.v20201016.ModifyAlarmShield", async function () {
|
|
|
458
478
|
}
|
|
459
479
|
})
|
|
460
480
|
|
|
481
|
+
it("cls.v20201016.SearchDashboardSubscribe", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.SearchDashboardSubscribe({})
|
|
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
|
+
|
|
461
491
|
it("cls.v20201016.CreateConfigExtra", async function () {
|
|
462
492
|
try {
|
|
463
493
|
const data = await client.CreateConfigExtra({})
|
|
@@ -528,6 +558,16 @@ it("cls.v20201016.DescribeLogsets", async function () {
|
|
|
528
558
|
}
|
|
529
559
|
})
|
|
530
560
|
|
|
561
|
+
it("cls.v20201016.CreateDashboardSubscribe", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.CreateDashboardSubscribe({})
|
|
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
|
+
|
|
531
571
|
it("cls.v20201016.SearchCosRechargeInfo", async function () {
|
|
532
572
|
try {
|
|
533
573
|
const data = await client.SearchCosRechargeInfo({})
|
|
@@ -538,9 +578,9 @@ it("cls.v20201016.SearchCosRechargeInfo", async function () {
|
|
|
538
578
|
}
|
|
539
579
|
})
|
|
540
580
|
|
|
541
|
-
it("cls.v20201016.
|
|
581
|
+
it("cls.v20201016.DescribeIndex", async function () {
|
|
542
582
|
try {
|
|
543
|
-
const data = await client.
|
|
583
|
+
const data = await client.DescribeIndex({})
|
|
544
584
|
expect(data).to.be.ok
|
|
545
585
|
} catch(error) {
|
|
546
586
|
expect(error.requestId).to.be.ok
|
|
@@ -558,6 +598,16 @@ it("cls.v20201016.CreateAlarmNotice", async function () {
|
|
|
558
598
|
}
|
|
559
599
|
})
|
|
560
600
|
|
|
601
|
+
it("cls.v20201016.DeleteDashboardSubscribe", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DeleteDashboardSubscribe({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
561
611
|
it("cls.v20201016.CreateDataTransform", async function () {
|
|
562
612
|
try {
|
|
563
613
|
const data = await client.CreateDataTransform({})
|
|
@@ -718,6 +768,16 @@ it("cls.v20201016.ModifyTopic", async function () {
|
|
|
718
768
|
}
|
|
719
769
|
})
|
|
720
770
|
|
|
771
|
+
it("cls.v20201016.DescribeDashboardSubscribes", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.DescribeDashboardSubscribes({})
|
|
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
|
+
|
|
721
781
|
it("cls.v20201016.ModifyMachineGroup", async function () {
|
|
722
782
|
try {
|
|
723
783
|
const data = await client.ModifyMachineGroup({})
|
|
@@ -848,16 +908,6 @@ it("cls.v20201016.ModifyLogset", async function () {
|
|
|
848
908
|
}
|
|
849
909
|
})
|
|
850
910
|
|
|
851
|
-
it("cls.v20201016.DescribeMachineGroupConfigs", async function () {
|
|
852
|
-
try {
|
|
853
|
-
const data = await client.DescribeMachineGroupConfigs({})
|
|
854
|
-
expect(data).to.be.ok
|
|
855
|
-
} catch(error) {
|
|
856
|
-
expect(error.requestId).to.be.ok
|
|
857
|
-
expect(error.code).to.be.ok
|
|
858
|
-
}
|
|
859
|
-
})
|
|
860
|
-
|
|
861
911
|
it("cls.v20201016.ModifyDataTransform", async function () {
|
|
862
912
|
try {
|
|
863
913
|
const data = await client.ModifyDataTransform({})
|
|
@@ -288,6 +288,16 @@ it("domain.v20180808.BatchModifyDomainInfo", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("domain.v20180808.ModifyTemplate", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ModifyTemplate({})
|
|
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
|
+
|
|
291
301
|
it("domain.v20180808.TransferProhibitionBatch", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.TransferProhibitionBatch({})
|
|
@@ -128,6 +128,16 @@ it("ess.v20201111.CreateFlowGroupSignReview", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("ess.v20201111.UnbindEmployeeUserIdWithClientOpenId", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.UnbindEmployeeUserIdWithClientOpenId({})
|
|
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("ess.v20201111.RenewAutoSignLicense", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.RenewAutoSignLicense({})
|
|
@@ -168,9 +178,9 @@ it("ess.v20201111.ModifyExtendedService", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("ess.v20201111.
|
|
181
|
+
it("ess.v20201111.DescribeBatchOrganizationRegistrationUrls", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeBatchOrganizationRegistrationUrls({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -478,6 +478,16 @@ it("lke.v20231130.CreateQA", async function () {
|
|
|
478
478
|
}
|
|
479
479
|
})
|
|
480
480
|
|
|
481
|
+
it("lke.v20231130.QueryParseDocResult", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.QueryParseDocResult({})
|
|
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
|
+
|
|
481
491
|
it("lke.v20231130.ListAttributeLabel", async function () {
|
|
482
492
|
try {
|
|
483
493
|
const data = await client.ListAttributeLabel({})
|
|
@@ -588,6 +598,16 @@ it("lke.v20231130.ModifyDoc", async function () {
|
|
|
588
598
|
}
|
|
589
599
|
})
|
|
590
600
|
|
|
601
|
+
it("lke.v20231130.ParseDoc", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.ParseDoc({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
591
611
|
it("lke.v20231130.GetWsToken", async function () {
|
|
592
612
|
try {
|
|
593
613
|
const data = await client.GetWsToken({})
|
|
@@ -518,6 +518,16 @@ it("ocr.v20181119.HmtResidentPermitOCR", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
+
it("ocr.v20181119.RecognizeGeneralTextImageWarn", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.RecognizeGeneralTextImageWarn({})
|
|
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
|
+
|
|
521
531
|
it("ocr.v20181119.SmartStructuralOCR", async function () {
|
|
522
532
|
try {
|
|
523
533
|
const data = await client.SmartStructuralOCR({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.teo.v20220901.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("teo.v20220901.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("teo.v20220901.DestroyPlan", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DestroyPlan({})
|
|
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
|
+
|
|
21
31
|
it("teo.v20220901.CreatePurgeTask", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.CreatePurgeTask({})
|
|
@@ -168,6 +178,16 @@ it("teo.v20220901.DescribeEnvironments", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
181
|
+
it("teo.v20220901.IncreasePlanQuota", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.IncreasePlanQuota({})
|
|
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
|
+
|
|
171
191
|
it("teo.v20220901.DeleteApplicationProxyRule", async function () {
|
|
172
192
|
try {
|
|
173
193
|
const data = await client.DeleteApplicationProxyRule({})
|
|
@@ -338,9 +358,9 @@ it("teo.v20220901.ModifyL4Proxy", async function () {
|
|
|
338
358
|
}
|
|
339
359
|
})
|
|
340
360
|
|
|
341
|
-
it("teo.v20220901.
|
|
361
|
+
it("teo.v20220901.ModifyL4ProxyRules", async function () {
|
|
342
362
|
try {
|
|
343
|
-
const data = await client.
|
|
363
|
+
const data = await client.ModifyL4ProxyRules({})
|
|
344
364
|
expect(data).to.be.ok
|
|
345
365
|
} catch(error) {
|
|
346
366
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +398,9 @@ it("teo.v20220901.ModifyZoneSetting", async function () {
|
|
|
378
398
|
}
|
|
379
399
|
})
|
|
380
400
|
|
|
381
|
-
it("teo.v20220901.
|
|
401
|
+
it("teo.v20220901.CreateAliasDomain", async function () {
|
|
382
402
|
try {
|
|
383
|
-
const data = await client.
|
|
403
|
+
const data = await client.CreateAliasDomain({})
|
|
384
404
|
expect(data).to.be.ok
|
|
385
405
|
} catch(error) {
|
|
386
406
|
expect(error.requestId).to.be.ok
|
|
@@ -458,6 +478,16 @@ it("teo.v20220901.ModifySecurityPolicy", async function () {
|
|
|
458
478
|
}
|
|
459
479
|
})
|
|
460
480
|
|
|
481
|
+
it("teo.v20220901.ModifyPlan", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.ModifyPlan({})
|
|
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
|
+
|
|
461
491
|
it("teo.v20220901.BindZoneToPlan", async function () {
|
|
462
492
|
try {
|
|
463
493
|
const data = await client.BindZoneToPlan({})
|
|
@@ -518,6 +548,16 @@ it("teo.v20220901.ModifyApplicationProxyStatus", async function () {
|
|
|
518
548
|
}
|
|
519
549
|
})
|
|
520
550
|
|
|
551
|
+
it("teo.v20220901.CreatePlan", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.CreatePlan({})
|
|
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
|
+
|
|
521
561
|
it("teo.v20220901.DescribeTimingL7AnalysisData", async function () {
|
|
522
562
|
try {
|
|
523
563
|
const data = await client.DescribeTimingL7AnalysisData({})
|
|
@@ -698,6 +738,16 @@ it("teo.v20220901.DescribeL4Proxy", async function () {
|
|
|
698
738
|
}
|
|
699
739
|
})
|
|
700
740
|
|
|
741
|
+
it("teo.v20220901.UpgradePlan", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.UpgradePlan({})
|
|
744
|
+
expect(data).to.be.ok
|
|
745
|
+
} catch(error) {
|
|
746
|
+
expect(error.requestId).to.be.ok
|
|
747
|
+
expect(error.code).to.be.ok
|
|
748
|
+
}
|
|
749
|
+
})
|
|
750
|
+
|
|
701
751
|
it("teo.v20220901.DescribeRules", async function () {
|
|
702
752
|
try {
|
|
703
753
|
const data = await client.DescribeRules({})
|
|
@@ -868,6 +918,16 @@ it("teo.v20220901.ModifyL4ProxyRulesStatus", async function () {
|
|
|
868
918
|
}
|
|
869
919
|
})
|
|
870
920
|
|
|
921
|
+
it("teo.v20220901.RenewPlan", async function () {
|
|
922
|
+
try {
|
|
923
|
+
const data = await client.RenewPlan({})
|
|
924
|
+
expect(data).to.be.ok
|
|
925
|
+
} catch(error) {
|
|
926
|
+
expect(error.requestId).to.be.ok
|
|
927
|
+
expect(error.code).to.be.ok
|
|
928
|
+
}
|
|
929
|
+
})
|
|
930
|
+
|
|
871
931
|
it("teo.v20220901.DescribeZoneSetting", async function () {
|
|
872
932
|
try {
|
|
873
933
|
const data = await client.DescribeZoneSetting({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.tms.v20201229.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tms.v20201229.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tms.v20201229.AnswerQuestion", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.AnswerQuestion({})
|
|
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
|
+
|
|
21
31
|
it("tms.v20201229.ModerateText", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ModerateText({})
|