|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The job details. |
||
| JobId |
string |
The job ID. |
dlc-20210126170216-******** |
| CredentialConfig | CredentialConfig |
The access credential configuration associated with the job. |
|
| JobType |
string |
The job type. Valid values: |
TFJob |
| DisplayName |
string |
The job name. |
tf-mnist-test |
| UserVpc |
object |
The user VPC. |
vpc-1 |
| VpcId |
string |
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 to connect. |
|
|
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 |
| UserId |
string |
The UID of the user who owns the job. |
123456789 |
| Username |
string |
The username of the job submitter. |
pai-dlc-role |
| Status |
string |
The job status. Valid values: |
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 in which the job runs. |
dlc-quota |
| ResourceLevel |
string |
The resource level of the job at runtime. |
L0 |
| ReasonCode |
string |
The reason code for the job entering its current status. Valid values: |
JobStoppedByUser |
| ReasonMessage |
string |
The detailed description of the reason for the job entering its current status. |
Job is stopped by user. |
| JobSpecs |
array |
The node configurations for the job at runtime. |
|
| JobSpec |
The node configuration. |
||
| UserCommand |
string |
The startup command that runs on each node of the job. |
python /root/code/mnist.py |
| DataSources |
array |
The list of all datasource configs used by this job. |
|
|
object |
The data source list. |
||
| DataSourceId |
string |
The datasource config ID. |
data-20210114104214-******** |
| MountPath |
string |
The local mount path of the data source. |
/mnt/data |
| CodeSource |
object |
The code source configuration used by this job. |
|
| CodeSourceId |
string |
The code source configuration ID. |
code-20210111103721-******** |
| Branch |
string |
The code repository branch. |
master |
| Commit |
string |
The commit ID of the code repository used by this job. |
44da109b59f8596152987eaa8f3b2487bb****** |
| MountPath |
string |
The local mount path of the code. |
/mnt/data |
| ThirdpartyLibs |
array |
The list of third-party Python libraries installed before the job runs. |
|
|
string |
A third-party Python library. |
numpy==1.16.1 |
|
| NodeNames |
array |
The node names. |
|
|
string |
The node names. |
i-a |
|
| ThirdpartyLibDir |
string |
The directory where the third-party library file requirements.txt is located. |
/root/code/ |
| Envs |
object |
The environment variables injected into the job at 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 job creation time in UTC format. |
2025-04-16T07:25:34Z |
| GmtSubmittedTime |
string |
The job submission time in UTC format. |
2025-04-16T07:26:14Z |
| GmtRunningTime |
string |
The time when the job started running in UTC format. |
2025-04-16T07:26:41Z |
| GmtSuccessedTime |
string |
The time when the job completed successfully in UTC format. |
2025-04-16T07:28:20Z |
| GmtStoppedTime |
string |
The time when the job was stopped (UTC). |
null |
| GmtFailedTime |
string |
The time when the job failed (UTC). |
null |
| GmtFinishTime |
string |
The time when the job finished (UTC). |
2025-04-16T07:28:20Z |
| GmtModifiedTime |
string |
The time when the job was modified (UTC). |
2025-04-16T07:28:22Z |
| Duration |
integer |
The job running duration, in seconds. |
243 |
| JobMaxRunningTimeMinutes |
integer |
The maximum job running duration. |
0 |
| Settings | JobSettings |
The additional parameters of 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 directory. |
/mnt/data |
| UserScript |
string |
The user script. |
ls |
| RestartTimes |
string |
The number of times the job has been 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 nodes. |
1 |
| Priority |
integer |
The job priority. |
1 |
| SubStatus |
string |
The job sub-status, such as preemption retry status. |
Restarting |
| UseOversoldResource |
boolean |
Indicates whether the job uses idle resources. |
false |
| ResourceType |
string |
The resource type. Valid values: 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 job status transition information. |
|
| StatusTransitionItem |
The job status transition entry. |
||
| ElasticSpec | JobElasticSpec |
The elastic job parameters. |
|
| Pods |
array |
Pods。 |
|
| PodItem |
The details of the pod. |
||
| TemplateId |
string |
||
| TemplateName |
string |
||
| JobReplicaStatuses |
array |
||
| JobReplicaStatus | |||
| SchedulingStrategy |
string |
||
| RetryCount |
integer |
||
| supportedProfilingTypes |
string |
sysom |