tencentcloud-sdk-nodejs-teo 4.1.225 → 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
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
-
*
|
|
5666
|
+
* 会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
|
|
5667
5667
|
*/
|
|
5668
5668
|
SessionPersistTime?: number;
|
|
5669
5669
|
/**
|
|
@@ -10505,7 +10505,7 @@ export interface CreateApplicationProxyRuleRequest {
|
|
|
10505
10505
|
*/
|
|
10506
10506
|
SessionPersist?: boolean;
|
|
10507
10507
|
/**
|
|
10508
|
-
*
|
|
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
|
/**
|