tencentcloud-sdk-nodejs 4.0.1032 → 4.0.1033
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 +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_client.ts +7 -51
- package/src/services/billing/v20180709/billing_models.ts +0 -229
- package/src/services/domain/v20180808/domain_models.ts +4 -4
- package/src/services/facefusion/v20220927/facefusion_client.ts +0 -1
- package/src/services/gme/v20180711/gme_models.ts +5 -11
- package/src/services/keewidb/v20220308/keewidb_client.ts +3 -2
- package/src/services/keewidb/v20220308/keewidb_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +0 -2
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -8
- package/src/services/lkeap/v20240522/lkeap_client.ts +4 -4
- package/src/services/lkeap/v20240522/lkeap_models.ts +2 -3
- package/src/services/mna/v20210119/mna_client.ts +28 -3
- package/src/services/mna/v20210119/mna_models.ts +158 -40
- package/src/services/monitor/index.ts +2 -0
- package/src/services/monitor/v20230616/index.ts +6 -0
- package/src/services/monitor/v20230616/monitor_client.ts +53 -0
- package/src/services/monitor/v20230616/monitor_models.ts +143 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +150 -52
- package/src/services/mqtt/v20240516/mqtt_models.ts +378 -30
- package/src/services/ocr/v20181119/ocr_models.ts +4 -0
- package/src/services/ssl/v20191205/ssl_models.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +0 -3
- package/src/services/vclm/v20240523/vclm_client.ts +7 -80
- package/src/services/vclm/v20240523/vclm_models.ts +103 -347
- package/src/services/wedata/v20210820/wedata_client.ts +22 -10
- package/src/services/wedata/v20210820/wedata_models.ts +125 -110
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +3 -21
- package/tencentcloud/services/billing/v20180709/billing_client.js +3 -27
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +0 -221
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +4 -4
- package/tencentcloud/services/facefusion/v20220927/facefusion_client.d.ts +0 -1
- package/tencentcloud/services/facefusion/v20220927/facefusion_client.js +0 -1
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +5 -11
- package/tencentcloud/services/keewidb/v20220308/keewidb_client.d.ts +1 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_client.js +1 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +0 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -8
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +4 -4
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +4 -4
- package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +2 -3
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +9 -1
- package/tencentcloud/services/mna/v20210119/mna_client.js +12 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +153 -40
- package/tencentcloud/services/monitor/index.d.ts +4 -0
- package/tencentcloud/services/monitor/index.js +2 -0
- package/tencentcloud/services/monitor/v20230616/index.d.ts +6 -0
- package/tencentcloud/services/monitor/v20230616/index.js +9 -0
- package/tencentcloud/services/monitor/v20230616/monitor_client.d.ts +20 -0
- package/tencentcloud/services/monitor/v20230616/monitor_client.js +43 -0
- package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +121 -0
- package/tencentcloud/services/monitor/v20230616/monitor_models.js +18 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +53 -20
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +75 -26
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +361 -30
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -3
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +1 -48
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +0 -53
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +101 -337
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +7 -3
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +9 -3
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +123 -110
|
@@ -1106,19 +1106,19 @@ export interface PhoneEmailData {
|
|
|
1106
1106
|
/**
|
|
1107
1107
|
* 手机号或者邮箱
|
|
1108
1108
|
*/
|
|
1109
|
-
Code
|
|
1109
|
+
Code?: string;
|
|
1110
1110
|
/**
|
|
1111
1111
|
* 1:手机 2:邮箱
|
|
1112
1112
|
*/
|
|
1113
|
-
Type
|
|
1113
|
+
Type?: number;
|
|
1114
1114
|
/**
|
|
1115
1115
|
* 创建时间
|
|
1116
1116
|
*/
|
|
1117
|
-
CreatedOn
|
|
1117
|
+
CreatedOn?: string;
|
|
1118
1118
|
/**
|
|
1119
1119
|
* 1=控制台校验,2=第三方校验
|
|
1120
1120
|
*/
|
|
1121
|
-
CheckStatus
|
|
1121
|
+
CheckStatus?: number;
|
|
1122
1122
|
}
|
|
1123
1123
|
/**
|
|
1124
1124
|
* CreateTemplate返回参数结构体
|
|
@@ -14,7 +14,6 @@ export declare class Client extends AbstractClient {
|
|
|
14
14
|
/**
|
|
15
15
|
* 本接口用于单脸、多脸、选脸融合,上传人脸图片,得到与素材模板融合后的人脸图片。支持为融合结果图添加标识。查看 <a href="https://cloud.tencent.com/document/product/670/38247" target="_blank">融合接入指引</a>。
|
|
16
16
|
|
|
17
|
-
请求频率限制为20次/秒。
|
|
18
17
|
>
|
|
19
18
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
20
19
|
*/
|
|
@@ -36,7 +36,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
36
36
|
/**
|
|
37
37
|
* 本接口用于单脸、多脸、选脸融合,上传人脸图片,得到与素材模板融合后的人脸图片。支持为融合结果图添加标识。查看 <a href="https://cloud.tencent.com/document/product/670/38247" target="_blank">融合接入指引</a>。
|
|
38
38
|
|
|
39
|
-
请求频率限制为20次/秒。
|
|
40
39
|
>
|
|
41
40
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
42
41
|
*/
|
|
@@ -841,32 +841,26 @@ export interface ScanVoiceResult {
|
|
|
841
841
|
export interface ServiceStatus {
|
|
842
842
|
/**
|
|
843
843
|
* 实时语音服务开关状态
|
|
844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
845
844
|
*/
|
|
846
|
-
RealTimeSpeech
|
|
845
|
+
RealTimeSpeech?: StatusInfo;
|
|
847
846
|
/**
|
|
848
847
|
* 语音消息服务开关状态
|
|
849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
850
848
|
*/
|
|
851
|
-
VoiceMessage
|
|
849
|
+
VoiceMessage?: StatusInfo;
|
|
852
850
|
/**
|
|
853
851
|
* 语音内容安全服务开关状态
|
|
854
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
855
852
|
*/
|
|
856
|
-
Porn
|
|
853
|
+
Porn?: StatusInfo;
|
|
857
854
|
/**
|
|
858
855
|
* 语音录制服务开关状态
|
|
859
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
860
856
|
*/
|
|
861
|
-
Live
|
|
857
|
+
Live?: StatusInfo;
|
|
862
858
|
/**
|
|
863
859
|
* 语音转文本服务开关状态
|
|
864
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
865
860
|
*/
|
|
866
|
-
RealTimeAsr
|
|
861
|
+
RealTimeAsr?: StatusInfo;
|
|
867
862
|
/**
|
|
868
863
|
* 文本翻译服务开关状态
|
|
869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
870
864
|
*/
|
|
871
865
|
TextTranslate?: StatusInfo;
|
|
872
866
|
}
|
|
@@ -137,6 +137,7 @@ export declare class Client extends AbstractClient {
|
|
|
137
137
|
DescribeInstanceParamRecords(req: DescribeInstanceParamRecordsRequest, cb?: (error: string, rep: DescribeInstanceParamRecordsResponse) => void): Promise<DescribeInstanceParamRecordsResponse>;
|
|
138
138
|
/**
|
|
139
139
|
* 本接口(ClearInstance)用于清空实例数据。
|
|
140
|
+
> **说明**:在清空数据流程中,系统将自动进行数据备份,耗时较长,请您耐心等待并提前做好时间规划。
|
|
140
141
|
*/
|
|
141
142
|
ClearInstance(req: ClearInstanceRequest, cb?: (error: string, rep: ClearInstanceResponse) => void): Promise<ClearInstanceResponse>;
|
|
142
143
|
/**
|
|
@@ -2141,12 +2141,10 @@ export interface BatchUserInfo {
|
|
|
2141
2141
|
SdkAppId?: number;
|
|
2142
2142
|
/**
|
|
2143
2143
|
* 用户ID。
|
|
2144
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2145
2144
|
*/
|
|
2146
2145
|
UserId?: string;
|
|
2147
2146
|
/**
|
|
2148
2147
|
* 用户在客户系统的Id。 若用户注册时该字段为空,则默认为 UserId 值一致。
|
|
2149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2150
2148
|
*/
|
|
2151
2149
|
OriginId?: string;
|
|
2152
2150
|
}
|
|
@@ -396,7 +396,6 @@ export interface ModifyBundle {
|
|
|
396
396
|
Bundle?: Bundle;
|
|
397
397
|
/**
|
|
398
398
|
* 不支持套餐变更原因信息。变更套餐状态为"AVAILABLE"时, 该信息为空
|
|
399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
400
399
|
*/
|
|
401
400
|
NotSupportModifyMessage?: string;
|
|
402
401
|
}
|
|
@@ -1122,7 +1121,6 @@ export interface KeyPair {
|
|
|
1122
1121
|
PublicKey?: string;
|
|
1123
1122
|
/**
|
|
1124
1123
|
* 密钥对关联的实例 ID 列表。
|
|
1125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1126
1124
|
*/
|
|
1127
1125
|
AssociatedInstanceIds?: Array<string>;
|
|
1128
1126
|
/**
|
|
@@ -1145,11 +1143,11 @@ export declare type DescribeFirewallRulesTemplateRequest = null;
|
|
|
1145
1143
|
*/
|
|
1146
1144
|
export interface DescribeDockerContainerConfigurationRequest {
|
|
1147
1145
|
/**
|
|
1148
|
-
* 实例ID
|
|
1146
|
+
* 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
|
1149
1147
|
*/
|
|
1150
1148
|
InstanceId: string;
|
|
1151
1149
|
/**
|
|
1152
|
-
* 容器ID
|
|
1150
|
+
* 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
|
|
1153
1151
|
*/
|
|
1154
1152
|
ContainerId: string;
|
|
1155
1153
|
}
|
|
@@ -3521,7 +3519,6 @@ export interface Snapshot {
|
|
|
3521
3519
|
/**
|
|
3522
3520
|
* 快照的最新操作,只有创建、回滚快照时记录。
|
|
3523
3521
|
取值如 CreateInstanceSnapshot,RollbackInstanceSnapshot。
|
|
3524
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3525
3522
|
*/
|
|
3526
3523
|
LatestOperation?: string;
|
|
3527
3524
|
/**
|
|
@@ -3530,17 +3527,14 @@ export interface Snapshot {
|
|
|
3530
3527
|
<li>SUCCESS:表示操作成功</li>
|
|
3531
3528
|
<li>OPERATING:表示操作执行中</li>
|
|
3532
3529
|
<li>FAILED:表示操作失败</li>
|
|
3533
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3534
3530
|
*/
|
|
3535
3531
|
LatestOperationState?: string;
|
|
3536
3532
|
/**
|
|
3537
3533
|
* 快照最新操作的唯一请求 ID,只有创建、回滚快照时记录。
|
|
3538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3539
3534
|
*/
|
|
3540
3535
|
LatestOperationRequestId?: string;
|
|
3541
3536
|
/**
|
|
3542
3537
|
* 快照的创建时间。
|
|
3543
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3544
3538
|
*/
|
|
3545
3539
|
CreatedTime?: string;
|
|
3546
3540
|
}
|
|
@@ -118,15 +118,15 @@ export declare class Client extends AbstractClient {
|
|
|
118
118
|
* #### 接口功能
|
|
119
119
|
|
|
120
120
|
调用接口,发起一次对话请求。
|
|
121
|
-
如需使用OpenAI兼容接口, 请参考文档:[OpenAI
|
|
121
|
+
如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)
|
|
122
122
|
|
|
123
123
|
#### 已支持的模型
|
|
124
124
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
|
125
125
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
|
126
|
-
- 支持64K
|
|
126
|
+
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
|
127
127
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
|
128
128
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
|
129
|
-
-
|
|
129
|
+
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
|
130
130
|
|
|
131
131
|
#### 计费说明
|
|
132
132
|
- 限时免费
|
|
@@ -137,7 +137,7 @@ export declare class Client extends AbstractClient {
|
|
|
137
137
|

|
|
138
138
|
|
|
139
139
|
### Openai兼容协议接口
|
|
140
|
-
知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[OpenAI
|
|
140
|
+
知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。
|
|
141
141
|
> base_url: https://api.lkeap.cloud.tencent.com/v1
|
|
142
142
|
|
|
143
143
|
> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)
|
|
@@ -188,15 +188,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
188
188
|
* #### 接口功能
|
|
189
189
|
|
|
190
190
|
调用接口,发起一次对话请求。
|
|
191
|
-
如需使用OpenAI兼容接口, 请参考文档:[OpenAI
|
|
191
|
+
如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)
|
|
192
192
|
|
|
193
193
|
#### 已支持的模型
|
|
194
194
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
|
195
195
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
|
196
|
-
- 支持64K
|
|
196
|
+
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
|
197
197
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
|
198
198
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
|
199
|
-
-
|
|
199
|
+
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
|
200
200
|
|
|
201
201
|
#### 计费说明
|
|
202
202
|
- 限时免费
|
|
@@ -207,7 +207,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
207
207
|

|
|
208
208
|
|
|
209
209
|
### Openai兼容协议接口
|
|
210
|
-
知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[OpenAI
|
|
210
|
+
知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。
|
|
211
211
|
> base_url: https://api.lkeap.cloud.tencent.com/v1
|
|
212
212
|
|
|
213
213
|
> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)
|
|
@@ -665,10 +665,9 @@ export interface RetrieveKnowledgeRequest {
|
|
|
665
665
|
*/
|
|
666
666
|
export interface Choice {
|
|
667
667
|
/**
|
|
668
|
-
* 结束标志位,可能为 stop、
|
|
668
|
+
* 结束标志位,可能为 stop、 content_filter。
|
|
669
669
|
stop 表示输出正常结束。
|
|
670
|
-
|
|
671
|
-
tool_calls 标识函数调用。
|
|
670
|
+
content_filter 只在开启流式输出审核时会出现,表示安全审核未通过。
|
|
672
671
|
*/
|
|
673
672
|
FinishReason?: string;
|
|
674
673
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DeleteL3ConnResponse, GetDeviceResponse, GetMultiFlowStatisticResponse, UpdateL3ConnResponse, UpdateHardwareResponse, UpdateL3SwitchRequest, DescribeQosResponse, AddL3ConnRequest, OrderPerLicenseResponse, GetFlowPackagesRequest, SetNotifyUrlResponse, UpdateL3CidrResponse, ModifyPackageRenewFlagRequest, GetFlowPackagesResponse, DeleteL3ConnRequest, GetVendorHardwareResponse, AddGroupRequest, GetGroupListRequest, GetGroupDetailRequest, GroupDeleteDeviceResponse, GroupAddDeviceRequest, GetStatisticDataResponse, GetPublicKeyRequest, GetFlowStatisticByGroupResponse, GetNetMonitorResponse, DeleteQosRequest, GetFlowStatisticByRegionRequest, GetFlowAlarmInfoRequest, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, DeleteGroupRequest, CreateEncryptedKeyResponse, UpdateL3SwitchResponse, GetL3ConnListResponse, CreateQosRequest, ModifyPackageRenewFlagResponse, DeleteQosResponse, GetDeviceRequest, ActivateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, DescribeQosRequest, AddL3ConnResponse, GetDevicesRequest, SetNotifyUrlRequest, GetDevicePayModeRequest, CreateQosResponse, GetHardwareListRequest, GroupDeleteDeviceRequest, GetFlowStatisticByRegionResponse,
|
|
3
|
+
import { DeleteL3ConnResponse, GetDeviceResponse, GetMultiFlowStatisticResponse, UpdateL3ConnResponse, UpdateHardwareResponse, UpdateL3SwitchRequest, DescribeQosResponse, AddL3ConnRequest, OrderPerLicenseResponse, GetFlowPackagesRequest, SetNotifyUrlResponse, UpdateL3CidrResponse, ModifyPackageRenewFlagRequest, GetFlowPackagesResponse, DeleteL3ConnRequest, GetVendorHardwareResponse, GetActiveDeviceCountResponse, AddGroupRequest, GetGroupListRequest, GetGroupDetailRequest, GroupDeleteDeviceResponse, GroupAddDeviceRequest, GetStatisticDataResponse, GetPublicKeyRequest, GetFlowStatisticByGroupResponse, GetNetMonitorResponse, DeleteQosRequest, GetFlowStatisticByRegionRequest, GetFlowAlarmInfoRequest, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, DeleteGroupRequest, CreateEncryptedKeyResponse, UpdateL3SwitchResponse, GetL3ConnListResponse, CreateQosRequest, ModifyPackageRenewFlagResponse, DeleteQosResponse, GetDeviceRequest, ActivateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, DescribeQosRequest, AddL3ConnResponse, GetDevicesRequest, SetNotifyUrlRequest, GetDevicePayModeRequest, GetFlowStatisticRequest, CreateQosResponse, DownloadActiveDeviceCountResponse, GetHardwareListRequest, GroupDeleteDeviceRequest, GetFlowStatisticByRegionResponse, GetMultiFlowStatisticRequest, GetFlowAlarmInfoResponse, OrderFlowPackageRequest, GetGroupDetailResponse, UpdateGroupResponse, GetL3ConnListRequest, DownloadActiveDeviceCountRequest, GetHardwareListResponse, AddDeviceRequest, OrderPerLicenseRequest, UpdateGroupRequest, GetFlowStatisticResponse, UpdateHardwareRequest, GetNetMonitorRequest, GetGroupListResponse, OrderFlowPackageResponse, UpdateDeviceResponse, ActivateHardwareRequest, GroupAddDeviceResponse, GetStatisticDataRequest, UpdateDeviceRequest, DeleteGroupResponse, GetPublicKeyResponse, AddHardwareResponse, AddDeviceResponse, GetDevicePayModeResponse, GetActiveDeviceCountRequest, UpdateL3ConnRequest, DeleteDeviceResponse, AddHardwareRequest, UpdateL3CidrRequest, AddGroupResponse } from "./mna_models";
|
|
4
4
|
/**
|
|
5
5
|
* mna client
|
|
6
6
|
* @class
|
|
@@ -15,6 +15,10 @@ export declare class Client extends AbstractClient {
|
|
|
15
15
|
* 更新硬件信息
|
|
16
16
|
*/
|
|
17
17
|
UpdateHardware(req: UpdateHardwareRequest, cb?: (error: string, rep: UpdateHardwareResponse) => void): Promise<UpdateHardwareResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 下载活跃设备数量统计
|
|
20
|
+
*/
|
|
21
|
+
DownloadActiveDeviceCount(req: DownloadActiveDeviceCountRequest, cb?: (error: string, rep: DownloadActiveDeviceCountResponse) => void): Promise<DownloadActiveDeviceCountResponse>;
|
|
18
22
|
/**
|
|
19
23
|
* 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
|
|
20
24
|
*/
|
|
@@ -79,6 +83,10 @@ export declare class Client extends AbstractClient {
|
|
|
79
83
|
获取Qos加速状态
|
|
80
84
|
*/
|
|
81
85
|
DescribeQos(req: DescribeQosRequest, cb?: (error: string, rep: DescribeQosResponse) => void): Promise<DescribeQosResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 活跃设备数量统计
|
|
88
|
+
*/
|
|
89
|
+
GetActiveDeviceCount(req: GetActiveDeviceCountRequest, cb?: (error: string, rep: GetActiveDeviceCountResponse) => void): Promise<GetActiveDeviceCountResponse>;
|
|
82
90
|
/**
|
|
83
91
|
* 删除设备信息
|
|
84
92
|
*/
|
|
@@ -39,6 +39,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
39
39
|
async UpdateHardware(req, cb) {
|
|
40
40
|
return this.request("UpdateHardware", req, cb);
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 下载活跃设备数量统计
|
|
44
|
+
*/
|
|
45
|
+
async DownloadActiveDeviceCount(req, cb) {
|
|
46
|
+
return this.request("DownloadActiveDeviceCount", req, cb);
|
|
47
|
+
}
|
|
42
48
|
/**
|
|
43
49
|
* 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
|
|
44
50
|
*/
|
|
@@ -133,6 +139,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
133
139
|
async DescribeQos(req, cb) {
|
|
134
140
|
return this.request("DescribeQos", req, cb);
|
|
135
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* 活跃设备数量统计
|
|
144
|
+
*/
|
|
145
|
+
async GetActiveDeviceCount(req, cb) {
|
|
146
|
+
return this.request("GetActiveDeviceCount", req, cb);
|
|
147
|
+
}
|
|
136
148
|
/**
|
|
137
149
|
* 删除设备信息
|
|
138
150
|
*/
|
|
@@ -276,6 +276,43 @@ export interface GetVendorHardwareResponse {
|
|
|
276
276
|
*/
|
|
277
277
|
RequestId?: string;
|
|
278
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* GetActiveDeviceCount返回参数结构体
|
|
281
|
+
*/
|
|
282
|
+
export interface GetActiveDeviceCountResponse {
|
|
283
|
+
/**
|
|
284
|
+
* 激活设备统计
|
|
285
|
+
*/
|
|
286
|
+
ActiveDeviceList?: Array<ActiveDeviceList>;
|
|
287
|
+
/**
|
|
288
|
+
* 查询粒度,0:day, 1:week, 2:month, 不传默认为day
|
|
289
|
+
*/
|
|
290
|
+
Period?: number;
|
|
291
|
+
/**
|
|
292
|
+
* 开始时间
|
|
293
|
+
*/
|
|
294
|
+
StartTime?: string;
|
|
295
|
+
/**
|
|
296
|
+
* 结束时间
|
|
297
|
+
*/
|
|
298
|
+
EndTime?: string;
|
|
299
|
+
/**
|
|
300
|
+
* 设备组
|
|
301
|
+
*/
|
|
302
|
+
DevGroup?: string;
|
|
303
|
+
/**
|
|
304
|
+
* license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
|
|
305
|
+
*/
|
|
306
|
+
LicenseType?: string;
|
|
307
|
+
/**
|
|
308
|
+
* 租户ID
|
|
309
|
+
*/
|
|
310
|
+
AppId?: string;
|
|
311
|
+
/**
|
|
312
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
313
|
+
*/
|
|
314
|
+
RequestId?: string;
|
|
315
|
+
}
|
|
279
316
|
/**
|
|
280
317
|
* 设备的基本信息
|
|
281
318
|
*/
|
|
@@ -1037,21 +1074,41 @@ export interface Capacity {
|
|
|
1037
1074
|
Province?: string;
|
|
1038
1075
|
}
|
|
1039
1076
|
/**
|
|
1040
|
-
*
|
|
1077
|
+
* GetFlowStatistic请求参数结构体
|
|
1041
1078
|
*/
|
|
1042
|
-
export interface
|
|
1079
|
+
export interface GetFlowStatisticRequest {
|
|
1043
1080
|
/**
|
|
1044
|
-
*
|
|
1081
|
+
* 设备ID
|
|
1045
1082
|
*/
|
|
1046
|
-
|
|
1083
|
+
DeviceId: string;
|
|
1047
1084
|
/**
|
|
1048
|
-
*
|
|
1085
|
+
* 开始查找时间
|
|
1049
1086
|
*/
|
|
1050
|
-
|
|
1087
|
+
BeginTime: number;
|
|
1051
1088
|
/**
|
|
1052
|
-
*
|
|
1089
|
+
* 截止时间
|
|
1053
1090
|
*/
|
|
1054
|
-
|
|
1091
|
+
EndTime: number;
|
|
1092
|
+
/**
|
|
1093
|
+
* 流量种类(1:上行流量,2:下行流量,3:上下行总和)
|
|
1094
|
+
*/
|
|
1095
|
+
Type: number;
|
|
1096
|
+
/**
|
|
1097
|
+
* 时间粒度(1:按小时统计,2:按天统计)
|
|
1098
|
+
*/
|
|
1099
|
+
TimeGranularity: number;
|
|
1100
|
+
/**
|
|
1101
|
+
* 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
|
|
1102
|
+
*/
|
|
1103
|
+
AccessRegion?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
1106
|
+
*/
|
|
1107
|
+
GatewayType?: number;
|
|
1108
|
+
/**
|
|
1109
|
+
* 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
|
|
1110
|
+
*/
|
|
1111
|
+
DeviceList?: Array<string>;
|
|
1055
1112
|
}
|
|
1056
1113
|
/**
|
|
1057
1114
|
* 网卡流量指标数据
|
|
@@ -1232,6 +1289,19 @@ export interface ActivateHardware {
|
|
|
1232
1289
|
*/
|
|
1233
1290
|
DeviceId?: string;
|
|
1234
1291
|
}
|
|
1292
|
+
/**
|
|
1293
|
+
* DownloadActiveDeviceCount返回参数结构体
|
|
1294
|
+
*/
|
|
1295
|
+
export interface DownloadActiveDeviceCountResponse {
|
|
1296
|
+
/**
|
|
1297
|
+
* URL地址
|
|
1298
|
+
*/
|
|
1299
|
+
FilePath?: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1302
|
+
*/
|
|
1303
|
+
RequestId?: string;
|
|
1304
|
+
}
|
|
1235
1305
|
/**
|
|
1236
1306
|
* GetHardwareList请求参数结构体
|
|
1237
1307
|
*/
|
|
@@ -1338,13 +1408,17 @@ export interface GetFlowStatisticByRegionResponse {
|
|
|
1338
1408
|
RequestId?: string;
|
|
1339
1409
|
}
|
|
1340
1410
|
/**
|
|
1341
|
-
*
|
|
1411
|
+
* 激活设备数统计
|
|
1342
1412
|
*/
|
|
1343
|
-
export interface
|
|
1413
|
+
export interface ActiveDeviceList {
|
|
1344
1414
|
/**
|
|
1345
|
-
*
|
|
1415
|
+
* 数量
|
|
1346
1416
|
*/
|
|
1347
|
-
|
|
1417
|
+
Count?: number;
|
|
1418
|
+
/**
|
|
1419
|
+
* 时间
|
|
1420
|
+
*/
|
|
1421
|
+
Time?: string;
|
|
1348
1422
|
}
|
|
1349
1423
|
/**
|
|
1350
1424
|
* GetMultiFlowStatistic请求参数结构体
|
|
@@ -1585,6 +1659,31 @@ export interface FlowPackageInfo {
|
|
|
1585
1659
|
*/
|
|
1586
1660
|
CapacityRemainPrecise?: number;
|
|
1587
1661
|
}
|
|
1662
|
+
/**
|
|
1663
|
+
* DownloadActiveDeviceCount请求参数结构体
|
|
1664
|
+
*/
|
|
1665
|
+
export interface DownloadActiveDeviceCountRequest {
|
|
1666
|
+
/**
|
|
1667
|
+
* 查询粒度。0:day, 1:week, 2:month, 不传默认为day
|
|
1668
|
+
*/
|
|
1669
|
+
Period?: number;
|
|
1670
|
+
/**
|
|
1671
|
+
* 开始时间。单位秒
|
|
1672
|
+
*/
|
|
1673
|
+
StartTime?: number;
|
|
1674
|
+
/**
|
|
1675
|
+
* 结束时间。单位秒
|
|
1676
|
+
*/
|
|
1677
|
+
EndTime?: number;
|
|
1678
|
+
/**
|
|
1679
|
+
* 设备组, 不传查询全部
|
|
1680
|
+
*/
|
|
1681
|
+
DevGroup?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
|
|
1684
|
+
*/
|
|
1685
|
+
LicenseType?: number;
|
|
1686
|
+
}
|
|
1588
1687
|
/**
|
|
1589
1688
|
* GetHardwareList返回参数结构体
|
|
1590
1689
|
*/
|
|
@@ -1855,6 +1954,15 @@ export interface L3ConnInfo {
|
|
|
1855
1954
|
*/
|
|
1856
1955
|
Description?: string;
|
|
1857
1956
|
}
|
|
1957
|
+
/**
|
|
1958
|
+
* ActivateHardware请求参数结构体
|
|
1959
|
+
*/
|
|
1960
|
+
export interface ActivateHardwareRequest {
|
|
1961
|
+
/**
|
|
1962
|
+
* 待激活的设备列表
|
|
1963
|
+
*/
|
|
1964
|
+
Hardware: Array<ActivateHardware>;
|
|
1965
|
+
}
|
|
1858
1966
|
/**
|
|
1859
1967
|
* GroupAddDevice返回参数结构体
|
|
1860
1968
|
*/
|
|
@@ -1968,41 +2076,21 @@ export interface AddHardwareResponse {
|
|
|
1968
2076
|
RequestId?: string;
|
|
1969
2077
|
}
|
|
1970
2078
|
/**
|
|
1971
|
-
*
|
|
2079
|
+
* 加速策略关键数据
|
|
1972
2080
|
*/
|
|
1973
|
-
export interface
|
|
1974
|
-
/**
|
|
1975
|
-
* 设备ID
|
|
1976
|
-
*/
|
|
1977
|
-
DeviceId: string;
|
|
1978
|
-
/**
|
|
1979
|
-
* 开始查找时间
|
|
1980
|
-
*/
|
|
1981
|
-
BeginTime: number;
|
|
1982
|
-
/**
|
|
1983
|
-
* 截止时间
|
|
1984
|
-
*/
|
|
1985
|
-
EndTime: number;
|
|
1986
|
-
/**
|
|
1987
|
-
* 流量种类(1:上行流量,2:下行流量,3:上下行总和)
|
|
1988
|
-
*/
|
|
1989
|
-
Type: number;
|
|
1990
|
-
/**
|
|
1991
|
-
* 时间粒度(1:按小时统计,2:按天统计)
|
|
1992
|
-
*/
|
|
1993
|
-
TimeGranularity: number;
|
|
2081
|
+
export interface Context {
|
|
1994
2082
|
/**
|
|
1995
|
-
*
|
|
2083
|
+
* 测速数据
|
|
1996
2084
|
*/
|
|
1997
|
-
|
|
2085
|
+
NetworkData?: NetworkData;
|
|
1998
2086
|
/**
|
|
1999
|
-
*
|
|
2087
|
+
* 用户期望最低门限
|
|
2000
2088
|
*/
|
|
2001
|
-
|
|
2089
|
+
ExpectedLowThreshold?: ExpectedThreshold;
|
|
2002
2090
|
/**
|
|
2003
|
-
*
|
|
2091
|
+
* 用户期望最高门限
|
|
2004
2092
|
*/
|
|
2005
|
-
|
|
2093
|
+
ExpectedHighThreshold?: ExpectedThreshold;
|
|
2006
2094
|
}
|
|
2007
2095
|
/**
|
|
2008
2096
|
* AddDevice返回参数结构体
|
|
@@ -2038,6 +2126,31 @@ export interface GetDevicePayModeResponse {
|
|
|
2038
2126
|
*/
|
|
2039
2127
|
RequestId?: string;
|
|
2040
2128
|
}
|
|
2129
|
+
/**
|
|
2130
|
+
* GetActiveDeviceCount请求参数结构体
|
|
2131
|
+
*/
|
|
2132
|
+
export interface GetActiveDeviceCountRequest {
|
|
2133
|
+
/**
|
|
2134
|
+
* 查询粒度。0:day, 1:week, 2:month, 不传默认为day
|
|
2135
|
+
*/
|
|
2136
|
+
Period?: number;
|
|
2137
|
+
/**
|
|
2138
|
+
* 开始时间。单位秒
|
|
2139
|
+
*/
|
|
2140
|
+
StartTime?: number;
|
|
2141
|
+
/**
|
|
2142
|
+
* 结束时间。单位秒
|
|
2143
|
+
*/
|
|
2144
|
+
EndTime?: number;
|
|
2145
|
+
/**
|
|
2146
|
+
* 设备组, 不传查询全部
|
|
2147
|
+
*/
|
|
2148
|
+
DevGroup?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
|
|
2151
|
+
*/
|
|
2152
|
+
LicenseType?: number;
|
|
2153
|
+
}
|
|
2041
2154
|
/**
|
|
2042
2155
|
* UpdateL3Conn请求参数结构体
|
|
2043
2156
|
*/
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export declare const monitor: {
|
|
2
|
+
v20230616: {
|
|
3
|
+
Client: typeof import("./v20230616/monitor_client").Client;
|
|
4
|
+
Models: typeof import("./v20230616/monitor_models");
|
|
5
|
+
};
|
|
2
6
|
v20180724: {
|
|
3
7
|
Client: typeof import("./v20180724/monitor_client").Client;
|
|
4
8
|
Models: typeof import("./v20180724/monitor_models");
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.monitor = void 0;
|
|
4
|
+
const v20230616_1 = require("./v20230616");
|
|
4
5
|
const v20180724_1 = require("./v20180724");
|
|
5
6
|
exports.monitor = {
|
|
7
|
+
v20230616: v20230616_1.v20230616,
|
|
6
8
|
v20180724: v20180724_1.v20180724,
|
|
7
9
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20230616 = void 0;
|
|
4
|
+
const Models = require("./monitor_models");
|
|
5
|
+
const monitor_client_1 = require("./monitor_client");
|
|
6
|
+
exports.v20230616 = {
|
|
7
|
+
Client: monitor_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { GetMonitorDataResponse, GetMonitorDataRequest } from "./monitor_models";
|
|
4
|
+
/**
|
|
5
|
+
* monitor client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取云产品的监控数据。此接口不适用于拉取容器服务监控数据,如需拉取容器服务监控数据,请使用[根据维度条件查询监控数据](https://cloud.tencent.com/document/product/248/51845)接口。
|
|
12
|
+
传入产品的命名空间、对象维度描述和监控指标即可获得相应的监控数据。
|
|
13
|
+
接口调用限制:单请求最多可支持批量拉取10个实例的监控数据,单请求的数据点数限制为1440个。
|
|
14
|
+
若您需要调用的指标、对象较多,可能存在因限频出现拉取失败的情况,建议尽量将请求按时间维度均摊。
|
|
15
|
+
|
|
16
|
+
>?
|
|
17
|
+
>- 2022年9月1日起,云监控开始对GetMonitorData接口计费。每个主账号每月可获得100万次免费请求额度,超过免费额度后如需继续调用接口需要开通 [API请求按量付费](https://buy.cloud.tencent.com/APIRequestBuy)。计费规则可查看[API计费文档](https://cloud.tencent.com/document/product/248/77914)。
|
|
18
|
+
*/
|
|
19
|
+
GetMonitorData(req: GetMonitorDataRequest, cb?: (error: string, rep: GetMonitorDataResponse) => void): Promise<GetMonitorDataResponse>;
|
|
20
|
+
}
|