tencentcloud-sdk-nodejs-tione 4.0.733 → 4.0.735

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.
@@ -209,7 +209,12 @@ export interface ModelInfo {
209
209
  */
210
210
  export interface DescribeLogsRequest {
211
211
  /**
212
- * 查询哪个服务的事件(可选值为TRAIN, NOTEBOOK, INFER
212
+ * 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
213
+ 枚举值:
214
+ - TRAIN
215
+ - NOTEBOOK
216
+ - INFER
217
+ - BATCH
213
218
  */
214
219
  Service: string;
215
220
  /**
@@ -225,7 +230,28 @@ export interface DescribeLogsRequest {
225
230
  */
226
231
  Limit?: number;
227
232
  /**
228
- * 查询哪个Pod的日志(支持结尾通配符*)
233
+ * 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
234
+ - Service类型为TRAIN:
235
+ 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
236
+ - Service类型为NOTEBOOK:
237
+ 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
238
+ - Service类型为INFER:
239
+ 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
240
+ - Service类型为BATCH:
241
+ 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
242
+ */
243
+ ServiceId?: string;
244
+ /**
245
+ * Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
246
+ - Service类型为TRAIN:
247
+ 调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
248
+ - Service类型为NOTEBOOK:
249
+ 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
250
+ - Service类型为INFER:
251
+ 调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
252
+ - Service类型为BATCH:
253
+ 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList
254
+ 注:支持结尾通配符*
229
255
  */
230
256
  PodName?: string;
231
257
  /**
@@ -2450,6 +2476,51 @@ export interface StartCmdInfo {
2450
2476
  */
2451
2477
  WorkerStartCmd?: string;
2452
2478
  }
2479
+ /**
2480
+ * K8s的Event
2481
+ */
2482
+ export interface Event {
2483
+ /**
2484
+ * 事件的id
2485
+ 注意:此字段可能返回 null,表示取不到有效值。
2486
+ */
2487
+ Id: string;
2488
+ /**
2489
+ * 事件的具体信息
2490
+ 注意:此字段可能返回 null,表示取不到有效值。
2491
+ */
2492
+ Message: string;
2493
+ /**
2494
+ * 事件第一次发生的时间
2495
+ 注意:此字段可能返回 null,表示取不到有效值。
2496
+ */
2497
+ FirstTimestamp: string;
2498
+ /**
2499
+ * 事件最后一次发生的时间
2500
+ 注意:此字段可能返回 null,表示取不到有效值。
2501
+ */
2502
+ LastTimestamp: string;
2503
+ /**
2504
+ * 事件发生的次数
2505
+ 注意:此字段可能返回 null,表示取不到有效值。
2506
+ */
2507
+ Count: number;
2508
+ /**
2509
+ * 事件的类型
2510
+ 注意:此字段可能返回 null,表示取不到有效值。
2511
+ */
2512
+ Type: string;
2513
+ /**
2514
+ * 事件关联的资源的类型
2515
+ 注意:此字段可能返回 null,表示取不到有效值。
2516
+ */
2517
+ ResourceKind: string;
2518
+ /**
2519
+ * 事件关联的资源的名字
2520
+ 注意:此字段可能返回 null,表示取不到有效值。
2521
+ */
2522
+ ResourceName: string;
2523
+ }
2453
2524
  /**
2454
2525
  * DescribeAPIConfigs请求参数结构体
2455
2526
  */
@@ -3328,6 +3399,25 @@ export interface CronScaleJob {
3328
3399
  */
3329
3400
  ExcludeDates?: Array<string>;
3330
3401
  }
3402
+ /**
3403
+ * DescribeNotebooks返回参数结构体
3404
+ */
3405
+ export interface DescribeNotebooksResponse {
3406
+ /**
3407
+ * 详情
3408
+ 注意:此字段可能返回 null,表示取不到有效值。
3409
+ */
3410
+ NotebookSet?: Array<NotebookSetItem>;
3411
+ /**
3412
+ * 总条数
3413
+ 注意:此字段可能返回 null,表示取不到有效值。
3414
+ */
3415
+ TotalCount?: number;
3416
+ /**
3417
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3418
+ */
3419
+ RequestId?: string;
3420
+ }
3331
3421
  /**
3332
3422
  * 推理镜像组
3333
3423
  */
@@ -4539,16 +4629,16 @@ export interface CreateBatchTaskResponse {
4539
4629
  RequestId?: string;
4540
4630
  }
4541
4631
  /**
4542
- * DescribeNotebooks返回参数结构体
4632
+ * DescribeEvents返回参数结构体
4543
4633
  */
4544
- export interface DescribeNotebooksResponse {
4634
+ export interface DescribeEventsResponse {
4545
4635
  /**
4546
- * 详情
4636
+ * 事件的列表
4547
4637
  注意:此字段可能返回 null,表示取不到有效值。
4548
4638
  */
4549
- NotebookSet?: Array<NotebookSetItem>;
4639
+ Events?: Array<Event>;
4550
4640
  /**
4551
- * 总条数
4641
+ * 此次查询的事件的个数
4552
4642
  注意:此字段可能返回 null,表示取不到有效值。
4553
4643
  */
4554
4644
  TotalCount?: number;
@@ -4870,6 +4960,51 @@ export interface ResourceInfo {
4870
4960
  */
4871
4961
  RealGpuDetailSet?: Array<GpuDetail>;
4872
4962
  }
4963
+ /**
4964
+ * OCR场景标签列表
4965
+ */
4966
+ export interface OcrLabelInfo {
4967
+ /**
4968
+ * 坐标点围起来的框
4969
+ 注意:此字段可能返回 null,表示取不到有效值。
4970
+ */
4971
+ Points: Array<PointInfo>;
4972
+ /**
4973
+ * 框的形状:
4974
+ FRAME_TYPE_RECTANGLE
4975
+ FRAME_TYPE_POLYGON
4976
+ 注意:此字段可能返回 null,表示取不到有效值。
4977
+ */
4978
+ FrameType: string;
4979
+ /**
4980
+ * 智能结构化:key区域对应的内容
4981
+ 注意:此字段可能返回 null,表示取不到有效值。
4982
+ */
4983
+ Key: string;
4984
+ /**
4985
+ * 智能结构化:上述key的ID
4986
+ 注意:此字段可能返回 null,表示取不到有效值。
4987
+ */
4988
+ KeyId: string;
4989
+ /**
4990
+ * 识别:框区域的内容
4991
+ 智能结构化:value区域对应的内容
4992
+ 注意:此字段可能返回 null,表示取不到有效值。
4993
+ */
4994
+ Value: string;
4995
+ /**
4996
+ * 智能结构化:value区域所关联的key 区域的keyID的集合
4997
+ 注意:此字段可能返回 null,表示取不到有效值。
4998
+ */
4999
+ KeyIdsForValue: Array<string>;
5000
+ /**
5001
+ * key或者value区域内容的方向:
5002
+ DIRECTION_VERTICAL
5003
+ DIRECTION_HORIZONTAL
5004
+ 注意:此字段可能返回 null,表示取不到有效值。
5005
+ */
5006
+ Direction: string;
5007
+ }
4873
5008
  /**
4874
5009
  * DeleteBatchTask请求参数结构体
4875
5010
  */
@@ -6860,49 +6995,65 @@ export interface EnvVar {
6860
6995
  Value?: string;
6861
6996
  }
6862
6997
  /**
6863
- * OCR场景标签列表
6998
+ * DescribeEvents请求参数结构体
6864
6999
  */
6865
- export interface OcrLabelInfo {
7000
+ export interface DescribeEventsRequest {
6866
7001
  /**
6867
- * 坐标点围起来的框
6868
- 注意:此字段可能返回 null,表示取不到有效值。
7002
+ * 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
7003
+ 枚举值:
7004
+ - TRAIN
7005
+ - NOTEBOOK
7006
+ - INFER
7007
+ - BATCH
6869
7008
  */
6870
- Points: Array<PointInfo>;
7009
+ Service: string;
6871
7010
  /**
6872
- * 框的形状:
6873
- FRAME_TYPE_RECTANGLE
6874
- FRAME_TYPE_POLYGON
6875
- 注意:此字段可能返回 null,表示取不到有效值。
7011
+ * 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
7012
+ - Service类型为TRAIN:
7013
+ 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
7014
+ - Service类型为NOTEBOOK:
7015
+ 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
7016
+ - Service类型为INFER:
7017
+ 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
7018
+ - Service类型为BATCH:
7019
+ 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
6876
7020
  */
6877
- FrameType: string;
7021
+ ServiceId?: string;
6878
7022
  /**
6879
- * 智能结构化:key区域对应的内容
6880
- 注意:此字段可能返回 null,表示取不到有效值。
7023
+ * 查询事件最早发生的时间(RFC3339格式的时间字符串),默认值为当前时间的前一天
6881
7024
  */
6882
- Key: string;
7025
+ StartTime?: string;
6883
7026
  /**
6884
- * 智能结构化:上述key的ID
6885
- 注意:此字段可能返回 null,表示取不到有效值。
7027
+ * 查询事件最晚发生的时间(RFC3339格式的时间字符串),默认值为当前时间
6886
7028
  */
6887
- KeyId: string;
7029
+ EndTime?: string;
6888
7030
  /**
6889
- * 识别:框区域的内容
6890
- 智能结构化:value区域对应的内容
6891
- 注意:此字段可能返回 null,表示取不到有效值。
7031
+ * 分页Limit,默认值为100,最大值为100
6892
7032
  */
6893
- Value: string;
7033
+ Limit?: number;
6894
7034
  /**
6895
- * 智能结构化:value区域所关联的key 区域的keyID的集合
6896
- 注意:此字段可能返回 null,表示取不到有效值。
7035
+ * 分页Offset,默认值为0
6897
7036
  */
6898
- KeyIdsForValue: Array<string>;
7037
+ Offset?: number;
6899
7038
  /**
6900
- * key或者value区域内容的方向:
6901
- DIRECTION_VERTICAL
6902
- DIRECTION_HORIZONTAL
6903
- 注意:此字段可能返回 null,表示取不到有效值。
7039
+ * 排列顺序(可选值为ASC, DESC ),默认为DESC
6904
7040
  */
6905
- Direction: string;
7041
+ Order?: string;
7042
+ /**
7043
+ * 排序的依据字段(可选值为FirstTimestamp, LastTimestamp),默认值为LastTimestamp
7044
+ */
7045
+ OrderField?: string;
7046
+ /**
7047
+ * 过滤条件
7048
+ 注意:
7049
+ 1. Filter.Name:目前支持ResourceKind(按事件关联的资源类型过滤);Type(按事件类型过滤)
7050
+ 2. Filter.Values:
7051
+ 对于Name为ResourceKind,Values的可选取值为Deployment, Replicaset, Pod等K8S资源类型;
7052
+ 对于Name为Type,Values的可选取值仅为Normal或者Warning;
7053
+ Values为多个的时候表示同时满足
7054
+ 3. Filter. Negative和Filter. Fuzzy没有使用
7055
+ */
7056
+ Filters?: Array<Filter>;
6906
7057
  }
6907
7058
  /**
6908
7059
  * DeleteTrainingModel请求参数结构体