public class CreateJobRequest extends AbstractModel
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getArgs()
获取任务启动参数
|
String |
getCluster()
获取运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)
|
String[] |
getCommand()
获取任务启动命令
|
Boolean |
getDebug()
获取启动 debug 模式,默认为 false
|
String |
getMasterType()
获取Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
String |
getName()
获取任务名称
|
String[] |
getPackageDir()
获取挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持
|
Integer |
getParameterServerCount()
获取Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
String |
getParameterServerType()
获取Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
String[] |
getRuntimeConf()
获取运行任务的其他配置信息
|
String |
getRuntimeVersion()
获取运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)
|
String |
getScaleTier()
获取运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
Integer |
getWorkerCount()
获取Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
String |
getWorkerType()
获取Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
setArgs(String[] Args)
设置任务启动参数
|
void |
setCluster(String Cluster)
设置运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)
|
void |
setCommand(String[] Command)
设置任务启动命令
|
void |
setDebug(Boolean Debug)
设置启动 debug 模式,默认为 false
|
void |
setMasterType(String MasterType)
设置Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
setName(String Name)
设置任务名称
|
void |
setPackageDir(String[] PackageDir)
设置挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持
|
void |
setParameterServerCount(Integer ParameterServerCount)
设置Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
setParameterServerType(String ParameterServerType)
设置Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
setRuntimeConf(String[] RuntimeConf)
设置运行任务的其他配置信息
|
void |
setRuntimeVersion(String RuntimeVersion)
设置运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)
|
void |
setScaleTier(String ScaleTier)
设置运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
setWorkerCount(Integer WorkerCount)
设置Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
setWorkerType(String WorkerType)
设置Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getName()
public void setName(String Name)
Name
- 任务名称public String getCluster()
public void setCluster(String Cluster)
Cluster
- 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)public String getRuntimeVersion()
public void setRuntimeVersion(String RuntimeVersion)
RuntimeVersion
- 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)public String[] getPackageDir()
public void setPackageDir(String[] PackageDir)
PackageDir
- 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持public String[] getCommand()
public void setCommand(String[] Command)
Command
- 任务启动命令public String[] getArgs()
public void setArgs(String[] Args)
Args
- 任务启动参数public String getScaleTier()
public void setScaleTier(String ScaleTier)
ScaleTier
- 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)public String getMasterType()
public void setMasterType(String MasterType)
MasterType
- Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)public String getWorkerType()
public void setWorkerType(String WorkerType)
WorkerType
- Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)public String getParameterServerType()
public void setParameterServerType(String ParameterServerType)
ParameterServerType
- Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)public Integer getWorkerCount()
public void setWorkerCount(Integer WorkerCount)
WorkerCount
- Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)public Integer getParameterServerCount()
public void setParameterServerCount(Integer ParameterServerCount)
ParameterServerCount
- Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)public Boolean getDebug()
public void setDebug(Boolean Debug)
Debug
- 启动 debug 模式,默认为 falsepublic String[] getRuntimeConf()
public void setRuntimeConf(String[] RuntimeConf)
RuntimeConf
- 运行任务的其他配置信息Copyright © 2019. All rights reserved.