tencentcloud-sdk-nodejs 4.0.600 → 4.0.602
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 +684 -0
- package/SERVICE_CHANGELOG.md +935 -81
- package/package.json +1 -1
- package/products.md +193 -193
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +38 -6
- package/src/services/bma/v20221115/bma_models.ts +5 -0
- package/src/services/cbs/v20170312/cbs_models.ts +3 -3
- package/src/services/cdb/v20170320/cdb_client.ts +6 -2
- package/src/services/cdb/v20170320/cdb_models.ts +17 -11
- package/src/services/cdn/v20180606/cdn_models.ts +140 -77
- package/src/services/cfw/v20190904/cfw_client.ts +22 -10
- package/src/services/cfw/v20190904/cfw_models.ts +69 -0
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/csip/v20221121/csip_models.ts +14 -2
- package/src/services/domain/v20180808/domain_models.ts +6 -0
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +10 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +14 -3
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +1 -1
- 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/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +12 -12
- 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 +981 -179
- package/src/services/teo/v20220901/teo_models.ts +5 -0
- package/src/services/thpc/v20230321/thpc_models.ts +28 -0
- package/src/services/tsf/v20180326/tsf_client.ts +18 -6
- package/src/services/tsf/v20180326/tsf_models.ts +31 -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 +54 -24
- 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/bma/v20221115/bma_models.d.ts +4 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +6 -2
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +16 -11
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +122 -59
- 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/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +12 -2
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +11 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- 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/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +12 -12
- 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 +826 -181
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +24 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +7 -3
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +9 -3
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +27 -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 +48 -24
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +1 -1
- package/test/cfw.v20190904.test.js +12 -2
- package/test/ssl.v20191205.test.js +220 -10
- package/test/tsf.v20180326.test.js +12 -2
|
@@ -109,7 +109,7 @@ export interface ScdnTopUrlData {
|
|
|
109
109
|
*/
|
|
110
110
|
export interface Compression {
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* 智能压缩配置开关,取值有:
|
|
113
113
|
on:开启
|
|
114
114
|
off:关闭
|
|
115
115
|
*/
|
|
@@ -417,7 +417,7 @@ export interface ScdnDomain {
|
|
|
417
417
|
*/
|
|
418
418
|
export interface CacheConfigNoCache {
|
|
419
419
|
/**
|
|
420
|
-
*
|
|
420
|
+
* 路径缓存不缓存配置配置开关,取值有:
|
|
421
421
|
on:开启
|
|
422
422
|
off:关闭
|
|
423
423
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -550,7 +550,9 @@ ip表示查询BOT客户端IP的Top信息
|
|
|
550
550
|
*/
|
|
551
551
|
export interface RedirectConfig {
|
|
552
552
|
/**
|
|
553
|
-
*
|
|
553
|
+
* 自定义回源302 follow请求host配置开关,取值有:
|
|
554
|
+
on:开启
|
|
555
|
+
off:关闭
|
|
554
556
|
*/
|
|
555
557
|
Switch: string;
|
|
556
558
|
/**
|
|
@@ -1417,8 +1419,9 @@ export interface DescribeEdgePackTaskStatusResponse {
|
|
|
1417
1419
|
*/
|
|
1418
1420
|
export interface HeuristicCache {
|
|
1419
1421
|
/**
|
|
1420
|
-
*
|
|
1421
|
-
|
|
1422
|
+
* 启发式缓存配置开关,取值有:
|
|
1423
|
+
on:开启
|
|
1424
|
+
off:关闭
|
|
1422
1425
|
*/
|
|
1423
1426
|
Switch: string;
|
|
1424
1427
|
/**
|
|
@@ -1516,7 +1519,7 @@ export interface PostSize {
|
|
|
1516
1519
|
*/
|
|
1517
1520
|
export interface ForceRedirect {
|
|
1518
1521
|
/**
|
|
1519
|
-
*
|
|
1522
|
+
* 访问强制跳转配置开关,取值有:
|
|
1520
1523
|
on:开启
|
|
1521
1524
|
off:关闭
|
|
1522
1525
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1607,7 +1610,7 @@ overseas:中国境外
|
|
|
1607
1610
|
*/
|
|
1608
1611
|
export interface DownstreamCapping {
|
|
1609
1612
|
/**
|
|
1610
|
-
*
|
|
1613
|
+
* 下行速度配置开关,取值有:
|
|
1611
1614
|
on:开启
|
|
1612
1615
|
off:关闭
|
|
1613
1616
|
*/
|
|
@@ -1697,7 +1700,7 @@ export interface StartScdnDomainResponse {
|
|
|
1697
1700
|
*/
|
|
1698
1701
|
export interface ResponseHeader {
|
|
1699
1702
|
/**
|
|
1700
|
-
*
|
|
1703
|
+
* 自定义响应头配置开关,取值有:
|
|
1701
1704
|
on:开启
|
|
1702
1705
|
off:关闭
|
|
1703
1706
|
*/
|
|
@@ -1891,7 +1894,7 @@ export interface DDoSAttackBandwidthData {
|
|
|
1891
1894
|
*/
|
|
1892
1895
|
export interface OriginPullOptimization {
|
|
1893
1896
|
/**
|
|
1894
|
-
*
|
|
1897
|
+
* 跨国回源优化配置开关,取值有:
|
|
1895
1898
|
on:开启
|
|
1896
1899
|
off:关闭
|
|
1897
1900
|
*/
|
|
@@ -1992,7 +1995,7 @@ excludeCustom:自定义排除
|
|
|
1992
1995
|
*/
|
|
1993
1996
|
export interface MaxAge {
|
|
1994
1997
|
/**
|
|
1995
|
-
*
|
|
1998
|
+
* 浏览器缓存配置开关,取值有:
|
|
1996
1999
|
on:开启
|
|
1997
2000
|
off:关闭
|
|
1998
2001
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2079,7 +2082,9 @@ off:不支持
|
|
|
2079
2082
|
*/
|
|
2080
2083
|
export interface AwsPrivateAccess {
|
|
2081
2084
|
/**
|
|
2082
|
-
*
|
|
2085
|
+
* s3源站回源鉴权配置项开关,取值有:
|
|
2086
|
+
on:开启
|
|
2087
|
+
off:关闭
|
|
2083
2088
|
*/
|
|
2084
2089
|
Switch: string;
|
|
2085
2090
|
/**
|
|
@@ -2257,7 +2262,9 @@ export interface ExtraLogset {
|
|
|
2257
2262
|
*/
|
|
2258
2263
|
export interface OfflineCache {
|
|
2259
2264
|
/**
|
|
2260
|
-
*
|
|
2265
|
+
* 离线缓存配置开关,取值有:
|
|
2266
|
+
on:开启
|
|
2267
|
+
off:关闭
|
|
2261
2268
|
*/
|
|
2262
2269
|
Switch: string;
|
|
2263
2270
|
}
|
|
@@ -2448,7 +2455,9 @@ export interface DescribePurgeQuotaResponse {
|
|
|
2448
2455
|
*/
|
|
2449
2456
|
export interface AvifAdapter {
|
|
2450
2457
|
/**
|
|
2451
|
-
*
|
|
2458
|
+
* 图片优化AvifAdapter配置项开关,取值有:
|
|
2459
|
+
on:开启
|
|
2460
|
+
off:关闭
|
|
2452
2461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2453
2462
|
*/
|
|
2454
2463
|
Switch?: string;
|
|
@@ -2684,7 +2693,7 @@ failed: 失败
|
|
|
2684
2693
|
*/
|
|
2685
2694
|
export interface Referer {
|
|
2686
2695
|
/**
|
|
2687
|
-
* referer
|
|
2696
|
+
* referer 黑白名单配置开关,取值有:
|
|
2688
2697
|
on:开启
|
|
2689
2698
|
off:关闭
|
|
2690
2699
|
*/
|
|
@@ -3010,7 +3019,7 @@ off:关闭
|
|
|
3010
3019
|
*/
|
|
3011
3020
|
export interface CacheConfigCache {
|
|
3012
3021
|
/**
|
|
3013
|
-
*
|
|
3022
|
+
* 路径缓存配置开关,取值有:
|
|
3014
3023
|
on:开启
|
|
3015
3024
|
off:关闭
|
|
3016
3025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3184,7 +3193,9 @@ disabled:未启用
|
|
|
3184
3193
|
*/
|
|
3185
3194
|
export interface BotCookie {
|
|
3186
3195
|
/**
|
|
3187
|
-
*
|
|
3196
|
+
* Bot cookie策略配置开关,取值有:
|
|
3197
|
+
on:开启
|
|
3198
|
+
off:关闭
|
|
3188
3199
|
*/
|
|
3189
3200
|
Switch: string;
|
|
3190
3201
|
/**
|
|
@@ -3475,7 +3486,7 @@ global:全球加速
|
|
|
3475
3486
|
*/
|
|
3476
3487
|
export interface CacheConfigFollowOrigin {
|
|
3477
3488
|
/**
|
|
3478
|
-
*
|
|
3489
|
+
* 路径缓存遵循源站配置开关,取值有:
|
|
3479
3490
|
on:开启
|
|
3480
3491
|
off:关闭
|
|
3481
3492
|
*/
|
|
@@ -3553,7 +3564,9 @@ export interface DescribeHttpsPackagesResponse {
|
|
|
3553
3564
|
*/
|
|
3554
3565
|
export interface QnPrivateAccess {
|
|
3555
3566
|
/**
|
|
3556
|
-
*
|
|
3567
|
+
* 七牛元对象存储回源鉴权配置开关,取值有:
|
|
3568
|
+
on:开启
|
|
3569
|
+
off:关闭
|
|
3557
3570
|
*/
|
|
3558
3571
|
Switch: string;
|
|
3559
3572
|
/**
|
|
@@ -3603,7 +3616,9 @@ export interface DescribeCertDomainsResponse {
|
|
|
3603
3616
|
*/
|
|
3604
3617
|
export interface ScdnBotConfig {
|
|
3605
3618
|
/**
|
|
3606
|
-
*
|
|
3619
|
+
* Scdn bot配置开关,取值有:
|
|
3620
|
+
on:开启
|
|
3621
|
+
off:关闭
|
|
3607
3622
|
*/
|
|
3608
3623
|
Switch: string;
|
|
3609
3624
|
/**
|
|
@@ -3740,7 +3755,7 @@ export interface DescribeCdnOriginIpResponse {
|
|
|
3740
3755
|
*/
|
|
3741
3756
|
export interface RangeOriginPull {
|
|
3742
3757
|
/**
|
|
3743
|
-
*
|
|
3758
|
+
* 分片回源配置开关,取值有:
|
|
3744
3759
|
on:开启
|
|
3745
3760
|
off:关闭
|
|
3746
3761
|
*/
|
|
@@ -3956,7 +3971,7 @@ export interface DescribeScdnIpStrategyRequest {
|
|
|
3956
3971
|
*/
|
|
3957
3972
|
export interface IpFreqLimit {
|
|
3958
3973
|
/**
|
|
3959
|
-
* IP
|
|
3974
|
+
* IP 限频配置开关,取值有:
|
|
3960
3975
|
on:开启
|
|
3961
3976
|
off:关闭
|
|
3962
3977
|
*/
|
|
@@ -4098,7 +4113,9 @@ export interface BotStatisticsCount {
|
|
|
4098
4113
|
*/
|
|
4099
4114
|
export interface RangeOriginPullRule {
|
|
4100
4115
|
/**
|
|
4101
|
-
*
|
|
4116
|
+
* 分片回源配置开关,取值有:
|
|
4117
|
+
on:开启
|
|
4118
|
+
off:关闭
|
|
4102
4119
|
*/
|
|
4103
4120
|
Switch: string;
|
|
4104
4121
|
/**
|
|
@@ -4424,8 +4441,9 @@ export interface CreateDiagnoseUrlRequest {
|
|
|
4424
4441
|
*/
|
|
4425
4442
|
export interface CacheConfig {
|
|
4426
4443
|
/**
|
|
4427
|
-
*
|
|
4428
|
-
|
|
4444
|
+
* 启发式自定义时间缓存配置开关,取值有:
|
|
4445
|
+
on:开启
|
|
4446
|
+
off:关闭
|
|
4429
4447
|
*/
|
|
4430
4448
|
HeuristicCacheTimeSwitch: string;
|
|
4431
4449
|
/**
|
|
@@ -4473,7 +4491,9 @@ export interface ListDiagnoseReportResponse {
|
|
|
4473
4491
|
*/
|
|
4474
4492
|
export interface HeaderKey {
|
|
4475
4493
|
/**
|
|
4476
|
-
*
|
|
4494
|
+
* 组成Cachekey配置开关,取值有:
|
|
4495
|
+
on:开启
|
|
4496
|
+
off:关闭
|
|
4477
4497
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4478
4498
|
*/
|
|
4479
4499
|
Switch?: string;
|
|
@@ -4514,7 +4534,7 @@ export interface DescribeHttpsPackagesRequest {
|
|
|
4514
4534
|
*/
|
|
4515
4535
|
export interface IpFilter {
|
|
4516
4536
|
/**
|
|
4517
|
-
* IP
|
|
4537
|
+
* IP 黑白名单配置开关,取值有
|
|
4518
4538
|
on:开启
|
|
4519
4539
|
off:关闭
|
|
4520
4540
|
*/
|
|
@@ -4820,7 +4840,10 @@ export interface StopScdnDomainRequest {
|
|
|
4820
4840
|
*/
|
|
4821
4841
|
export interface AdvancedAuthentication {
|
|
4822
4842
|
/**
|
|
4823
|
-
*
|
|
4843
|
+
* 防盗链配置开关,取值有:
|
|
4844
|
+
on:开启
|
|
4845
|
+
off:关闭
|
|
4846
|
+
开启时必须且只配置一种模式,其余模式需要设置为 null
|
|
4824
4847
|
*/
|
|
4825
4848
|
Switch: string;
|
|
4826
4849
|
/**
|
|
@@ -4859,7 +4882,10 @@ export interface AdvancedAuthentication {
|
|
|
4859
4882
|
*/
|
|
4860
4883
|
export interface Revalidate {
|
|
4861
4884
|
/**
|
|
4862
|
-
*
|
|
4885
|
+
* 总是回源校验配置开关,取值有:
|
|
4886
|
+
on:开启
|
|
4887
|
+
off:关闭
|
|
4888
|
+
|
|
4863
4889
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4864
4890
|
*/
|
|
4865
4891
|
Switch: string;
|
|
@@ -4899,7 +4925,9 @@ export interface UrlRecord {
|
|
|
4899
4925
|
*/
|
|
4900
4926
|
export interface OthersPrivateAccess {
|
|
4901
4927
|
/**
|
|
4902
|
-
*
|
|
4928
|
+
* 其他厂商对象存储回源鉴权配置开关,取值有:
|
|
4929
|
+
on:开启
|
|
4930
|
+
off:关闭
|
|
4903
4931
|
*/
|
|
4904
4932
|
Switch: string;
|
|
4905
4933
|
/**
|
|
@@ -4941,7 +4969,7 @@ export interface DescribePushQuotaResponse {
|
|
|
4941
4969
|
*/
|
|
4942
4970
|
export interface Authentication {
|
|
4943
4971
|
/**
|
|
4944
|
-
*
|
|
4972
|
+
* 防盗链配置开关,取值有:
|
|
4945
4973
|
on:开启
|
|
4946
4974
|
off:关闭
|
|
4947
4975
|
开启时必须且只配置一种模式,其余模式需要设置为 null
|
|
@@ -5308,7 +5336,9 @@ contentType 时填充 text/html
|
|
|
5308
5336
|
*/
|
|
5309
5337
|
export interface GuetzliAdapter {
|
|
5310
5338
|
/**
|
|
5311
|
-
*
|
|
5339
|
+
* 图片优化-GuetzliAdapter配置开关,取值有:
|
|
5340
|
+
on:开启
|
|
5341
|
+
off:关闭
|
|
5312
5342
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5313
5343
|
*/
|
|
5314
5344
|
Switch?: string;
|
|
@@ -5318,7 +5348,9 @@ export interface GuetzliAdapter {
|
|
|
5318
5348
|
*/
|
|
5319
5349
|
export interface OriginCombine {
|
|
5320
5350
|
/**
|
|
5321
|
-
*
|
|
5351
|
+
* 合并回源配置开关,取值有:
|
|
5352
|
+
on:开启
|
|
5353
|
+
off:关闭
|
|
5322
5354
|
*/
|
|
5323
5355
|
Switch: string;
|
|
5324
5356
|
}
|
|
@@ -5493,11 +5525,13 @@ export interface ListClsTopicDomainsResponse {
|
|
|
5493
5525
|
RequestId?: string;
|
|
5494
5526
|
}
|
|
5495
5527
|
/**
|
|
5496
|
-
* Ipv6
|
|
5528
|
+
* Ipv6源站启用配置,不可更改
|
|
5497
5529
|
*/
|
|
5498
5530
|
export interface Ipv6 {
|
|
5499
5531
|
/**
|
|
5500
|
-
*
|
|
5532
|
+
* 域名开启源站ipv6配置开关,取值有:
|
|
5533
|
+
on:开启
|
|
5534
|
+
off:关闭
|
|
5501
5535
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5502
5536
|
*/
|
|
5503
5537
|
Switch: string;
|
|
@@ -6282,7 +6316,9 @@ export interface GetDisableRecordsResponse {
|
|
|
6282
6316
|
*/
|
|
6283
6317
|
export interface Ipv6Access {
|
|
6284
6318
|
/**
|
|
6285
|
-
*
|
|
6319
|
+
* 域名开启ipv6访问配置开关,取值有:
|
|
6320
|
+
on:开启
|
|
6321
|
+
off:关闭
|
|
6286
6322
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6287
6323
|
*/
|
|
6288
6324
|
Switch: string;
|
|
@@ -6606,7 +6642,7 @@ off:关闭
|
|
|
6606
6642
|
*/
|
|
6607
6643
|
export interface RequestHeader {
|
|
6608
6644
|
/**
|
|
6609
|
-
*
|
|
6645
|
+
* 自定义请求头配置开关,取值有:
|
|
6610
6646
|
on:开启
|
|
6611
6647
|
off:关闭
|
|
6612
6648
|
*/
|
|
@@ -6622,7 +6658,9 @@ off:关闭
|
|
|
6622
6658
|
*/
|
|
6623
6659
|
export interface Hsts {
|
|
6624
6660
|
/**
|
|
6625
|
-
*
|
|
6661
|
+
* HSTS 配置开关,取值有:
|
|
6662
|
+
on:开启
|
|
6663
|
+
off:关闭
|
|
6626
6664
|
*/
|
|
6627
6665
|
Switch: string;
|
|
6628
6666
|
/**
|
|
@@ -6725,7 +6763,10 @@ district:省份(中国境内)、国家/地区(中国境外)映射查
|
|
|
6725
6763
|
*/
|
|
6726
6764
|
export interface RuleQueryString {
|
|
6727
6765
|
/**
|
|
6728
|
-
*
|
|
6766
|
+
* 路径保留参数配置开关,取值有:
|
|
6767
|
+
on:开启,CacheKey由QueryString组成
|
|
6768
|
+
off:关闭,CacheKey不由QueryString组成
|
|
6769
|
+
|
|
6729
6770
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6730
6771
|
*/
|
|
6731
6772
|
Switch: string;
|
|
@@ -7114,7 +7155,9 @@ export interface ScdnTopData {
|
|
|
7114
7155
|
*/
|
|
7115
7156
|
export interface OssPrivateAccess {
|
|
7116
7157
|
/**
|
|
7117
|
-
*
|
|
7158
|
+
* oss回源鉴权配置开关,取值有:
|
|
7159
|
+
on:开启
|
|
7160
|
+
off:关闭
|
|
7118
7161
|
*/
|
|
7119
7162
|
Switch: string;
|
|
7120
7163
|
/**
|
|
@@ -7176,7 +7219,9 @@ off:关闭
|
|
|
7176
7219
|
*/
|
|
7177
7220
|
export interface CookieKey {
|
|
7178
7221
|
/**
|
|
7179
|
-
*
|
|
7222
|
+
* 使用Cookie作为Cache的一部分配置开关,取值有:
|
|
7223
|
+
on:开启,使用Cookie作为Cache的一部分
|
|
7224
|
+
off:关闭,不使用Cookie作为Cache的一部分
|
|
7180
7225
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7181
7226
|
*/
|
|
7182
7227
|
Switch: string;
|
|
@@ -7191,7 +7236,7 @@ export interface CookieKey {
|
|
|
7191
7236
|
*/
|
|
7192
7237
|
export interface BandwidthAlert {
|
|
7193
7238
|
/**
|
|
7194
|
-
*
|
|
7239
|
+
* 用量封顶配置开关,取值有:
|
|
7195
7240
|
on:开启
|
|
7196
7241
|
off:关闭
|
|
7197
7242
|
*/
|
|
@@ -7213,7 +7258,7 @@ RETURN_404:全部请求返回 404
|
|
|
7213
7258
|
*/
|
|
7214
7259
|
LastTriggerTime?: string;
|
|
7215
7260
|
/**
|
|
7216
|
-
*
|
|
7261
|
+
* 用量封顶提醒配置开关,取值有:
|
|
7217
7262
|
on:开启
|
|
7218
7263
|
off:关闭
|
|
7219
7264
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -7862,7 +7907,9 @@ off:关闭
|
|
|
7862
7907
|
*/
|
|
7863
7908
|
export interface ScdnAclConfig {
|
|
7864
7909
|
/**
|
|
7865
|
-
*
|
|
7910
|
+
* SCDN访问控制配置开关,取值有:
|
|
7911
|
+
on:开启
|
|
7912
|
+
off:关闭
|
|
7866
7913
|
*/
|
|
7867
7914
|
Switch: string;
|
|
7868
7915
|
/**
|
|
@@ -7886,7 +7933,10 @@ export interface ScdnAclConfig {
|
|
|
7886
7933
|
*/
|
|
7887
7934
|
export interface OriginAuthentication {
|
|
7888
7935
|
/**
|
|
7889
|
-
*
|
|
7936
|
+
* 回源鉴权高级配置开关,取值有:
|
|
7937
|
+
on:开启
|
|
7938
|
+
off:关闭
|
|
7939
|
+
|
|
7890
7940
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7891
7941
|
*/
|
|
7892
7942
|
Switch: string;
|
|
@@ -7993,7 +8043,9 @@ ecdn表示ECDN数据
|
|
|
7993
8043
|
*/
|
|
7994
8044
|
export interface CacheTagKey {
|
|
7995
8045
|
/**
|
|
7996
|
-
*
|
|
8046
|
+
* 使用CacheTag作为CacheKey的一部分配置开关,取值有
|
|
8047
|
+
on:开启,使用CacheTag作为CacheKey的一部分
|
|
8048
|
+
off:关闭,不使用CacheTag作为CacheKey的一部分
|
|
7997
8049
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7998
8050
|
*/
|
|
7999
8051
|
Switch: string;
|
|
@@ -8101,7 +8153,7 @@ head:自定义请求头,填写具体value值,512字符以内;内容为
|
|
|
8101
8153
|
*/
|
|
8102
8154
|
export interface Https {
|
|
8103
8155
|
/**
|
|
8104
|
-
* https
|
|
8156
|
+
* https 配置开关,取值有:
|
|
8105
8157
|
on:开启
|
|
8106
8158
|
off:关闭
|
|
8107
8159
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -8190,7 +8242,7 @@ export interface ScdnEventLogConditions {
|
|
|
8190
8242
|
*/
|
|
8191
8243
|
export interface FollowRedirect {
|
|
8192
8244
|
/**
|
|
8193
|
-
*
|
|
8245
|
+
* 回源跟随配置开关,取值有:
|
|
8194
8246
|
on:开启
|
|
8195
8247
|
off:关闭
|
|
8196
8248
|
*/
|
|
@@ -8465,7 +8517,7 @@ export interface DescribeDistrictIspDataResponse {
|
|
|
8465
8517
|
*/
|
|
8466
8518
|
export interface RuleEngine {
|
|
8467
8519
|
/**
|
|
8468
|
-
*
|
|
8520
|
+
* 规则引擎配置开关,取值有:
|
|
8469
8521
|
on:开启
|
|
8470
8522
|
off:关闭
|
|
8471
8523
|
*/
|
|
@@ -8499,7 +8551,10 @@ export interface DescribeDomainsConfigResponse {
|
|
|
8499
8551
|
*/
|
|
8500
8552
|
export interface HttpsBilling {
|
|
8501
8553
|
/**
|
|
8502
|
-
* HTTPS
|
|
8554
|
+
* HTTPS服务配置开关,取值有:
|
|
8555
|
+
on:开启,缺省时默认开启【会产生计费】
|
|
8556
|
+
off:关闭,拦截https请求
|
|
8557
|
+
|
|
8503
8558
|
*/
|
|
8504
8559
|
Switch: string;
|
|
8505
8560
|
}
|
|
@@ -8563,7 +8618,7 @@ path: 根据完整访问路径生效
|
|
|
8563
8618
|
*/
|
|
8564
8619
|
export interface ErrorPage {
|
|
8565
8620
|
/**
|
|
8566
|
-
*
|
|
8621
|
+
* 状态码重定向配置开关,取值有:
|
|
8567
8622
|
on:开启
|
|
8568
8623
|
off:关闭
|
|
8569
8624
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -9379,7 +9434,9 @@ ip表示查询BOT客户端IP的Top信息
|
|
|
9379
9434
|
*/
|
|
9380
9435
|
export interface BotJavaScript {
|
|
9381
9436
|
/**
|
|
9382
|
-
*
|
|
9437
|
+
* Bot js策略配置开关,取值有:
|
|
9438
|
+
on:开启
|
|
9439
|
+
off:关闭
|
|
9383
9440
|
*/
|
|
9384
9441
|
Switch: string;
|
|
9385
9442
|
/**
|
|
@@ -9431,7 +9488,7 @@ day:天粒度
|
|
|
9431
9488
|
*/
|
|
9432
9489
|
export interface ResponseHeaderCache {
|
|
9433
9490
|
/**
|
|
9434
|
-
*
|
|
9491
|
+
* 源站头部缓存配置开关,取值有:
|
|
9435
9492
|
on:开启
|
|
9436
9493
|
off:关闭
|
|
9437
9494
|
*/
|
|
@@ -9459,7 +9516,9 @@ export interface EnableClsLogTopicRequest {
|
|
|
9459
9516
|
*/
|
|
9460
9517
|
export interface AccessControl {
|
|
9461
9518
|
/**
|
|
9462
|
-
*
|
|
9519
|
+
* 启用请求头部及请求url访问控制开关,取值有:
|
|
9520
|
+
on:开启
|
|
9521
|
+
off:关闭
|
|
9463
9522
|
*/
|
|
9464
9523
|
Switch: string;
|
|
9465
9524
|
/**
|
|
@@ -9480,9 +9539,9 @@ RemoteAuthenticationRules和Server 互斥,只需要配置其中一个。
|
|
|
9480
9539
|
*/
|
|
9481
9540
|
export interface RemoteAuthentication {
|
|
9482
9541
|
/**
|
|
9483
|
-
*
|
|
9484
|
-
on
|
|
9485
|
-
off
|
|
9542
|
+
* 远程鉴权配置开关,取值有:
|
|
9543
|
+
on:开启
|
|
9544
|
+
off:关闭
|
|
9486
9545
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9487
9546
|
*/
|
|
9488
9547
|
Switch: string;
|
|
@@ -9572,7 +9631,9 @@ path 时填充绝对路径,如 /xxx/test.html
|
|
|
9572
9631
|
*/
|
|
9573
9632
|
export interface Quic {
|
|
9574
9633
|
/**
|
|
9575
|
-
*
|
|
9634
|
+
* Quic功能配置开关,取值有:
|
|
9635
|
+
on:开启
|
|
9636
|
+
off:关闭
|
|
9576
9637
|
*/
|
|
9577
9638
|
Switch: string;
|
|
9578
9639
|
}
|
|
@@ -9706,11 +9767,13 @@ export interface ErrorPageRule {
|
|
|
9706
9767
|
RedirectUrl: string;
|
|
9707
9768
|
}
|
|
9708
9769
|
/**
|
|
9709
|
-
*
|
|
9770
|
+
* 华为云对象存储回源鉴权
|
|
9710
9771
|
*/
|
|
9711
9772
|
export interface HwPrivateAccess {
|
|
9712
9773
|
/**
|
|
9713
|
-
*
|
|
9774
|
+
* 华为云对象存储回源鉴权配置开关,取值有:
|
|
9775
|
+
on:开启
|
|
9776
|
+
off:关闭
|
|
9714
9777
|
*/
|
|
9715
9778
|
Switch: string;
|
|
9716
9779
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeNatFwInstanceRequest, ModifyNatFwVpcDnsSwitchResponse, DescribeNatFwInstanceWithRegionRequest, ModifyNatAcRuleResponse, DescribeRuleOverviewResponse, DescribeNatAcRuleResponse, ModifyPublicIPSwitchStatusResponse, ModifyNatAcRuleRequest, ModifyAcRuleResponse, ModifyNatSequenceRulesRequest, DescribeTableStatusResponse, AddAcRuleRequest, ModifyNatFwVpcDnsSwitchRequest, DeleteNatFwInstanceResponse, DeleteAllAccessControlRuleRequest, ModifySecurityGroupRuleRequest, ModifyAllVPCSwitchStatusResponse, DescribeNatFwVpcDnsLstRequest, DescribeCfwEipsRequest, DescribeTLogInfoResponse, DescribeUnHandleEventTabListRequest, DescribeAssociatedInstanceListResponse, ModifyStorageSettingResponse, RemoveAcRuleResponse, CreateSecurityGroupRulesResponse, ExpandCfwVerticalRequest, ModifyAllPublicIPSwitchStatusResponse, DeleteVpcInstanceResponse, ModifyAssetScanRequest, ModifyBlockIgnoreListRequest, AddEnterpriseSecurityGroupRulesRequest, DeleteSecurityGroupRuleResponse, ModifySequenceRulesRequest, CreateNatFwInstanceRequest, ModifySecurityGroupItemRuleStatusResponse, DescribeEnterpriseSecurityGroupRuleResponse, DescribeEnterpriseSecurityGroupRuleRequest, ModifyNatFwReSelectResponse, DeleteSecurityGroupRuleRequest, SetNatFwEipRequest, SetNatFwEipResponse, ModifyPublicIPSwitchStatusRequest, ModifySecurityGroupItemRuleStatusRequest, DescribeSourceAssetRequest, DescribeSourceAssetResponse, DescribeTLogInfoRequest, DescribeSecurityGroupListResponse, DescribeTLogIpListRequest, DescribeNatFwInstancesInfoRequest, ModifyNatSequenceRulesResponse, DescribeTableStatusRequest, DescribeSecurityGroupListRequest, ModifyResourceGroupRequest, CreateNatFwInstanceResponse, DescribeNatFwInfoCountResponse, DescribeDefenseSwitchRequest, ModifyEnterpriseSecurityDispatchStatusResponse, RemoveNatAcRuleResponse, CreateNatFwInstanceWithDomainResponse, RemoveAcRuleRequest, RemoveNatAcRuleRequest, ModifyAllRuleStatusRequest, DescribeAcListsResponse, ModifyAllPublicIPSwitchStatusRequest, DescribeBlockStaticListResponse, AddNatAcRuleRequest, ModifySecurityGroupSequenceRulesRequest, CreateDatabaseWhiteListRulesResponse, CreateChooseVpcsResponse, DescribeUnHandleEventTabListResponse, ModifyRunSyncAssetResponse, ModifyEnterpriseSecurityGroupRuleResponse, ModifySecurityGroupSequenceRulesResponse, AddEnterpriseSecurityGroupRulesResponse, RemoveEnterpriseSecurityGroupRuleRequest, DeleteResourceGroupRequest, DescribeBlockByIpTimesListRequest, RemoveEnterpriseSecurityGroupRuleResponse, ModifyEnterpriseSecurityGroupRuleRequest, ModifySequenceRulesResponse, DescribeResourceGroupNewResponse, DescribeNatFwInstanceWithRegionResponse, DescribeResourceGroupNewRequest, ModifyBlockTopRequest, DeleteAcRuleResponse, DescribeIPStatusListRequest, ModifyNatFwSwitchResponse, DescribeBlockByIpTimesListResponse, SetNatFwDnatRuleResponse, DescribeRuleOverviewRequest, DescribeDefenseSwitchResponse, DescribeAcListsRequest, DescribeGuideScanInfoRequest, DescribeAssociatedInstanceListRequest, DeleteAcRuleRequest, DeleteAllAccessControlRuleResponse, ModifyNatFwSwitchRequest, DescribeIPStatusListResponse, CreateDatabaseWhiteListRulesRequest, DescribeResourceGroupResponse, DescribeTLogIpListResponse, StopSecurityGroupRuleDispatchResponse, DescribeNatFwInfoCountRequest, AddAcRuleResponse, ModifyNatFwReSelectRequest, SetNatFwDnatRuleRequest, ModifyAllVPCSwitchStatusRequest, ModifyAllRuleStatusResponse, StopSecurityGroupRuleDispatchRequest, DescribeBlockIgnoreListRequest, ModifyBlockTopResponse, DeleteNatFwInstanceRequest, ModifyStorageSettingRequest, DescribeNatFwVpcDnsLstResponse, CreateChooseVpcsRequest, ExpandCfwVerticalResponse, DescribeNatAcRuleRequest, CreateSecurityGroupRulesRequest, DeleteVpcInstanceRequest, CreateNatFwInstanceWithDomainRequest, DescribeSwitchListsResponse, DescribeCfwEipsResponse, ModifyResourceGroupResponse, DeleteResourceGroupResponse, DescribeSwitchListsRequest, DescribeBlockStaticListRequest, ModifyRunSyncAssetRequest, CreateAcRulesResponse, ModifyAssetScanResponse, ModifyAcRuleRequest, DescribeNatFwInstancesInfoResponse, AddNatAcRuleResponse, ModifyBlockIgnoreListResponse, DescribeNatFwInstanceResponse, ModifySecurityGroupRuleResponse, DescribeResourceGroupRequest, CreateAcRulesRequest, ModifyEnterpriseSecurityDispatchStatusRequest, DescribeBlockIgnoreListResponse, ModifyTableStatusRequest, ModifyTableStatusResponse, DescribeGuideScanInfoResponse } from "./cfw_models";
|
|
3
|
+
import { DescribeNatFwInstanceRequest, DescribeLogsRequest, ModifyNatFwVpcDnsSwitchResponse, DescribeNatFwInstanceWithRegionRequest, ModifyNatAcRuleResponse, DescribeRuleOverviewResponse, DescribeNatAcRuleResponse, ModifyPublicIPSwitchStatusResponse, ModifyNatAcRuleRequest, ModifyAcRuleResponse, ModifyNatSequenceRulesRequest, DescribeTableStatusResponse, AddAcRuleRequest, ModifyNatFwVpcDnsSwitchRequest, DeleteNatFwInstanceResponse, DeleteAllAccessControlRuleRequest, ModifySecurityGroupRuleRequest, ModifyAllVPCSwitchStatusResponse, DescribeNatFwVpcDnsLstRequest, DescribeCfwEipsRequest, DescribeTLogInfoResponse, DescribeUnHandleEventTabListRequest, DescribeAssociatedInstanceListResponse, ModifyStorageSettingResponse, RemoveAcRuleResponse, CreateSecurityGroupRulesResponse, ExpandCfwVerticalRequest, ModifyAllPublicIPSwitchStatusResponse, DeleteVpcInstanceResponse, ModifyAssetScanRequest, ModifyBlockIgnoreListRequest, AddEnterpriseSecurityGroupRulesRequest, DeleteSecurityGroupRuleResponse, ModifySequenceRulesRequest, CreateNatFwInstanceRequest, ModifySecurityGroupItemRuleStatusResponse, DescribeEnterpriseSecurityGroupRuleResponse, DescribeEnterpriseSecurityGroupRuleRequest, ModifyNatFwReSelectResponse, DeleteSecurityGroupRuleRequest, SetNatFwEipRequest, SetNatFwEipResponse, ModifyPublicIPSwitchStatusRequest, ModifySecurityGroupItemRuleStatusRequest, DescribeSourceAssetRequest, DescribeSourceAssetResponse, DescribeTLogInfoRequest, DescribeSecurityGroupListResponse, DescribeTLogIpListRequest, DescribeNatFwInstancesInfoRequest, ModifyNatSequenceRulesResponse, DescribeTableStatusRequest, DescribeSecurityGroupListRequest, ModifyResourceGroupRequest, CreateNatFwInstanceResponse, DescribeNatFwInfoCountResponse, DescribeDefenseSwitchRequest, ModifyEnterpriseSecurityDispatchStatusResponse, RemoveNatAcRuleResponse, CreateNatFwInstanceWithDomainResponse, RemoveAcRuleRequest, RemoveNatAcRuleRequest, ModifyAllRuleStatusRequest, DescribeAcListsResponse, ModifyAllPublicIPSwitchStatusRequest, DescribeBlockStaticListResponse, AddNatAcRuleRequest, ModifySecurityGroupSequenceRulesRequest, CreateDatabaseWhiteListRulesResponse, CreateChooseVpcsResponse, DescribeUnHandleEventTabListResponse, ModifyRunSyncAssetResponse, ModifyEnterpriseSecurityGroupRuleResponse, ModifySecurityGroupSequenceRulesResponse, AddEnterpriseSecurityGroupRulesResponse, RemoveEnterpriseSecurityGroupRuleRequest, DeleteResourceGroupRequest, DescribeBlockByIpTimesListRequest, RemoveEnterpriseSecurityGroupRuleResponse, ModifyEnterpriseSecurityGroupRuleRequest, ModifySequenceRulesResponse, DescribeResourceGroupNewResponse, DescribeNatFwInstanceWithRegionResponse, DescribeResourceGroupNewRequest, ModifyBlockTopRequest, DeleteAcRuleResponse, DescribeIPStatusListRequest, ModifyNatFwSwitchResponse, DescribeBlockByIpTimesListResponse, SetNatFwDnatRuleResponse, DescribeRuleOverviewRequest, DescribeDefenseSwitchResponse, DescribeAcListsRequest, DescribeGuideScanInfoRequest, DescribeAssociatedInstanceListRequest, DeleteAcRuleRequest, DeleteAllAccessControlRuleResponse, ModifyNatFwSwitchRequest, DescribeIPStatusListResponse, CreateDatabaseWhiteListRulesRequest, DescribeResourceGroupResponse, DescribeTLogIpListResponse, StopSecurityGroupRuleDispatchResponse, DescribeNatFwInfoCountRequest, AddAcRuleResponse, ModifyNatFwReSelectRequest, SetNatFwDnatRuleRequest, ModifyAllVPCSwitchStatusRequest, ModifyAllRuleStatusResponse, StopSecurityGroupRuleDispatchRequest, DescribeBlockIgnoreListRequest, ModifyBlockTopResponse, DeleteNatFwInstanceRequest, ModifyStorageSettingRequest, DescribeNatFwVpcDnsLstResponse, CreateChooseVpcsRequest, ExpandCfwVerticalResponse, DescribeNatAcRuleRequest, DescribeLogsResponse, CreateSecurityGroupRulesRequest, DeleteVpcInstanceRequest, CreateNatFwInstanceWithDomainRequest, DescribeSwitchListsResponse, DescribeCfwEipsResponse, ModifyResourceGroupResponse, DeleteResourceGroupResponse, DescribeSwitchListsRequest, DescribeBlockStaticListRequest, ModifyRunSyncAssetRequest, CreateAcRulesResponse, ModifyAssetScanResponse, ModifyAcRuleRequest, DescribeNatFwInstancesInfoResponse, AddNatAcRuleResponse, ModifyBlockIgnoreListResponse, DescribeNatFwInstanceResponse, ModifySecurityGroupRuleResponse, DescribeResourceGroupRequest, CreateAcRulesRequest, ModifyEnterpriseSecurityDispatchStatusRequest, DescribeBlockIgnoreListResponse, ModifyTableStatusRequest, ModifyTableStatusResponse, DescribeGuideScanInfoResponse } from "./cfw_models";
|
|
4
4
|
/**
|
|
5
5
|
* cfw client
|
|
6
6
|
* @class
|
|
@@ -163,12 +163,9 @@ export declare class Client extends AbstractClient {
|
|
|
163
163
|
*/
|
|
164
164
|
DescribeEnterpriseSecurityGroupRule(req: DescribeEnterpriseSecurityGroupRuleRequest, cb?: (error: string, rep: DescribeEnterpriseSecurityGroupRuleResponse) => void): Promise<DescribeEnterpriseSecurityGroupRuleResponse>;
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
167
|
-
批量增加封禁IP、放通IP/域名
|
|
168
|
-
批量删除封禁IP、放通IP/域名
|
|
169
|
-
批量修改封禁IP、放通IP/域名生效事件
|
|
166
|
+
* 日志审计日志查询
|
|
170
167
|
*/
|
|
171
|
-
|
|
168
|
+
DescribeLogs(req: DescribeLogsRequest, cb?: (error: string, rep: DescribeLogsResponse) => void): Promise<DescribeLogsResponse>;
|
|
172
169
|
/**
|
|
173
170
|
* 删除防火墙实例
|
|
174
171
|
*/
|
|
@@ -223,6 +220,13 @@ export declare class Client extends AbstractClient {
|
|
|
223
220
|
* 查询规则表状态
|
|
224
221
|
*/
|
|
225
222
|
DescribeTableStatus(req: DescribeTableStatusRequest, cb?: (error: string, rep: DescribeTableStatusResponse) => void): Promise<DescribeTableStatusResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* 支持对封禁列表、放通列表如下操作:
|
|
225
|
+
批量增加封禁IP、放通IP/域名
|
|
226
|
+
批量删除封禁IP、放通IP/域名
|
|
227
|
+
批量修改封禁IP、放通IP/域名生效事件
|
|
228
|
+
*/
|
|
229
|
+
ModifyBlockIgnoreList(req: ModifyBlockIgnoreListRequest, cb?: (error: string, rep: ModifyBlockIgnoreListResponse) => void): Promise<ModifyBlockIgnoreListResponse>;
|
|
226
230
|
/**
|
|
227
231
|
* GetNatInstance 获取租户所有NAT实例及实例卡片信息
|
|
228
232
|
*/
|
|
@@ -259,13 +259,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
259
259
|
return this.request("DescribeEnterpriseSecurityGroupRule", req, cb);
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
|
-
*
|
|
263
|
-
批量增加封禁IP、放通IP/域名
|
|
264
|
-
批量删除封禁IP、放通IP/域名
|
|
265
|
-
批量修改封禁IP、放通IP/域名生效事件
|
|
262
|
+
* 日志审计日志查询
|
|
266
263
|
*/
|
|
267
|
-
async
|
|
268
|
-
return this.request("
|
|
264
|
+
async DescribeLogs(req, cb) {
|
|
265
|
+
return this.request("DescribeLogs", req, cb);
|
|
269
266
|
}
|
|
270
267
|
/**
|
|
271
268
|
* 删除防火墙实例
|
|
@@ -347,6 +344,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
347
344
|
async DescribeTableStatus(req, cb) {
|
|
348
345
|
return this.request("DescribeTableStatus", req, cb);
|
|
349
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* 支持对封禁列表、放通列表如下操作:
|
|
349
|
+
批量增加封禁IP、放通IP/域名
|
|
350
|
+
批量删除封禁IP、放通IP/域名
|
|
351
|
+
批量修改封禁IP、放通IP/域名生效事件
|
|
352
|
+
*/
|
|
353
|
+
async ModifyBlockIgnoreList(req, cb) {
|
|
354
|
+
return this.request("ModifyBlockIgnoreList", req, cb);
|
|
355
|
+
}
|
|
350
356
|
/**
|
|
351
357
|
* GetNatInstance 获取租户所有NAT实例及实例卡片信息
|
|
352
358
|
*/
|
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
* DescribeNatFwInstance请求参数结构体
|
|
3
3
|
*/
|
|
4
4
|
export declare type DescribeNatFwInstanceRequest = null;
|
|
5
|
+
/**
|
|
6
|
+
* DescribeLogs请求参数结构体
|
|
7
|
+
*/
|
|
8
|
+
export interface DescribeLogsRequest {
|
|
9
|
+
/**
|
|
10
|
+
* 日志类型标识
|
|
11
|
+
流量日志:互联网边界防火墙netflow_border,NAT边界防火墙netflow_nat,VPC间防火墙vpcnetflow,内网流量日志netflow_fl
|
|
12
|
+
入侵防御日志rule_threatinfo
|
|
13
|
+
访问控制日志:互联网边界规则rule_acl,NAT边界规则rule_acl,内网间规则rule_vpcacl,企业安全组rule_sg
|
|
14
|
+
操作日志:防火墙开关-开关操作operate_switch,防火墙开关-实例配置operate_instance,资产中心操作operate_assetgroup,访问控制操作operate_acl,零信任防护操作operate_identity,入侵防御操作-入侵防御operate_ids,入侵防御操作-安全基线operate_baseline,常用工具操作operate_tool,网络蜜罐操作operate_honeypot,日志投递操作operate_logdelivery,通用设置操作operate_logstorage,登录日志operate_login
|
|
15
|
+
*/
|
|
16
|
+
Index: string;
|
|
17
|
+
/**
|
|
18
|
+
* 每页条数,最大支持2000
|
|
19
|
+
*/
|
|
20
|
+
Limit: number;
|
|
21
|
+
/**
|
|
22
|
+
* 偏移值,最大支持60000
|
|
23
|
+
*/
|
|
24
|
+
Offset: number;
|
|
25
|
+
/**
|
|
26
|
+
* 筛选开始时间
|
|
27
|
+
*/
|
|
28
|
+
StartTime: string;
|
|
29
|
+
/**
|
|
30
|
+
* 筛选结束时间
|
|
31
|
+
*/
|
|
32
|
+
EndTime: string;
|
|
33
|
+
/**
|
|
34
|
+
* 过滤条件组合,各数组元素间为AND关系,查询字段名Name参考文档https://cloud.tencent.com/document/product/1132/87894,数值类型字段不支持模糊匹配
|
|
35
|
+
*/
|
|
36
|
+
Filters?: Array<CommonFilter>;
|
|
37
|
+
}
|
|
5
38
|
/**
|
|
6
39
|
* ModifyNatFwVpcDnsSwitch返回参数结构体
|
|
7
40
|
*/
|
|
@@ -3663,6 +3696,31 @@ export interface TLogInfo {
|
|
|
3663
3696
|
*/
|
|
3664
3697
|
BruteForceNum: number;
|
|
3665
3698
|
}
|
|
3699
|
+
/**
|
|
3700
|
+
* DescribeLogs返回参数结构体
|
|
3701
|
+
*/
|
|
3702
|
+
export interface DescribeLogsResponse {
|
|
3703
|
+
/**
|
|
3704
|
+
* 日志列表
|
|
3705
|
+
*/
|
|
3706
|
+
Data?: string;
|
|
3707
|
+
/**
|
|
3708
|
+
* 总条数
|
|
3709
|
+
*/
|
|
3710
|
+
Total?: number;
|
|
3711
|
+
/**
|
|
3712
|
+
* 返回状态码 0 成功 非0不成功
|
|
3713
|
+
*/
|
|
3714
|
+
ReturnCode?: number;
|
|
3715
|
+
/**
|
|
3716
|
+
* 返回信息 success 成功 其他 不成功
|
|
3717
|
+
*/
|
|
3718
|
+
ReturnMsg?: string;
|
|
3719
|
+
/**
|
|
3720
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3721
|
+
*/
|
|
3722
|
+
RequestId?: string;
|
|
3723
|
+
}
|
|
3666
3724
|
/**
|
|
3667
3725
|
* CreateSecurityGroupRules请求参数结构体
|
|
3668
3726
|
*/
|