tencentcloud-sdk-nodejs-waf 4.0.713 → 4.0.715
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 +694 -0
- package/SERVICE_CHANGELOG.md +962 -52
- package/package.json +1 -1
- package/products.md +34 -34
- package/src/services/waf/v20180125/waf_client.ts +25 -10
- package/src/services/waf/v20180125/waf_models.ts +240 -54
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +7 -3
- package/tencentcloud/services/waf/v20180125/waf_client.js +9 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +235 -54
|
@@ -129,6 +129,21 @@ export interface DescribePeakValueResponse {
|
|
|
129
129
|
*/
|
|
130
130
|
RequestId?: string;
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* waf产品
|
|
134
|
+
*/
|
|
135
|
+
export interface ProductInfo {
|
|
136
|
+
/**
|
|
137
|
+
* 产品名称
|
|
138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
139
|
+
*/
|
|
140
|
+
Name?: string;
|
|
141
|
+
/**
|
|
142
|
+
* 版本
|
|
143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
144
|
+
*/
|
|
145
|
+
Value?: string;
|
|
146
|
+
}
|
|
132
147
|
/**
|
|
133
148
|
* 出参
|
|
134
149
|
*/
|
|
@@ -2635,6 +2650,23 @@ export interface DescribeAntiInfoLeakageRulesRequest {
|
|
|
2635
2650
|
* 域名
|
|
2636
2651
|
*/
|
|
2637
2652
|
Domain: string;
|
|
2653
|
+
/**
|
|
2654
|
+
* 翻页支持,读取偏移
|
|
2655
|
+
*/
|
|
2656
|
+
Offset?: number;
|
|
2657
|
+
/**
|
|
2658
|
+
* 翻页支持,读取长度限制
|
|
2659
|
+
*/
|
|
2660
|
+
Limit?: number;
|
|
2661
|
+
/**
|
|
2662
|
+
* 排序方式,asc或者desc
|
|
2663
|
+
*/
|
|
2664
|
+
Order?: string;
|
|
2665
|
+
/**
|
|
2666
|
+
* 过滤器,可以允许如下的值:
|
|
2667
|
+
RuleId,Match_field,Name,Action,Status
|
|
2668
|
+
*/
|
|
2669
|
+
Filters?: Array<FiltersItemNew>;
|
|
2638
2670
|
}
|
|
2639
2671
|
/**
|
|
2640
2672
|
* CreateHost返回参数结构体
|
|
@@ -2999,6 +3031,86 @@ export interface GoodsDetailNew {
|
|
|
2999
3031
|
*/
|
|
3000
3032
|
ResourceId?: string;
|
|
3001
3033
|
}
|
|
3034
|
+
/**
|
|
3035
|
+
* 产品明细
|
|
3036
|
+
*/
|
|
3037
|
+
export interface GoodsDetail {
|
|
3038
|
+
/**
|
|
3039
|
+
* 时间间隔
|
|
3040
|
+
*/
|
|
3041
|
+
TimeSpan: number;
|
|
3042
|
+
/**
|
|
3043
|
+
* 单位,支持m、y、d
|
|
3044
|
+
*/
|
|
3045
|
+
TimeUnit: string;
|
|
3046
|
+
/**
|
|
3047
|
+
* 产品码
|
|
3048
|
+
*/
|
|
3049
|
+
ProductCode: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* 二级产品码
|
|
3052
|
+
*/
|
|
3053
|
+
SubProductCode: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* 计费策略id
|
|
3056
|
+
*/
|
|
3057
|
+
Pid: number;
|
|
3058
|
+
/**
|
|
3059
|
+
* waf产品码
|
|
3060
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3061
|
+
*/
|
|
3062
|
+
ProductInfo?: Array<ProductInfo>;
|
|
3063
|
+
/**
|
|
3064
|
+
* waf实例名
|
|
3065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3066
|
+
*/
|
|
3067
|
+
InstanceName?: string;
|
|
3068
|
+
/**
|
|
3069
|
+
* QPS数量
|
|
3070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3071
|
+
*/
|
|
3072
|
+
ElasticQps?: number;
|
|
3073
|
+
/**
|
|
3074
|
+
* 弹性账单
|
|
3075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3076
|
+
*/
|
|
3077
|
+
FlexBill?: number;
|
|
3078
|
+
/**
|
|
3079
|
+
* 1:自动续费,0:不自动续费
|
|
3080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3081
|
+
*/
|
|
3082
|
+
AutoRenewFlag?: number;
|
|
3083
|
+
/**
|
|
3084
|
+
* waf购买的实际地域信息
|
|
3085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3086
|
+
*/
|
|
3087
|
+
RealRegion?: number;
|
|
3088
|
+
/**
|
|
3089
|
+
* Waf实例对应的二级产品码
|
|
3090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3091
|
+
*/
|
|
3092
|
+
Type?: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* 计费细项标签数组
|
|
3095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3096
|
+
*/
|
|
3097
|
+
LabelTypes?: Array<string>;
|
|
3098
|
+
/**
|
|
3099
|
+
* 计费细项标签数量,一般和SvLabelType一一对应
|
|
3100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3101
|
+
*/
|
|
3102
|
+
LabelCounts?: Array<number | bigint>;
|
|
3103
|
+
/**
|
|
3104
|
+
* 变配使用,实例到期时间
|
|
3105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3106
|
+
*/
|
|
3107
|
+
CurDeadline?: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* 对存在的实例购买bot 或api 安全
|
|
3110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3111
|
+
*/
|
|
3112
|
+
InstanceId?: string;
|
|
3113
|
+
}
|
|
3002
3114
|
/**
|
|
3003
3115
|
* DeleteIpAccessControl返回参数结构体
|
|
3004
3116
|
*/
|
|
@@ -3518,17 +3630,39 @@ export interface AddAntiInfoLeakRulesResponse {
|
|
|
3518
3630
|
RequestId?: string;
|
|
3519
3631
|
}
|
|
3520
3632
|
/**
|
|
3521
|
-
*
|
|
3633
|
+
* clb-waf QPS套餐 New
|
|
3522
3634
|
*/
|
|
3523
|
-
export interface
|
|
3635
|
+
export interface QPSPackageNew {
|
|
3524
3636
|
/**
|
|
3525
|
-
*
|
|
3637
|
+
* 资源ID
|
|
3638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3526
3639
|
*/
|
|
3527
|
-
|
|
3640
|
+
ResourceIds: string;
|
|
3528
3641
|
/**
|
|
3529
|
-
*
|
|
3642
|
+
* 过期时间
|
|
3643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3530
3644
|
*/
|
|
3531
|
-
|
|
3645
|
+
ValidTime: string;
|
|
3646
|
+
/**
|
|
3647
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
3648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3649
|
+
*/
|
|
3650
|
+
RenewFlag: number;
|
|
3651
|
+
/**
|
|
3652
|
+
* 套餐购买个数
|
|
3653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3654
|
+
*/
|
|
3655
|
+
Count: number;
|
|
3656
|
+
/**
|
|
3657
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
3658
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3659
|
+
*/
|
|
3660
|
+
Region: string;
|
|
3661
|
+
/**
|
|
3662
|
+
* 计费项
|
|
3663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3664
|
+
*/
|
|
3665
|
+
BillingItem?: string;
|
|
3532
3666
|
}
|
|
3533
3667
|
/**
|
|
3534
3668
|
* AddDomainWhiteRule请求参数结构体
|
|
@@ -4039,6 +4173,29 @@ export interface IpAccessControlItem {
|
|
|
4039
4173
|
*/
|
|
4040
4174
|
ValidStatus?: number;
|
|
4041
4175
|
}
|
|
4176
|
+
/**
|
|
4177
|
+
* ModifyGenerateDeals返回参数结构体
|
|
4178
|
+
*/
|
|
4179
|
+
export interface ModifyGenerateDealsResponse {
|
|
4180
|
+
/**
|
|
4181
|
+
* 计费下单响应结构体
|
|
4182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4183
|
+
*/
|
|
4184
|
+
Data: DealData;
|
|
4185
|
+
/**
|
|
4186
|
+
* 1:成功,0:失败
|
|
4187
|
+
*/
|
|
4188
|
+
Status: number;
|
|
4189
|
+
/**
|
|
4190
|
+
* 返回message
|
|
4191
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4192
|
+
*/
|
|
4193
|
+
ReturnMessage: string;
|
|
4194
|
+
/**
|
|
4195
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4196
|
+
*/
|
|
4197
|
+
RequestId?: string;
|
|
4198
|
+
}
|
|
4042
4199
|
/**
|
|
4043
4200
|
* UpsertSession返回参数结构体
|
|
4044
4201
|
*/
|
|
@@ -5493,6 +5650,43 @@ export interface DescribeTopAttackDomainResponse {
|
|
|
5493
5650
|
*/
|
|
5494
5651
|
RequestId?: string;
|
|
5495
5652
|
}
|
|
5653
|
+
/**
|
|
5654
|
+
* 计费下单接口出入参Goods
|
|
5655
|
+
*/
|
|
5656
|
+
export interface Goods {
|
|
5657
|
+
/**
|
|
5658
|
+
* 付费类型,1:预付费,0:后付费
|
|
5659
|
+
*/
|
|
5660
|
+
PayMode: number;
|
|
5661
|
+
/**
|
|
5662
|
+
* 商品数量
|
|
5663
|
+
*/
|
|
5664
|
+
GoodsNum: number;
|
|
5665
|
+
/**
|
|
5666
|
+
* 商品明细
|
|
5667
|
+
*/
|
|
5668
|
+
GoodsDetail: GoodsDetail;
|
|
5669
|
+
/**
|
|
5670
|
+
* 默认为0
|
|
5671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5672
|
+
*/
|
|
5673
|
+
ProjectId: number;
|
|
5674
|
+
/**
|
|
5675
|
+
* 计费类目ID,对应cid
|
|
5676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5677
|
+
*/
|
|
5678
|
+
GoodsCategoryId?: number;
|
|
5679
|
+
/**
|
|
5680
|
+
* 平台类型,默认1
|
|
5681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5682
|
+
*/
|
|
5683
|
+
Platform?: number;
|
|
5684
|
+
/**
|
|
5685
|
+
* 购买waf实例区域ID
|
|
5686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5687
|
+
*/
|
|
5688
|
+
RegionId?: number;
|
|
5689
|
+
}
|
|
5496
5690
|
/**
|
|
5497
5691
|
* UpsertIpAccessControl返回参数结构体
|
|
5498
5692
|
*/
|
|
@@ -6225,11 +6419,11 @@ export interface DescribeAntiInfoLeakageRulesResponse {
|
|
|
6225
6419
|
/**
|
|
6226
6420
|
* 记录条数
|
|
6227
6421
|
*/
|
|
6228
|
-
Total
|
|
6422
|
+
Total?: number;
|
|
6229
6423
|
/**
|
|
6230
6424
|
* 规则列表
|
|
6231
6425
|
*/
|
|
6232
|
-
RuleList
|
|
6426
|
+
RuleList?: Array<DescribeAntiLeakageItem>;
|
|
6233
6427
|
/**
|
|
6234
6428
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6235
6429
|
*/
|
|
@@ -6408,39 +6602,17 @@ export interface ClbHostResult {
|
|
|
6408
6602
|
FlowMode: number;
|
|
6409
6603
|
}
|
|
6410
6604
|
/**
|
|
6411
|
-
*
|
|
6605
|
+
* DescribeWafThreatenIntelligence返回参数结构体
|
|
6412
6606
|
*/
|
|
6413
|
-
export interface
|
|
6414
|
-
/**
|
|
6415
|
-
* 资源ID
|
|
6416
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6417
|
-
*/
|
|
6418
|
-
ResourceIds: string;
|
|
6419
|
-
/**
|
|
6420
|
-
* 过期时间
|
|
6421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6422
|
-
*/
|
|
6423
|
-
ValidTime: string;
|
|
6424
|
-
/**
|
|
6425
|
-
* 是否自动续费,1:自动续费,0:不自动续费
|
|
6426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6427
|
-
*/
|
|
6428
|
-
RenewFlag: number;
|
|
6429
|
-
/**
|
|
6430
|
-
* 套餐购买个数
|
|
6431
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6432
|
-
*/
|
|
6433
|
-
Count: number;
|
|
6607
|
+
export interface DescribeWafThreatenIntelligenceResponse {
|
|
6434
6608
|
/**
|
|
6435
|
-
*
|
|
6436
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6609
|
+
* WAF 威胁情报封禁信息
|
|
6437
6610
|
*/
|
|
6438
|
-
|
|
6611
|
+
WafThreatenIntelligenceDetails: WafThreatenIntelligenceDetails;
|
|
6439
6612
|
/**
|
|
6440
|
-
*
|
|
6441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6613
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6442
6614
|
*/
|
|
6443
|
-
|
|
6615
|
+
RequestId?: string;
|
|
6444
6616
|
}
|
|
6445
6617
|
/**
|
|
6446
6618
|
* saas域名详情
|
|
@@ -7320,6 +7492,15 @@ export interface DescribeCCRuleResponse {
|
|
|
7320
7492
|
*/
|
|
7321
7493
|
RequestId?: string;
|
|
7322
7494
|
}
|
|
7495
|
+
/**
|
|
7496
|
+
* ModifyGenerateDeals请求参数结构体
|
|
7497
|
+
*/
|
|
7498
|
+
export interface ModifyGenerateDealsRequest {
|
|
7499
|
+
/**
|
|
7500
|
+
* 计费下单入参
|
|
7501
|
+
*/
|
|
7502
|
+
Goods: Array<Goods>;
|
|
7503
|
+
}
|
|
7323
7504
|
/**
|
|
7324
7505
|
* ModifyDomainWhiteRule返回参数结构体
|
|
7325
7506
|
*/
|
|
@@ -7517,19 +7698,21 @@ export interface DescribeRuleLimitRequest {
|
|
|
7517
7698
|
InstanceId?: string;
|
|
7518
7699
|
}
|
|
7519
7700
|
/**
|
|
7520
|
-
*
|
|
7701
|
+
* 用户规则白名单规则子项
|
|
7521
7702
|
*/
|
|
7522
|
-
export interface
|
|
7703
|
+
export interface UserWhiteRuleItem {
|
|
7523
7704
|
/**
|
|
7524
|
-
*
|
|
7525
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7705
|
+
* 匹配域
|
|
7526
7706
|
*/
|
|
7527
|
-
|
|
7707
|
+
MatchField: string;
|
|
7528
7708
|
/**
|
|
7529
|
-
*
|
|
7530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7709
|
+
* 匹配方法
|
|
7531
7710
|
*/
|
|
7532
|
-
|
|
7711
|
+
MatchMethod: string;
|
|
7712
|
+
/**
|
|
7713
|
+
* 匹配内容
|
|
7714
|
+
*/
|
|
7715
|
+
MatchContent: string;
|
|
7533
7716
|
}
|
|
7534
7717
|
/**
|
|
7535
7718
|
* ModifyDomainsCLSStatus请求参数结构体
|
|
@@ -7812,21 +7995,19 @@ export interface DescribeAttackWhiteRuleResponse {
|
|
|
7812
7995
|
RequestId?: string;
|
|
7813
7996
|
}
|
|
7814
7997
|
/**
|
|
7815
|
-
*
|
|
7998
|
+
* DescribeAccessIndex接口的出参
|
|
7816
7999
|
*/
|
|
7817
|
-
export interface
|
|
7818
|
-
/**
|
|
7819
|
-
* 匹配域
|
|
7820
|
-
*/
|
|
7821
|
-
MatchField: string;
|
|
8000
|
+
export interface AccessRuleKeyValueInfo {
|
|
7822
8001
|
/**
|
|
7823
|
-
*
|
|
8002
|
+
* 是否大小写敏感
|
|
8003
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7824
8004
|
*/
|
|
7825
|
-
|
|
8005
|
+
CaseSensitive: boolean;
|
|
7826
8006
|
/**
|
|
7827
|
-
*
|
|
8007
|
+
* 需要建立索引的键值对信息;最大只能配置100个键值对
|
|
8008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7828
8009
|
*/
|
|
7829
|
-
|
|
8010
|
+
KeyValues: Array<AccessKeyValueInfo>;
|
|
7830
8011
|
}
|
|
7831
8012
|
/**
|
|
7832
8013
|
* DescribeObjects请求参数结构体
|