tencentcloud-sdk-nodejs-waf 4.0.389 → 4.0.397

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.
@@ -32,29 +32,18 @@ export interface CreateAccessExportRequest {
32
32
  Order?: string;
33
33
  }
34
34
  /**
35
- * DescribeWafAutoDenyRules返回参数结构体
35
+ * CDC场景下负载均衡WAF的集群信息
36
36
  */
37
- export interface DescribeWafAutoDenyRulesResponse {
38
- /**
39
- * 攻击次数阈值
40
- */
41
- AttackThreshold: number;
42
- /**
43
- * 攻击时间阈值
44
- */
45
- TimeThreshold: number;
46
- /**
47
- * 自动封禁时间
48
- */
49
- DenyTimeThreshold: number;
37
+ export interface CdcCluster {
50
38
  /**
51
- * 自动封禁状态
39
+ * cdc的集群id
52
40
  */
53
- DefenseStatus: number;
41
+ Id: string;
54
42
  /**
55
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
56
- */
57
- RequestId?: string;
43
+ * cdc的集群名称
44
+ 注意:此字段可能返回 null,表示取不到有效值。
45
+ */
46
+ Name: string;
58
47
  }
59
48
  /**
60
49
  * DescribeIpHitItems返回参数结构体
@@ -71,19 +60,9 @@ export interface DescribeIpHitItemsResponse {
71
60
  RequestId?: string;
72
61
  }
73
62
  /**
74
- * DescribeUserClbWafRegions返回参数结构体
63
+ * DescribeUserCdcClbWafRegions请求参数结构体
75
64
  */
76
- export interface DescribeUserClbWafRegionsResponse {
77
- /**
78
- * 地域(标准的ap-格式)列表
79
- 注意:此字段可能返回 null,表示取不到有效值。
80
- */
81
- Data: Array<string>;
82
- /**
83
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
84
- */
85
- RequestId?: string;
86
- }
65
+ export declare type DescribeUserCdcClbWafRegionsRequest = null;
87
66
  /**
88
67
  * 封装参数
89
68
  */
@@ -138,13 +117,25 @@ export interface AccessLogItems {
138
117
  Data: Array<AccessLogItem>;
139
118
  }
140
119
  /**
141
- * AddDomainWhiteRule返回参数结构体
120
+ * DescribeWafAutoDenyRules返回参数结构体
142
121
  */
143
- export interface AddDomainWhiteRuleResponse {
122
+ export interface DescribeWafAutoDenyRulesResponse {
144
123
  /**
145
- * 规则id
124
+ * 攻击次数阈值
146
125
  */
147
- Id?: number;
126
+ AttackThreshold: number;
127
+ /**
128
+ * 攻击时间阈值
129
+ */
130
+ TimeThreshold: number;
131
+ /**
132
+ * 自动封禁时间
133
+ */
134
+ DenyTimeThreshold: number;
135
+ /**
136
+ * 自动封禁状态
137
+ */
138
+ DefenseStatus: number;
148
139
  /**
149
140
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
150
141
  */
@@ -328,27 +319,27 @@ export interface DeleteDownloadRecordRequest {
328
319
  Flow: string;
329
320
  }
330
321
  /**
331
- * DescribeAccessIndex接口的出参数
322
+ * DescribeUserCdcClbWafRegions返回参数结构体
332
323
  */
333
- export interface AccessRuleInfo {
324
+ export interface DescribeUserCdcClbWafRegionsResponse {
334
325
  /**
335
- * 全文索引配置
336
- 注意:此字段可能返回 null,表示取不到有效值。
326
+ * CdcRegion的类型描述
337
327
  注意:此字段可能返回 null,表示取不到有效值。
338
328
  */
339
- FullText: AccessFullTextInfo;
329
+ Data: Array<CdcRegion>;
340
330
  /**
341
- * 键值索引配置
342
- 注意:此字段可能返回 null,表示取不到有效值。
343
- 注意:此字段可能返回 null,表示取不到有效值。
344
- */
345
- KeyValue: AccessRuleKeyValueInfo;
331
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
332
+ */
333
+ RequestId?: string;
334
+ }
335
+ /**
336
+ * DeleteAccessExport返回参数结构体
337
+ */
338
+ export interface DeleteAccessExportResponse {
346
339
  /**
347
- * 元字段索引配置
348
- 注意:此字段可能返回 null,表示取不到有效值。
349
- 注意:此字段可能返回 null,表示取不到有效值。
350
- */
351
- Tag: AccessRuleTagInfo;
340
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
341
+ */
342
+ RequestId?: string;
352
343
  }
353
344
  /**
354
345
  * DescribeAccessExports请求参数结构体
@@ -367,6 +358,20 @@ export interface DescribeAccessExportsRequest {
367
358
  */
368
359
  Limit?: number;
369
360
  }
361
+ /**
362
+ * DescribeUserClbWafRegions返回参数结构体
363
+ */
364
+ export interface DescribeUserClbWafRegionsResponse {
365
+ /**
366
+ * 地域(标准的ap-格式)列表
367
+ 注意:此字段可能返回 null,表示取不到有效值。
368
+ */
369
+ Data: Array<string>;
370
+ /**
371
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
372
+ */
373
+ RequestId?: string;
374
+ }
370
375
  /**
371
376
  * ModifyWafAutoDenyStatus请求参数结构体
372
377
  */
@@ -385,15 +390,6 @@ export interface ModifyAccessPeriodResponse {
385
390
  */
386
391
  RequestId?: string;
387
392
  }
388
- /**
389
- * DeleteAccessExport返回参数结构体
390
- */
391
- export interface DeleteAccessExportResponse {
392
- /**
393
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
394
- */
395
- RequestId?: string;
396
- }
397
393
  /**
398
394
  * clb-waf QPS套餐 New
399
395
  */
@@ -811,53 +807,17 @@ export interface DeleteDomainWhiteRulesResponse {
811
807
  RequestId?: string;
812
808
  }
813
809
  /**
814
- * 下载攻击日志记录数据项
810
+ * ModifyWafAutoDenyStatus返回参数结构体
815
811
  */
816
- export interface DownloadAttackRecordInfo {
817
- /**
818
- * 记录ID
819
- */
820
- Id: number;
821
- /**
822
- * 下载任务名
823
- */
824
- TaskName: string;
825
- /**
826
- * 任务ID
827
- */
828
- TaskId: string;
829
- /**
830
- * 域名
831
- */
832
- Host: string;
833
- /**
834
- * 当前下载任务的日志条数
835
- */
836
- Count: number;
837
- /**
838
- * 下载任务运行状态:-1-下载超时,0-下载等待,1-下载完成,2-下载失败,4-正在下载
839
- */
840
- Status: number;
841
- /**
842
- * 下载文件URL
843
- */
844
- Url: string;
845
- /**
846
- * 创建时间
847
- */
848
- CreateTime: string;
849
- /**
850
- * 最后更新修改时间
851
- */
852
- ModifyTime: string;
812
+ export interface ModifyWafAutoDenyStatusResponse {
853
813
  /**
854
- * 过期时间
814
+ * WAF 自动封禁配置项
855
815
  */
856
- ExpireTime: string;
816
+ WafAutoDenyDetails?: AutoDenyDetail;
857
817
  /**
858
- * 下载任务需下载的日志总条数
818
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
859
819
  */
860
- TotalCount: number;
820
+ RequestId?: string;
861
821
  }
862
822
  /**
863
823
  * DescribeWafAutoDenyStatus返回参数结构体
@@ -1060,6 +1020,19 @@ export interface DescribeDomainWhiteRulesRequest {
1060
1020
  */
1061
1021
  RuleId?: string;
1062
1022
  }
1023
+ /**
1024
+ * AddDomainWhiteRule返回参数结构体
1025
+ */
1026
+ export interface AddDomainWhiteRuleResponse {
1027
+ /**
1028
+ * 规则id
1029
+ */
1030
+ Id?: number;
1031
+ /**
1032
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1033
+ */
1034
+ RequestId?: string;
1035
+ }
1063
1036
  /**
1064
1037
  * ModifyCustomRuleStatus请求参数结构体
1065
1038
  */
@@ -1224,6 +1197,20 @@ export interface DescribeInstancesRequest {
1224
1197
  */
1225
1198
  Filters?: Array<FiltersItemNew>;
1226
1199
  }
1200
+ /**
1201
+ * CDC场景下负载均衡WAF的地域信息
1202
+ */
1203
+ export interface CdcRegion {
1204
+ /**
1205
+ * 地域
1206
+ */
1207
+ Region: string;
1208
+ /**
1209
+ * 该地域对应的集群信息
1210
+ 注意:此字段可能返回 null,表示取不到有效值。
1211
+ */
1212
+ Clusters: Array<CdcCluster>;
1213
+ }
1227
1214
  /**
1228
1215
  * 用于DescribeAccessIndex接口的出参
1229
1216
  */
@@ -1681,6 +1668,29 @@ export interface DescribeIpHitItemsRequest {
1681
1668
  */
1682
1669
  Ip?: string;
1683
1670
  }
1671
+ /**
1672
+ * DescribeAccessIndex接口的出参数
1673
+ */
1674
+ export interface AccessRuleInfo {
1675
+ /**
1676
+ * 全文索引配置
1677
+ 注意:此字段可能返回 null,表示取不到有效值。
1678
+ 注意:此字段可能返回 null,表示取不到有效值。
1679
+ */
1680
+ FullText: AccessFullTextInfo;
1681
+ /**
1682
+ * 键值索引配置
1683
+ 注意:此字段可能返回 null,表示取不到有效值。
1684
+ 注意:此字段可能返回 null,表示取不到有效值。
1685
+ */
1686
+ KeyValue: AccessRuleKeyValueInfo;
1687
+ /**
1688
+ * 元字段索引配置
1689
+ 注意:此字段可能返回 null,表示取不到有效值。
1690
+ 注意:此字段可能返回 null,表示取不到有效值。
1691
+ */
1692
+ Tag: AccessRuleTagInfo;
1693
+ }
1684
1694
  /**
1685
1695
  * GetAttackDownloadRecords返回参数结构体
1686
1696
  */
@@ -1838,17 +1848,53 @@ export interface DeleteSessionResponse {
1838
1848
  RequestId?: string;
1839
1849
  }
1840
1850
  /**
1841
- * ModifyWafAutoDenyStatus返回参数结构体
1851
+ * 下载攻击日志记录数据项
1842
1852
  */
1843
- export interface ModifyWafAutoDenyStatusResponse {
1853
+ export interface DownloadAttackRecordInfo {
1844
1854
  /**
1845
- * WAF 自动封禁配置项
1855
+ * 记录ID
1846
1856
  */
1847
- WafAutoDenyDetails?: AutoDenyDetail;
1857
+ Id: number;
1848
1858
  /**
1849
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1859
+ * 下载任务名
1850
1860
  */
1851
- RequestId?: string;
1861
+ TaskName: string;
1862
+ /**
1863
+ * 任务ID
1864
+ */
1865
+ TaskId: string;
1866
+ /**
1867
+ * 域名
1868
+ */
1869
+ Host: string;
1870
+ /**
1871
+ * 当前下载任务的日志条数
1872
+ */
1873
+ Count: number;
1874
+ /**
1875
+ * 下载任务运行状态:-1-下载超时,0-下载等待,1-下载完成,2-下载失败,4-正在下载
1876
+ */
1877
+ Status: number;
1878
+ /**
1879
+ * 下载文件URL
1880
+ */
1881
+ Url: string;
1882
+ /**
1883
+ * 创建时间
1884
+ */
1885
+ CreateTime: string;
1886
+ /**
1887
+ * 最后更新修改时间
1888
+ */
1889
+ ModifyTime: string;
1890
+ /**
1891
+ * 过期时间
1892
+ */
1893
+ ExpireTime: string;
1894
+ /**
1895
+ * 下载任务需下载的日志总条数
1896
+ */
1897
+ TotalCount: number;
1852
1898
  }
1853
1899
  /**
1854
1900
  * DescribeWafThreatenIntelligence请求参数结构体