tencentcloud-sdk-nodejs-tione 4.1.204 → 4.1.212
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
|
@@ -1909,129 +1909,132 @@ export interface CreateMountLimitResponse {
|
|
|
1909
1909
|
*/
|
|
1910
1910
|
export interface TrainingTaskSetItem {
|
|
1911
1911
|
/**
|
|
1912
|
-
*
|
|
1912
|
+
* <p>训练任务ID</p>
|
|
1913
1913
|
*/
|
|
1914
1914
|
Id?: string;
|
|
1915
1915
|
/**
|
|
1916
|
-
*
|
|
1916
|
+
* <p>训练任务名称</p>
|
|
1917
1917
|
*/
|
|
1918
1918
|
Name?: string;
|
|
1919
1919
|
/**
|
|
1920
|
-
*
|
|
1920
|
+
* <p>框架名称</p>
|
|
1921
1921
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1922
1922
|
*/
|
|
1923
1923
|
FrameworkName?: string;
|
|
1924
1924
|
/**
|
|
1925
|
-
*
|
|
1925
|
+
* <p>训练框架版本</p>
|
|
1926
1926
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1927
1927
|
*/
|
|
1928
1928
|
FrameworkVersion?: string;
|
|
1929
1929
|
/**
|
|
1930
|
-
*
|
|
1930
|
+
* <p>框架运行环境</p>
|
|
1931
1931
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1932
1932
|
*/
|
|
1933
1933
|
FrameworkEnvironment?: string;
|
|
1934
1934
|
/**
|
|
1935
|
-
*
|
|
1935
|
+
* <p>计费模式</p>
|
|
1936
1936
|
*/
|
|
1937
1937
|
ChargeType?: string;
|
|
1938
1938
|
/**
|
|
1939
|
-
*
|
|
1939
|
+
* <p>计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中</p>
|
|
1940
1940
|
*/
|
|
1941
1941
|
ChargeStatus?: string;
|
|
1942
1942
|
/**
|
|
1943
|
-
*
|
|
1943
|
+
* <p>预付费专用资源组</p>
|
|
1944
1944
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1945
1945
|
*/
|
|
1946
1946
|
ResourceGroupId?: string;
|
|
1947
1947
|
/**
|
|
1948
|
-
*
|
|
1948
|
+
* <p>资源配置</p>
|
|
1949
1949
|
*/
|
|
1950
1950
|
ResourceConfigInfos?: Array<ResourceConfigInfo>;
|
|
1951
1951
|
/**
|
|
1952
|
-
*
|
|
1952
|
+
* <p>训练模式eg:PS_WORKER、DDP、MPI、HOROVOD</p>
|
|
1953
1953
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1954
1954
|
*/
|
|
1955
1955
|
TrainingMode?: string;
|
|
1956
1956
|
/**
|
|
1957
|
-
*
|
|
1958
|
-
STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成
|
|
1957
|
+
* <p>任务状态,eg:SUBMITTING提交中、PENDING排队中、<br>STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成</p>
|
|
1959
1958
|
*/
|
|
1960
1959
|
Status?: string;
|
|
1961
1960
|
/**
|
|
1962
|
-
*
|
|
1961
|
+
* <p>运行时长</p>
|
|
1963
1962
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1964
1963
|
*/
|
|
1965
1964
|
RuntimeInSeconds?: number;
|
|
1966
1965
|
/**
|
|
1967
|
-
*
|
|
1966
|
+
* <p>创建时间</p>
|
|
1968
1967
|
*/
|
|
1969
1968
|
CreateTime?: string;
|
|
1970
1969
|
/**
|
|
1971
|
-
*
|
|
1970
|
+
* <p>训练开始时间</p>
|
|
1972
1971
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1973
1972
|
*/
|
|
1974
1973
|
StartTime?: string;
|
|
1975
1974
|
/**
|
|
1976
|
-
*
|
|
1975
|
+
* <p>训练结束时间</p>
|
|
1977
1976
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1978
1977
|
*/
|
|
1979
1978
|
EndTime?: string;
|
|
1980
1979
|
/**
|
|
1981
|
-
*
|
|
1980
|
+
* <p>训练输出</p>
|
|
1982
1981
|
*/
|
|
1983
1982
|
Output?: CosPathInfo;
|
|
1984
1983
|
/**
|
|
1985
|
-
*
|
|
1984
|
+
* <p>失败原因</p>
|
|
1986
1985
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1987
1986
|
*/
|
|
1988
1987
|
FailureReason?: string;
|
|
1989
1988
|
/**
|
|
1990
|
-
*
|
|
1989
|
+
* <p>更新时间</p>
|
|
1991
1990
|
*/
|
|
1992
1991
|
UpdateTime?: string;
|
|
1993
1992
|
/**
|
|
1994
|
-
*
|
|
1993
|
+
* <p>计费金额信息,eg:2.00元/小时 (按量计费)</p>
|
|
1995
1994
|
*/
|
|
1996
1995
|
BillingInfo?: string;
|
|
1997
1996
|
/**
|
|
1998
|
-
*
|
|
1997
|
+
* <p>预付费专用资源组名称</p>
|
|
1999
1998
|
*/
|
|
2000
1999
|
ResourceGroupName?: string;
|
|
2001
2000
|
/**
|
|
2002
|
-
*
|
|
2001
|
+
* <p>自定义镜像信息</p>
|
|
2003
2002
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2004
2003
|
*/
|
|
2005
2004
|
ImageInfo?: ImageInfo;
|
|
2006
2005
|
/**
|
|
2007
|
-
*
|
|
2006
|
+
* <p>任务信息</p>
|
|
2008
2007
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2009
2008
|
*/
|
|
2010
2009
|
Message?: string;
|
|
2011
2010
|
/**
|
|
2012
|
-
*
|
|
2011
|
+
* <p>标签配置</p>
|
|
2013
2012
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2014
2013
|
*/
|
|
2015
2014
|
Tags?: Array<Tag>;
|
|
2016
2015
|
/**
|
|
2017
|
-
*
|
|
2016
|
+
* <p>回调地址</p>
|
|
2018
2017
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2019
2018
|
*/
|
|
2020
2019
|
CallbackUrl?: string;
|
|
2021
2020
|
/**
|
|
2022
|
-
*
|
|
2021
|
+
* <p>任务subUin信息</p>
|
|
2023
2022
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2024
2023
|
*/
|
|
2025
2024
|
SubUin?: string;
|
|
2026
2025
|
/**
|
|
2027
|
-
*
|
|
2026
|
+
* <p>任务创建者名称</p>
|
|
2028
2027
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2029
2028
|
*/
|
|
2030
2029
|
SubUinName?: string;
|
|
2031
2030
|
/**
|
|
2032
|
-
*
|
|
2031
|
+
* <p>任务AppId</p>
|
|
2033
2032
|
*/
|
|
2034
2033
|
AppId?: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* <p>环境变量</p>
|
|
2036
|
+
*/
|
|
2037
|
+
Envs?: Array<EnvVar>;
|
|
2035
2038
|
}
|
|
2036
2039
|
/**
|
|
2037
2040
|
* DescribeModelServiceCallInfo请求参数结构体
|
|
@@ -3039,23 +3042,23 @@ export interface LogIdentity {
|
|
|
3039
3042
|
*/
|
|
3040
3043
|
export interface MountInstanceInfo {
|
|
3041
3044
|
/**
|
|
3042
|
-
*
|
|
3045
|
+
* <p>类型英文名</p>
|
|
3043
3046
|
*/
|
|
3044
3047
|
Type?: string;
|
|
3045
3048
|
/**
|
|
3046
|
-
*
|
|
3049
|
+
* <p>存储实例ID</p>
|
|
3047
3050
|
*/
|
|
3048
3051
|
StorageId?: string;
|
|
3049
3052
|
/**
|
|
3050
|
-
*
|
|
3053
|
+
* <p>存储实例名称</p>
|
|
3051
3054
|
*/
|
|
3052
3055
|
StorageName?: string;
|
|
3053
3056
|
/**
|
|
3054
|
-
*
|
|
3057
|
+
* <p>状态</p><p>枚举值:</p><ul><li>0: 可挂载(正常)</li><li>1: 不可挂载(挂载限制)</li><li>2: 不可挂载(存储配置关闭)</li></ul>
|
|
3055
3058
|
*/
|
|
3056
3059
|
Status?: number;
|
|
3057
3060
|
/**
|
|
3058
|
-
*
|
|
3061
|
+
* <p>额外配置</p>
|
|
3059
3062
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3060
3063
|
*/
|
|
3061
3064
|
ExtraConf?: StorageExtraConf;
|
|
@@ -4088,7 +4091,7 @@ export interface DescribeModelServiceRequest {
|
|
|
4088
4091
|
*/
|
|
4089
4092
|
export interface CreateTrainingTaskResponse {
|
|
4090
4093
|
/**
|
|
4091
|
-
*
|
|
4094
|
+
* <p>训练任务ID</p>
|
|
4092
4095
|
*/
|
|
4093
4096
|
Id?: string;
|
|
4094
4097
|
/**
|
|
@@ -4146,106 +4149,109 @@ export interface DeleteModelServiceAuthTokenRequest {
|
|
|
4146
4149
|
*/
|
|
4147
4150
|
export interface CreateTrainingTaskRequest {
|
|
4148
4151
|
/**
|
|
4149
|
-
*
|
|
4152
|
+
* <p>训练任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头</p>
|
|
4150
4153
|
*/
|
|
4151
4154
|
Name: string;
|
|
4152
4155
|
/**
|
|
4153
|
-
*
|
|
4154
|
-
POSTPAID_BY_HOUR 按量计费
|
|
4156
|
+
* <p>计费模式,eg:PREPAID 包年包月(资源组);<br>POSTPAID_BY_HOUR 按量计费</p>
|
|
4155
4157
|
*/
|
|
4156
4158
|
ChargeType: string;
|
|
4157
4159
|
/**
|
|
4158
|
-
*
|
|
4160
|
+
* <p>资源配置,需填写对应算力规格ID和节点数量,算力规格ID查询接口为DescribeBillingSpecsPrice,eg:[{"Role":"WORKER", "InstanceType": "TI.S.MEDIUM.POST", "InstanceNum": 1}]</p>
|
|
4159
4161
|
*/
|
|
4160
4162
|
ResourceConfigInfos: Array<ResourceConfigInfo>;
|
|
4161
4163
|
/**
|
|
4162
|
-
*
|
|
4164
|
+
* <p>训练框架名称,通过DescribeTrainingFrameworks接口查询,eg:SPARK、PYSPARK、TENSORFLOW、PYTORCH</p>
|
|
4163
4165
|
*/
|
|
4164
4166
|
FrameworkName?: string;
|
|
4165
4167
|
/**
|
|
4166
|
-
*
|
|
4168
|
+
* <p>训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:1.15、1.9</p>
|
|
4167
4169
|
*/
|
|
4168
4170
|
FrameworkVersion?: string;
|
|
4169
4171
|
/**
|
|
4170
|
-
*
|
|
4172
|
+
* <p>训练框架环境,通过DescribeTrainingFrameworks接口查询,eg:tf1.15-py3.7-cpu、torch1.9-py3.8-cuda11.1-gpu</p>
|
|
4171
4173
|
*/
|
|
4172
4174
|
FrameworkEnvironment?: string;
|
|
4173
4175
|
/**
|
|
4174
|
-
*
|
|
4176
|
+
* <p>预付费专用资源组ID,通过DescribeBillingResourceGroups接口查询</p>
|
|
4175
4177
|
*/
|
|
4176
4178
|
ResourceGroupId?: string;
|
|
4177
4179
|
/**
|
|
4178
|
-
*
|
|
4180
|
+
* <p>标签配置</p>
|
|
4179
4181
|
*/
|
|
4180
4182
|
Tags?: Array<Tag>;
|
|
4181
4183
|
/**
|
|
4182
|
-
*
|
|
4184
|
+
* <p>自定义镜像信息</p>
|
|
4183
4185
|
*/
|
|
4184
4186
|
ImageInfo?: ImageInfo;
|
|
4185
4187
|
/**
|
|
4186
|
-
* COS
|
|
4188
|
+
* <p>COS代码包路径</p>
|
|
4187
4189
|
*/
|
|
4188
4190
|
CodePackagePath?: CosPathInfo;
|
|
4189
4191
|
/**
|
|
4190
|
-
*
|
|
4192
|
+
* <p>任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数</p>
|
|
4191
4193
|
*/
|
|
4192
4194
|
StartCmdInfo?: StartCmdInfo;
|
|
4193
4195
|
/**
|
|
4194
|
-
*
|
|
4196
|
+
* <p>训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD</p>
|
|
4195
4197
|
*/
|
|
4196
4198
|
TrainingMode?: string;
|
|
4197
4199
|
/**
|
|
4198
|
-
*
|
|
4200
|
+
* <p>数据配置,依赖DataSource字段,数量不超过10个</p>
|
|
4199
4201
|
*/
|
|
4200
4202
|
DataConfigs?: Array<DataConfig>;
|
|
4201
4203
|
/**
|
|
4202
|
-
* VPC Id
|
|
4204
|
+
* <p>VPC Id</p>
|
|
4203
4205
|
*/
|
|
4204
4206
|
VpcId?: string;
|
|
4205
4207
|
/**
|
|
4206
|
-
*
|
|
4208
|
+
* <p>子网Id</p>
|
|
4207
4209
|
*/
|
|
4208
4210
|
SubnetId?: string;
|
|
4209
4211
|
/**
|
|
4210
|
-
* COS
|
|
4212
|
+
* <p>COS训练输出路径</p>
|
|
4211
4213
|
*/
|
|
4212
4214
|
Output?: CosPathInfo;
|
|
4213
4215
|
/**
|
|
4214
|
-
* CLS
|
|
4216
|
+
* <p>CLS日志配置</p>
|
|
4215
4217
|
*/
|
|
4216
4218
|
LogConfig?: LogConfig;
|
|
4217
4219
|
/**
|
|
4218
|
-
*
|
|
4220
|
+
* <p>调优参数,不超过2048个字符</p>
|
|
4219
4221
|
*/
|
|
4220
4222
|
TuningParameters?: string;
|
|
4221
4223
|
/**
|
|
4222
|
-
*
|
|
4224
|
+
* <p>是否上报日志</p>
|
|
4223
4225
|
*/
|
|
4224
4226
|
LogEnable?: boolean;
|
|
4225
4227
|
/**
|
|
4226
|
-
*
|
|
4228
|
+
* <p>备注,不超过1024个字符</p>
|
|
4227
4229
|
*/
|
|
4228
4230
|
Remark?: string;
|
|
4229
4231
|
/**
|
|
4230
|
-
*
|
|
4232
|
+
* <p>数据来源,eg:DATASET、COS、CFS、CFSTurbo、HDFS、GooseFSx</p>
|
|
4231
4233
|
*/
|
|
4232
4234
|
DataSource?: string;
|
|
4233
4235
|
/**
|
|
4234
|
-
*
|
|
4236
|
+
* <p>回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:<a href="https://cloud.tencent.com/document/product/851/84292">[TI-ONE接口回调说明]</a></p>
|
|
4235
4237
|
*/
|
|
4236
4238
|
CallbackUrl?: string;
|
|
4237
4239
|
/**
|
|
4238
|
-
*
|
|
4240
|
+
* <p>编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效</p>
|
|
4239
4241
|
*/
|
|
4240
4242
|
EncodedStartCmdInfo?: EncodedStartCmdInfo;
|
|
4241
4243
|
/**
|
|
4242
|
-
*
|
|
4244
|
+
* <p>代码仓库配置</p>
|
|
4243
4245
|
*/
|
|
4244
4246
|
CodeRepos?: Array<CodeRepoConfig>;
|
|
4245
4247
|
/**
|
|
4246
|
-
*
|
|
4248
|
+
* <p>网络暴露配置</p>
|
|
4247
4249
|
*/
|
|
4248
4250
|
ExposeNetworkConfig?: ExposeNetworkConfig;
|
|
4251
|
+
/**
|
|
4252
|
+
* <p>环境变量</p>
|
|
4253
|
+
*/
|
|
4254
|
+
Envs?: Array<EnvVar>;
|
|
4249
4255
|
}
|
|
4250
4256
|
/**
|
|
4251
4257
|
* 对话输入内容
|
|
@@ -6169,39 +6175,39 @@ export interface DeleteDatasetResponse {
|
|
|
6169
6175
|
*/
|
|
6170
6176
|
export interface MountLimitInfo {
|
|
6171
6177
|
/**
|
|
6172
|
-
*
|
|
6178
|
+
* <p>数据源类型英文名</p>
|
|
6173
6179
|
*/
|
|
6174
6180
|
Type?: string;
|
|
6175
6181
|
/**
|
|
6176
|
-
*
|
|
6182
|
+
* <p>数据源所属存储实例ID</p>
|
|
6177
6183
|
*/
|
|
6178
6184
|
StorageId?: string;
|
|
6179
6185
|
/**
|
|
6180
|
-
*
|
|
6186
|
+
* <p>数据源所属存储实例名称</p>
|
|
6181
6187
|
*/
|
|
6182
6188
|
StorageName?: string;
|
|
6183
6189
|
/**
|
|
6184
|
-
*
|
|
6190
|
+
* <p>限制开关是否开启,只有开启时才有限制</p>
|
|
6185
6191
|
*/
|
|
6186
6192
|
LimitMount?: boolean;
|
|
6187
6193
|
/**
|
|
6188
|
-
*
|
|
6194
|
+
* <p>创建者uin</p>
|
|
6189
6195
|
*/
|
|
6190
6196
|
Creator?: string;
|
|
6191
6197
|
/**
|
|
6192
|
-
*
|
|
6198
|
+
* <p>创建者名称</p>
|
|
6193
6199
|
*/
|
|
6194
6200
|
CreatorName?: string;
|
|
6195
6201
|
/**
|
|
6196
|
-
*
|
|
6202
|
+
* <p>创建时间, 格式为yyyy-mm-ddThh:mm:ssZ</p>
|
|
6197
6203
|
*/
|
|
6198
6204
|
CreateTime?: string;
|
|
6199
6205
|
/**
|
|
6200
|
-
*
|
|
6206
|
+
* <p>更新时间, 格式为yyyy-mm-ddThh:mm:ssZ</p>
|
|
6201
6207
|
*/
|
|
6202
6208
|
UpdateTime?: string;
|
|
6203
6209
|
/**
|
|
6204
|
-
*
|
|
6210
|
+
* <p>额外配置</p>
|
|
6205
6211
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6206
6212
|
*/
|
|
6207
6213
|
ExtraConf?: StorageExtraConf;
|
|
@@ -6781,59 +6787,59 @@ export interface ServiceCallInfoV2 {
|
|
|
6781
6787
|
*/
|
|
6782
6788
|
export interface DataSourceInfo {
|
|
6783
6789
|
/**
|
|
6784
|
-
*
|
|
6790
|
+
* <p>数据源ID</p>
|
|
6785
6791
|
*/
|
|
6786
6792
|
Id?: string;
|
|
6787
6793
|
/**
|
|
6788
|
-
*
|
|
6794
|
+
* <p>数据源名称</p>
|
|
6789
6795
|
*/
|
|
6790
6796
|
Name?: string;
|
|
6791
6797
|
/**
|
|
6792
|
-
*
|
|
6798
|
+
* <p>创建者uin</p>
|
|
6793
6799
|
*/
|
|
6794
6800
|
Creator?: string;
|
|
6795
6801
|
/**
|
|
6796
|
-
*
|
|
6802
|
+
* <p>创建者名称</p>
|
|
6797
6803
|
*/
|
|
6798
6804
|
CreatorName?: string;
|
|
6799
6805
|
/**
|
|
6800
|
-
*
|
|
6806
|
+
* <p>数据源类型英文名</p>
|
|
6801
6807
|
*/
|
|
6802
6808
|
Type?: string;
|
|
6803
6809
|
/**
|
|
6804
|
-
*
|
|
6810
|
+
* <p>数据源权限,取值有RW RO</p>
|
|
6805
6811
|
*/
|
|
6806
6812
|
Permission?: string;
|
|
6807
6813
|
/**
|
|
6808
|
-
*
|
|
6814
|
+
* <p>数据源所属存储实例ID</p>
|
|
6809
6815
|
*/
|
|
6810
6816
|
StorageId?: string;
|
|
6811
6817
|
/**
|
|
6812
|
-
*
|
|
6818
|
+
* <p>数据源所属存储实例名称</p>
|
|
6813
6819
|
*/
|
|
6814
6820
|
StorageName?: string;
|
|
6815
6821
|
/**
|
|
6816
|
-
*
|
|
6822
|
+
* <p>数据源挂载配置</p>
|
|
6817
6823
|
*/
|
|
6818
6824
|
MountConfigure?: MountConfigureInfo;
|
|
6819
6825
|
/**
|
|
6820
|
-
*
|
|
6826
|
+
* <p>创建时间, 格式为yyyy-mm-ddThh:mm:ssZ</p>
|
|
6821
6827
|
*/
|
|
6822
6828
|
CreateTime?: string;
|
|
6823
6829
|
/**
|
|
6824
|
-
*
|
|
6830
|
+
* <p>更新时间, 格式为yyyy-mm-ddThh:mm:ssZ</p>
|
|
6825
6831
|
*/
|
|
6826
6832
|
UpdateTime?: string;
|
|
6827
6833
|
/**
|
|
6828
|
-
*
|
|
6834
|
+
* <p>限制开关是否开启,只有开启时才有限制</p>
|
|
6829
6835
|
*/
|
|
6830
6836
|
LimitMount?: boolean;
|
|
6831
6837
|
/**
|
|
6832
|
-
*
|
|
6838
|
+
* <p>标签配置</p>
|
|
6833
6839
|
*/
|
|
6834
6840
|
Tags?: Array<Tag>;
|
|
6835
6841
|
/**
|
|
6836
|
-
*
|
|
6842
|
+
* <p>额外配置,对应存储实例的额外配置</p>
|
|
6837
6843
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6838
6844
|
*/
|
|
6839
6845
|
ExtraConf?: StorageExtraConf;
|