tencentcloud-sdk-nodejs-oceanus 4.0.642 → 4.0.645

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.
@@ -75,6 +75,12 @@ class Client extends TencentCloudCommon.AbstractClient {
75
75
  async DescribeJobSavepoint(req, cb) {
76
76
  return this.request("DescribeJobSavepoint", req, cb);
77
77
  }
78
+ /**
79
+ * 查询作业实例启动日志
80
+ */
81
+ async DescribeJobSubmissionLog(req, cb) {
82
+ return this.request("DescribeJobSubmissionLog", req, cb);
83
+ }
78
84
  /**
79
85
  * 描述资源接口
80
86
  */
@@ -88,10 +94,10 @@ class Client extends TencentCloudCommon.AbstractClient {
88
94
  return this.request("DescribeClusters", req, cb);
89
95
  }
90
96
  /**
91
- * 批量删除作业接口,批量操作数量上限20
97
+ * 授权工作空间列表
92
98
  */
93
- async DeleteJobs(req, cb) {
94
- return this.request("DeleteJobs", req, cb);
99
+ async DescribeWorkSpaces(req, cb) {
100
+ return this.request("DescribeWorkSpaces", req, cb);
95
101
  }
96
102
  /**
97
103
  * 新建作业接口,一个 AppId 最多允许创建1000个作业
@@ -112,10 +118,10 @@ class Client extends TencentCloudCommon.AbstractClient {
112
118
  return this.request("RunJobs", req, cb);
113
119
  }
114
120
  /**
115
- * 授权工作空间列表
121
+ * 批量删除作业接口,批量操作数量上限20
116
122
  */
117
- async DescribeWorkSpaces(req, cb) {
118
- return this.request("DescribeWorkSpaces", req, cb);
123
+ async DeleteJobs(req, cb) {
124
+ return this.request("DeleteJobs", req, cb);
119
125
  }
120
126
  /**
121
127
  * 作业列表页面新建文件夹请求
@@ -1,3 +1,40 @@
1
+ /**
2
+ * DescribeJobSubmissionLog返回参数结构体
3
+ */
4
+ export interface DescribeJobSubmissionLogResponse {
5
+ /**
6
+ * 日志搜索的游标,需要搜索更多时透传这个值
7
+ */
8
+ Cursor: string;
9
+ /**
10
+ * 是否返回了所有的日志记录
11
+ */
12
+ ListOver: boolean;
13
+ /**
14
+ * 作业启动的requestId
15
+ 注意:此字段可能返回 null,表示取不到有效值。
16
+ */
17
+ JobRequestId: string;
18
+ /**
19
+ * 该时间段内符合关键字的所有的作业实例列表
20
+ 注意:此字段可能返回 null,表示取不到有效值。
21
+ */
22
+ JobInstanceList: Array<JobInstanceForSubmissionLog>;
23
+ /**
24
+ * 废弃,请使用LogContentList
25
+ 注意:此字段可能返回 null,表示取不到有效值。
26
+ */
27
+ LogList: Array<string>;
28
+ /**
29
+ * 日志列表
30
+ 注意:此字段可能返回 null,表示取不到有效值。
31
+ */
32
+ LogContentList: Array<LogContent>;
33
+ /**
34
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
35
+ */
36
+ RequestId?: string;
37
+ }
1
38
  /**
2
39
  * 复制作业单条明细结果
3
40
  */
@@ -176,6 +213,23 @@ export interface ResourceRefDetail {
176
213
  */
177
214
  SystemProvide: number;
178
215
  }
216
+ /**
217
+ * 搜索启动日志时返回的作业实例
218
+ */
219
+ export interface JobInstanceForSubmissionLog {
220
+ /**
221
+ * 实例的Id, 按照启动的时间顺序,从1开始
222
+ */
223
+ RunningOrderId: number;
224
+ /**
225
+ * 作业实例的启动时间
226
+ */
227
+ JobInstanceStartTime: string;
228
+ /**
229
+ * 作业实例启动的时间(毫秒)
230
+ */
231
+ StartingMillis: number;
232
+ }
179
233
  /**
180
234
  * StopJobs请求参数结构体
181
235
  */
@@ -878,19 +932,33 @@ export interface RoleAuth {
878
932
  RoleName?: string;
879
933
  }
880
934
  /**
881
- * 标签
935
+ * 日志查询的每行日志信息
882
936
  */
883
- export interface Tag {
937
+ export interface LogContent {
884
938
  /**
885
- * 标签键
939
+ * 日志内容
886
940
  注意:此字段可能返回 null,表示取不到有效值。
887
941
  */
888
- TagKey?: string;
942
+ Log: string;
889
943
  /**
890
- * 标签值
944
+ * 毫秒级时间戳
891
945
  注意:此字段可能返回 null,表示取不到有效值。
892
946
  */
893
- TagValue?: string;
947
+ Time: number;
948
+ /**
949
+ * 日志组Id
950
+ 注意:此字段可能返回 null,表示取不到有效值。
951
+ */
952
+ PkgId: string;
953
+ /**
954
+ * 日志Id,在日志组范围里唯一
955
+ */
956
+ PkgLogId: number;
957
+ /**
958
+ * 日志所属的容器名
959
+ 注意:此字段可能返回 null,表示取不到有效值。
960
+ */
961
+ ContainerName: string;
894
962
  }
895
963
  /**
896
964
  * 树状结构资源列表对象
@@ -1021,6 +1089,21 @@ export interface ResourceLocParam {
1021
1089
  */
1022
1090
  Region?: string;
1023
1091
  }
1092
+ /**
1093
+ * 标签
1094
+ */
1095
+ export interface Tag {
1096
+ /**
1097
+ * 标签键
1098
+ 注意:此字段可能返回 null,表示取不到有效值。
1099
+ */
1100
+ TagKey?: string;
1101
+ /**
1102
+ * 标签值
1103
+ 注意:此字段可能返回 null,表示取不到有效值。
1104
+ */
1105
+ TagValue?: string;
1106
+ }
1024
1107
  /**
1025
1108
  * 工作空间详情
1026
1109
  */
@@ -1440,6 +1523,23 @@ export interface WorkSpaceClusterItem {
1440
1523
  */
1441
1524
  ProjectIdStr: string;
1442
1525
  }
1526
+ /**
1527
+ * DescribeResourceConfigs返回参数结构体
1528
+ */
1529
+ export interface DescribeResourceConfigsResponse {
1530
+ /**
1531
+ * 资源配置描述数组
1532
+ */
1533
+ ResourceConfigSet: Array<ResourceConfigItem>;
1534
+ /**
1535
+ * 资源配置数量
1536
+ */
1537
+ TotalCount: number;
1538
+ /**
1539
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1540
+ */
1541
+ RequestId?: string;
1542
+ }
1443
1543
  /**
1444
1544
  * StopJobs返回参数结构体
1445
1545
  */
@@ -1986,21 +2086,41 @@ export interface DescribeWorkSpacesRequest {
1986
2086
  Filters?: Array<Filter>;
1987
2087
  }
1988
2088
  /**
1989
- * DescribeResourceConfigs返回参数结构体
2089
+ * DescribeJobSubmissionLog请求参数结构体
1990
2090
  */
1991
- export interface DescribeResourceConfigsResponse {
2091
+ export interface DescribeJobSubmissionLogRequest {
1992
2092
  /**
1993
- * 资源配置描述数组
2093
+ * 作业ID,例如:cql-6v1jkxrn
1994
2094
  */
1995
- ResourceConfigSet: Array<ResourceConfigItem>;
2095
+ JobId: string;
1996
2096
  /**
1997
- * 资源配置数量
2097
+ * 起始时间,unix时间戳,毫秒级,例如:1611754219108
1998
2098
  */
1999
- TotalCount: number;
2099
+ StartTime: number;
2000
2100
  /**
2001
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2101
+ * 结束时间,unix时间戳,毫秒级,例如:1611754219108
2002
2102
  */
2003
- RequestId?: string;
2103
+ EndTime: number;
2104
+ /**
2105
+ * 作业运行的实例ID, 例如:1,2,3。默认为0,表示未选中任何实例,搜索该时间段内最近的一个实例的日志
2106
+ */
2107
+ RunningOrderId?: number;
2108
+ /**
2109
+ * 日志搜索的关键词,默认为空
2110
+ */
2111
+ Keyword?: string;
2112
+ /**
2113
+ * 日志搜索的游标,可透传上次返回的值,默认为空
2114
+ */
2115
+ Cursor?: string;
2116
+ /**
2117
+ * 时间戳排序规则,asc - 升序,desc - 降序。默认为升序
2118
+ */
2119
+ OrderType?: string;
2120
+ /**
2121
+ * 搜索的日志条数上限值,最大为100
2122
+ */
2123
+ Limit?: number;
2004
2124
  }
2005
2125
  /**
2006
2126
  * 资源引用参数