tencentcloud-sdk-nodejs-tione 4.1.136 → 4.1.138

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tione",
3
- "version": "4.1.136",
3
+ "version": "4.1.138",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -192,7 +192,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
192
192
  /**
193
193
  * 查看任务式建模训练任务,Notebook,在线服务和批量预测任务日志下载任务状态API
194
194
  */
195
- DescribeExport(req?: DescribeExportRequest, cb?: (error: string, rep: DescribeExportResponse) => void): Promise<DescribeExportResponse>;
195
+ DescribeExport(req: DescribeExportRequest, cb?: (error: string, rep: DescribeExportResponse) => void): Promise<DescribeExportResponse>;
196
196
  /**
197
197
  * Notebook详情
198
198
  */
@@ -222,7 +222,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
222
222
  /**
223
223
  * 创建任务式建模训练任务,Notebook,在线服务和批量预测任务日志下载任务API
224
224
  */
225
- CreateExport(req?: CreateExportRequest, cb?: (error: string, rep: CreateExportResponse) => void): Promise<CreateExportResponse>;
225
+ CreateExport(req: CreateExportRequest, cb?: (error: string, rep: CreateExportResponse) => void): Promise<CreateExportResponse>;
226
226
  /**
227
227
  * 停止Notebook
228
228
  */
@@ -190,7 +190,7 @@ export interface CreateModelServiceRequest {
190
190
  */
191
191
  Sidecar?: SidecarSpec;
192
192
  /**
193
- * 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
193
+ * 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-腾讯云存储、模型来源-腾讯云容器镜像、模型来源-资源组、模型来源-数据源”。
194
194
  */
195
195
  VolumeMounts?: Array<VolumeMount>;
196
196
  }
@@ -339,6 +339,22 @@ export interface ServiceEIP {
339
339
  * DescribeExport返回参数结构体
340
340
  */
341
341
  export interface DescribeExportResponse {
342
+ /**
343
+ * 日志下载任务的ID
344
+ */
345
+ ExportId?: string;
346
+ /**
347
+ * 日志下载文件名
348
+ */
349
+ FileName?: string;
350
+ /**
351
+ * 日志导出路径,有效期一个小时,请尽快使用该路径下载。
352
+ */
353
+ CosPath?: string;
354
+ /**
355
+ * 下载任务创建时间
356
+ */
357
+ CreateTime?: string;
342
358
  /**
343
359
  * 日志文件大小
344
360
  */
@@ -1529,7 +1545,7 @@ export interface ModifyModelServiceRequest {
1529
1545
  */
1530
1546
  ResourceGroupId?: string;
1531
1547
  /**
1532
- * 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
1548
+ * 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-腾讯云存储、模型来源-腾讯云容器镜像、模型来源-资源组、模型来源-数据源”。
1533
1549
  */
1534
1550
  VolumeMounts?: Array<VolumeMount>;
1535
1551
  }
@@ -2671,6 +2687,10 @@ export interface GpuDetail {
2671
2687
  * CreateExport返回参数结构体
2672
2688
  */
2673
2689
  export interface CreateExportResponse {
2690
+ /**
2691
+ * 日志下载任务的ID
2692
+ */
2693
+ ExportId?: string;
2674
2694
  /**
2675
2695
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2676
2696
  */
@@ -3788,7 +3808,48 @@ export interface Instance {
3788
3808
  /**
3789
3809
  * CreateExport请求参数结构体
3790
3810
  */
3791
- export type CreateExportRequest = null;
3811
+ export interface CreateExportRequest {
3812
+ /**
3813
+ * 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测枚举值:- TRAIN- NOTEBOOK- INFER- BATCH
3814
+ */
3815
+ Service: string;
3816
+ /**
3817
+ * 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:- Service类型为TRAIN: 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId- Service类型为NOTEBOOK: 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName- Service类型为INFER: 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId- Service类型为BATCH: 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
3818
+ */
3819
+ ServiceId?: string;
3820
+ /**
3821
+ * 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
3822
+ */
3823
+ StartTime?: string;
3824
+ /**
3825
+ * 日志查询结束时间(RFC3339格式的时间字符串),开始时间和结束时间必须同时填或同时不填,默认值为当前时间
3826
+ */
3827
+ EndTime?: string;
3828
+ /**
3829
+ * 日志导出数据格式。json,csv,默认为csv
3830
+ */
3831
+ Format?: string;
3832
+ /**
3833
+ * Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:- Service类型为TRAIN: 调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames- Service类型为NOTEBOOK: 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName- Service类型为INFER: 调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos- Service类型为BATCH: 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList注:支持结尾通配符*
3834
+ */
3835
+ PodName?: string;
3836
+ /**
3837
+ * 描述任务的类型
3838
+ */
3839
+ JobCategory?: string;
3840
+ /**
3841
+ * 实例的类型
3842
+ */
3843
+ InstanceType?: string;
3844
+ /**
3845
+ * 查实例Id
3846
+ */
3847
+ InstanceId?: string;
3848
+ /**
3849
+ * 日志类型: PLATFORM_INIT, PLATFORM_SANITY_CHECK, USER
3850
+ */
3851
+ Type?: string;
3852
+ }
3792
3853
  /**
3793
3854
  * DescribeBillingSpecs返回参数结构体
3794
3855
  */
@@ -5346,7 +5407,12 @@ export interface TrainingTaskDetail {
5346
5407
  /**
5347
5408
  * DescribeExport请求参数结构体
5348
5409
  */
5349
- export type DescribeExportRequest = null;
5410
+ export interface DescribeExportRequest {
5411
+ /**
5412
+ * 日志下载任务的ID
5413
+ */
5414
+ ExportId: string;
5415
+ }
5350
5416
  /**
5351
5417
  * DescribeNotebook请求参数结构体
5352
5418
  */