tencentcloud-sdk-nodejs-teo 4.1.218 → 4.1.226

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-teo",
3
- "version": "4.1.218",
3
+ "version": "4.1.226",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -815,66 +815,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
815
815
  */
816
816
  DeleteZone(req: DeleteZoneRequest, cb?: (error: string, rep: DeleteZoneResponse) => void): Promise<DeleteZoneResponse>;
817
817
  /**
818
- * 本接口用以查询七层域名业务的回源时序数据,可以通过指定查询维度 <code>DimensionName</code> 进行分组查询,返回多组时序数据。
819
-
820
- <p>单次请求最多返回 <strong>50,000</strong> 个数据项<code> TimingDataItem </code>。数据项总数的计算规则如下:</p>
821
- <pre>
822
- 指标个数 * 时间点个数 * 维度值个数 = 数据项总数
823
- </pre>
824
- <ul>
825
- <li>
826
- <strong>指标个数</strong>:<code>MetricNames</code> 的列表长度。
827
- </li>
828
- <li>
829
- <strong>时间点个数</strong>:<code>(EndTime - StartTime) / Interval</code>。
830
- </li>
831
- <li>
832
- <strong>维度值个数</strong>:
833
- <ul>
834
- <li>当未指定 <code>DimensionName</code> 时,默认按账号维度汇总数据,维度值个数为 1。</li>
835
- <li>当 <code>DimensionName = domain</code> 时,维度值个数为 <code>Filters</code> 中 <code>domain</code> 过滤条件指定的域名列表长度。</li>
836
- <li>当 <code>DimensionName = origin-status-code-category</code> 时,维度值个数默认为 <code>6</code>。</li>
837
- <li>当 <code>DimensionName = origin-status-code</code> 时,维度值个数默认为 <code>600</code>。</li>
838
- </ul>
839
- </li>
840
- </ul>
841
-
842
- <p><code>DimensionName</code> 可以与 <code>Filters</code> 组合使用,通过在 <code>Filters</code> 中指定 <code>DimensionName</code> 对应的过滤条件以限制维度值个数。</p>
843
-
844
- <h3>示例</h3>
845
- <p>以查询某一小时的具体状态码维度的时序数据为例,假设查询条件如下:</p>
846
- <ul>
847
- <li><code>MetricNames = ["l7Flow_request_hy"]</code>(指标个数 = 1)</li>
848
- <li><code>StartTime = 2025-10-01T06:00:00+08:00</code>,<code>EndTime = 2025-10-01T06:59:59+08:00</code>,<code>Interval = "min"</code>(时间点个数 = 60)</li>
849
- <li><code>DimensionName = origin-status-code</code>,<code>Filters = [{"originStatusCode": ["0", "4xx", "5xx"]}]</code>(维度值个数 = 201)</li>
850
- </ul>
851
- <p>则数据项总数为:</p>
852
- <pre>1 × 60 × 201 = 12060 </pre>
853
- <p>未超过限制。</p>
854
-
855
- <p><strong>注意</strong>:若查询的数据项总数超过 <strong>50,000</strong>,系统会返回错误 <strong>LimitExceeded.TimingDataItemLimitExceeded</strong>。</p>
856
- <p>此时,请通过调整入参减少单次查询的数据项至 50,000 以内,可采取的做法有:</p>
857
- <ol>
858
- <li>
859
- <strong>减少时间点个数</strong>:
860
- <ul>
861
- <li>缩短查询时间范围(<code>StartTime</code> 到 <code>EndTime</code> 之间的时间跨度)。</li>
862
- <li>选择更大的时间间隔(<code>Interval</code>)。</li>
863
- </ul>
864
- </li>
865
- <li>
866
- <strong>减少维度值个数</strong>:
867
- <ul>
868
- <li>调整 <code>Filters</code>,指定更少的 <code>domain</code> 或 <code>originStatusCode</code> 列表。</li>
869
- </ul>
870
- </li>
871
- <li>
872
- <strong>减少指标值个数</strong>:
873
- <ul>
874
- <li>调整 <code>MetricNames</code>,指定更少的查询指标。</li>
875
- </ul>
876
- </li>
877
- </ol>
818
+ * 本接口用以查询七层域名业务的回源时序数据。
819
+ 您可以选择通过指定查询维度 <code>DimensionName</code> 进行分组查询,返回多组时序数据,详细指引与使用限制请参考 [如何使用 API 实现单次调用中的分组查询](https://cloud.tencent.com/document/product/1552/127501)。
878
820
  */
879
821
  DescribeTimingL7OriginPullData(req: DescribeTimingL7OriginPullDataRequest, cb?: (error: string, rep: DescribeTimingL7OriginPullDataResponse) => void): Promise<DescribeTimingL7OriginPullDataResponse>;
880
822
  /**
@@ -1211,66 +1211,8 @@ class Client extends TencentCloudCommon.AbstractClient {
1211
1211
  return this.request("DeleteZone", req, cb);
1212
1212
  }
1213
1213
  /**
1214
- * 本接口用以查询七层域名业务的回源时序数据,可以通过指定查询维度 <code>DimensionName</code> 进行分组查询,返回多组时序数据。
1215
-
1216
- <p>单次请求最多返回 <strong>50,000</strong> 个数据项<code> TimingDataItem </code>。数据项总数的计算规则如下:</p>
1217
- <pre>
1218
- 指标个数 * 时间点个数 * 维度值个数 = 数据项总数
1219
- </pre>
1220
- <ul>
1221
- <li>
1222
- <strong>指标个数</strong>:<code>MetricNames</code> 的列表长度。
1223
- </li>
1224
- <li>
1225
- <strong>时间点个数</strong>:<code>(EndTime - StartTime) / Interval</code>。
1226
- </li>
1227
- <li>
1228
- <strong>维度值个数</strong>:
1229
- <ul>
1230
- <li>当未指定 <code>DimensionName</code> 时,默认按账号维度汇总数据,维度值个数为 1。</li>
1231
- <li>当 <code>DimensionName = domain</code> 时,维度值个数为 <code>Filters</code> 中 <code>domain</code> 过滤条件指定的域名列表长度。</li>
1232
- <li>当 <code>DimensionName = origin-status-code-category</code> 时,维度值个数默认为 <code>6</code>。</li>
1233
- <li>当 <code>DimensionName = origin-status-code</code> 时,维度值个数默认为 <code>600</code>。</li>
1234
- </ul>
1235
- </li>
1236
- </ul>
1237
-
1238
- <p><code>DimensionName</code> 可以与 <code>Filters</code> 组合使用,通过在 <code>Filters</code> 中指定 <code>DimensionName</code> 对应的过滤条件以限制维度值个数。</p>
1239
-
1240
- <h3>示例</h3>
1241
- <p>以查询某一小时的具体状态码维度的时序数据为例,假设查询条件如下:</p>
1242
- <ul>
1243
- <li><code>MetricNames = ["l7Flow_request_hy"]</code>(指标个数 = 1)</li>
1244
- <li><code>StartTime = 2025-10-01T06:00:00+08:00</code>,<code>EndTime = 2025-10-01T06:59:59+08:00</code>,<code>Interval = "min"</code>(时间点个数 = 60)</li>
1245
- <li><code>DimensionName = origin-status-code</code>,<code>Filters = [{"originStatusCode": ["0", "4xx", "5xx"]}]</code>(维度值个数 = 201)</li>
1246
- </ul>
1247
- <p>则数据项总数为:</p>
1248
- <pre>1 × 60 × 201 = 12060 </pre>
1249
- <p>未超过限制。</p>
1250
-
1251
- <p><strong>注意</strong>:若查询的数据项总数超过 <strong>50,000</strong>,系统会返回错误 <strong>LimitExceeded.TimingDataItemLimitExceeded</strong>。</p>
1252
- <p>此时,请通过调整入参减少单次查询的数据项至 50,000 以内,可采取的做法有:</p>
1253
- <ol>
1254
- <li>
1255
- <strong>减少时间点个数</strong>:
1256
- <ul>
1257
- <li>缩短查询时间范围(<code>StartTime</code> 到 <code>EndTime</code> 之间的时间跨度)。</li>
1258
- <li>选择更大的时间间隔(<code>Interval</code>)。</li>
1259
- </ul>
1260
- </li>
1261
- <li>
1262
- <strong>减少维度值个数</strong>:
1263
- <ul>
1264
- <li>调整 <code>Filters</code>,指定更少的 <code>domain</code> 或 <code>originStatusCode</code> 列表。</li>
1265
- </ul>
1266
- </li>
1267
- <li>
1268
- <strong>减少指标值个数</strong>:
1269
- <ul>
1270
- <li>调整 <code>MetricNames</code>,指定更少的查询指标。</li>
1271
- </ul>
1272
- </li>
1273
- </ol>
1214
+ * 本接口用以查询七层域名业务的回源时序数据。
1215
+ 您可以选择通过指定查询维度 <code>DimensionName</code> 进行分组查询,返回多组时序数据,详细指引与使用限制请参考 [如何使用 API 实现单次调用中的分组查询](https://cloud.tencent.com/document/product/1552/127501)。
1274
1216
  */
1275
1217
  async DescribeTimingL7OriginPullData(req, cb) {
1276
1218
  return this.request("DescribeTimingL7OriginPullData", req, cb);
@@ -5631,7 +5631,7 @@ export interface ApplicationProxyRule {
5631
5631
  /**
5632
5632
  * 源站信息:
5633
5633
  <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
5634
- <li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-xdffsfasdfs"]`;</li>
5634
+ <li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-3pbiw4d9iqz0"]`;</li>
5635
5635
  <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
5636
5636
  */
5637
5637
  OriginValue: Array<string>;
@@ -5663,7 +5663,7 @@ export interface ApplicationProxyRule {
5663
5663
  */
5664
5664
  SessionPersist?: boolean;
5665
5665
  /**
5666
- * 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
5666
+ * 会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
5667
5667
  */
5668
5668
  SessionPersistTime?: number;
5669
5669
  /**
@@ -5908,53 +5908,53 @@ export interface DDoSAttackEvent {
5908
5908
  /**
5909
5909
  * 事件ID。
5910
5910
  */
5911
- EventId: string;
5911
+ EventId?: string;
5912
5912
  /**
5913
5913
  * 攻击类型(对应交互事件名称)。
5914
5914
  */
5915
- AttackType: string;
5915
+ AttackType?: string;
5916
5916
  /**
5917
5917
  * 攻击状态。
5918
5918
  */
5919
- AttackStatus: number;
5919
+ AttackStatus?: number;
5920
5920
  /**
5921
- * 攻击最大带宽。
5921
+ * 攻击最大带宽,单位为 bps。
5922
5922
  */
5923
- AttackMaxBandWidth: number;
5923
+ AttackMaxBandWidth?: number;
5924
5924
  /**
5925
- * 攻击包速率峰值。
5925
+ * 攻击包速率峰值,单位为 pps。
5926
5926
  */
5927
- AttackPacketMaxRate: number;
5927
+ AttackPacketMaxRate?: number;
5928
5928
  /**
5929
5929
  * 攻击开始时间,单位为s。
5930
5930
  */
5931
- AttackStartTime: number;
5931
+ AttackStartTime?: number;
5932
5932
  /**
5933
5933
  * 攻击结束时间,单位为s。
5934
5934
  */
5935
- AttackEndTime: number;
5935
+ AttackEndTime?: number;
5936
5936
  /**
5937
5937
  * DDoS策略组ID。
5938
5938
  注意:此字段可能返回 null,表示取不到有效值。
5939
5939
  */
5940
- PolicyId: number;
5940
+ PolicyId?: number;
5941
5941
  /**
5942
5942
  * 站点ID。
5943
5943
  注意:此字段可能返回 null,表示取不到有效值。
5944
5944
  */
5945
- ZoneId: string;
5945
+ ZoneId?: string;
5946
5946
  /**
5947
5947
  * 攻击事件所属地区,取值有:
5948
5948
  <li>overseas:全球(除中国大陆地区)数据;</li>
5949
5949
  <li>mainland:中国大陆地区数据。</li>
5950
5950
  注意:此字段可能返回 null,表示取不到有效值。
5951
5951
  */
5952
- Area: string;
5952
+ Area?: string;
5953
5953
  /**
5954
5954
  * 封禁解封信息。
5955
5955
  注意:此字段可能返回 null,表示取不到有效值。
5956
5956
  */
5957
- DDoSBlockData: Array<DDoSBlockData>;
5957
+ DDoSBlockData?: Array<DDoSBlockData>;
5958
5958
  }
5959
5959
  /**
5960
5960
  * 存储客户端请求IP的头部信息配置
@@ -10505,7 +10505,7 @@ export interface CreateApplicationProxyRuleRequest {
10505
10505
  */
10506
10506
  SessionPersist?: boolean;
10507
10507
  /**
10508
- * 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
10508
+ * 会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
10509
10509
  */
10510
10510
  SessionPersistTime?: number;
10511
10511
  /**
@@ -11455,7 +11455,7 @@ export interface ApplicationProxy {
11455
11455
  */
11456
11456
  AccelerateType?: number;
11457
11457
  /**
11458
- * 会话保持时间。
11458
+ * 会话保持时间,单位为秒。
11459
11459
  */
11460
11460
  SessionPersistTime?: number;
11461
11461
  /**
@@ -15509,11 +15509,11 @@ export interface EdgeKVPutRequest {
15509
15509
  */
15510
15510
  Value: string;
15511
15511
  /**
15512
- * 过期时间,绝对时间。表示从 1970 年 1 月 1 日(UTC/GMT 的午夜)开始所经过的秒数,不能小于当前时间。若 Expiration ExpirationTTL 都填写,以 ExpirationTTL 为准。若 Expiration ExpirationTTL 都不填写,则该键值对永不过期。
15512
+ * 键值对的过期时间,绝对时间,单位为秒,表示从 1970 年 1 月 1 日 00:00:00(UTC)起经过的秒数(即 Unix 时间戳)。取值必须大于等于当前时间 + 60,即过期时间距当前至少 60 秒。当 Expiration ExpirationTTL 同时填写时,以 ExpirationTTL 为准;当两者均不填写时,键值对永不过期。
15513
15513
  */
15514
15514
  Expiration?: number;
15515
15515
  /**
15516
- * 过期时间,相对时间,单位为秒。表示数据将在指定秒数后过期,必须大于 0。若 Expiration ExpirationTTL 都填写,以 ExpirationTTL 为准。若 Expiration 和 ExpirationTTL 都不填写,则该键值对永不过期。
15516
+ * 键值对的存活时长,相对时间,单位为秒,表示数据将在写入后经过指定秒数过期。取值范围:大于等于 60。当 Expiration ExpirationTTL 同时填写时,以 ExpirationTTL 为准;当两者均不填写时,键值对永不过期。
15517
15517
  */
15518
15518
  ExpirationTTL?: number;
15519
15519
  }
@@ -16114,7 +16114,7 @@ export interface CreatePurgeTaskRequest {
16114
16114
  */
16115
16115
  EncodeUrl?: boolean;
16116
16116
  /**
16117
- * 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。
16117
+ * 节点缓存清除类型取值为 purge_cache_tag 时,该参数必填,入参值为域名。
16118
16118
  */
16119
16119
  CacheTag?: CacheTag;
16120
16120
  }