tencentcloud-sdk-nodejs-cls 4.1.305 → 4.1.306
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
|
@@ -6246,46 +6246,49 @@ export interface AlarmAnalysisConfig {
|
|
|
6246
6246
|
*/
|
|
6247
6247
|
export interface CreateRemoteWriteTaskRequest {
|
|
6248
6248
|
/**
|
|
6249
|
-
*
|
|
6249
|
+
* <p>日志主题 ID</p>
|
|
6250
6250
|
*/
|
|
6251
6251
|
TopicId: string;
|
|
6252
6252
|
/**
|
|
6253
|
-
*
|
|
6253
|
+
* <p>任务名称</p>
|
|
6254
6254
|
*/
|
|
6255
6255
|
Name: string;
|
|
6256
6256
|
/**
|
|
6257
|
-
*
|
|
6257
|
+
* <p>目标服务名称</p>
|
|
6258
6258
|
*/
|
|
6259
6259
|
Target: string;
|
|
6260
6260
|
/**
|
|
6261
|
-
*
|
|
6261
|
+
* <p>目标地址</p>
|
|
6262
6262
|
*/
|
|
6263
6263
|
RemoteWriteURL: string;
|
|
6264
6264
|
/**
|
|
6265
|
-
*
|
|
6266
|
-
0: 无鉴权
|
|
6267
|
-
1: basic_auth
|
|
6268
|
-
2: token
|
|
6265
|
+
* <p>鉴权类型<br>0: 无鉴权<br>1: basic_auth<br>2: token</p>
|
|
6269
6266
|
*/
|
|
6270
6267
|
AuthType: number;
|
|
6271
6268
|
/**
|
|
6272
|
-
*
|
|
6269
|
+
* <p>网络类型: 1 内网 2外网</p>
|
|
6273
6270
|
*/
|
|
6274
6271
|
NetType: number;
|
|
6275
6272
|
/**
|
|
6276
|
-
*
|
|
6273
|
+
* <p>私有网络id</p>
|
|
6277
6274
|
*/
|
|
6278
6275
|
VpcId?: string;
|
|
6279
6276
|
/**
|
|
6280
|
-
*
|
|
6277
|
+
* <p>鉴权信息</p>
|
|
6281
6278
|
*/
|
|
6282
6279
|
AuthInfo?: RemoteWriteAuthInfo;
|
|
6283
6280
|
/**
|
|
6284
|
-
*
|
|
6285
|
-
0 CVM
|
|
6286
|
-
1025 CLB
|
|
6281
|
+
* <p>后端服务类型<br>0 CVM<br>1025 CLB</p>
|
|
6287
6282
|
*/
|
|
6288
6283
|
VirtualGatewayType?: number;
|
|
6284
|
+
/**
|
|
6285
|
+
* <p>云时序数据库实例ID</p>
|
|
6286
|
+
*/
|
|
6287
|
+
InstanceId?: string;
|
|
6288
|
+
/**
|
|
6289
|
+
* <p>是否开启投递服务日志。1:关闭,2:开启。 默认值:2</p>
|
|
6290
|
+
*/
|
|
6291
|
+
HasServicesLog?: number;
|
|
6289
6292
|
}
|
|
6290
6293
|
/**
|
|
6291
6294
|
* 多日志主题检索错误信息
|
|
@@ -6998,15 +7001,15 @@ export interface DeleteAlarmRequest {
|
|
|
6998
7001
|
*/
|
|
6999
7002
|
export interface DescribeLogContextResponse {
|
|
7000
7003
|
/**
|
|
7001
|
-
*
|
|
7004
|
+
* <p>日志上下文信息集合</p>
|
|
7002
7005
|
*/
|
|
7003
7006
|
LogContextInfos?: Array<LogContextInfo>;
|
|
7004
7007
|
/**
|
|
7005
|
-
*
|
|
7008
|
+
* <p>上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。</p>
|
|
7006
7009
|
*/
|
|
7007
7010
|
PrevOver?: boolean;
|
|
7008
7011
|
/**
|
|
7009
|
-
*
|
|
7012
|
+
* <p>下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。</p>
|
|
7010
7013
|
*/
|
|
7011
7014
|
NextOver?: boolean;
|
|
7012
7015
|
/**
|
|
@@ -7274,86 +7277,90 @@ export interface SearchViewInfo {
|
|
|
7274
7277
|
*/
|
|
7275
7278
|
export interface RemoteWriteInfo {
|
|
7276
7279
|
/**
|
|
7277
|
-
*
|
|
7280
|
+
* <p>任务id</p>
|
|
7278
7281
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7279
7282
|
*/
|
|
7280
7283
|
TaskId?: string;
|
|
7281
7284
|
/**
|
|
7282
|
-
*
|
|
7285
|
+
* <p>日志主题ID</p>
|
|
7283
7286
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7284
7287
|
*/
|
|
7285
7288
|
TopicId?: string;
|
|
7286
7289
|
/**
|
|
7287
|
-
* Remote Write
|
|
7290
|
+
* <p>Remote Write任务名称</p>
|
|
7288
7291
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7289
7292
|
*/
|
|
7290
7293
|
Name?: string;
|
|
7291
7294
|
/**
|
|
7292
|
-
*
|
|
7293
|
-
1: 内网
|
|
7294
|
-
2:外网
|
|
7295
|
+
* <p>网络类型<br>1: 内网<br>2:外网</p>
|
|
7295
7296
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7296
7297
|
*/
|
|
7297
7298
|
NetType?: number;
|
|
7298
7299
|
/**
|
|
7299
|
-
*
|
|
7300
|
+
* <p>私有网络id</p>
|
|
7300
7301
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7301
7302
|
*/
|
|
7302
7303
|
VpcId?: string;
|
|
7303
7304
|
/**
|
|
7304
|
-
*
|
|
7305
|
-
1: 运行中
|
|
7306
|
-
2:暂停
|
|
7307
|
-
3: 失败
|
|
7305
|
+
* <p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
|
|
7308
7306
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7309
7307
|
*/
|
|
7310
7308
|
Status?: number;
|
|
7311
7309
|
/**
|
|
7312
|
-
*
|
|
7310
|
+
* <p>创建时间</p>
|
|
7313
7311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7314
7312
|
*/
|
|
7315
7313
|
CreateTime?: string;
|
|
7316
7314
|
/**
|
|
7317
|
-
*
|
|
7315
|
+
* <p>更新时间</p>
|
|
7318
7316
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7319
7317
|
*/
|
|
7320
7318
|
UpdateTime?: string;
|
|
7321
7319
|
/**
|
|
7322
|
-
*
|
|
7320
|
+
* <p>目标服务名称</p>
|
|
7323
7321
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7324
7322
|
*/
|
|
7325
7323
|
Target?: string;
|
|
7326
7324
|
/**
|
|
7327
|
-
*
|
|
7325
|
+
* <p>目标地址</p>
|
|
7328
7326
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7329
7327
|
*/
|
|
7330
7328
|
RemoteWriteURL?: string;
|
|
7331
7329
|
/**
|
|
7332
|
-
*
|
|
7333
|
-
0: 无鉴权 1: basic_auth 2: token
|
|
7330
|
+
* <p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
|
|
7334
7331
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7335
7332
|
*/
|
|
7336
7333
|
AuthType?: number;
|
|
7337
7334
|
/**
|
|
7338
|
-
*
|
|
7335
|
+
* <p>鉴权信息</p>
|
|
7339
7336
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7340
7337
|
*/
|
|
7341
7338
|
AuthInfo?: RemoteWriteAuthInfo;
|
|
7342
7339
|
/**
|
|
7343
|
-
*
|
|
7340
|
+
* <p>日志集</p>
|
|
7344
7341
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7345
7342
|
*/
|
|
7346
7343
|
LogsetId?: string;
|
|
7347
7344
|
/**
|
|
7348
|
-
*
|
|
7345
|
+
* <p>任务状态</p>
|
|
7349
7346
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7350
7347
|
*/
|
|
7351
7348
|
Enable?: number;
|
|
7352
7349
|
/**
|
|
7353
|
-
*
|
|
7350
|
+
* <p>后端服务类型</p>
|
|
7354
7351
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7355
7352
|
*/
|
|
7356
7353
|
VirtualGatewayType?: number;
|
|
7354
|
+
/**
|
|
7355
|
+
* <p>云时序数据库实例ID</p>
|
|
7356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7357
|
+
*/
|
|
7358
|
+
InstanceId?: string;
|
|
7359
|
+
/**
|
|
7360
|
+
* <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
7361
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7362
|
+
*/
|
|
7363
|
+
HasServicesLog?: number;
|
|
7357
7364
|
}
|
|
7358
7365
|
/**
|
|
7359
7366
|
* ModifyLogset返回参数结构体
|
|
@@ -9867,11 +9874,11 @@ export interface DashboardTemplateVariable {
|
|
|
9867
9874
|
*/
|
|
9868
9875
|
export interface CancelRebuildIndexTaskRequest {
|
|
9869
9876
|
/**
|
|
9870
|
-
*
|
|
9877
|
+
* <p>日志主题ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/614/56454">DescribeTopics</a></p>
|
|
9871
9878
|
*/
|
|
9872
9879
|
TopicId: string;
|
|
9873
9880
|
/**
|
|
9874
|
-
*
|
|
9881
|
+
* <p>索引重建任务ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/614/127535">DescribeRebuildIndexTasks</a></p>
|
|
9875
9882
|
*/
|
|
9876
9883
|
TaskId: string;
|
|
9877
9884
|
}
|
|
@@ -10632,53 +10639,57 @@ export type ModifyKafkaConsumerGroupOffsetRequest = null;
|
|
|
10632
10639
|
*/
|
|
10633
10640
|
export interface ModifyRemoteWriteTaskRequest {
|
|
10634
10641
|
/**
|
|
10635
|
-
*
|
|
10642
|
+
* <p>任务id</p>
|
|
10636
10643
|
*/
|
|
10637
10644
|
TaskId: string;
|
|
10638
10645
|
/**
|
|
10639
|
-
*
|
|
10646
|
+
* <p>日志主题id</p>
|
|
10640
10647
|
*/
|
|
10641
10648
|
TopicId: string;
|
|
10642
10649
|
/**
|
|
10643
|
-
*
|
|
10644
|
-
0 关闭 1 开启
|
|
10650
|
+
* <p>任务状态<br>0 关闭 1 开启</p>
|
|
10645
10651
|
*/
|
|
10646
10652
|
Enable?: number;
|
|
10647
10653
|
/**
|
|
10648
|
-
* RemoteWrite
|
|
10654
|
+
* <p>RemoteWrite任务名称</p>
|
|
10649
10655
|
*/
|
|
10650
10656
|
Name?: string;
|
|
10651
10657
|
/**
|
|
10652
|
-
* 1 内网 2
|
|
10658
|
+
* <p>1 内网 2外网</p>
|
|
10653
10659
|
*/
|
|
10654
10660
|
NetType?: number;
|
|
10655
10661
|
/**
|
|
10656
|
-
*
|
|
10662
|
+
* <p>私有网络id</p>
|
|
10657
10663
|
*/
|
|
10658
10664
|
VpcId?: string;
|
|
10659
10665
|
/**
|
|
10660
|
-
*
|
|
10666
|
+
* <p>目标服务名称</p>
|
|
10661
10667
|
*/
|
|
10662
10668
|
Target?: string;
|
|
10663
10669
|
/**
|
|
10664
|
-
*
|
|
10670
|
+
* <p>目标地址</p>
|
|
10665
10671
|
*/
|
|
10666
10672
|
RemoteWriteURL?: string;
|
|
10667
10673
|
/**
|
|
10668
|
-
* 0: 无鉴权 1: basic_auth 2: token
|
|
10674
|
+
* <p>0: 无鉴权 1: basic_auth 2: token</p>
|
|
10669
10675
|
*/
|
|
10670
10676
|
AuthType?: number;
|
|
10671
10677
|
/**
|
|
10672
|
-
*
|
|
10678
|
+
* <p>鉴权信息</p>
|
|
10673
10679
|
*/
|
|
10674
10680
|
AuthInfo?: RemoteWriteAuthInfo;
|
|
10675
10681
|
/**
|
|
10676
|
-
*
|
|
10677
|
-
-1 没有
|
|
10678
|
-
0 CVM
|
|
10679
|
-
1025 CLB
|
|
10682
|
+
* <p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
|
|
10680
10683
|
*/
|
|
10681
10684
|
VirtualGatewayType?: number;
|
|
10685
|
+
/**
|
|
10686
|
+
* <p>云时序数据库实例ID</p>
|
|
10687
|
+
*/
|
|
10688
|
+
InstanceId?: string;
|
|
10689
|
+
/**
|
|
10690
|
+
* <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
10691
|
+
*/
|
|
10692
|
+
HasServicesLog?: number;
|
|
10682
10693
|
}
|
|
10683
10694
|
/**
|
|
10684
10695
|
* DescribeConsoles请求参数结构体
|
|
@@ -11613,50 +11624,39 @@ export interface DescribeMetricSubscribesRequest {
|
|
|
11613
11624
|
*/
|
|
11614
11625
|
export interface DescribeLogContextRequest {
|
|
11615
11626
|
/**
|
|
11616
|
-
*
|
|
11617
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
11618
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
11627
|
+
* <p>要查询的日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
11619
11628
|
*/
|
|
11620
11629
|
TopicId: string;
|
|
11621
11630
|
/**
|
|
11622
|
-
*
|
|
11631
|
+
* <p>日志时间, 即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。</p>
|
|
11623
11632
|
*/
|
|
11624
11633
|
BTime: string;
|
|
11625
11634
|
/**
|
|
11626
|
-
*
|
|
11635
|
+
* <p>日志包序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的PkgId。</p>
|
|
11627
11636
|
*/
|
|
11628
11637
|
PkgId: string;
|
|
11629
11638
|
/**
|
|
11630
|
-
*
|
|
11639
|
+
* <p>日志包内一条日志的序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构中的PkgLogId。</p>
|
|
11631
11640
|
*/
|
|
11632
11641
|
PkgLogId: number;
|
|
11633
11642
|
/**
|
|
11634
|
-
*
|
|
11643
|
+
* <p>前${PrevLogs}条日志,默认值10,最大100。</p>
|
|
11635
11644
|
*/
|
|
11636
11645
|
PrevLogs?: number;
|
|
11637
11646
|
/**
|
|
11638
|
-
*
|
|
11647
|
+
* <p>后${NextLogs}条日志,默认值10,最大100。</p>
|
|
11639
11648
|
*/
|
|
11640
11649
|
NextLogs?: number;
|
|
11641
11650
|
/**
|
|
11642
|
-
*
|
|
11643
|
-
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句
|
|
11651
|
+
* <p>检索语句,对日志上下文进行过滤,最大长度为12KB<br>语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句</p>
|
|
11644
11652
|
*/
|
|
11645
11653
|
Query?: string;
|
|
11646
11654
|
/**
|
|
11647
|
-
*
|
|
11648
|
-
注意:
|
|
11649
|
-
- From为空时,表示上下文检索的开始时间不做限制
|
|
11650
|
-
- From和To非空时,From < To
|
|
11651
|
-
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
|
11655
|
+
* <p>上下文检索的开始时间,单位:毫秒级时间戳<br>注意:</p><ul><li>From为空时,表示上下文检索的开始时间不做限制</li><li>From和To非空时,From < To</li></ul>
|
|
11652
11656
|
*/
|
|
11653
11657
|
From?: number;
|
|
11654
11658
|
/**
|
|
11655
|
-
*
|
|
11656
|
-
注意:
|
|
11657
|
-
- To为空时,表示上下文检索的结束时间不做限制
|
|
11658
|
-
- From和To非空时,From < To
|
|
11659
|
-
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
|
11659
|
+
* <p>上下文检索的结束时间,单位:毫秒级时间戳。<br>注意:</p><ul><li>To为空时,表示上下文检索的结束时间不做限制</li><li>From和To非空时,From < To</li></ul>
|
|
11660
11660
|
*/
|
|
11661
11661
|
To?: number;
|
|
11662
11662
|
}
|
|
@@ -12458,7 +12458,7 @@ export interface ConsumerGroupInfo {
|
|
|
12458
12458
|
*/
|
|
12459
12459
|
export interface CreateRemoteWriteTaskResponse {
|
|
12460
12460
|
/**
|
|
12461
|
-
* remoteWrite任务id
|
|
12461
|
+
* <p>remoteWrite任务id</p>
|
|
12462
12462
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12463
12463
|
*/
|
|
12464
12464
|
TaskId?: string;
|