@ucloud-sdks/ucloud-sdk-js 0.2.59 → 0.2.60

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.
@@ -63,12 +63,24 @@ export default class ULogServiceClient extends Client {
63
63
  * See also: https://docs.ucloud.cn/api/ulogservice-api/delete_u_log_service_topic
64
64
  */
65
65
  deleteULogServiceTopic(request?: DeleteULogServiceTopicRequest): Promise<DeleteULogServiceTopicResponse>;
66
+ /**
67
+ * DescribeULogServiceLogSet - 获取日志集信息
68
+ *
69
+ * See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_log_set
70
+ */
71
+ describeULogServiceLogSet(request?: DescribeULogServiceLogSetRequest): Promise<DescribeULogServiceLogSetResponse>;
66
72
  /**
67
73
  * DescribeULogServiceMachineGroup - 查询日志采集机器组
68
74
  *
69
75
  * See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_machine_group
70
76
  */
71
77
  describeULogServiceMachineGroup(request?: DescribeULogServiceMachineGroupRequest): Promise<DescribeULogServiceMachineGroupResponse>;
78
+ /**
79
+ * DescribeULogServiceTopic - 获取ULogService主题详情
80
+ *
81
+ * See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_topic
82
+ */
83
+ describeULogServiceTopic(request?: DescribeULogServiceTopicRequest): Promise<DescribeULogServiceTopicResponse>;
72
84
  /**
73
85
  * GetULogServiceTopicField - 获取ULogService主题索引字段
74
86
  *
@@ -379,6 +391,57 @@ export interface DeleteULogServiceTopicRequest {
379
391
  */
380
392
  export interface DeleteULogServiceTopicResponse {
381
393
  }
394
+ /**
395
+ * DescribeULogServiceLogSet - 获取日志集信息
396
+ */
397
+ export interface DescribeULogServiceLogSetRequest {
398
+ /**
399
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
400
+ */
401
+ Zone: string;
402
+ /**
403
+ * 日志集ID
404
+ */
405
+ LogSetId: string;
406
+ }
407
+ /**
408
+ * DescribeULogServiceLogSet - 获取日志集信息
409
+ */
410
+ export interface DescribeULogServiceLogSetResponse {
411
+ /**
412
+ * 日志集总数
413
+ */
414
+ TotalCount: number;
415
+ /**
416
+ * 日志集信息
417
+ */
418
+ LogSetInfo: {
419
+ /**
420
+ * 日志集下主题数量
421
+ */
422
+ TopicCount?: number;
423
+ /**
424
+ * 日志集ID
425
+ */
426
+ LogSetId?: string;
427
+ /**
428
+ * 日志集备注
429
+ */
430
+ LogSetRemark?: string;
431
+ /**
432
+ * 日志集名称
433
+ */
434
+ LogSetName?: string;
435
+ /**
436
+ * 创建时间
437
+ */
438
+ CreateTime?: number;
439
+ /**
440
+ * 更新时间
441
+ */
442
+ UpdateTime?: number;
443
+ };
444
+ }
382
445
  /**
383
446
  * DescribeULogServiceMachineGroup - 查询日志采集机器组
384
447
  */
@@ -451,6 +514,49 @@ export interface DescribeULogServiceMachineGroupResponse {
451
514
  Ips?: string;
452
515
  };
453
516
  }
517
+ /**
518
+ * DescribeULogServiceTopic - 获取ULogService主题详情
519
+ */
520
+ export interface DescribeULogServiceTopicRequest {
521
+ /**
522
+ * 主题Id
523
+ */
524
+ TopicId: string;
525
+ }
526
+ /**
527
+ * DescribeULogServiceTopic - 获取ULogService主题详情
528
+ */
529
+ export interface DescribeULogServiceTopicResponse {
530
+ /**
531
+ * 主题详情
532
+ */
533
+ Data: {
534
+ /**
535
+ * 主题名称
536
+ */
537
+ TopicName?: string;
538
+ /**
539
+ * 主题ID
540
+ */
541
+ TopicId?: string;
542
+ /**
543
+ * 分区数量,固定是2
544
+ */
545
+ TopicShardNum?: number;
546
+ /**
547
+ * 保存时间 1~730 天
548
+ */
549
+ ReserveAge?: number;
550
+ /**
551
+ * 是否保留:0 - NORMAL, 1 - RESERVED
552
+ */
553
+ IsReserved?: number;
554
+ /**
555
+ * 日志主题状态
556
+ */
557
+ State?: string;
558
+ };
559
+ }
454
560
  /**
455
561
  * GetULogServiceTopicField - 获取ULogService主题索引字段
456
562
  */
@@ -739,9 +845,9 @@ export interface ListULogServiceTopicResponse {
739
845
  */
740
846
  IsReserved?: number;
741
847
  /**
742
- * 主题描述
848
+ * 日志主题状态
743
849
  */
744
- TopicDesc?: string;
850
+ State?: string;
745
851
  }[];
746
852
  /**
747
853
  * 主题总数
@@ -93,6 +93,15 @@ class ULogServiceClient extends client_1.default {
93
93
  const args = Object.assign({ Action: 'DeleteULogServiceTopic' }, (request || {}));
94
94
  return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
95
95
  }
96
+ /**
97
+ * DescribeULogServiceLogSet - 获取日志集信息
98
+ *
99
+ * See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_log_set
100
+ */
101
+ describeULogServiceLogSet(request) {
102
+ const args = Object.assign({ Action: 'DescribeULogServiceLogSet' }, (request || {}));
103
+ return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
104
+ }
96
105
  /**
97
106
  * DescribeULogServiceMachineGroup - 查询日志采集机器组
98
107
  *
@@ -102,6 +111,15 @@ class ULogServiceClient extends client_1.default {
102
111
  const args = Object.assign({ Action: 'DescribeULogServiceMachineGroup' }, (request || {}));
103
112
  return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
104
113
  }
114
+ /**
115
+ * DescribeULogServiceTopic - 获取ULogService主题详情
116
+ *
117
+ * See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_topic
118
+ */
119
+ describeULogServiceTopic(request) {
120
+ const args = Object.assign({ Action: 'DescribeULogServiceTopic' }, (request || {}));
121
+ return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
122
+ }
105
123
  /**
106
124
  * GetULogServiceTopicField - 获取ULogService主题索引字段
107
125
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ucloud-sdks/ucloud-sdk-js",
3
3
  "description": "ucloud-sdk-js",
4
- "version": "0.2.59",
4
+ "version": "0.2.60",
5
5
  "author": "oas@ucloud.cn",
6
6
  "license": "MIT",
7
7
  "private": false,