tencentcloud-sdk-nodejs-waf 4.0.713 → 4.0.714
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 +215 -0
- package/SERVICE_CHANGELOG.md +299 -58
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/services/waf/v20180125/waf_client.ts +25 -10
- package/src/services/waf/v20180125/waf_models.ts +221 -52
- 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 +216 -52
|
@@ -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
|
*/
|
|
@@ -2999,6 +3014,86 @@ export interface GoodsDetailNew {
|
|
|
2999
3014
|
*/
|
|
3000
3015
|
ResourceId?: string;
|
|
3001
3016
|
}
|
|
3017
|
+
/**
|
|
3018
|
+
* 产品明细
|
|
3019
|
+
*/
|
|
3020
|
+
export interface GoodsDetail {
|
|
3021
|
+
/**
|
|
3022
|
+
* 时间间隔
|
|
3023
|
+
*/
|
|
3024
|
+
TimeSpan: number;
|
|
3025
|
+
/**
|
|
3026
|
+
* 单位,支持m、y、d
|
|
3027
|
+
*/
|
|
3028
|
+
TimeUnit: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* 产品码
|
|
3031
|
+
*/
|
|
3032
|
+
ProductCode: string;
|
|
3033
|
+
/**
|
|
3034
|
+
* 二级产品码
|
|
3035
|
+
*/
|
|
3036
|
+
SubProductCode: string;
|
|
3037
|
+
/**
|
|
3038
|
+
* 计费策略id
|
|
3039
|
+
*/
|
|
3040
|
+
Pid: number;
|
|
3041
|
+
/**
|
|
3042
|
+
* waf产品码
|
|
3043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3044
|
+
*/
|
|
3045
|
+
ProductInfo?: Array<ProductInfo>;
|
|
3046
|
+
/**
|
|
3047
|
+
* waf实例名
|
|
3048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3049
|
+
*/
|
|
3050
|
+
InstanceName?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* QPS数量
|
|
3053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3054
|
+
*/
|
|
3055
|
+
ElasticQps?: number;
|
|
3056
|
+
/**
|
|
3057
|
+
* 弹性账单
|
|
3058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3059
|
+
*/
|
|
3060
|
+
FlexBill?: number;
|
|
3061
|
+
/**
|
|
3062
|
+
* 1:自动续费,0:不自动续费
|
|
3063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3064
|
+
*/
|
|
3065
|
+
AutoRenewFlag?: number;
|
|
3066
|
+
/**
|
|
3067
|
+
* waf购买的实际地域信息
|
|
3068
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3069
|
+
*/
|
|
3070
|
+
RealRegion?: number;
|
|
3071
|
+
/**
|
|
3072
|
+
* Waf实例对应的二级产品码
|
|
3073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3074
|
+
*/
|
|
3075
|
+
Type?: string;
|
|
3076
|
+
/**
|
|
3077
|
+
* 计费细项标签数组
|
|
3078
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3079
|
+
*/
|
|
3080
|
+
LabelTypes?: Array<string>;
|
|
3081
|
+
/**
|
|
3082
|
+
* 计费细项标签数量,一般和SvLabelType一一对应
|
|
3083
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3084
|
+
*/
|
|
3085
|
+
LabelCounts?: Array<number | bigint>;
|
|
3086
|
+
/**
|
|
3087
|
+
* 变配使用,实例到期时间
|
|
3088
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3089
|
+
*/
|
|
3090
|
+
CurDeadline?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* 对存在的实例购买bot 或api 安全
|
|
3093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3094
|
+
*/
|
|
3095
|
+
InstanceId?: string;
|
|
3096
|
+
}
|
|
3002
3097
|
/**
|
|
3003
3098
|
* DeleteIpAccessControl返回参数结构体
|
|
3004
3099
|
*/
|
|
@@ -3518,17 +3613,39 @@ export interface AddAntiInfoLeakRulesResponse {
|
|
|
3518
3613
|
RequestId?: string;
|
|
3519
3614
|
}
|
|
3520
3615
|
/**
|
|
3521
|
-
*
|
|
3616
|
+
* clb-waf QPS套餐 New
|
|
3522
3617
|
*/
|
|
3523
|
-
export interface
|
|
3618
|
+
export interface QPSPackageNew {
|
|
3524
3619
|
/**
|
|
3525
|
-
*
|
|
3620
|
+
* 资源ID
|
|
3621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3526
3622
|
*/
|
|
3527
|
-
|
|
3623
|
+
ResourceIds: string;
|
|
3528
3624
|
/**
|
|
3529
|
-
*
|
|
3625
|
+
* 过期时间
|
|
3626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3530
3627
|
*/
|
|
3531
|
-
|
|
3628
|
+
ValidTime: string;
|
|
3629
|
+
/**
|
|
3630
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
3631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3632
|
+
*/
|
|
3633
|
+
RenewFlag: number;
|
|
3634
|
+
/**
|
|
3635
|
+
* 套餐购买个数
|
|
3636
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3637
|
+
*/
|
|
3638
|
+
Count: number;
|
|
3639
|
+
/**
|
|
3640
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
3641
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3642
|
+
*/
|
|
3643
|
+
Region: string;
|
|
3644
|
+
/**
|
|
3645
|
+
* 计费项
|
|
3646
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3647
|
+
*/
|
|
3648
|
+
BillingItem?: string;
|
|
3532
3649
|
}
|
|
3533
3650
|
/**
|
|
3534
3651
|
* AddDomainWhiteRule请求参数结构体
|
|
@@ -4039,6 +4156,29 @@ export interface IpAccessControlItem {
|
|
|
4039
4156
|
*/
|
|
4040
4157
|
ValidStatus?: number;
|
|
4041
4158
|
}
|
|
4159
|
+
/**
|
|
4160
|
+
* ModifyGenerateDeals返回参数结构体
|
|
4161
|
+
*/
|
|
4162
|
+
export interface ModifyGenerateDealsResponse {
|
|
4163
|
+
/**
|
|
4164
|
+
* 计费下单响应结构体
|
|
4165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4166
|
+
*/
|
|
4167
|
+
Data: DealData;
|
|
4168
|
+
/**
|
|
4169
|
+
* 1:成功,0:失败
|
|
4170
|
+
*/
|
|
4171
|
+
Status: number;
|
|
4172
|
+
/**
|
|
4173
|
+
* 返回message
|
|
4174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4175
|
+
*/
|
|
4176
|
+
ReturnMessage: string;
|
|
4177
|
+
/**
|
|
4178
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4179
|
+
*/
|
|
4180
|
+
RequestId?: string;
|
|
4181
|
+
}
|
|
4042
4182
|
/**
|
|
4043
4183
|
* UpsertSession返回参数结构体
|
|
4044
4184
|
*/
|
|
@@ -5493,6 +5633,43 @@ export interface DescribeTopAttackDomainResponse {
|
|
|
5493
5633
|
*/
|
|
5494
5634
|
RequestId?: string;
|
|
5495
5635
|
}
|
|
5636
|
+
/**
|
|
5637
|
+
* 计费下单接口出入参Goods
|
|
5638
|
+
*/
|
|
5639
|
+
export interface Goods {
|
|
5640
|
+
/**
|
|
5641
|
+
* 付费类型,1:预付费,0:后付费
|
|
5642
|
+
*/
|
|
5643
|
+
PayMode: number;
|
|
5644
|
+
/**
|
|
5645
|
+
* 商品数量
|
|
5646
|
+
*/
|
|
5647
|
+
GoodsNum: number;
|
|
5648
|
+
/**
|
|
5649
|
+
* 商品明细
|
|
5650
|
+
*/
|
|
5651
|
+
GoodsDetail: GoodsDetail;
|
|
5652
|
+
/**
|
|
5653
|
+
* 默认为0
|
|
5654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5655
|
+
*/
|
|
5656
|
+
ProjectId: number;
|
|
5657
|
+
/**
|
|
5658
|
+
* 计费类目ID,对应cid
|
|
5659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5660
|
+
*/
|
|
5661
|
+
GoodsCategoryId?: number;
|
|
5662
|
+
/**
|
|
5663
|
+
* 平台类型,默认1
|
|
5664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5665
|
+
*/
|
|
5666
|
+
Platform?: number;
|
|
5667
|
+
/**
|
|
5668
|
+
* 购买waf实例区域ID
|
|
5669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5670
|
+
*/
|
|
5671
|
+
RegionId?: number;
|
|
5672
|
+
}
|
|
5496
5673
|
/**
|
|
5497
5674
|
* UpsertIpAccessControl返回参数结构体
|
|
5498
5675
|
*/
|
|
@@ -6408,39 +6585,17 @@ export interface ClbHostResult {
|
|
|
6408
6585
|
FlowMode: number;
|
|
6409
6586
|
}
|
|
6410
6587
|
/**
|
|
6411
|
-
*
|
|
6588
|
+
* DescribeWafThreatenIntelligence返回参数结构体
|
|
6412
6589
|
*/
|
|
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;
|
|
6590
|
+
export interface DescribeWafThreatenIntelligenceResponse {
|
|
6434
6591
|
/**
|
|
6435
|
-
*
|
|
6436
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6592
|
+
* WAF 威胁情报封禁信息
|
|
6437
6593
|
*/
|
|
6438
|
-
|
|
6594
|
+
WafThreatenIntelligenceDetails: WafThreatenIntelligenceDetails;
|
|
6439
6595
|
/**
|
|
6440
|
-
*
|
|
6441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6596
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6442
6597
|
*/
|
|
6443
|
-
|
|
6598
|
+
RequestId?: string;
|
|
6444
6599
|
}
|
|
6445
6600
|
/**
|
|
6446
6601
|
* saas域名详情
|
|
@@ -7320,6 +7475,15 @@ export interface DescribeCCRuleResponse {
|
|
|
7320
7475
|
*/
|
|
7321
7476
|
RequestId?: string;
|
|
7322
7477
|
}
|
|
7478
|
+
/**
|
|
7479
|
+
* ModifyGenerateDeals请求参数结构体
|
|
7480
|
+
*/
|
|
7481
|
+
export interface ModifyGenerateDealsRequest {
|
|
7482
|
+
/**
|
|
7483
|
+
* 计费下单入参
|
|
7484
|
+
*/
|
|
7485
|
+
Goods: Array<Goods>;
|
|
7486
|
+
}
|
|
7323
7487
|
/**
|
|
7324
7488
|
* ModifyDomainWhiteRule返回参数结构体
|
|
7325
7489
|
*/
|
|
@@ -7517,19 +7681,21 @@ export interface DescribeRuleLimitRequest {
|
|
|
7517
7681
|
InstanceId?: string;
|
|
7518
7682
|
}
|
|
7519
7683
|
/**
|
|
7520
|
-
*
|
|
7684
|
+
* 用户规则白名单规则子项
|
|
7521
7685
|
*/
|
|
7522
|
-
export interface
|
|
7686
|
+
export interface UserWhiteRuleItem {
|
|
7523
7687
|
/**
|
|
7524
|
-
*
|
|
7525
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7688
|
+
* 匹配域
|
|
7526
7689
|
*/
|
|
7527
|
-
|
|
7690
|
+
MatchField: string;
|
|
7528
7691
|
/**
|
|
7529
|
-
*
|
|
7530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7692
|
+
* 匹配方法
|
|
7531
7693
|
*/
|
|
7532
|
-
|
|
7694
|
+
MatchMethod: string;
|
|
7695
|
+
/**
|
|
7696
|
+
* 匹配内容
|
|
7697
|
+
*/
|
|
7698
|
+
MatchContent: string;
|
|
7533
7699
|
}
|
|
7534
7700
|
/**
|
|
7535
7701
|
* ModifyDomainsCLSStatus请求参数结构体
|
|
@@ -7812,21 +7978,19 @@ export interface DescribeAttackWhiteRuleResponse {
|
|
|
7812
7978
|
RequestId?: string;
|
|
7813
7979
|
}
|
|
7814
7980
|
/**
|
|
7815
|
-
*
|
|
7981
|
+
* DescribeAccessIndex接口的出参
|
|
7816
7982
|
*/
|
|
7817
|
-
export interface
|
|
7818
|
-
/**
|
|
7819
|
-
* 匹配域
|
|
7820
|
-
*/
|
|
7821
|
-
MatchField: string;
|
|
7983
|
+
export interface AccessRuleKeyValueInfo {
|
|
7822
7984
|
/**
|
|
7823
|
-
*
|
|
7985
|
+
* 是否大小写敏感
|
|
7986
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7824
7987
|
*/
|
|
7825
|
-
|
|
7988
|
+
CaseSensitive: boolean;
|
|
7826
7989
|
/**
|
|
7827
|
-
*
|
|
7990
|
+
* 需要建立索引的键值对信息;最大只能配置100个键值对
|
|
7991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7828
7992
|
*/
|
|
7829
|
-
|
|
7993
|
+
KeyValues: Array<AccessKeyValueInfo>;
|
|
7830
7994
|
}
|
|
7831
7995
|
/**
|
|
7832
7996
|
* DescribeObjects请求参数结构体
|