|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The details of the job. |
||
| JobId |
string |
The job ID. |
dlc-20210126170216-******** |
| CredentialConfig |
CredentialConfig |
The access credential configuration for the job. |
|
| JobType |
string |
The job type. Valid values: - TFJob - PyTorchJob - MPIJob - XGBoostJob - OneFlowJob - ElasticBatchJob - RayJob - SlurmJob |
TFJob |
| DisplayName |
string |
The job name. |
tf-mnist-test |
| UserVpc |
object |
The VPC of the user. |
vpc-1 |
| VpcId |
string |
The VPC ID. |
vpc-2zed*** |
| SwitchId |
string |
The vSwitch ID. |
vsw-2ze6*** |
| SecurityGroupId |
string |
The security group ID. |
sg-2zeef*** |
| ExtendedCidrs |
array |
The extended CIDR blocks that are accessible. |
|
|
string |
The CIDR block of the network segment, such as 10.2.0.0/16. |
10.2.0.0/16 |
|
| DefaultRoute |
string |
The default route. Valid values: - eth0: The default network interface controller (NIC) is used to access the external network through a public gateway. - eth1: The user's Elastic Network Interface (ENI) is used to access the external network through a private gateway. |
eth0 |
| UserId |
string |
The UID of the user who owns the job. |
123456789 |
| Username |
string |
The username of the user who submitted the job. |
pai-dlc-role |
| Status |
string |
The job status. Valid values: - Succeeded - Failed |
Stopped |
| WorkspaceId |
string |
The ID of the workspace to which the job belongs. |
268 |
| WorkspaceName |
string |
The name of the workspace to which the job belongs. |
dlc-workspace |
| ResourceId |
string |
The ID of the resource group where the job runs. |
dlc-quota |
| ResourceLevel |
string |
The resource level at which the job runs. |
L0 |
| ReasonCode |
string |
The code for the reason why the job is in the current state. Valid values: - InvalidParameter - JobSucceeded - JobStoppedByUser |
JobStoppedByUser |
| ReasonMessage |
string |
The detailed description of the reason why the job is in the current state. |
Job is stopped by user. |
| JobSpecs |
array |
The node configurations for the job runtime. |
|
| JobSpec |
The node configuration. |
||
| UserCommand |
string |
The start command that runs on each node of the job. |
python /root/code/mnist.py |
| DataSources |
array |
A list of all data source configurations that are used by the job. |
|
|
object |
A list of data sources. |
||
| DataSourceId |
string |
The data source configuration ID. |
data-20210114104214-******** |
| MountPath |
string |
The local mount path for the data source. |
/mnt/data |
| CodeSource |
object |
The code source configuration that is used by the job. |
|
| CodeSourceId |
string |
The code source configuration ID. |
code-20210111103721-******** |
| Branch |
string |
The branch of the code repository. |
master |
| Commit |
string |
The commit ID of the code repository used for this job. |
44da109b59f8596152987eaa8f3b2487bb****** |
| MountPath |
string |
The local mount path for the code. |
/mnt/data |
| ThirdpartyLibs |
array |
A list of third-party Python libraries to install before the job runs. |
|
|
string |
A third-party Python library. |
numpy==1.16.1 |
|
| NodeNames |
array |
The node names. |
|
|
string |
The node name. |
i-a |
|
| ThirdpartyLibDir |
string |
The directory that contains the Requirements.txt file for third-party libraries. |
/root/code/ |
| Envs |
object |
The environment variables that are injected at job runtime. |
|
|
string |
The key and value of the environment variable. |
ENABLE_DEBUG_MODE |
|
| SystemEnvs |
object |
The system environment variable configuration. |
|
|
string |
The system environment variable configuration. |
ENABLE_DEBUG_MODE |
|
| GmtCreateTime |
string |
The time when the job was created. The time is in UTC format. |
2025-04-16T07:25:34Z |
| GmtSubmittedTime |
string |
The time when the job was submitted, in UTC. |
2025-04-16T07:26:14Z |
| GmtRunningTime |
string |
The time when the job started to run, in UTC. |
2025-04-16T07:26:41Z |
| GmtSuccessedTime |
string |
The time when the job was successfully completed, in UTC. |
2025-04-16T07:28:20Z |
| GmtStoppedTime |
string |
The time when the job was stopped, in UTC. |
null |
| GmtFailedTime |
string |
The time when the job failed, in UTC. |
null |
| GmtFinishTime |
string |
The time when the job ended, in UTC. |
2025-04-16T07:28:20Z |
| GmtModifiedTime |
string |
The time when the job was last modified, in UTC. |
2025-04-16T07:28:22Z |
| Duration |
integer |
The runtime of the job, in seconds. |
243 |
| JobMaxRunningTimeMinutes |
integer |
The maximum runtime of the job. |
0 |
| Settings | JobSettings |
The extra parameters for the job. |
|
| EnabledDebugger |
boolean |
Indicates whether Debugger analysis is enabled. |
false |
| IsDeleted |
boolean |
Indicates whether the job is deleted. |
false |
| EnablePreemptibleJob |
boolean |
Indicates whether PreemptibleJob is enabled. |
false |
| ResourceName |
string |
The name of the resource on which the job runs. |
my_resource_group |
| WorkingDir |
string |
The working path. |
/mnt/data |
| UserScript |
string |
The user script. |
ls |
| RestartTimes |
string |
The number of times the job was restarted. |
1 |
| RequestCPU |
integer |
The requested CPU resources. |
1 |
| RequestMemory |
string |
The requested memory resources. |
1Gi |
| ResourceQuotaName |
string |
The resource name. |
test |
| RequestGPU |
string |
The requested GPU resources. |
1 |
| NodeCount |
string |
The number of worker nodes. |
1 |
| Priority |
integer |
The priority of the job. |
1 |
| SubStatus |
string |
The substatus of the job, such as the preemption retry status. |
Restarting |
| UseOversoldResource |
boolean |
Indicates whether the job uses oversold resources. |
false |
| ResourceType |
string |
The resource type. Valid values include ECS, Lingjun, and ACS. |
ECS |
| Accessibility |
string |
The visibility. |
PUBLIC |
| ClusterId |
string |
The cluster ID. |
****1316721349**** |
| TenantId |
string |
The tenant ID. |
****93955616**** |
| StatusHistory |
array |
The status transition history of the job. |
|
|
StatusTransitionItem |
An entry in the status transition history of the job. |
||
| ElasticSpec |
JobElasticSpec |
The parameters for the elastic job. |
|
| Pods |
array |
The pods. |
|
|
PodItem |
The details of the pod. |
||
| TemplateId |
string |
||
| TemplateName |
string |
||
| JobReplicaStatuses |
array |
||
|
JobReplicaStatus |