tencentcloud-sdk-nodejs 4.0.561 → 4.0.563
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 +454 -0
- package/SERVICE_CHANGELOG.md +469 -47
- package/package.json +1 -1
- package/products.md +60 -59
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +14 -22
- package/src/services/apm/v20210622/apm_client.ts +24 -0
- package/src/services/apm/v20210622/apm_models.ts +115 -0
- package/src/services/as/v20180419/as_models.ts +4 -6
- package/src/services/bma/v20221115/bma_models.ts +4 -6
- package/src/services/ccc/v20200210/ccc_models.ts +4 -6
- package/src/services/cfs/v20190719/cfs_client.ts +3 -2
- package/src/services/cfs/v20190719/cfs_models.ts +41 -25
- package/src/services/cfw/v20190904/cfw_models.ts +24 -36
- package/src/services/ckafka/v20190819/ckafka_client.ts +19 -5
- package/src/services/ckafka/v20190819/ckafka_models.ts +171 -77
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +6 -9
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +4 -6
- package/src/services/cpdp/v20190820/cpdp_models.ts +0 -2
- package/src/services/cwp/v20180228/cwp_models.ts +2 -3
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +13 -8
- package/src/services/dasb/v20191018/dasb_models.ts +6 -0
- package/src/services/dlc/v20210125/dlc_models.ts +4 -6
- package/src/services/dnspod/v20210323/dnspod_models.ts +3 -4
- package/src/services/dts/v20211206/dts_models.ts +26 -22
- package/src/services/ecm/v20190719/ecm_models.ts +24 -36
- package/src/services/ess/v20201111/ess_models.ts +30 -53
- package/src/services/essbasic/v20210526/essbasic_models.ts +48 -76
- package/src/services/gme/v20180711/gme_models.ts +2 -3
- package/src/services/iai/v20180301/iai_models.ts +4 -6
- package/src/services/iai/v20200303/iai_models.ts +4 -6
- package/src/services/index.ts +1 -0
- package/src/services/ivld/v20210903/ivld_models.ts +10 -15
- package/src/services/lcic/v20220817/lcic_client.ts +16 -2
- package/src/services/lcic/v20220817/lcic_models.ts +172 -99
- package/src/services/live/v20180801/live_models.ts +9 -2
- package/src/services/mariadb/v20170312/mariadb_client.ts +15 -2
- package/src/services/mariadb/v20170312/mariadb_models.ts +142 -16
- package/src/services/memcached/v20190318/memcached_models.ts +2 -3
- package/src/services/monitor/v20180724/monitor_models.ts +10 -5
- package/src/services/mps/v20190612/mps_models.ts +6 -0
- package/src/services/mrs/v20200910/mrs_models.ts +4 -6
- package/src/services/nlp/v20190408/nlp_models.ts +36 -54
- package/src/services/oceanus/v20190422/oceanus_models.ts +2 -3
- package/src/services/ocr/v20181119/ocr_models.ts +3 -2
- package/src/services/organization/v20210331/organization_models.ts +18 -12
- package/src/services/postgres/v20170312/postgres_client.ts +226 -77
- package/src/services/postgres/v20170312/postgres_models.ts +1000 -274
- package/src/services/smop/index.ts +5 -0
- package/src/services/smop/v20201203/index.ts +6 -0
- package/src/services/smop/v20201203/smop_client.ts +40 -0
- package/src/services/smop/v20201203/smop_models.ts +167 -0
- package/src/services/ssl/v20191205/ssl_models.ts +12 -1
- package/src/services/tag/v20180813/tag_models.ts +1 -1
- package/src/services/tcr/v20190924/tcr_models.ts +5 -0
- package/src/services/tcss/v20201101/tcss_models.ts +120 -63
- package/src/services/teo/v20220901/teo_client.ts +2 -1
- package/src/services/teo/v20220901/teo_models.ts +45 -30
- package/src/services/thpc/v20220401/thpc_models.ts +6 -8
- package/src/services/tke/v20180525/tke_models.ts +5 -0
- package/src/services/trp/v20210515/trp_client.ts +3 -2
- package/src/services/trp/v20210515/trp_models.ts +25 -5
- package/src/services/trtc/v20190722/trtc_models.ts +42 -63
- package/src/services/tse/v20201207/tse_models.ts +6 -9
- package/src/services/vm/v20201229/vm_models.ts +2 -3
- package/src/services/vod/v20180717/vod_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +6 -9
- package/src/services/wedata/v20210820/wedata_models.ts +4 -6
- 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 +0 -8
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +9 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +12 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +96 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +0 -2
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +0 -2
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +0 -2
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +35 -22
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +0 -12
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +131 -53
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +0 -3
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -2
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +0 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +0 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -8
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +5 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +0 -2
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1 -2
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +26 -22
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +0 -12
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +0 -23
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +0 -28
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +0 -1
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +0 -2
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +0 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +0 -5
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +117 -57
- package/tencentcloud/services/live/v20180801/live_models.d.ts +8 -2
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +120 -16
- package/tencentcloud/services/memcached/v20190318/memcached_models.d.ts +0 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +9 -5
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +0 -2
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +0 -18
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +0 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -1
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -12
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +71 -23
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +105 -33
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +788 -176
- package/tencentcloud/services/smop/index.d.ts +6 -0
- package/tencentcloud/services/smop/index.js +7 -0
- package/tencentcloud/services/smop/v20201203/index.d.ts +6 -0
- package/tencentcloud/services/smop/v20201203/index.js +9 -0
- package/tencentcloud/services/smop/v20201203/smop_client.d.ts +14 -0
- package/tencentcloud/services/smop/v20201203/smop_client.js +37 -0
- package/tencentcloud/services/smop/v20201203/smop_models.d.ts +127 -0
- package/tencentcloud/services/smop/v20201203/smop_models.js +18 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -1
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +4 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +113 -63
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +35 -22
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -4
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +2 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +2 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +20 -4
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -21
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +0 -3
- package/tencentcloud/services/vm/v20201229/vm_models.d.ts +0 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +0 -3
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +0 -2
- package/test/apm.v20210622.test.js +20 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/postgres.v20170312.test.js +142 -22
- package/test/smop.v20201203.test.js +31 -0
|
@@ -2407,10 +2407,6 @@ export interface DescribeTraceDataListRequest {
|
|
|
2407
2407
|
* DescribeScanStats请求参数结构体
|
|
2408
2408
|
*/
|
|
2409
2409
|
export interface DescribeScanStatsRequest {
|
|
2410
|
-
/**
|
|
2411
|
-
* 批次ID
|
|
2412
|
-
*/
|
|
2413
|
-
BatchId: string;
|
|
2414
2410
|
/**
|
|
2415
2411
|
* 企业ID
|
|
2416
2412
|
*/
|
|
@@ -2423,6 +2419,18 @@ export interface DescribeScanStatsRequest {
|
|
|
2423
2419
|
* 当前分页
|
|
2424
2420
|
*/
|
|
2425
2421
|
PageNumber?: number;
|
|
2422
|
+
/**
|
|
2423
|
+
* 商户ID
|
|
2424
|
+
*/
|
|
2425
|
+
MerchantId?: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* 产品ID
|
|
2428
|
+
*/
|
|
2429
|
+
ProductId?: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* 批次ID
|
|
2432
|
+
*/
|
|
2433
|
+
BatchId?: string;
|
|
2426
2434
|
}
|
|
2427
2435
|
/**
|
|
2428
2436
|
* DeleteMerchant返回参数结构体
|
|
@@ -2596,6 +2604,14 @@ export interface ScanStat {
|
|
|
2596
2604
|
* 更新时间
|
|
2597
2605
|
*/
|
|
2598
2606
|
UpdateTime?: string;
|
|
2607
|
+
/**
|
|
2608
|
+
* 商户名称
|
|
2609
|
+
*/
|
|
2610
|
+
MerchantName?: string;
|
|
2611
|
+
/**
|
|
2612
|
+
* 产品名称
|
|
2613
|
+
*/
|
|
2614
|
+
ProductName?: string;
|
|
2599
2615
|
}
|
|
2600
2616
|
/**
|
|
2601
2617
|
* ModifyTraceCode返回参数结构体
|
|
@@ -172,12 +172,10 @@ export interface McuLayoutVolume {
|
|
|
172
172
|
PayloadType?: number;
|
|
173
173
|
/**
|
|
174
174
|
* SEI发送间隔,单位毫秒,默认值为1000。
|
|
175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
176
175
|
*/
|
|
177
176
|
Interval?: number;
|
|
178
177
|
/**
|
|
179
178
|
* 取值范围[0,1],填1:发送关键帧时会确保带SEI;填0:发送关键帧时不确保带SEI。默认值为0。
|
|
180
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
181
179
|
*/
|
|
182
180
|
FollowIdr?: number;
|
|
183
181
|
}
|
|
@@ -218,42 +216,34 @@ export interface DescribeUserEventRequest {
|
|
|
218
216
|
export interface WaterMarkChar {
|
|
219
217
|
/**
|
|
220
218
|
* 文字水印的起始坐标Y值,从左上角开始
|
|
221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
222
219
|
*/
|
|
223
220
|
Top: number;
|
|
224
221
|
/**
|
|
225
222
|
* 文字水印的起始坐标X值,从左上角开始
|
|
226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
227
223
|
*/
|
|
228
224
|
Left: number;
|
|
229
225
|
/**
|
|
230
226
|
* 文字水印的宽度,单位像素值
|
|
231
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
232
227
|
*/
|
|
233
228
|
Width: number;
|
|
234
229
|
/**
|
|
235
230
|
* 文字水印的高度,单位像素值
|
|
236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
237
231
|
*/
|
|
238
232
|
Height: number;
|
|
239
233
|
/**
|
|
240
234
|
* 水印文字的内容
|
|
241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
242
235
|
*/
|
|
243
236
|
Chars: string;
|
|
244
237
|
/**
|
|
245
238
|
* 水印文字的大小,单位像素,默认14
|
|
246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
247
239
|
*/
|
|
248
240
|
FontSize?: number;
|
|
249
241
|
/**
|
|
250
242
|
* 水印文字的颜色,默认白色
|
|
251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
252
243
|
*/
|
|
253
244
|
FontColor?: string;
|
|
254
245
|
/**
|
|
255
246
|
* 水印文字的背景色,为空代表背景透明,默认为空
|
|
256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
257
247
|
*/
|
|
258
248
|
BackGroundColor?: string;
|
|
259
249
|
}
|
|
@@ -1500,12 +1490,10 @@ export interface WaterMark {
|
|
|
1500
1490
|
WaterMarkImage?: WaterMarkImage;
|
|
1501
1491
|
/**
|
|
1502
1492
|
* 水印为文字时的参数列表,水印为文字时校验必填。
|
|
1503
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1504
1493
|
*/
|
|
1505
1494
|
WaterMarkChar?: WaterMarkChar;
|
|
1506
1495
|
/**
|
|
1507
1496
|
* 水印为时间戳时的参数列表,水印为时间戳时校验必填。
|
|
1508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1509
1497
|
*/
|
|
1510
1498
|
WaterMarkTimestamp?: WaterMarkTimestamp;
|
|
1511
1499
|
}
|
|
@@ -1801,12 +1789,10 @@ export interface McuPassThrough {
|
|
|
1801
1789
|
PayloadUuid?: string;
|
|
1802
1790
|
/**
|
|
1803
1791
|
* SEI发送间隔,单位毫秒,默认值为1000。
|
|
1804
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1805
1792
|
*/
|
|
1806
1793
|
Interval?: number;
|
|
1807
1794
|
/**
|
|
1808
1795
|
* 取值范围[0,1],填1:发送关键帧时会确保带SEI;填0:发送关键帧时不确保带SEI。默认值为0。
|
|
1809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1810
1796
|
*/
|
|
1811
1797
|
FollowIdr?: number;
|
|
1812
1798
|
}
|
|
@@ -2627,17 +2613,14 @@ export interface McuWaterMarkText {
|
|
|
2627
2613
|
LocationY: number;
|
|
2628
2614
|
/**
|
|
2629
2615
|
* 字体大小
|
|
2630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2631
2616
|
*/
|
|
2632
2617
|
FontSize: number;
|
|
2633
2618
|
/**
|
|
2634
2619
|
* 字体颜色,默认为白色。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
|
2635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2636
2620
|
*/
|
|
2637
2621
|
FontColor?: string;
|
|
2638
2622
|
/**
|
|
2639
2623
|
* 字体背景色,不配置默认为透明。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
|
2640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2641
2624
|
*/
|
|
2642
2625
|
BackGroundColor?: string;
|
|
2643
2626
|
}
|
|
@@ -2698,7 +2681,6 @@ Hls 格式录制此参数不生效。
|
|
|
2698
2681
|
MaxMediaFileDuration?: number;
|
|
2699
2682
|
/**
|
|
2700
2683
|
* 指定录制主辅流,0:主流+辅流(默认);1:主流;2:辅流。
|
|
2701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2702
2684
|
*/
|
|
2703
2685
|
MediaId?: number;
|
|
2704
2686
|
}
|
|
@@ -2836,12 +2818,10 @@ export interface SeriesInfo {
|
|
|
2836
2818
|
export interface WaterMarkTimestamp {
|
|
2837
2819
|
/**
|
|
2838
2820
|
* 时间戳的位置,取值范围0-6,分别代表上左,上右,下左,下右,上居中,下居中,居中
|
|
2839
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2840
2821
|
*/
|
|
2841
2822
|
Pos: number;
|
|
2842
2823
|
/**
|
|
2843
2824
|
* 显示时间戳的时区,默认东八区
|
|
2844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2845
2825
|
*/
|
|
2846
2826
|
TimeZone?: number;
|
|
2847
2827
|
}
|
|
@@ -2881,7 +2861,6 @@ export interface McuWaterMarkParams {
|
|
|
2881
2861
|
WaterMarkImage?: McuWaterMarkImage;
|
|
2882
2862
|
/**
|
|
2883
2863
|
* 文字水印参数。WaterMarkType为1指定。
|
|
2884
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2885
2864
|
*/
|
|
2886
2865
|
WaterMarkText?: McuWaterMarkText;
|
|
2887
2866
|
}
|
|
@@ -257,17 +257,14 @@ export interface ZookeeperReplica {
|
|
|
257
257
|
export interface EngineRegionInfo {
|
|
258
258
|
/**
|
|
259
259
|
* 引擎节点所在地域
|
|
260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
261
260
|
*/
|
|
262
261
|
EngineRegion: string;
|
|
263
262
|
/**
|
|
264
263
|
* 此地域节点分配数量
|
|
265
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
266
264
|
*/
|
|
267
265
|
Replica: number;
|
|
268
266
|
/**
|
|
269
267
|
* 集群网络信息
|
|
270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
271
268
|
*/
|
|
272
269
|
VpcInfos: Array<VpcInfo>;
|
|
273
270
|
}
|
|
@@ -488,7 +488,6 @@ export interface AudioResultDetailLanguageResult {
|
|
|
488
488
|
export interface TaskFilter {
|
|
489
489
|
/**
|
|
490
490
|
* 该字段用于传入任务对应的业务类型供筛选器进行筛选。Biztype为策略的具体的编号,用于接口调度,在内容安全控制台中可配置。不同Biztype关联不同的业务场景与审核策略,调用前请确认正确的Biztype。Biztype仅为**数字、字母与下划线的组合**,长度为3-32个字符。<br>备注:在不传入该参数时筛选器默认不筛选业务类型。
|
|
491
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
492
491
|
*/
|
|
493
492
|
BizType?: Array<string>;
|
|
494
493
|
/**
|
|
@@ -13176,11 +13176,11 @@ export interface DescribeTasksResponse {
|
|
|
13176
13176
|
/**
|
|
13177
13177
|
* 任务概要列表。
|
|
13178
13178
|
*/
|
|
13179
|
-
TaskSet
|
|
13179
|
+
TaskSet?: Array<TaskSimpleInfo>;
|
|
13180
13180
|
/**
|
|
13181
13181
|
* 翻页标识,当请求未返回所有数据,该字段表示下一条记录的 ID。当该字段为空,说明已无更多数据。
|
|
13182
13182
|
*/
|
|
13183
|
-
ScrollToken
|
|
13183
|
+
ScrollToken?: string;
|
|
13184
13184
|
/**
|
|
13185
13185
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13186
13186
|
*/
|
|
@@ -8528,17 +8528,14 @@ export declare type DescribeCustomerGatewayVendorsRequest = null;
|
|
|
8528
8528
|
export interface CcnFlowLock {
|
|
8529
8529
|
/**
|
|
8530
8530
|
* 带宽所属的云联网ID。
|
|
8531
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8532
8531
|
*/
|
|
8533
8532
|
CcnId: string;
|
|
8534
8533
|
/**
|
|
8535
8534
|
* 实例所属用户主账号ID。
|
|
8536
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8537
8535
|
*/
|
|
8538
8536
|
UserAccountID: string;
|
|
8539
8537
|
/**
|
|
8540
8538
|
* 带宽实例的唯一ID。作为`UnlockCcnBandwidths`接口和`LockCcnBandwidths`接口的入参时,该字段必传。
|
|
8541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8542
8539
|
*/
|
|
8543
8540
|
RegionFlowControlId?: string;
|
|
8544
8541
|
}
|
|
@@ -9647,12 +9647,10 @@ export interface SearchConditionInstance {
|
|
|
9647
9647
|
ExecutionSpace: number;
|
|
9648
9648
|
/**
|
|
9649
9649
|
* 产品名称,可选
|
|
9650
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9651
9650
|
*/
|
|
9652
9651
|
ProductName?: number;
|
|
9653
9652
|
/**
|
|
9654
9653
|
* 资源组
|
|
9655
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9656
9654
|
*/
|
|
9657
9655
|
ResourceGroup?: number;
|
|
9658
9656
|
}
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.apm.v20210622.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("apm.v20210622.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("apm.v20210622.ModifyApmInstance", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyApmInstance({})
|
|
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("apm.v20210622.DescribeApmInstances", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeApmInstances({})
|
|
@@ -58,6 +68,16 @@ it("apm.v20210622.DescribeMetricRecords", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
71
|
+
it("apm.v20210622.TerminateApmInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.TerminateApmInstance({})
|
|
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
|
+
|
|
61
81
|
it("apm.v20210622.CreateApmInstance", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.CreateApmInstance({})
|
|
@@ -258,6 +258,16 @@ it("ckafka.v20190819.FetchMessageListByOffset", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("ckafka.v20190819.CreateDatahubTopic", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.CreateDatahubTopic({})
|
|
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
|
+
|
|
261
271
|
it("ckafka.v20190819.DescribeACL", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.DescribeACL({})
|
|
@@ -208,6 +208,16 @@ it("lcic.v20220817.BatchDeleteGroupMember", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
+
it("lcic.v20220817.GetRoomEvent", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.GetRoomEvent({})
|
|
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
|
+
|
|
211
221
|
it("lcic.v20220817.DescribeRoom", async function () {
|
|
212
222
|
try {
|
|
213
223
|
const data = await client.DescribeRoom({})
|
|
@@ -498,6 +498,16 @@ it("mariadb.v20170312.CreateTmpInstances", async function () {
|
|
|
498
498
|
}
|
|
499
499
|
})
|
|
500
500
|
|
|
501
|
+
it("mariadb.v20170312.DescribeBackupFiles", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DescribeBackupFiles({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
501
511
|
it("mariadb.v20170312.ModifyDBEncryptAttributes", async function () {
|
|
502
512
|
try {
|
|
503
513
|
const data = await client.ModifyDBEncryptAttributes({})
|
|
@@ -58,9 +58,9 @@ it("postgres.v20170312.DescribeOrders", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("postgres.v20170312.
|
|
61
|
+
it("postgres.v20170312.DescribeBackupDownloadURL", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.DescribeBackupDownloadURL({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("postgres.v20170312.DescribeDBErrlogs", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("postgres.v20170312.
|
|
181
|
+
it("postgres.v20170312.DescribeParameterTemplates", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeParameterTemplates({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +218,19 @@ it("postgres.v20170312.DescribeDBInstanceSecurityGroups", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("postgres.v20170312.
|
|
221
|
+
it("postgres.v20170312.DescribeDBInstanceParameters", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeDBInstanceParameters({})
|
|
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("postgres.v20170312.CreateBaseBackup", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CreateBaseBackup({})
|
|
224
234
|
expect(data).to.be.ok
|
|
225
235
|
} catch(error) {
|
|
226
236
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +258,9 @@ it("postgres.v20170312.DeleteDBInstanceNetworkAccess", async function () {
|
|
|
248
258
|
}
|
|
249
259
|
})
|
|
250
260
|
|
|
251
|
-
it("postgres.v20170312.
|
|
261
|
+
it("postgres.v20170312.ModifyBaseBackupExpireTime", async function () {
|
|
252
262
|
try {
|
|
253
|
-
const data = await client.
|
|
263
|
+
const data = await client.ModifyBaseBackupExpireTime({})
|
|
254
264
|
expect(data).to.be.ok
|
|
255
265
|
} catch(error) {
|
|
256
266
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +388,9 @@ it("postgres.v20170312.RebalanceReadOnlyGroup", async function () {
|
|
|
378
388
|
}
|
|
379
389
|
})
|
|
380
390
|
|
|
381
|
-
it("postgres.v20170312.
|
|
391
|
+
it("postgres.v20170312.DescribeReadOnlyGroups", async function () {
|
|
382
392
|
try {
|
|
383
|
-
const data = await client.
|
|
393
|
+
const data = await client.DescribeReadOnlyGroups({})
|
|
384
394
|
expect(data).to.be.ok
|
|
385
395
|
} catch(error) {
|
|
386
396
|
expect(error.requestId).to.be.ok
|
|
@@ -388,9 +398,19 @@ it("postgres.v20170312.CreateServerlessDBInstance", async function () {
|
|
|
388
398
|
}
|
|
389
399
|
})
|
|
390
400
|
|
|
391
|
-
it("postgres.v20170312.
|
|
401
|
+
it("postgres.v20170312.DeleteParameterTemplate", async function () {
|
|
392
402
|
try {
|
|
393
|
-
const data = await client.
|
|
403
|
+
const data = await client.DeleteParameterTemplate({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
411
|
+
it("postgres.v20170312.DeleteLogBackup", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.DeleteLogBackup({})
|
|
394
414
|
expect(data).to.be.ok
|
|
395
415
|
} catch(error) {
|
|
396
416
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +428,29 @@ it("postgres.v20170312.DescribeZones", async function () {
|
|
|
408
428
|
}
|
|
409
429
|
})
|
|
410
430
|
|
|
411
|
-
it("postgres.v20170312.
|
|
431
|
+
it("postgres.v20170312.RestartDBInstance", async function () {
|
|
412
432
|
try {
|
|
413
|
-
const data = await client.
|
|
433
|
+
const data = await client.RestartDBInstance({})
|
|
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("postgres.v20170312.DescribeDBInstances", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DescribeDBInstances({})
|
|
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("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.OpenDBExtranetAccess({})
|
|
414
454
|
expect(data).to.be.ok
|
|
415
455
|
} catch(error) {
|
|
416
456
|
expect(error.requestId).to.be.ok
|
|
@@ -468,6 +508,16 @@ it("postgres.v20170312.ModifyDBInstanceSpec", async function () {
|
|
|
468
508
|
}
|
|
469
509
|
})
|
|
470
510
|
|
|
511
|
+
it("postgres.v20170312.DescribeBaseBackups", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.DescribeBaseBackups({})
|
|
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
|
+
|
|
471
521
|
it("postgres.v20170312.DescribeAvailableRecoveryTime", async function () {
|
|
472
522
|
try {
|
|
473
523
|
const data = await client.DescribeAvailableRecoveryTime({})
|
|
@@ -498,6 +548,16 @@ it("postgres.v20170312.DescribeRegions", async function () {
|
|
|
498
548
|
}
|
|
499
549
|
})
|
|
500
550
|
|
|
551
|
+
it("postgres.v20170312.DescribeLogBackups", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.DescribeLogBackups({})
|
|
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
|
+
|
|
501
561
|
it("postgres.v20170312.DescribeSlowQueryList", async function () {
|
|
502
562
|
try {
|
|
503
563
|
const data = await client.DescribeSlowQueryList({})
|
|
@@ -508,6 +568,16 @@ it("postgres.v20170312.DescribeSlowQueryList", async function () {
|
|
|
508
568
|
}
|
|
509
569
|
})
|
|
510
570
|
|
|
571
|
+
it("postgres.v20170312.DeleteBaseBackup", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.DeleteBaseBackup({})
|
|
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
|
+
|
|
511
581
|
it("postgres.v20170312.ModifyDBInstanceReadOnlyGroup", async function () {
|
|
512
582
|
try {
|
|
513
583
|
const data = await client.ModifyDBInstanceReadOnlyGroup({})
|
|
@@ -528,6 +598,26 @@ it("postgres.v20170312.CloseDBExtranetAccess", async function () {
|
|
|
528
598
|
}
|
|
529
599
|
})
|
|
530
600
|
|
|
601
|
+
it("postgres.v20170312.DescribeCloneDBInstanceSpec", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DescribeCloneDBInstanceSpec({})
|
|
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
|
+
|
|
611
|
+
it("postgres.v20170312.UpgradeDBInstanceKernelVersion", async function () {
|
|
612
|
+
try {
|
|
613
|
+
const data = await client.UpgradeDBInstanceKernelVersion({})
|
|
614
|
+
expect(data).to.be.ok
|
|
615
|
+
} catch(error) {
|
|
616
|
+
expect(error.requestId).to.be.ok
|
|
617
|
+
expect(error.code).to.be.ok
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
|
|
531
621
|
it("postgres.v20170312.CloneDBInstance", async function () {
|
|
532
622
|
try {
|
|
533
623
|
const data = await client.CloneDBInstance({})
|
|
@@ -588,6 +678,16 @@ it("postgres.v20170312.DescribeServerlessDBInstances", async function () {
|
|
|
588
678
|
}
|
|
589
679
|
})
|
|
590
680
|
|
|
681
|
+
it("postgres.v20170312.DescribeDBVersions", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.DescribeDBVersions({})
|
|
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
|
+
|
|
591
691
|
it("postgres.v20170312.ModifyParameterTemplate", async function () {
|
|
592
692
|
try {
|
|
593
693
|
const data = await client.ModifyParameterTemplate({})
|
|
@@ -598,9 +698,9 @@ it("postgres.v20170312.ModifyParameterTemplate", async function () {
|
|
|
598
698
|
}
|
|
599
699
|
})
|
|
600
700
|
|
|
601
|
-
it("postgres.v20170312.
|
|
701
|
+
it("postgres.v20170312.CreateServerlessDBInstance", async function () {
|
|
602
702
|
try {
|
|
603
|
-
const data = await client.
|
|
703
|
+
const data = await client.CreateServerlessDBInstance({})
|
|
604
704
|
expect(data).to.be.ok
|
|
605
705
|
} catch(error) {
|
|
606
706
|
expect(error.requestId).to.be.ok
|
|
@@ -638,6 +738,16 @@ it("postgres.v20170312.DescribeDatabases", async function () {
|
|
|
638
738
|
}
|
|
639
739
|
})
|
|
640
740
|
|
|
741
|
+
it("postgres.v20170312.ModifyDBInstanceSecurityGroups", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.ModifyDBInstanceSecurityGroups({})
|
|
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
|
+
|
|
641
751
|
it("postgres.v20170312.CreateReadOnlyDBInstance", async function () {
|
|
642
752
|
try {
|
|
643
753
|
const data = await client.CreateReadOnlyDBInstance({})
|
|
@@ -648,9 +758,9 @@ it("postgres.v20170312.CreateReadOnlyDBInstance", async function () {
|
|
|
648
758
|
}
|
|
649
759
|
})
|
|
650
760
|
|
|
651
|
-
it("postgres.v20170312.
|
|
761
|
+
it("postgres.v20170312.DescribeDBSlowlogs", async function () {
|
|
652
762
|
try {
|
|
653
|
-
const data = await client.
|
|
763
|
+
const data = await client.DescribeDBSlowlogs({})
|
|
654
764
|
expect(data).to.be.ok
|
|
655
765
|
} catch(error) {
|
|
656
766
|
expect(error.requestId).to.be.ok
|
|
@@ -678,6 +788,16 @@ it("postgres.v20170312.CreateInstances", async function () {
|
|
|
678
788
|
}
|
|
679
789
|
})
|
|
680
790
|
|
|
791
|
+
it("postgres.v20170312.DescribeBackupSummaries", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.DescribeBackupSummaries({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
681
801
|
it("postgres.v20170312.RemoveDBInstanceFromReadOnlyGroup", async function () {
|
|
682
802
|
try {
|
|
683
803
|
const data = await client.RemoveDBInstanceFromReadOnlyGroup({})
|
|
@@ -708,9 +828,9 @@ it("postgres.v20170312.DescribeParamsEvent", async function () {
|
|
|
708
828
|
}
|
|
709
829
|
})
|
|
710
830
|
|
|
711
|
-
it("postgres.v20170312.
|
|
831
|
+
it("postgres.v20170312.DescribeBackupOverview", async function () {
|
|
712
832
|
try {
|
|
713
|
-
const data = await client.
|
|
833
|
+
const data = await client.DescribeBackupOverview({})
|
|
714
834
|
expect(data).to.be.ok
|
|
715
835
|
} catch(error) {
|
|
716
836
|
expect(error.requestId).to.be.ok
|
|
@@ -718,9 +838,9 @@ it("postgres.v20170312.DescribeDBSlowlogs", async function () {
|
|
|
718
838
|
}
|
|
719
839
|
})
|
|
720
840
|
|
|
721
|
-
it("postgres.v20170312.
|
|
841
|
+
it("postgres.v20170312.DescribeClasses", async function () {
|
|
722
842
|
try {
|
|
723
|
-
const data = await client.
|
|
843
|
+
const data = await client.DescribeClasses({})
|
|
724
844
|
expect(data).to.be.ok
|
|
725
845
|
} catch(error) {
|
|
726
846
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.smop.v20201203.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("smop.v20201203.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("smop.v20201203.SubmitTaskEvent", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.SubmitTaskEvent({})
|
|
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
|
+
})
|