tencentcloud-sdk-nodejs-teo 4.1.176 → 4.1.179
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
|
@@ -346,7 +346,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
346
346
|
*/
|
|
347
347
|
CreateL4ProxyRules(req: CreateL4ProxyRulesRequest, cb?: (error: string, rep: CreateL4ProxyRulesResponse) => void): Promise<CreateL4ProxyRulesResponse>;
|
|
348
348
|
/**
|
|
349
|
-
*
|
|
349
|
+
* <p>本接口(<code>DescribeTimingL4Data</code>)用于查询四层时序数据列表。</p>
|
|
350
350
|
*/
|
|
351
351
|
DescribeTimingL4Data(req: DescribeTimingL4DataRequest, cb?: (error: string, rep: DescribeTimingL4DataResponse) => void): Promise<DescribeTimingL4DataResponse>;
|
|
352
352
|
/**
|
|
@@ -522,7 +522,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
522
522
|
return this.request("CreateL4ProxyRules", req, cb);
|
|
523
523
|
}
|
|
524
524
|
/**
|
|
525
|
-
*
|
|
525
|
+
* <p>本接口(<code>DescribeTimingL4Data</code>)用于查询四层时序数据列表。</p>
|
|
526
526
|
*/
|
|
527
527
|
async DescribeTimingL4Data(req, cb) {
|
|
528
528
|
return this.request("DescribeTimingL4Data", req, cb);
|
|
@@ -808,11 +808,15 @@ export interface TimingDataRecord {
|
|
|
808
808
|
/**
|
|
809
809
|
* 查询维度值。
|
|
810
810
|
*/
|
|
811
|
-
TypeKey
|
|
811
|
+
TypeKey?: string;
|
|
812
|
+
/**
|
|
813
|
+
* <code>Integer</code> 类型的详细时序数据,查询指标值类型为 <code>Integer</code> 指标会由本字段返回对应时序数据。<br> **注意**:若查询指标未明确说明指标值类型,默认由本字段返回数据。
|
|
814
|
+
*/
|
|
815
|
+
TypeValue?: Array<TimingTypeValue>;
|
|
812
816
|
/**
|
|
813
|
-
*
|
|
817
|
+
* <code>Float</code> 类型的详细时序数据,查询指标值类型为 <code>Float</code> 指标会由本字段返回对应时序数据。
|
|
814
818
|
*/
|
|
815
|
-
|
|
819
|
+
FloatTypeValue?: Array<FloatTimingTypeValue>;
|
|
816
820
|
}
|
|
817
821
|
/**
|
|
818
822
|
* CreateCLSIndex返回参数结构体
|
|
@@ -1579,6 +1583,19 @@ export interface UpstreamRequestQueryString {
|
|
|
1579
1583
|
*/
|
|
1580
1584
|
Values?: Array<string>;
|
|
1581
1585
|
}
|
|
1586
|
+
/**
|
|
1587
|
+
* 统计曲线数据项
|
|
1588
|
+
*/
|
|
1589
|
+
export interface FloatTimingDataItem {
|
|
1590
|
+
/**
|
|
1591
|
+
* 返回数据对应时间点,采用 unix 秒级时间戳。
|
|
1592
|
+
*/
|
|
1593
|
+
Timestamp?: number;
|
|
1594
|
+
/**
|
|
1595
|
+
* 具体数值。
|
|
1596
|
+
*/
|
|
1597
|
+
Value?: number;
|
|
1598
|
+
}
|
|
1582
1599
|
/**
|
|
1583
1600
|
* DeleteJustInTimeTranscodeTemplates请求参数结构体
|
|
1584
1601
|
*/
|
|
@@ -3157,6 +3174,31 @@ export interface BotManagedRule {
|
|
|
3157
3174
|
*/
|
|
3158
3175
|
DropManagedIds?: Array<number | bigint>;
|
|
3159
3176
|
}
|
|
3177
|
+
/**
|
|
3178
|
+
* 时序类型详细数据
|
|
3179
|
+
*/
|
|
3180
|
+
export interface FloatTimingTypeValue {
|
|
3181
|
+
/**
|
|
3182
|
+
* 数据和。
|
|
3183
|
+
*/
|
|
3184
|
+
Sum?: number;
|
|
3185
|
+
/**
|
|
3186
|
+
* 最大值。
|
|
3187
|
+
*/
|
|
3188
|
+
Max?: number;
|
|
3189
|
+
/**
|
|
3190
|
+
* 平均值。
|
|
3191
|
+
*/
|
|
3192
|
+
Avg?: number;
|
|
3193
|
+
/**
|
|
3194
|
+
* 指标名。
|
|
3195
|
+
*/
|
|
3196
|
+
MetricName?: string;
|
|
3197
|
+
/**
|
|
3198
|
+
* 详细数据。
|
|
3199
|
+
*/
|
|
3200
|
+
Detail?: Array<FloatTimingDataItem>;
|
|
3201
|
+
}
|
|
3160
3202
|
/**
|
|
3161
3203
|
* Bot 浏览器校验规则(原主动特征识别规则)的 Action。
|
|
3162
3204
|
*/
|
|
@@ -15726,39 +15768,42 @@ export interface DescribeTimingL4DataRequest {
|
|
|
15726
15768
|
EndTime: string;
|
|
15727
15769
|
/**
|
|
15728
15770
|
* 查询指标,取值有:
|
|
15729
|
-
<li
|
|
15730
|
-
<li
|
|
15731
|
-
<li
|
|
15732
|
-
<li
|
|
15733
|
-
<li
|
|
15734
|
-
<li
|
|
15771
|
+
<ul><li>**l4Flow_flux**: 访问总流量,单位:Byte,指标值类型:Integer;</li>
|
|
15772
|
+
<li>**l4Flow_inFlux**: 访问入流量,单位:Byte,指标值类型:Integer;</li>
|
|
15773
|
+
<li>**l4Flow_outFlux**: 访问出流量,单位:Byte,指标值类型:Integer;</li>
|
|
15774
|
+
<li>**l4Flow_inBandwidth**: 访问入向带宽峰值,单位:bps,指标值类型:Integer;</li>
|
|
15775
|
+
<li>**l4Flow_outBandwidth**: 访问出向带宽峰值,单位:bps,指标值类型:Integer;</li>
|
|
15776
|
+
<li>**l4Flow_connections**: 访问并发连接数,单位:个,指标值类型:Integer ;</li>
|
|
15777
|
+
<li>**l4Flow_newConnectionsRate**: 新建连接数速率,单位:个/秒,指标值类型: Float,保留两位小数。</li></ul>**注意**:<ul><li><code> Integer</code> 值类型的指标将从 <code>Data.N.TypeValue</code> 返回对应时序数据;</li>
|
|
15778
|
+
<li><code>Float</code> 值类型的指标将从 <code>Data.N.FloatTypeValue</code> 返回对应时序数据。</li></ul>
|
|
15735
15779
|
*/
|
|
15736
15780
|
MetricNames: Array<string>;
|
|
15737
15781
|
/**
|
|
15738
15782
|
* 站点ID,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
15739
15783
|
最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
15740
15784
|
*/
|
|
15741
|
-
ZoneIds
|
|
15785
|
+
ZoneIds: Array<string>;
|
|
15742
15786
|
/**
|
|
15743
15787
|
* 四层实例列表, 不填表示选择全部实例。
|
|
15744
15788
|
*/
|
|
15745
15789
|
ProxyIds?: Array<string>;
|
|
15746
15790
|
/**
|
|
15747
15791
|
* 查询时间粒度,取值有:
|
|
15748
|
-
<li
|
|
15749
|
-
<li
|
|
15750
|
-
<li
|
|
15751
|
-
<li
|
|
15792
|
+
<ul><li>**min**: 1分钟 ;</li>
|
|
15793
|
+
<li>**5min**: 5分钟 ;</li>
|
|
15794
|
+
<li>**hour**: 1小时 ;</li>
|
|
15795
|
+
<li>**day**: 1天 。</li></ul>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以 <code>min</code> 粒度查询,2天范围内以 <code>5min</code> 粒度查询,7天范围内以 <code>hour</code> 粒度查询,超过7天以 <code>day</code> 粒度查询。
|
|
15752
15796
|
*/
|
|
15753
15797
|
Interval?: string;
|
|
15754
15798
|
/**
|
|
15755
15799
|
* 过滤条件,详细的过滤条件Key值如下:
|
|
15756
|
-
<li
|
|
15757
|
-
<li
|
|
15800
|
+
<ul><li>**ruleId**:按照转发规则 ID 进行过滤。</li>
|
|
15801
|
+
<li>**proxyId**:按照四层代理实例 ID 进行过滤。</li></ul>
|
|
15758
15802
|
*/
|
|
15759
15803
|
Filters?: Array<QueryCondition>;
|
|
15760
15804
|
/**
|
|
15761
15805
|
* 数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。
|
|
15806
|
+
* @deprecated
|
|
15762
15807
|
*/
|
|
15763
15808
|
Area?: string;
|
|
15764
15809
|
}
|
|
@@ -15771,7 +15816,8 @@ export interface DescribeTimingL4DataResponse {
|
|
|
15771
15816
|
*/
|
|
15772
15817
|
TotalCount?: number;
|
|
15773
15818
|
/**
|
|
15774
|
-
*
|
|
15819
|
+
* <p>四层时序流量数据列表。<br>对于不同的查询指标,根据指标值类型的不同,会从不同的参数返回时序数据。<br>目前存在的值类型有以下两种:</p><ul><li><strong>Integer</strong>:<code>Integer</code> 值类型的指标将从 <code>Data.N.TypeValue</code> 返回对应时序数据。<br>对应的查询指标 <code>MetricName</code> 有:<ul><li><code>l4Flow_flux</code>:访问总流量;</li><li><code>l4Flow_inFlux</code>:访问入流量;</li><li><code>l4Flow_outFlux</code>:访问出流量;</li><li><code>l4Flow_inBandwidth</code>:访问入向带宽峰值;</li><li><code>l4Flow_outBandwidth</code>:访问出向带宽峰值;</li><li><code>l4Flow_connections</code>:访问并发连接数。</li></ul></li><li><strong>Float</strong>:<code>Float</code> 值类型的指标将从 <code>Data.N.FloatTypeValue</code> 返回对应时序数据。<br>对应的查询指标 <code>MetricName</code> 有:<ul><li><code>l4Flow_newConnectionsRate</code>:新建连接数速率。</li></ul></li>
|
|
15820
|
+
</ul><p>本接口暂不支持指定维度查询,默认按主账号汇总返回数据,即 <code>Data.N.TypeKey = AppId</code>,AppId 是腾讯云主账号唯一标识,N 恒等于 1。</p>
|
|
15775
15821
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
15776
15822
|
*/
|
|
15777
15823
|
Data?: Array<TimingDataRecord>;
|