tencentcloud-sdk-nodejs-waf 4.0.688 → 4.0.690
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 +489 -0
- package/SERVICE_CHANGELOG.md +580 -389
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/services/waf/v20180125/waf_client.ts +92 -29
- package/src/services/waf/v20180125/waf_models.ts +377 -77
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +30 -10
- package/tencentcloud/services/waf/v20180125/waf_client.js +43 -13
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +364 -77
|
@@ -381,6 +381,19 @@ export interface AccessLogItems {
|
|
|
381
381
|
*/
|
|
382
382
|
Data: Array<AccessLogItem>;
|
|
383
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* ModifyInstanceName请求参数结构体
|
|
386
|
+
*/
|
|
387
|
+
export interface ModifyInstanceNameRequest {
|
|
388
|
+
/**
|
|
389
|
+
* 实例id
|
|
390
|
+
*/
|
|
391
|
+
InstanceID: string;
|
|
392
|
+
/**
|
|
393
|
+
* 版本
|
|
394
|
+
*/
|
|
395
|
+
Edition: string;
|
|
396
|
+
}
|
|
384
397
|
/**
|
|
385
398
|
* DescribePeakValue返回参数结构体
|
|
386
399
|
*/
|
|
@@ -597,21 +610,33 @@ export interface CCRuleData {
|
|
|
597
610
|
TotalCount: number;
|
|
598
611
|
}
|
|
599
612
|
/**
|
|
600
|
-
*
|
|
613
|
+
* DescribeCustomRuleList请求参数结构体
|
|
601
614
|
*/
|
|
602
|
-
export interface
|
|
615
|
+
export interface DescribeCustomRuleListRequest {
|
|
603
616
|
/**
|
|
604
|
-
*
|
|
617
|
+
* 域名
|
|
605
618
|
*/
|
|
606
|
-
|
|
619
|
+
Domain: string;
|
|
607
620
|
/**
|
|
608
|
-
*
|
|
621
|
+
* 偏移
|
|
609
622
|
*/
|
|
610
|
-
|
|
623
|
+
Offset: number;
|
|
611
624
|
/**
|
|
612
|
-
*
|
|
625
|
+
* 容量
|
|
613
626
|
*/
|
|
614
|
-
|
|
627
|
+
Limit: number;
|
|
628
|
+
/**
|
|
629
|
+
* 过滤数组,name可以是如下的值: RuleID,RuleName,Match
|
|
630
|
+
*/
|
|
631
|
+
Filters?: Array<FiltersItemNew>;
|
|
632
|
+
/**
|
|
633
|
+
* asc或者desc
|
|
634
|
+
*/
|
|
635
|
+
Order?: string;
|
|
636
|
+
/**
|
|
637
|
+
* exp_ts或者mod_ts
|
|
638
|
+
*/
|
|
639
|
+
By?: string;
|
|
615
640
|
}
|
|
616
641
|
/**
|
|
617
642
|
* ModifyDomainWhiteRule请求参数结构体
|
|
@@ -734,6 +759,19 @@ export interface DescribePeakPointsRequest {
|
|
|
734
759
|
* DescribeAccessIndex请求参数结构体
|
|
735
760
|
*/
|
|
736
761
|
export declare type DescribeAccessIndexRequest = null;
|
|
762
|
+
/**
|
|
763
|
+
* ModifyInstanceQpsLimit请求参数结构体
|
|
764
|
+
*/
|
|
765
|
+
export interface ModifyInstanceQpsLimitRequest {
|
|
766
|
+
/**
|
|
767
|
+
* 套餐实例id
|
|
768
|
+
*/
|
|
769
|
+
InstanceId: string;
|
|
770
|
+
/**
|
|
771
|
+
* qps上限
|
|
772
|
+
*/
|
|
773
|
+
QpsLimit: number;
|
|
774
|
+
}
|
|
737
775
|
/**
|
|
738
776
|
* DeleteHost请求参数结构体
|
|
739
777
|
*/
|
|
@@ -886,6 +924,19 @@ export interface DescribeAntiInfoLeakRulesStrategyItem {
|
|
|
886
924
|
*/
|
|
887
925
|
Content: string;
|
|
888
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* ModifyInstanceName返回参数结构体
|
|
929
|
+
*/
|
|
930
|
+
export interface ModifyInstanceNameResponse {
|
|
931
|
+
/**
|
|
932
|
+
* 修改状态:0为成功
|
|
933
|
+
*/
|
|
934
|
+
ModifyCode?: number;
|
|
935
|
+
/**
|
|
936
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
937
|
+
*/
|
|
938
|
+
RequestId?: string;
|
|
939
|
+
}
|
|
889
940
|
/**
|
|
890
941
|
* UpsertSession返回参数结构体
|
|
891
942
|
*/
|
|
@@ -954,6 +1005,36 @@ export interface DescribeWafAutoDenyRulesRequest {
|
|
|
954
1005
|
*/
|
|
955
1006
|
Domain: string;
|
|
956
1007
|
}
|
|
1008
|
+
/**
|
|
1009
|
+
* UpsertIpAccessControl请求参数结构体
|
|
1010
|
+
*/
|
|
1011
|
+
export interface UpsertIpAccessControlRequest {
|
|
1012
|
+
/**
|
|
1013
|
+
* 域名
|
|
1014
|
+
*/
|
|
1015
|
+
Domain: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
|
|
1018
|
+
*/
|
|
1019
|
+
Items: Array<string>;
|
|
1020
|
+
/**
|
|
1021
|
+
* WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
|
1022
|
+
*/
|
|
1023
|
+
Edition?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
|
|
1026
|
+
*/
|
|
1027
|
+
SourceType?: string;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* GenerateDealsAndPayNew请求参数结构体
|
|
1031
|
+
*/
|
|
1032
|
+
export interface GenerateDealsAndPayNewRequest {
|
|
1033
|
+
/**
|
|
1034
|
+
* 计费下单入参
|
|
1035
|
+
*/
|
|
1036
|
+
Goods: Array<GoodNews>;
|
|
1037
|
+
}
|
|
957
1038
|
/**
|
|
958
1039
|
* RefreshAccessCheckResult请求参数结构体
|
|
959
1040
|
*/
|
|
@@ -1231,6 +1312,23 @@ export interface DeleteAccessExportResponse {
|
|
|
1231
1312
|
*/
|
|
1232
1313
|
RequestId?: string;
|
|
1233
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* ModifyProtectionStatus请求参数结构体
|
|
1317
|
+
*/
|
|
1318
|
+
export interface ModifyProtectionStatusRequest {
|
|
1319
|
+
/**
|
|
1320
|
+
* 域名
|
|
1321
|
+
*/
|
|
1322
|
+
Domain: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* 状态
|
|
1325
|
+
*/
|
|
1326
|
+
Status: number;
|
|
1327
|
+
/**
|
|
1328
|
+
* WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
|
1329
|
+
*/
|
|
1330
|
+
Edition?: string;
|
|
1331
|
+
}
|
|
1234
1332
|
/**
|
|
1235
1333
|
* DescribeAccessExports请求参数结构体
|
|
1236
1334
|
*/
|
|
@@ -1394,6 +1492,15 @@ export interface ModifyHostModeResponse {
|
|
|
1394
1492
|
*/
|
|
1395
1493
|
RequestId?: string;
|
|
1396
1494
|
}
|
|
1495
|
+
/**
|
|
1496
|
+
* ModifyInstanceRenewFlag返回参数结构体
|
|
1497
|
+
*/
|
|
1498
|
+
export interface ModifyInstanceRenewFlagResponse {
|
|
1499
|
+
/**
|
|
1500
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1501
|
+
*/
|
|
1502
|
+
RequestId?: string;
|
|
1503
|
+
}
|
|
1397
1504
|
/**
|
|
1398
1505
|
* DescribeCCRuleList请求参数结构体
|
|
1399
1506
|
*/
|
|
@@ -2574,6 +2681,19 @@ export interface ModifyCustomWhiteRuleResponse {
|
|
|
2574
2681
|
*/
|
|
2575
2682
|
RequestId?: string;
|
|
2576
2683
|
}
|
|
2684
|
+
/**
|
|
2685
|
+
* ModifyCustomWhiteRuleStatus返回参数结构体
|
|
2686
|
+
*/
|
|
2687
|
+
export interface ModifyCustomWhiteRuleStatusResponse {
|
|
2688
|
+
/**
|
|
2689
|
+
* 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
|
|
2690
|
+
*/
|
|
2691
|
+
Success: ResponseCode;
|
|
2692
|
+
/**
|
|
2693
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2694
|
+
*/
|
|
2695
|
+
RequestId?: string;
|
|
2696
|
+
}
|
|
2577
2697
|
/**
|
|
2578
2698
|
* DescribeSession请求参数结构体
|
|
2579
2699
|
*/
|
|
@@ -3089,33 +3209,17 @@ export interface ModifyAntiInfoLeakRulesRequest {
|
|
|
3089
3209
|
Strategies: Array<StrategyForAntiInfoLeak>;
|
|
3090
3210
|
}
|
|
3091
3211
|
/**
|
|
3092
|
-
*
|
|
3212
|
+
* 计费下单响应实体
|
|
3093
3213
|
*/
|
|
3094
|
-
export interface
|
|
3095
|
-
/**
|
|
3096
|
-
* 域名
|
|
3097
|
-
*/
|
|
3098
|
-
Domain: string;
|
|
3099
|
-
/**
|
|
3100
|
-
* 偏移
|
|
3101
|
-
*/
|
|
3102
|
-
Offset: number;
|
|
3103
|
-
/**
|
|
3104
|
-
* 容量
|
|
3105
|
-
*/
|
|
3106
|
-
Limit: number;
|
|
3214
|
+
export interface DealData {
|
|
3107
3215
|
/**
|
|
3108
|
-
*
|
|
3216
|
+
* 订单号列表,元素个数与请求包的goods数组的元素个数一致,商品详情与订单按顺序对应
|
|
3109
3217
|
*/
|
|
3110
|
-
|
|
3218
|
+
DealNames?: Array<string>;
|
|
3111
3219
|
/**
|
|
3112
|
-
*
|
|
3220
|
+
* 大订单号,一个大订单号下可以有多个子订单,说明是同一次下单[{},{}]
|
|
3113
3221
|
*/
|
|
3114
|
-
|
|
3115
|
-
/**
|
|
3116
|
-
* exp_ts或者mod_ts
|
|
3117
|
-
*/
|
|
3118
|
-
By?: string;
|
|
3222
|
+
BigDealId?: string;
|
|
3119
3223
|
}
|
|
3120
3224
|
/**
|
|
3121
3225
|
* DescribeHostLimit返回参数结构体
|
|
@@ -3202,15 +3306,21 @@ export interface ModifyCustomRuleStatusResponse {
|
|
|
3202
3306
|
*/
|
|
3203
3307
|
export interface StrategyForAntiInfoLeak {
|
|
3204
3308
|
/**
|
|
3205
|
-
*
|
|
3309
|
+
* 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
|
|
3206
3310
|
*/
|
|
3207
3311
|
Field: string;
|
|
3208
3312
|
/**
|
|
3209
|
-
*
|
|
3313
|
+
* 逻辑符号,固定取值为contains
|
|
3210
3314
|
*/
|
|
3211
3315
|
CompareFunc: string;
|
|
3212
3316
|
/**
|
|
3213
|
-
*
|
|
3317
|
+
* 匹配内容。
|
|
3318
|
+
以下三个对应Field为information时可取的匹配内容:
|
|
3319
|
+
idcard(身份证)、phone(手机号)、bankcard(银行卡)。
|
|
3320
|
+
以下为对应Field为returncode时可取的匹配内容:
|
|
3321
|
+
400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。
|
|
3322
|
+
当对应Field为keywords时由用户自己输入匹配内容。
|
|
3323
|
+
|
|
3214
3324
|
*/
|
|
3215
3325
|
Content: string;
|
|
3216
3326
|
}
|
|
@@ -3346,13 +3456,28 @@ export interface CreateAccessExportResponse {
|
|
|
3346
3456
|
RequestId?: string;
|
|
3347
3457
|
}
|
|
3348
3458
|
/**
|
|
3349
|
-
*
|
|
3459
|
+
* GenerateDealsAndPayNew返回参数结构体
|
|
3350
3460
|
*/
|
|
3351
|
-
export interface
|
|
3461
|
+
export interface GenerateDealsAndPayNewResponse {
|
|
3352
3462
|
/**
|
|
3353
|
-
*
|
|
3463
|
+
* 计费下单响应结构体
|
|
3464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3354
3465
|
*/
|
|
3355
|
-
|
|
3466
|
+
Data?: DealData;
|
|
3467
|
+
/**
|
|
3468
|
+
* 1:成功,0:失败
|
|
3469
|
+
*/
|
|
3470
|
+
Status?: number;
|
|
3471
|
+
/**
|
|
3472
|
+
* 返回message
|
|
3473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3474
|
+
*/
|
|
3475
|
+
ReturnMessage?: string;
|
|
3476
|
+
/**
|
|
3477
|
+
* 购买的实例ID
|
|
3478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3479
|
+
*/
|
|
3480
|
+
InstanceId?: string;
|
|
3356
3481
|
/**
|
|
3357
3482
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3358
3483
|
*/
|
|
@@ -3708,21 +3833,106 @@ export interface HostStatus {
|
|
|
3708
3833
|
InstanceID?: string;
|
|
3709
3834
|
}
|
|
3710
3835
|
/**
|
|
3711
|
-
*
|
|
3836
|
+
* 产品明细
|
|
3712
3837
|
*/
|
|
3713
|
-
export interface
|
|
3838
|
+
export interface GoodsDetailNew {
|
|
3714
3839
|
/**
|
|
3715
|
-
*
|
|
3840
|
+
* 时间间隔
|
|
3841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3716
3842
|
*/
|
|
3717
|
-
|
|
3843
|
+
TimeSpan?: number;
|
|
3718
3844
|
/**
|
|
3719
|
-
*
|
|
3845
|
+
* 单位,支持购买d、m、y 即(日、月、年)
|
|
3846
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3720
3847
|
*/
|
|
3721
|
-
|
|
3848
|
+
TimeUnit?: string;
|
|
3722
3849
|
/**
|
|
3723
|
-
*
|
|
3850
|
+
* 子产品标签,。新购,续费必传,变配时放在oldConfig newConfig里面
|
|
3851
|
+
|
|
3852
|
+
Saas 高级版 :sp_wsm_waf_premium
|
|
3853
|
+
Saas企业版 :sp_wsm_waf_enterprise
|
|
3854
|
+
Saas旗舰版 :sp_wsm_waf_ultimate
|
|
3855
|
+
Saas 业务扩展包:sp_wsm_waf_qpsep
|
|
3856
|
+
Saas 域名扩展包:sp_wsm_waf_domain
|
|
3857
|
+
|
|
3858
|
+
高级版-CLB:sp_wsm_waf_premium_clb
|
|
3859
|
+
企业版-CLB : sp_wsm_waf_enterprise_clb
|
|
3860
|
+
旗舰版-CLB:sp_wsm_waf_ultimate_clb
|
|
3861
|
+
业务扩展包-CLB:sp_wsm_waf_qpsep_clb
|
|
3862
|
+
域名扩展包-CLB:sp_wsm_waf_domain_clb
|
|
3863
|
+
|
|
3864
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3724
3865
|
*/
|
|
3725
|
-
|
|
3866
|
+
SubProductCode?: string;
|
|
3867
|
+
/**
|
|
3868
|
+
* 业务产品申请的pid(对应一个定价公式),通过pid计费查询到定价模型
|
|
3869
|
+
高级版 :1000827
|
|
3870
|
+
企业版 :1000830
|
|
3871
|
+
旗舰版 :1000832
|
|
3872
|
+
域名包 : 1000834
|
|
3873
|
+
业务扩展包 : 1000481
|
|
3874
|
+
高级版-CLB:1001150
|
|
3875
|
+
企业版-CLB : 1001152
|
|
3876
|
+
旗舰版-CLB:1001154
|
|
3877
|
+
域名包-CLB: 1001156
|
|
3878
|
+
业务扩展包-CLB : 1001160
|
|
3879
|
+
|
|
3880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3881
|
+
*/
|
|
3882
|
+
Pid?: number;
|
|
3883
|
+
/**
|
|
3884
|
+
* waf实例名
|
|
3885
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3886
|
+
*/
|
|
3887
|
+
InstanceName?: string;
|
|
3888
|
+
/**
|
|
3889
|
+
* 1:自动续费,0:不自动续费
|
|
3890
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3891
|
+
*/
|
|
3892
|
+
AutoRenewFlag?: number;
|
|
3893
|
+
/**
|
|
3894
|
+
* waf购买的实际地域信息
|
|
3895
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3896
|
+
*/
|
|
3897
|
+
RealRegion?: number;
|
|
3898
|
+
/**
|
|
3899
|
+
* 计费细项标签数组
|
|
3900
|
+
Saas 高级版 sv_wsm_waf_package_premium
|
|
3901
|
+
Saas 企业版 sv_wsm_waf_package_enterprise
|
|
3902
|
+
Saas 旗舰版 sv_wsm_waf_package_ultimate
|
|
3903
|
+
Saas 非中国大陆高级版 sv_wsm_waf_package_premium_intl
|
|
3904
|
+
Saas 非中国大陆企业版 sv_wsm_waf_package_enterprise_intl
|
|
3905
|
+
Saas 非中国大陆旗舰版 sv_wsm_waf_package_ultimate _intl
|
|
3906
|
+
Saas 业务扩展包 sv_wsm_waf_qps_ep
|
|
3907
|
+
Saas 域名扩展包 sv_wsm_waf_domain
|
|
3908
|
+
|
|
3909
|
+
高级版CLB sv_wsm_waf_package_premium_clb
|
|
3910
|
+
企业版CLB sv_wsm_waf_package_enterprise_clb
|
|
3911
|
+
旗舰版CLB sv_wsm_waf_package_ultimate_clb
|
|
3912
|
+
非中国大陆高级版 CLB sv_wsm_waf_package_premium_clb_intl
|
|
3913
|
+
非中国大陆企业版CLB sv_wsm_waf_package_premium_clb_intl
|
|
3914
|
+
非中国大陆旗舰版CLB sv_wsm_waf_package_ultimate_clb _intl
|
|
3915
|
+
业务扩展包CLB sv_wsm_waf_qps_ep_clb
|
|
3916
|
+
域名扩展包CLB sv_wsm_waf_domain_clb
|
|
3917
|
+
|
|
3918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3919
|
+
*/
|
|
3920
|
+
LabelTypes?: Array<string>;
|
|
3921
|
+
/**
|
|
3922
|
+
* 计费细项标签数量,一般和SvLabelType一一对应
|
|
3923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3924
|
+
*/
|
|
3925
|
+
LabelCounts?: Array<number | bigint>;
|
|
3926
|
+
/**
|
|
3927
|
+
* 变配使用,实例到期时间
|
|
3928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3929
|
+
*/
|
|
3930
|
+
CurDeadline?: string;
|
|
3931
|
+
/**
|
|
3932
|
+
* 对存在的实例购买bot 或api 安全
|
|
3933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3934
|
+
*/
|
|
3935
|
+
InstanceId?: string;
|
|
3726
3936
|
}
|
|
3727
3937
|
/**
|
|
3728
3938
|
* ModifyAntiFakeUrl返回参数结构体
|
|
@@ -4154,29 +4364,17 @@ export interface TLSCiphers {
|
|
|
4154
4364
|
CipherName: string;
|
|
4155
4365
|
}
|
|
4156
4366
|
/**
|
|
4157
|
-
*
|
|
4367
|
+
* ModifyInstanceRenewFlag请求参数结构体
|
|
4158
4368
|
*/
|
|
4159
|
-
export interface
|
|
4369
|
+
export interface ModifyInstanceRenewFlagRequest {
|
|
4160
4370
|
/**
|
|
4161
|
-
*
|
|
4162
|
-
*/
|
|
4163
|
-
Domain: string;
|
|
4164
|
-
/**
|
|
4165
|
-
* 触发IP封禁的攻击次数阈值,范围为2~100次
|
|
4166
|
-
*/
|
|
4167
|
-
AttackThreshold: number;
|
|
4168
|
-
/**
|
|
4169
|
-
* IP封禁统计时间,范围为1-60分钟
|
|
4170
|
-
*/
|
|
4171
|
-
TimeThreshold: number;
|
|
4172
|
-
/**
|
|
4173
|
-
* 触发IP封禁后的封禁时间,范围为5~360分钟
|
|
4371
|
+
* 实例ID
|
|
4174
4372
|
*/
|
|
4175
|
-
|
|
4373
|
+
InstanceId: string;
|
|
4176
4374
|
/**
|
|
4177
|
-
*
|
|
4375
|
+
* 续费开关
|
|
4178
4376
|
*/
|
|
4179
|
-
|
|
4377
|
+
RenewFlag: number;
|
|
4180
4378
|
}
|
|
4181
4379
|
/**
|
|
4182
4380
|
* DescribeBatchIpAccessControl返回参数结构体
|
|
@@ -4436,6 +4634,23 @@ export interface DeleteCustomRuleRequest {
|
|
|
4436
4634
|
*/
|
|
4437
4635
|
Edition?: string;
|
|
4438
4636
|
}
|
|
4637
|
+
/**
|
|
4638
|
+
* DescribeInstances返回参数结构体
|
|
4639
|
+
*/
|
|
4640
|
+
export interface DescribeInstancesResponse {
|
|
4641
|
+
/**
|
|
4642
|
+
* 总数
|
|
4643
|
+
*/
|
|
4644
|
+
Total?: number;
|
|
4645
|
+
/**
|
|
4646
|
+
* instance列表
|
|
4647
|
+
*/
|
|
4648
|
+
Instances?: Array<InstanceInfo>;
|
|
4649
|
+
/**
|
|
4650
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4651
|
+
*/
|
|
4652
|
+
RequestId?: string;
|
|
4653
|
+
}
|
|
4439
4654
|
/**
|
|
4440
4655
|
* DescribeCCRule返回参数结构体
|
|
4441
4656
|
*/
|
|
@@ -4626,25 +4841,17 @@ export interface DescribeHostsRequest {
|
|
|
4626
4841
|
InstanceID?: string;
|
|
4627
4842
|
}
|
|
4628
4843
|
/**
|
|
4629
|
-
*
|
|
4844
|
+
* ModifyInstanceElasticMode请求参数结构体
|
|
4630
4845
|
*/
|
|
4631
|
-
export interface
|
|
4632
|
-
/**
|
|
4633
|
-
* 域名
|
|
4634
|
-
*/
|
|
4635
|
-
Domain: string;
|
|
4636
|
-
/**
|
|
4637
|
-
* ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
|
|
4638
|
-
*/
|
|
4639
|
-
Items: Array<string>;
|
|
4846
|
+
export interface ModifyInstanceElasticModeRequest {
|
|
4640
4847
|
/**
|
|
4641
|
-
*
|
|
4848
|
+
* 实例ID
|
|
4642
4849
|
*/
|
|
4643
|
-
|
|
4850
|
+
InstanceId: string;
|
|
4644
4851
|
/**
|
|
4645
|
-
*
|
|
4852
|
+
* 弹性计费开关
|
|
4646
4853
|
*/
|
|
4647
|
-
|
|
4854
|
+
Mode: number;
|
|
4648
4855
|
}
|
|
4649
4856
|
/**
|
|
4650
4857
|
* Waf 攻击自动封禁详情
|
|
@@ -4812,6 +5019,15 @@ export interface CacheUrlItems {
|
|
|
4812
5019
|
*/
|
|
4813
5020
|
Status: number;
|
|
4814
5021
|
}
|
|
5022
|
+
/**
|
|
5023
|
+
* ModifyInstanceQpsLimit返回参数结构体
|
|
5024
|
+
*/
|
|
5025
|
+
export interface ModifyInstanceQpsLimitResponse {
|
|
5026
|
+
/**
|
|
5027
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5028
|
+
*/
|
|
5029
|
+
RequestId?: string;
|
|
5030
|
+
}
|
|
4815
5031
|
/**
|
|
4816
5032
|
* SearchAttackLog返回参数结构体
|
|
4817
5033
|
*/
|
|
@@ -4931,6 +5147,15 @@ export interface DeleteAntiInfoLeakRuleRequest {
|
|
|
4931
5147
|
*/
|
|
4932
5148
|
RuleId: number;
|
|
4933
5149
|
}
|
|
5150
|
+
/**
|
|
5151
|
+
* ModifyInstanceElasticMode返回参数结构体
|
|
5152
|
+
*/
|
|
5153
|
+
export interface ModifyInstanceElasticModeResponse {
|
|
5154
|
+
/**
|
|
5155
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5156
|
+
*/
|
|
5157
|
+
RequestId?: string;
|
|
5158
|
+
}
|
|
4934
5159
|
/**
|
|
4935
5160
|
* DescribeIpHitItems请求参数结构体
|
|
4936
5161
|
*/
|
|
@@ -4997,6 +5222,43 @@ export interface DescribeVipInfoResponse {
|
|
|
4997
5222
|
*/
|
|
4998
5223
|
RequestId?: string;
|
|
4999
5224
|
}
|
|
5225
|
+
/**
|
|
5226
|
+
* 计费下单接口出入参Goods
|
|
5227
|
+
*/
|
|
5228
|
+
export interface GoodNews {
|
|
5229
|
+
/**
|
|
5230
|
+
* 商品数量
|
|
5231
|
+
*/
|
|
5232
|
+
GoodsNum: number;
|
|
5233
|
+
/**
|
|
5234
|
+
* 商品明细
|
|
5235
|
+
*/
|
|
5236
|
+
GoodsDetail: GoodsDetailNew;
|
|
5237
|
+
/**
|
|
5238
|
+
* 订单类型ID,用来唯一标识一个业务的一种场景(总共三种场景:新购、配置变更、续费)
|
|
5239
|
+
高级版: 102375(新购),102376(续费),102377(变配)
|
|
5240
|
+
企业版 : 102378(新购),102379(续费),102380(变配)
|
|
5241
|
+
旗舰版 : 102369(新购),102370(续费),102371(变配)
|
|
5242
|
+
域名包 : 102372(新购),102373(续费),102374(变配)
|
|
5243
|
+
业务扩展包 : 101040(新购),101041(续费),101042(变配)
|
|
5244
|
+
|
|
5245
|
+
高级版-CLB: 新购 101198 续费 101199 变配 101200
|
|
5246
|
+
企业版-CLB 101204(新购),101205(续费),101206(变配)
|
|
5247
|
+
旗舰版-CLB : 101201(新购),101202(续费),101203(变配)
|
|
5248
|
+
域名包-CLB: 101207(新购),101208(续费),101209(变配)
|
|
5249
|
+
业务扩展包-CLB: 101210(新购),101211(续费),101212(变配)
|
|
5250
|
+
|
|
5251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5252
|
+
*/
|
|
5253
|
+
GoodsCategoryId?: number;
|
|
5254
|
+
/**
|
|
5255
|
+
* 购买waf实例区域ID
|
|
5256
|
+
1 表示购买大陆资源;
|
|
5257
|
+
9表示购买非中国大陆资源
|
|
5258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5259
|
+
*/
|
|
5260
|
+
RegionId?: number;
|
|
5261
|
+
}
|
|
5000
5262
|
/**
|
|
5001
5263
|
* DescribeCCRule请求参数结构体
|
|
5002
5264
|
*/
|
|
@@ -5773,6 +6035,31 @@ export interface DeleteCustomRuleResponse {
|
|
|
5773
6035
|
*/
|
|
5774
6036
|
RequestId?: string;
|
|
5775
6037
|
}
|
|
6038
|
+
/**
|
|
6039
|
+
* ModifyWafAutoDenyRules请求参数结构体
|
|
6040
|
+
*/
|
|
6041
|
+
export interface ModifyWafAutoDenyRulesRequest {
|
|
6042
|
+
/**
|
|
6043
|
+
* 域名
|
|
6044
|
+
*/
|
|
6045
|
+
Domain: string;
|
|
6046
|
+
/**
|
|
6047
|
+
* 触发IP封禁的攻击次数阈值,范围为2~100次
|
|
6048
|
+
*/
|
|
6049
|
+
AttackThreshold: number;
|
|
6050
|
+
/**
|
|
6051
|
+
* IP封禁统计时间,范围为1-60分钟
|
|
6052
|
+
*/
|
|
6053
|
+
TimeThreshold: number;
|
|
6054
|
+
/**
|
|
6055
|
+
* 触发IP封禁后的封禁时间,范围为5~360分钟
|
|
6056
|
+
*/
|
|
6057
|
+
DenyTimeThreshold: number;
|
|
6058
|
+
/**
|
|
6059
|
+
* 自动封禁状态,0表示关闭,1表示打开
|
|
6060
|
+
*/
|
|
6061
|
+
DefenseStatus: number;
|
|
6062
|
+
}
|
|
5776
6063
|
/**
|
|
5777
6064
|
* bot的趋势图对象
|
|
5778
6065
|
*/
|