tencentcloud-sdk-nodejs 4.0.601 → 4.0.603
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 +649 -0
- package/SERVICE_CHANGELOG.md +617 -78
- package/package.json +1 -1
- package/products.md +29 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +38 -6
- package/src/services/cbs/v20170312/cbs_models.ts +3 -3
- package/src/services/cdb/v20170320/cdb_client.ts +3 -16
- package/src/services/cdb/v20170320/cdb_models.ts +4 -69
- package/src/services/cdn/v20180606/cdn_models.ts +69 -37
- package/src/services/cfw/v20190904/cfw_client.ts +22 -10
- package/src/services/cfw/v20190904/cfw_models.ts +69 -0
- package/src/services/csip/v20221121/csip_models.ts +14 -2
- package/src/services/csxg/index.ts +5 -0
- package/src/services/csxg/v20230303/csxg_client.ts +91 -0
- package/src/services/csxg/v20230303/csxg_models.ts +91 -0
- package/src/services/csxg/v20230303/index.ts +6 -0
- package/src/services/dts/v20211206/dts_models.ts +4 -4
- package/src/services/ess/v20201111/ess_client.ts +6 -3
- package/src/services/ess/v20201111/ess_models.ts +12 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +5 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -1
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +3 -3
- package/src/services/live/v20180801/live_models.ts +5 -0
- package/src/services/monitor/v20180724/monitor_models.ts +30 -9
- package/src/services/nlp/v20190408/nlp_models.ts +7 -7
- package/src/services/ocr/v20181119/ocr_models.ts +6 -0
- package/src/services/organization/v20210331/organization_models.ts +9 -4
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +36 -12
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +829 -554
- package/src/services/ssl/v20191205/ssl_client.ts +354 -79
- package/src/services/ssl/v20191205/ssl_models.ts +2986 -1253
- package/src/services/tcss/v20201101/tcss_models.ts +963 -172
- package/src/services/thpc/v20230321/thpc_models.ts +28 -0
- package/src/services/tsf/v20180326/tsf_models.ts +18 -0
- package/src/services/vod/v20180717/vod_models.ts +141 -1
- package/src/services/vpc/v20170312/vpc_client.ts +3 -3
- package/src/services/vpc/v20170312/vpc_models.ts +58 -28
- package/src/services/vrs/v20200824/vrs_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +32 -6
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +4 -8
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -9
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -59
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +63 -31
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +10 -6
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +12 -6
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +58 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +12 -2
- package/tencentcloud/services/csxg/index.d.ts +6 -0
- package/tencentcloud/services/csxg/index.js +7 -0
- package/tencentcloud/services/csxg/v20230303/csxg_client.d.ts +30 -0
- package/tencentcloud/services/csxg/v20230303/csxg_client.js +61 -0
- package/tencentcloud/services/csxg/v20230303/csxg_models.d.ts +65 -0
- package/tencentcloud/services/csxg/v20230303/csxg_models.js +18 -0
- package/tencentcloud/services/csxg/v20230303/index.d.ts +6 -0
- package/tencentcloud/services/csxg/v20230303/index.js +9 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +4 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +5 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +3 -3
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +26 -9
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +7 -7
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +5 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +8 -4
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +11 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +15 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +622 -398
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +95 -11
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +141 -15
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +2548 -1081
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +806 -170
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +24 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +15 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +113 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +52 -28
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +1 -1
- package/test/cdb.v20170320.test.js +0 -10
- package/test/cfw.v20190904.test.js +12 -2
- package/test/csxg.v20230303.test.js +71 -0
- package/test/sqlserver.v20180328.test.js +22 -2
- package/test/ssl.v20191205.test.js +220 -10
|
@@ -142,7 +142,7 @@ export interface ScdnTopUrlData {
|
|
|
142
142
|
*/
|
|
143
143
|
export interface Compression {
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* 智能压缩配置开关,取值有:
|
|
146
146
|
on:开启
|
|
147
147
|
off:关闭
|
|
148
148
|
*/
|
|
@@ -498,7 +498,7 @@ export interface ScdnDomain {
|
|
|
498
498
|
*/
|
|
499
499
|
export interface CacheConfigNoCache {
|
|
500
500
|
/**
|
|
501
|
-
*
|
|
501
|
+
* 路径缓存不缓存配置配置开关,取值有:
|
|
502
502
|
on:开启
|
|
503
503
|
off:关闭
|
|
504
504
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1660,8 +1660,9 @@ export interface DescribeEdgePackTaskStatusResponse {
|
|
|
1660
1660
|
*/
|
|
1661
1661
|
export interface HeuristicCache {
|
|
1662
1662
|
/**
|
|
1663
|
-
*
|
|
1664
|
-
|
|
1663
|
+
* 启发式缓存配置开关,取值有:
|
|
1664
|
+
on:开启
|
|
1665
|
+
off:关闭
|
|
1665
1666
|
*/
|
|
1666
1667
|
Switch: string
|
|
1667
1668
|
|
|
@@ -1775,7 +1776,7 @@ export interface PostSize {
|
|
|
1775
1776
|
*/
|
|
1776
1777
|
export interface ForceRedirect {
|
|
1777
1778
|
/**
|
|
1778
|
-
*
|
|
1779
|
+
* 访问强制跳转配置开关,取值有:
|
|
1779
1780
|
on:开启
|
|
1780
1781
|
off:关闭
|
|
1781
1782
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1880,7 +1881,7 @@ overseas:中国境外
|
|
|
1880
1881
|
*/
|
|
1881
1882
|
export interface DownstreamCapping {
|
|
1882
1883
|
/**
|
|
1883
|
-
*
|
|
1884
|
+
* 下行速度配置开关,取值有:
|
|
1884
1885
|
on:开启
|
|
1885
1886
|
off:关闭
|
|
1886
1887
|
*/
|
|
@@ -2423,8 +2424,10 @@ off:不支持
|
|
|
2423
2424
|
*/
|
|
2424
2425
|
export interface AwsPrivateAccess {
|
|
2425
2426
|
/**
|
|
2426
|
-
|
|
2427
|
-
|
|
2427
|
+
* s3源站回源鉴权配置项开关,取值有:
|
|
2428
|
+
on:开启
|
|
2429
|
+
off:关闭
|
|
2430
|
+
*/
|
|
2428
2431
|
Switch: string
|
|
2429
2432
|
|
|
2430
2433
|
/**
|
|
@@ -2851,7 +2854,9 @@ export interface DescribePurgeQuotaResponse {
|
|
|
2851
2854
|
*/
|
|
2852
2855
|
export interface AvifAdapter {
|
|
2853
2856
|
/**
|
|
2854
|
-
*
|
|
2857
|
+
* 图片优化AvifAdapter配置项开关,取值有:
|
|
2858
|
+
on:开启
|
|
2859
|
+
off:关闭
|
|
2855
2860
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2856
2861
|
*/
|
|
2857
2862
|
Switch?: string
|
|
@@ -3506,7 +3511,7 @@ off:关闭
|
|
|
3506
3511
|
*/
|
|
3507
3512
|
export interface CacheConfigCache {
|
|
3508
3513
|
/**
|
|
3509
|
-
*
|
|
3514
|
+
* 路径缓存配置开关,取值有:
|
|
3510
3515
|
on:开启
|
|
3511
3516
|
off:关闭
|
|
3512
3517
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4062,7 +4067,7 @@ global:全球加速
|
|
|
4062
4067
|
*/
|
|
4063
4068
|
export interface CacheConfigFollowOrigin {
|
|
4064
4069
|
/**
|
|
4065
|
-
*
|
|
4070
|
+
* 路径缓存遵循源站配置开关,取值有:
|
|
4066
4071
|
on:开启
|
|
4067
4072
|
off:关闭
|
|
4068
4073
|
*/
|
|
@@ -5166,8 +5171,9 @@ export interface CreateDiagnoseUrlRequest {
|
|
|
5166
5171
|
*/
|
|
5167
5172
|
export interface CacheConfig {
|
|
5168
5173
|
/**
|
|
5169
|
-
*
|
|
5170
|
-
|
|
5174
|
+
* 启发式自定义时间缓存配置开关,取值有:
|
|
5175
|
+
on:开启
|
|
5176
|
+
off:关闭
|
|
5171
5177
|
*/
|
|
5172
5178
|
HeuristicCacheTimeSwitch: string
|
|
5173
5179
|
|
|
@@ -5222,7 +5228,9 @@ export interface ListDiagnoseReportResponse {
|
|
|
5222
5228
|
*/
|
|
5223
5229
|
export interface HeaderKey {
|
|
5224
5230
|
/**
|
|
5225
|
-
*
|
|
5231
|
+
* 组成Cachekey配置开关,取值有:
|
|
5232
|
+
on:开启
|
|
5233
|
+
off:关闭
|
|
5226
5234
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5227
5235
|
*/
|
|
5228
5236
|
Switch?: string
|
|
@@ -5269,7 +5277,7 @@ export interface DescribeHttpsPackagesRequest {
|
|
|
5269
5277
|
*/
|
|
5270
5278
|
export interface IpFilter {
|
|
5271
5279
|
/**
|
|
5272
|
-
* IP
|
|
5280
|
+
* IP 黑白名单配置开关,取值有
|
|
5273
5281
|
on:开启
|
|
5274
5282
|
off:关闭
|
|
5275
5283
|
*/
|
|
@@ -5621,8 +5629,11 @@ export interface StopScdnDomainRequest {
|
|
|
5621
5629
|
*/
|
|
5622
5630
|
export interface AdvancedAuthentication {
|
|
5623
5631
|
/**
|
|
5624
|
-
|
|
5625
|
-
|
|
5632
|
+
* 防盗链配置开关,取值有:
|
|
5633
|
+
on:开启
|
|
5634
|
+
off:关闭
|
|
5635
|
+
开启时必须且只配置一种模式,其余模式需要设置为 null
|
|
5636
|
+
*/
|
|
5626
5637
|
Switch: string
|
|
5627
5638
|
|
|
5628
5639
|
/**
|
|
@@ -5667,7 +5678,10 @@ export interface AdvancedAuthentication {
|
|
|
5667
5678
|
*/
|
|
5668
5679
|
export interface Revalidate {
|
|
5669
5680
|
/**
|
|
5670
|
-
*
|
|
5681
|
+
* 总是回源校验配置开关,取值有:
|
|
5682
|
+
on:开启
|
|
5683
|
+
off:关闭
|
|
5684
|
+
|
|
5671
5685
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5672
5686
|
*/
|
|
5673
5687
|
Switch: string
|
|
@@ -5764,7 +5778,7 @@ export interface DescribePushQuotaResponse {
|
|
|
5764
5778
|
*/
|
|
5765
5779
|
export interface Authentication {
|
|
5766
5780
|
/**
|
|
5767
|
-
*
|
|
5781
|
+
* 防盗链配置开关,取值有:
|
|
5768
5782
|
on:开启
|
|
5769
5783
|
off:关闭
|
|
5770
5784
|
开启时必须且只配置一种模式,其余模式需要设置为 null
|
|
@@ -6183,7 +6197,9 @@ contentType 时填充 text/html
|
|
|
6183
6197
|
*/
|
|
6184
6198
|
export interface GuetzliAdapter {
|
|
6185
6199
|
/**
|
|
6186
|
-
*
|
|
6200
|
+
* 图片优化-GuetzliAdapter配置开关,取值有:
|
|
6201
|
+
on:开启
|
|
6202
|
+
off:关闭
|
|
6187
6203
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6188
6204
|
*/
|
|
6189
6205
|
Switch?: string
|
|
@@ -7730,8 +7746,10 @@ off:关闭
|
|
|
7730
7746
|
*/
|
|
7731
7747
|
export interface Hsts {
|
|
7732
7748
|
/**
|
|
7733
|
-
|
|
7734
|
-
|
|
7749
|
+
* HSTS 配置开关,取值有:
|
|
7750
|
+
on:开启
|
|
7751
|
+
off:关闭
|
|
7752
|
+
*/
|
|
7735
7753
|
Switch: string
|
|
7736
7754
|
|
|
7737
7755
|
/**
|
|
@@ -7852,7 +7870,10 @@ district:省份(中国境内)、国家/地区(中国境外)映射查
|
|
|
7852
7870
|
*/
|
|
7853
7871
|
export interface RuleQueryString {
|
|
7854
7872
|
/**
|
|
7855
|
-
*
|
|
7873
|
+
* 路径保留参数配置开关,取值有:
|
|
7874
|
+
on:开启,CacheKey由QueryString组成
|
|
7875
|
+
off:关闭,CacheKey不由QueryString组成
|
|
7876
|
+
|
|
7856
7877
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7857
7878
|
*/
|
|
7858
7879
|
Switch: string
|
|
@@ -8343,7 +8364,9 @@ off:关闭
|
|
|
8343
8364
|
*/
|
|
8344
8365
|
export interface CookieKey {
|
|
8345
8366
|
/**
|
|
8346
|
-
*
|
|
8367
|
+
* 使用Cookie作为Cache的一部分配置开关,取值有:
|
|
8368
|
+
on:开启,使用Cookie作为Cache的一部分
|
|
8369
|
+
off:关闭,不使用Cookie作为Cache的一部分
|
|
8347
8370
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8348
8371
|
*/
|
|
8349
8372
|
Switch: string
|
|
@@ -8360,7 +8383,7 @@ export interface CookieKey {
|
|
|
8360
8383
|
*/
|
|
8361
8384
|
export interface BandwidthAlert {
|
|
8362
8385
|
/**
|
|
8363
|
-
*
|
|
8386
|
+
* 用量封顶配置开关,取值有:
|
|
8364
8387
|
on:开启
|
|
8365
8388
|
off:关闭
|
|
8366
8389
|
*/
|
|
@@ -8386,7 +8409,7 @@ RETURN_404:全部请求返回 404
|
|
|
8386
8409
|
LastTriggerTime?: string
|
|
8387
8410
|
|
|
8388
8411
|
/**
|
|
8389
|
-
*
|
|
8412
|
+
* 用量封顶提醒配置开关,取值有:
|
|
8390
8413
|
on:开启
|
|
8391
8414
|
off:关闭
|
|
8392
8415
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -9314,7 +9337,9 @@ ecdn表示ECDN数据
|
|
|
9314
9337
|
*/
|
|
9315
9338
|
export interface CacheTagKey {
|
|
9316
9339
|
/**
|
|
9317
|
-
*
|
|
9340
|
+
* 使用CacheTag作为CacheKey的一部分配置开关,取值有
|
|
9341
|
+
on:开启,使用CacheTag作为CacheKey的一部分
|
|
9342
|
+
off:关闭,不使用CacheTag作为CacheKey的一部分
|
|
9318
9343
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9319
9344
|
*/
|
|
9320
9345
|
Switch: string
|
|
@@ -9436,7 +9461,7 @@ head:自定义请求头,填写具体value值,512字符以内;内容为
|
|
|
9436
9461
|
*/
|
|
9437
9462
|
export interface Https {
|
|
9438
9463
|
/**
|
|
9439
|
-
* https
|
|
9464
|
+
* https 配置开关,取值有:
|
|
9440
9465
|
on:开启
|
|
9441
9466
|
off:关闭
|
|
9442
9467
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -9538,7 +9563,7 @@ export interface ScdnEventLogConditions {
|
|
|
9538
9563
|
*/
|
|
9539
9564
|
export interface FollowRedirect {
|
|
9540
9565
|
/**
|
|
9541
|
-
*
|
|
9566
|
+
* 回源跟随配置开关,取值有:
|
|
9542
9567
|
on:开启
|
|
9543
9568
|
off:关闭
|
|
9544
9569
|
*/
|
|
@@ -9893,8 +9918,11 @@ export interface DescribeDomainsConfigResponse {
|
|
|
9893
9918
|
*/
|
|
9894
9919
|
export interface HttpsBilling {
|
|
9895
9920
|
/**
|
|
9896
|
-
|
|
9897
|
-
|
|
9921
|
+
* HTTPS服务配置开关,取值有:
|
|
9922
|
+
on:开启,缺省时默认开启【会产生计费】
|
|
9923
|
+
off:关闭,拦截https请求
|
|
9924
|
+
|
|
9925
|
+
*/
|
|
9898
9926
|
Switch: string
|
|
9899
9927
|
}
|
|
9900
9928
|
|
|
@@ -9966,7 +9994,7 @@ path: 根据完整访问路径生效
|
|
|
9966
9994
|
*/
|
|
9967
9995
|
export interface ErrorPage {
|
|
9968
9996
|
/**
|
|
9969
|
-
*
|
|
9997
|
+
* 状态码重定向配置开关,取值有:
|
|
9970
9998
|
on:开启
|
|
9971
9999
|
off:关闭
|
|
9972
10000
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -11000,8 +11028,10 @@ export interface EnableClsLogTopicRequest {
|
|
|
11000
11028
|
*/
|
|
11001
11029
|
export interface AccessControl {
|
|
11002
11030
|
/**
|
|
11003
|
-
|
|
11004
|
-
|
|
11031
|
+
* 启用请求头部及请求url访问控制开关,取值有:
|
|
11032
|
+
on:开启
|
|
11033
|
+
off:关闭
|
|
11034
|
+
*/
|
|
11005
11035
|
Switch: string
|
|
11006
11036
|
|
|
11007
11037
|
/**
|
|
@@ -11284,12 +11314,14 @@ export interface ErrorPageRule {
|
|
|
11284
11314
|
}
|
|
11285
11315
|
|
|
11286
11316
|
/**
|
|
11287
|
-
*
|
|
11317
|
+
* 华为云对象存储回源鉴权
|
|
11288
11318
|
*/
|
|
11289
11319
|
export interface HwPrivateAccess {
|
|
11290
11320
|
/**
|
|
11291
|
-
|
|
11292
|
-
|
|
11321
|
+
* 华为云对象存储回源鉴权配置开关,取值有:
|
|
11322
|
+
on:开启
|
|
11323
|
+
off:关闭
|
|
11324
|
+
*/
|
|
11293
11325
|
Switch: string
|
|
11294
11326
|
|
|
11295
11327
|
/**
|
|
@@ -19,6 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
DescribeNatFwInstanceRequest,
|
|
22
|
+
DescribeLogsRequest,
|
|
22
23
|
ModifyNatFwVpcDnsSwitchResponse,
|
|
23
24
|
DescribeNatFwInstanceWithRegionRequest,
|
|
24
25
|
ModifyNatAcRuleResponse,
|
|
@@ -171,6 +172,7 @@ import {
|
|
|
171
172
|
ExpandCfwVerticalResponse,
|
|
172
173
|
DescribeNatAcRuleRequest,
|
|
173
174
|
TLogInfo,
|
|
175
|
+
DescribeLogsResponse,
|
|
174
176
|
CreateSecurityGroupRulesRequest,
|
|
175
177
|
DeleteVpcInstanceRequest,
|
|
176
178
|
SwitchListsData,
|
|
@@ -594,16 +596,13 @@ export class Client extends AbstractClient {
|
|
|
594
596
|
}
|
|
595
597
|
|
|
596
598
|
/**
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
req
|
|
604
|
-
cb?: (error: string, rep: ModifyBlockIgnoreListResponse) => void
|
|
605
|
-
): Promise<ModifyBlockIgnoreListResponse> {
|
|
606
|
-
return this.request("ModifyBlockIgnoreList", req, cb)
|
|
599
|
+
* 日志审计日志查询
|
|
600
|
+
*/
|
|
601
|
+
async DescribeLogs(
|
|
602
|
+
req: DescribeLogsRequest,
|
|
603
|
+
cb?: (error: string, rep: DescribeLogsResponse) => void
|
|
604
|
+
): Promise<DescribeLogsResponse> {
|
|
605
|
+
return this.request("DescribeLogs", req, cb)
|
|
607
606
|
}
|
|
608
607
|
|
|
609
608
|
/**
|
|
@@ -738,6 +737,19 @@ export class Client extends AbstractClient {
|
|
|
738
737
|
return this.request("DescribeTableStatus", req, cb)
|
|
739
738
|
}
|
|
740
739
|
|
|
740
|
+
/**
|
|
741
|
+
* 支持对封禁列表、放通列表如下操作:
|
|
742
|
+
批量增加封禁IP、放通IP/域名
|
|
743
|
+
批量删除封禁IP、放通IP/域名
|
|
744
|
+
批量修改封禁IP、放通IP/域名生效事件
|
|
745
|
+
*/
|
|
746
|
+
async ModifyBlockIgnoreList(
|
|
747
|
+
req: ModifyBlockIgnoreListRequest,
|
|
748
|
+
cb?: (error: string, rep: ModifyBlockIgnoreListResponse) => void
|
|
749
|
+
): Promise<ModifyBlockIgnoreListResponse> {
|
|
750
|
+
return this.request("ModifyBlockIgnoreList", req, cb)
|
|
751
|
+
}
|
|
752
|
+
|
|
741
753
|
/**
|
|
742
754
|
* GetNatInstance 获取租户所有NAT实例及实例卡片信息
|
|
743
755
|
*/
|
|
@@ -20,6 +20,45 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export type DescribeNatFwInstanceRequest = null
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* DescribeLogs请求参数结构体
|
|
25
|
+
*/
|
|
26
|
+
export interface DescribeLogsRequest {
|
|
27
|
+
/**
|
|
28
|
+
* 日志类型标识
|
|
29
|
+
流量日志:互联网边界防火墙netflow_border,NAT边界防火墙netflow_nat,VPC间防火墙vpcnetflow,内网流量日志netflow_fl
|
|
30
|
+
入侵防御日志rule_threatinfo
|
|
31
|
+
访问控制日志:互联网边界规则rule_acl,NAT边界规则rule_acl,内网间规则rule_vpcacl,企业安全组rule_sg
|
|
32
|
+
操作日志:防火墙开关-开关操作operate_switch,防火墙开关-实例配置operate_instance,资产中心操作operate_assetgroup,访问控制操作operate_acl,零信任防护操作operate_identity,入侵防御操作-入侵防御operate_ids,入侵防御操作-安全基线operate_baseline,常用工具操作operate_tool,网络蜜罐操作operate_honeypot,日志投递操作operate_logdelivery,通用设置操作operate_logstorage,登录日志operate_login
|
|
33
|
+
*/
|
|
34
|
+
Index: string
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 每页条数,最大支持2000
|
|
38
|
+
*/
|
|
39
|
+
Limit: number
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 偏移值,最大支持60000
|
|
43
|
+
*/
|
|
44
|
+
Offset: number
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 筛选开始时间
|
|
48
|
+
*/
|
|
49
|
+
StartTime: string
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 筛选结束时间
|
|
53
|
+
*/
|
|
54
|
+
EndTime: string
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 过滤条件组合,各数组元素间为AND关系,查询字段名Name参考文档https://cloud.tencent.com/document/product/1132/87894,数值类型字段不支持模糊匹配
|
|
58
|
+
*/
|
|
59
|
+
Filters?: Array<CommonFilter>
|
|
60
|
+
}
|
|
61
|
+
|
|
23
62
|
/**
|
|
24
63
|
* ModifyNatFwVpcDnsSwitch返回参数结构体
|
|
25
64
|
*/
|
|
@@ -4336,6 +4375,36 @@ export interface TLogInfo {
|
|
|
4336
4375
|
BruteForceNum: number
|
|
4337
4376
|
}
|
|
4338
4377
|
|
|
4378
|
+
/**
|
|
4379
|
+
* DescribeLogs返回参数结构体
|
|
4380
|
+
*/
|
|
4381
|
+
export interface DescribeLogsResponse {
|
|
4382
|
+
/**
|
|
4383
|
+
* 日志列表
|
|
4384
|
+
*/
|
|
4385
|
+
Data?: string
|
|
4386
|
+
|
|
4387
|
+
/**
|
|
4388
|
+
* 总条数
|
|
4389
|
+
*/
|
|
4390
|
+
Total?: number
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* 返回状态码 0 成功 非0不成功
|
|
4394
|
+
*/
|
|
4395
|
+
ReturnCode?: number
|
|
4396
|
+
|
|
4397
|
+
/**
|
|
4398
|
+
* 返回信息 success 成功 其他 不成功
|
|
4399
|
+
*/
|
|
4400
|
+
ReturnMsg?: string
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4404
|
+
*/
|
|
4405
|
+
RequestId?: string
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4339
4408
|
/**
|
|
4340
4409
|
* CreateSecurityGroupRules请求参数结构体
|
|
4341
4410
|
*/
|
|
@@ -434,6 +434,12 @@ export interface CVMAssetVO {
|
|
|
434
434
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
435
435
|
*/
|
|
436
436
|
Os?: string
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* 风险服务暴露
|
|
440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
441
|
+
*/
|
|
442
|
+
RiskExposure?: number
|
|
437
443
|
}
|
|
438
444
|
|
|
439
445
|
/**
|
|
@@ -925,12 +931,12 @@ export interface Filter {
|
|
|
925
931
|
Offset?: number
|
|
926
932
|
|
|
927
933
|
/**
|
|
928
|
-
*
|
|
934
|
+
* 排序采用升序还是降序 升:asc 降 desc
|
|
929
935
|
*/
|
|
930
936
|
Order?: string
|
|
931
937
|
|
|
932
938
|
/**
|
|
933
|
-
*
|
|
939
|
+
* 需排序的字段
|
|
934
940
|
*/
|
|
935
941
|
By?: string
|
|
936
942
|
|
|
@@ -1274,6 +1280,12 @@ export interface DescribeCVMAssetsResponse {
|
|
|
1274
1280
|
*/
|
|
1275
1281
|
ZoneList?: Array<FilterDataObject>
|
|
1276
1282
|
|
|
1283
|
+
/**
|
|
1284
|
+
* os列表
|
|
1285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1286
|
+
*/
|
|
1287
|
+
OsList?: Array<FilterDataObject>
|
|
1288
|
+
|
|
1277
1289
|
/**
|
|
1278
1290
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1279
1291
|
*/
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
Describe5GAPNsResponse,
|
|
22
|
+
Modify5GInstanceAttributeRequest,
|
|
23
|
+
Delete5GInstanceResponse,
|
|
24
|
+
Modify5GInstanceAttributeResponse,
|
|
25
|
+
Describe5GInstancesResponse,
|
|
26
|
+
Describe5GAPNsRequest,
|
|
27
|
+
Create5GInstanceResponse,
|
|
28
|
+
Delete5GInstanceRequest,
|
|
29
|
+
Describe5GInstancesRequest,
|
|
30
|
+
Create5GInstanceRequest,
|
|
31
|
+
} from "./csxg_models"
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* csxg client
|
|
35
|
+
* @class
|
|
36
|
+
*/
|
|
37
|
+
export class Client extends AbstractClient {
|
|
38
|
+
constructor(clientConfig: ClientConfig) {
|
|
39
|
+
super("csxg.tencentcloudapi.com", "2023-03-03", clientConfig)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 修改5G入云服务
|
|
44
|
+
*/
|
|
45
|
+
async Modify5GInstanceAttribute(
|
|
46
|
+
req?: Modify5GInstanceAttributeRequest,
|
|
47
|
+
cb?: (error: string, rep: Modify5GInstanceAttributeResponse) => void
|
|
48
|
+
): Promise<Modify5GInstanceAttributeResponse> {
|
|
49
|
+
return this.request("Modify5GInstanceAttribute", req, cb)
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* 删除5G入云服务
|
|
54
|
+
*/
|
|
55
|
+
async Delete5GInstance(
|
|
56
|
+
req?: Delete5GInstanceRequest,
|
|
57
|
+
cb?: (error: string, rep: Delete5GInstanceResponse) => void
|
|
58
|
+
): Promise<Delete5GInstanceResponse> {
|
|
59
|
+
return this.request("Delete5GInstance", req, cb)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 创建5G入云服务接口
|
|
64
|
+
*/
|
|
65
|
+
async Create5GInstance(
|
|
66
|
+
req?: Create5GInstanceRequest,
|
|
67
|
+
cb?: (error: string, rep: Create5GInstanceResponse) => void
|
|
68
|
+
): Promise<Create5GInstanceResponse> {
|
|
69
|
+
return this.request("Create5GInstance", req, cb)
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 查询5G入云服务
|
|
74
|
+
*/
|
|
75
|
+
async Describe5GInstances(
|
|
76
|
+
req?: Describe5GInstancesRequest,
|
|
77
|
+
cb?: (error: string, rep: Describe5GInstancesResponse) => void
|
|
78
|
+
): Promise<Describe5GInstancesResponse> {
|
|
79
|
+
return this.request("Describe5GInstances", req, cb)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 查询APN信息
|
|
84
|
+
*/
|
|
85
|
+
async Describe5GAPNs(
|
|
86
|
+
req?: Describe5GAPNsRequest,
|
|
87
|
+
cb?: (error: string, rep: Describe5GAPNsResponse) => void
|
|
88
|
+
): Promise<Describe5GAPNsResponse> {
|
|
89
|
+
return this.request("Describe5GAPNs", req, cb)
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Describe5GAPNs返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface Describe5GAPNsResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
24
|
+
*/
|
|
25
|
+
RequestId?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Modify5GInstanceAttribute请求参数结构体
|
|
30
|
+
*/
|
|
31
|
+
export type Modify5GInstanceAttributeRequest = null
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Delete5GInstance返回参数结构体
|
|
35
|
+
*/
|
|
36
|
+
export interface Delete5GInstanceResponse {
|
|
37
|
+
/**
|
|
38
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
39
|
+
*/
|
|
40
|
+
RequestId?: string
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Modify5GInstanceAttribute返回参数结构体
|
|
45
|
+
*/
|
|
46
|
+
export interface Modify5GInstanceAttributeResponse {
|
|
47
|
+
/**
|
|
48
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
49
|
+
*/
|
|
50
|
+
RequestId?: string
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describe5GInstances返回参数结构体
|
|
55
|
+
*/
|
|
56
|
+
export interface Describe5GInstancesResponse {
|
|
57
|
+
/**
|
|
58
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
59
|
+
*/
|
|
60
|
+
RequestId?: string
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describe5GAPNs请求参数结构体
|
|
65
|
+
*/
|
|
66
|
+
export type Describe5GAPNsRequest = null
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Create5GInstance返回参数结构体
|
|
70
|
+
*/
|
|
71
|
+
export interface Create5GInstanceResponse {
|
|
72
|
+
/**
|
|
73
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
74
|
+
*/
|
|
75
|
+
RequestId?: string
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Delete5GInstance请求参数结构体
|
|
80
|
+
*/
|
|
81
|
+
export type Delete5GInstanceRequest = null
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describe5GInstances请求参数结构体
|
|
85
|
+
*/
|
|
86
|
+
export type Describe5GInstancesRequest = null
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Create5GInstance请求参数结构体
|
|
90
|
+
*/
|
|
91
|
+
export type Create5GInstanceRequest = null
|