tencentcloud-sdk-nodejs-teo 4.0.788 → 4.0.790

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.
@@ -92,8 +92,9 @@ class Client extends TencentCloudCommon.AbstractClient {
92
92
  return this.request("ModifyOriginGroup", req, cb);
93
93
  }
94
94
  /**
95
- * 删除应用代理
96
- */
95
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理实例
96
+ ](https://cloud.tencent.com/document/product/1552/103415) 。
97
+ */
97
98
  async DeleteApplicationProxy(req, cb) {
98
99
  return this.request("DeleteApplicationProxy", req, cb);
99
100
  }
@@ -116,7 +117,7 @@ class Client extends TencentCloudCommon.AbstractClient {
116
117
  return this.request("DescribeEnvironments", req, cb);
117
118
  }
118
119
  /**
119
- * 删除应用代理规则
120
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理转发规则](https://cloud.tencent.com/document/product/1552/103414) 。
120
121
  */
121
122
  async DeleteApplicationProxyRule(req, cb) {
122
123
  return this.request("DeleteApplicationProxyRule", req, cb);
@@ -160,10 +161,10 @@ class Client extends TencentCloudCommon.AbstractClient {
160
161
  return this.request("CreateAccelerationDomain", req, cb);
161
162
  }
162
163
  /**
163
- * 用于修改站点配置
164
+ * 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
164
165
  */
165
- async ModifyZoneSetting(req, cb) {
166
- return this.request("ModifyZoneSetting", req, cb);
166
+ async DescribeConfigGroupVersionDetail(req, cb) {
167
+ return this.request("DescribeConfigGroupVersionDetail", req, cb);
167
168
  }
168
169
  /**
169
170
  * 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
@@ -172,8 +173,9 @@ class Client extends TencentCloudCommon.AbstractClient {
172
173
  return this.request("BindSecurityTemplateToEntity", req, cb);
173
174
  }
174
175
  /**
175
- * 修改应用代理规则的状态
176
- */
176
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理转发规则状态
177
+ ](https://cloud.tencent.com/document/product/1552/103409) 。
178
+ */
177
179
  async ModifyApplicationProxyRuleStatus(req, cb) {
178
180
  return this.request("ModifyApplicationProxyRuleStatus", req, cb);
179
181
  }
@@ -232,10 +234,10 @@ class Client extends TencentCloudCommon.AbstractClient {
232
234
  return this.request("DescribeConfigGroupVersions", req, cb);
233
235
  }
234
236
  /**
235
- * 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
237
+ * 用于修改站点配置
236
238
  */
237
- async DescribeConfigGroupVersionDetail(req, cb) {
238
- return this.request("DescribeConfigGroupVersionDetail", req, cb);
239
+ async ModifyZoneSetting(req, cb) {
240
+ return this.request("ModifyZoneSetting", req, cb);
239
241
  }
240
242
  /**
241
243
  * 用于修改四层代理转发规则,支持单条或者批量修改。
@@ -316,7 +318,7 @@ class Client extends TencentCloudCommon.AbstractClient {
316
318
  return this.request("CreateL4Proxy", req, cb);
317
319
  }
318
320
  /**
319
- * 修改应用代理的状态
321
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理实例状态](https://cloud.tencent.com/document/product/1552/103408) 。
320
322
  */
321
323
  async ModifyApplicationProxyStatus(req, cb) {
322
324
  return this.request("ModifyApplicationProxyStatus", req, cb);
@@ -328,7 +330,7 @@ class Client extends TencentCloudCommon.AbstractClient {
328
330
  return this.request("DescribeTimingL7AnalysisData", req, cb);
329
331
  }
330
332
  /**
331
- * 查询应用代理列表。
333
+ * 本接口为旧版,如需调用请尽快迁移至新版,新版接口中将四层代理实例列表的查询和四层转发规则的查询拆分成两个接口,详情请参考 [查询四层代理实例列表](https://cloud.tencent.com/document/product/1552/103413) 和 [查询四层代理转发规则列表](https://cloud.tencent.com/document/product/1552/103412)。
332
334
  */
333
335
  async DescribeApplicationProxies(req, cb) {
334
336
  return this.request("DescribeApplicationProxies", req, cb);
@@ -352,8 +354,9 @@ class Client extends TencentCloudCommon.AbstractClient {
352
354
  return this.request("CreateConfigGroupVersion", req, cb);
353
355
  }
354
356
  /**
355
- * 修改应用代理
356
- */
357
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理实例
358
+ ](https://cloud.tencent.com/document/product/1552/103411) 。
359
+ */
357
360
  async ModifyApplicationProxy(req, cb) {
358
361
  return this.request("ModifyApplicationProxy", req, cb);
359
362
  }
@@ -414,7 +417,7 @@ class Client extends TencentCloudCommon.AbstractClient {
414
417
  return this.request("DeleteRules", req, cb);
415
418
  }
416
419
  /**
417
- * 查询四层代理实例下的规则列表。
420
+ * 查询四层代理实例下的转发规则列表。
418
421
  */
419
422
  async DescribeL4ProxyRules(req, cb) {
420
423
  return this.request("DescribeL4ProxyRules", req, cb);
@@ -432,7 +435,7 @@ class Client extends TencentCloudCommon.AbstractClient {
432
435
  return this.request("DescribeRules", req, cb);
433
436
  }
434
437
  /**
435
- * 创建应用代理
438
+ * 本接口为旧版,如需调用请尽快迁移至新版 [创建四层代理实例](https://cloud.tencent.com/document/product/1552/103417) 。
436
439
  */
437
440
  async CreateApplicationProxy(req, cb) {
438
441
  return this.request("CreateApplicationProxy", req, cb);
@@ -450,8 +453,9 @@ class Client extends TencentCloudCommon.AbstractClient {
450
453
  return this.request("ModifyAliasDomain", req, cb);
451
454
  }
452
455
  /**
453
- * 修改应用代理规则
454
- */
456
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理转发规则
457
+ ](https://cloud.tencent.com/document/product/1552/103410) 。
458
+ */
455
459
  async ModifyApplicationProxyRule(req, cb) {
456
460
  return this.request("ModifyApplicationProxyRule", req, cb);
457
461
  }
@@ -530,8 +534,9 @@ class Client extends TencentCloudCommon.AbstractClient {
530
534
  return this.request("DeleteSecurityIPGroup", req, cb);
531
535
  }
532
536
  /**
533
- * 创建应用代理规则
534
- */
537
+ * 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [创建四层代理转发规则
538
+ ](https://cloud.tencent.com/document/product/1552/103416) 。
539
+ */
535
540
  async CreateApplicationProxyRule(req, cb) {
536
541
  return this.request("CreateApplicationProxyRule", req, cb);
537
542
  }
@@ -565,5 +570,11 @@ class Client extends TencentCloudCommon.AbstractClient {
565
570
  async DescribeAliasDomains(req, cb) {
566
571
  return this.request("DescribeAliasDomains", req, cb);
567
572
  }
573
+ /**
574
+ * 通过本接口查询计费数据。
575
+ */
576
+ async DescribeBillingData(req, cb) {
577
+ return this.request("DescribeBillingData", req, cb);
578
+ }
568
579
  }
569
580
  exports.Client = Client;
@@ -1099,19 +1099,17 @@ export interface OriginInfo {
1099
1099
  VodeoBucketId?: string;
1100
1100
  }
1101
1101
  /**
1102
- * 标签配置
1102
+ * 计费数据项
1103
1103
  */
1104
- export interface Tag {
1104
+ export interface BillingData {
1105
1105
  /**
1106
- * 标签键。
1107
- 注意:此字段可能返回 null,表示取不到有效值。
1106
+ * 时间。
1108
1107
  */
1109
- TagKey: string;
1108
+ Time?: string;
1110
1109
  /**
1111
- * 标签值。
1112
- 注意:此字段可能返回 null,表示取不到有效值。
1110
+ * 数值。
1113
1111
  */
1114
- TagValue: string;
1112
+ Value?: number;
1115
1113
  }
1116
1114
  /**
1117
1115
  * ModifySecurityPolicy返回参数结构体
@@ -1288,6 +1286,19 @@ export interface BotExtendAction {
1288
1286
  */
1289
1287
  Percent?: number;
1290
1288
  }
1289
+ /**
1290
+ * 时序数据信息
1291
+ */
1292
+ export interface TimingDataRecord {
1293
+ /**
1294
+ * 查询维度值。
1295
+ */
1296
+ TypeKey: string;
1297
+ /**
1298
+ * 详细时序数据。
1299
+ */
1300
+ TypeValue: Array<TimingTypeValue>;
1301
+ }
1291
1302
  /**
1292
1303
  * CreatePurgeTask返回参数结构体
1293
1304
  */
@@ -1441,17 +1452,21 @@ export interface DescribeRulesResponse {
1441
1452
  RequestId?: string;
1442
1453
  }
1443
1454
  /**
1444
- * 时序数据信息
1455
+ * DownloadL4Logs返回参数结构体
1445
1456
  */
1446
- export interface TimingDataRecord {
1457
+ export interface DownloadL4LogsResponse {
1447
1458
  /**
1448
- * 查询维度值。
1459
+ * 查询结果的总条数。
1449
1460
  */
1450
- TypeKey: string;
1461
+ TotalCount?: number;
1451
1462
  /**
1452
- * 详细时序数据。
1463
+ * 四层离线日志数据列表。
1453
1464
  */
1454
- TypeValue: Array<TimingTypeValue>;
1465
+ Data?: Array<L4OfflineLog>;
1466
+ /**
1467
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1468
+ */
1469
+ RequestId?: string;
1455
1470
  }
1456
1471
  /**
1457
1472
  * 源站防护信息
@@ -1562,6 +1577,57 @@ export interface ImageOptimize {
1562
1577
  */
1563
1578
  Switch: string;
1564
1579
  }
1580
+ /**
1581
+ * DescribeBillingData请求参数结构体
1582
+ */
1583
+ export interface DescribeBillingDataRequest {
1584
+ /**
1585
+ * 起始时间。
1586
+ */
1587
+ StartTime: string;
1588
+ /**
1589
+ * 结束时间。
1590
+ */
1591
+ EndTime: string;
1592
+ /**
1593
+ * 站点 ID 集合,此参数必填。
1594
+ */
1595
+ ZoneIds: Array<string>;
1596
+ /**
1597
+ * 指标列表,取值有:
1598
+ <li>acc_flux: 内容加速流量,单位为 Byte;</li>
1599
+ <li>smt_flux: 智能加速流量,单位为 Byte;</li>
1600
+ <li>l4_flux: 四层加速流量,单位为 Byte;</li>
1601
+ <li>sec_flux: 独立防护流量,单位为 Byte;</li>
1602
+ <li>zxctg_flux: 中国大陆网络优化流量,单位为 Byte;</li>
1603
+ <li>acc_bandwidth: 内容加速带宽,单位为 bps;</li>
1604
+ <li>smt_bandwidth: 智能加速带宽,单位为 bps;</li>
1605
+ <li>l4_bandwidth: 四层加速带宽,单位为 bps;</li>
1606
+ <li>sec_bandwidth: 独立防护带宽,单位为 bps;</li>
1607
+ <li>zxctg_bandwidth: 中国大陆网络优化带宽,单位为 bps;</li>
1608
+ <li>sec_request_clean: HTTP/HTTPS 请求,单位为次;</li>
1609
+ <li>smt_request_clean: 智能加速请求,单位为次;</li>
1610
+ <li>quic_request: QUIC 请求,单位为次;</li>
1611
+ <li>bot_request_clean: Bot 请求,单位为次;</li>
1612
+ <li>cls_count: 实时日志推送条数,单位为条;</li>
1613
+ <li>ddos_bandwidth: 弹性 DDoS 防护带宽,单位为 bps。</li>
1614
+ */
1615
+ MetricName: string;
1616
+ /**
1617
+ * 查询时间粒度,取值有:
1618
+ <li>5min:5 分钟粒度;</li>
1619
+ <li>hour:1 小时粒度;</li>
1620
+ <li>day:1 天粒度。</li>
1621
+ */
1622
+ Interval: string;
1623
+ /**
1624
+ * 过滤条件,详细的过滤条件取值如下:
1625
+ <li>host<br>   按照【<strong>域名</strong>】进行过滤。示例值:test.example.com。<br>   类型:String<br>   必选:否</li>
1626
+ <li>proxy-id<br>   按照【<strong>四层代理实例 ID</strong>】进行过滤。示例值:sid-2rugn89bkla9。<br>   类型:String<br>   必选:否</li>
1627
+ <li>region-id<br>   按照【<strong>计费大区</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项如下:<br>   CH:中国大陆境内<br>   AF:非洲<br>   AS1:亚太一区<br>   AS2:亚太二区<br>   AS3:亚太三区<br>   EU:欧洲<br>   MidEast:中东<br>   NA:北美<br>   SA:南美</li>
1628
+ */
1629
+ Filters?: Array<BillingDataFilter>;
1630
+ }
1565
1631
  /**
1566
1632
  * 别称域名信息。
1567
1633
  */
@@ -1700,6 +1766,32 @@ export interface AclCondition {
1700
1766
  */
1701
1767
  MatchContent: string;
1702
1768
  }
1769
+ /**
1770
+ * 时序类型详细数据
1771
+ */
1772
+ export interface TimingTypeValue {
1773
+ /**
1774
+ * 数据和。
1775
+ */
1776
+ Sum: number;
1777
+ /**
1778
+ * 最大值。
1779
+ */
1780
+ Max: number;
1781
+ /**
1782
+ * 平均值。
1783
+ */
1784
+ Avg: number;
1785
+ /**
1786
+ * 指标名。
1787
+ */
1788
+ MetricName: string;
1789
+ /**
1790
+ * 详细数据。
1791
+ 注意:此字段可能返回 null,表示取不到有效值。
1792
+ */
1793
+ Detail: Array<TimingDataItem>;
1794
+ }
1703
1795
  /**
1704
1796
  * DescribeAliasDomains请求参数结构体
1705
1797
  */
@@ -3817,6 +3909,39 @@ export interface DescribeDefaultCertificatesRequest {
3817
3909
  */
3818
3910
  Limit?: number;
3819
3911
  }
3912
+ /**
3913
+ * 慢速攻击配置。
3914
+ */
3915
+ export interface SlowPostConfig {
3916
+ /**
3917
+ * 开关,取值有:
3918
+ <li>on:开启;</li>
3919
+ <li>off:关闭。</li>
3920
+ */
3921
+ Switch: string;
3922
+ /**
3923
+ * 首包配置。
3924
+ 注意:此字段可能返回 null,表示取不到有效值。
3925
+ */
3926
+ FirstPartConfig?: FirstPartConfig;
3927
+ /**
3928
+ * 基础配置。
3929
+ 注意:此字段可能返回 null,表示取不到有效值。
3930
+ */
3931
+ SlowRateConfig?: SlowRateConfig;
3932
+ /**
3933
+ * 慢速攻击的处置动作,取值有:
3934
+ <li>monitor:观察;</li>
3935
+ <li>drop:拦截。</li>
3936
+ 注意:此字段可能返回 null,表示取不到有效值。
3937
+ */
3938
+ Action?: string;
3939
+ /**
3940
+ * 本规则的Id。
3941
+ 注意:此字段可能返回 null,表示取不到有效值。
3942
+ */
3943
+ RuleId?: number;
3944
+ }
3820
3945
  /**
3821
3946
  * BindZoneToPlan请求参数结构体
3822
3947
  */
@@ -4749,6 +4874,14 @@ export interface DescribeConfigGroupVersionsResponse {
4749
4874
  * DescribeApplicationProxies请求参数结构体
4750
4875
  */
4751
4876
  export interface DescribeApplicationProxiesRequest {
4877
+ /**
4878
+ * 站点ID。该参数必填。
4879
+ */
4880
+ ZoneId?: string;
4881
+ /**
4882
+ * 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br>   按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br>   类型:String<br>   必选:否</li><li>zone-id<br>   按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br>   类型:String<br>   必选:否</li><li>rule-tag<br>   按照【<strong>规则标签</strong>】对应用代理下的规则进行过滤。规则标签形如:rule-service-1。<br>   类型:String<br>   必选:否</li>
4883
+ */
4884
+ Filters?: Array<Filter>;
4752
4885
  /**
4753
4886
  * 分页查询偏移量。默认为0。
4754
4887
  */
@@ -4757,10 +4890,6 @@ export interface DescribeApplicationProxiesRequest {
4757
4890
  * 分页查询限制数目。默认值:20,最大值:1000。
4758
4891
  */
4759
4892
  Limit?: number;
4760
- /**
4761
- * 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br>   按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br>   类型:String<br>   必选:否</li><li>zone-id<br>   按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br>   类型:String<br>   必选:否</li><li>rule-tag<br>   按照【<strong>规则标签</strong>】对应用代理下的规则进行过滤。规则标签形如:rule-service-1。<br>   类型:String<br>   必选:否</li>
4762
- */
4763
- Filters?: Array<Filter>;
4764
4893
  }
4765
4894
  /**
4766
4895
  * DescribeContentQuota请求参数结构体
@@ -5103,37 +5232,22 @@ export interface NsVerification {
5103
5232
  NameServers?: Array<string>;
5104
5233
  }
5105
5234
  /**
5106
- * 慢速攻击配置。
5235
+ * 规则引擎规则项,Conditions 数组内多个项的关系为 或,内层 Conditions 列表内多个项的关系为 且。
5107
5236
  */
5108
- export interface SlowPostConfig {
5109
- /**
5110
- * 开关,取值有:
5111
- <li>on:开启;</li>
5112
- <li>off:关闭。</li>
5113
- */
5114
- Switch: string;
5115
- /**
5116
- * 首包配置。
5117
- 注意:此字段可能返回 null,表示取不到有效值。
5118
- */
5119
- FirstPartConfig?: FirstPartConfig;
5237
+ export interface Rule {
5120
5238
  /**
5121
- * 基础配置。
5122
- 注意:此字段可能返回 null,表示取不到有效值。
5239
+ * 执行的功能。
5123
5240
  */
5124
- SlowRateConfig?: SlowRateConfig;
5241
+ Actions: Array<Action>;
5125
5242
  /**
5126
- * 慢速攻击的处置动作,取值有:
5127
- <li>monitor:观察;</li>
5128
- <li>drop:拦截。</li>
5129
- 注意:此字段可能返回 null,表示取不到有效值。
5243
+ * 执行功能判断条件。
5244
+ 注意:满足该数组内任意一项条件,功能即可执行。
5130
5245
  */
5131
- Action?: string;
5246
+ Conditions: Array<RuleAndConditions>;
5132
5247
  /**
5133
- * 本规则的Id。
5134
- 注意:此字段可能返回 null,表示取不到有效值。
5248
+ * 嵌套规则。
5135
5249
  */
5136
- RuleId?: number;
5250
+ SubRules?: Array<SubRuleItem>;
5137
5251
  }
5138
5252
  /**
5139
5253
  * 中国大陆加速优化配置。
@@ -5675,22 +5789,18 @@ export interface Sv {
5675
5789
  ProtectionSpecs?: string;
5676
5790
  }
5677
5791
  /**
5678
- * 规则引擎规则项,Conditions 数组内多个项的关系为 或,内层 Conditions 列表内多个项的关系为 且。
5792
+ * DescribeBillingData返回参数结构体
5679
5793
  */
5680
- export interface Rule {
5794
+ export interface DescribeBillingDataResponse {
5681
5795
  /**
5682
- * 执行的功能。
5683
- */
5684
- Actions: Array<Action>;
5685
- /**
5686
- * 执行功能判断条件。
5687
- 注意:满足该数组内任意一项条件,功能即可执行。
5796
+ * 数据点列表。
5797
+ 注意:此字段可能返回 null,表示取不到有效值。
5688
5798
  */
5689
- Conditions: Array<RuleAndConditions>;
5799
+ Data?: Array<BillingData>;
5690
5800
  /**
5691
- * 嵌套规则。
5801
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5692
5802
  */
5693
- SubRules?: Array<SubRuleItem>;
5803
+ RequestId?: string;
5694
5804
  }
5695
5805
  /**
5696
5806
  * ModifyL4ProxyRulesStatus请求参数结构体
@@ -6062,21 +6172,17 @@ export interface ModifyOriginGroupRequest {
6062
6172
  HostHeader?: string;
6063
6173
  }
6064
6174
  /**
6065
- * DownloadL4Logs返回参数结构体
6175
+ * 计费数据过滤条件。
6066
6176
  */
6067
- export interface DownloadL4LogsResponse {
6177
+ export interface BillingDataFilter {
6068
6178
  /**
6069
- * 查询结果的总条数。
6070
- */
6071
- TotalCount?: number;
6072
- /**
6073
- * 四层离线日志数据列表。
6179
+ * 参数名称。
6074
6180
  */
6075
- Data?: Array<L4OfflineLog>;
6181
+ Type: string;
6076
6182
  /**
6077
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6183
+ * 参数值。
6078
6184
  */
6079
- RequestId?: string;
6185
+ Value: string;
6080
6186
  }
6081
6187
  /**
6082
6188
  * DescribeTimingL7CacheData返回参数结构体
@@ -8123,28 +8229,17 @@ export interface BotConfig {
8123
8229
  Customizes?: Array<BotUserRule>;
8124
8230
  }
8125
8231
  /**
8126
- * 时序类型详细数据
8232
+ * 标签配置
8127
8233
  */
8128
- export interface TimingTypeValue {
8129
- /**
8130
- * 数据和。
8131
- */
8132
- Sum: number;
8133
- /**
8134
- * 最大值。
8135
- */
8136
- Max: number;
8137
- /**
8138
- * 平均值。
8139
- */
8140
- Avg: number;
8234
+ export interface Tag {
8141
8235
  /**
8142
- * 指标名。
8236
+ * 标签键。
8237
+ 注意:此字段可能返回 null,表示取不到有效值。
8143
8238
  */
8144
- MetricName: string;
8239
+ TagKey: string;
8145
8240
  /**
8146
- * 详细数据。
8241
+ * 标签值。
8147
8242
  注意:此字段可能返回 null,表示取不到有效值。
8148
8243
  */
8149
- Detail: Array<TimingDataItem>;
8244
+ TagValue: string;
8150
8245
  }