Description
Obtains information about a job.
Request syntax
GET /jobs/{Id}
Attribute description
Attribute |
Type |
Required |
Description |
Id |
string |
Yes |
ID of a job. |
Response
Success
The 200 status code and the following job status information are returned:
{
"Name": "demoJob",
"Id": "job-0000000058184218000008150000000D",
"OwnerId": 123456,
"CreationTime": "2016-11-01T15:25:02.837728Z",
"State": "Running",
"Message": "",
"StartTime": "2016-11-01T15:25:03.837728Z",
"EndTime": "2016-11-01T15:25:16.827737Z",
"TaskMetrics": {
"WaitingCount": 0,
"RunningCount": 1,
"FinishedCount": 0,
"FailedCount": 0,
"StoppedCount": 0
},
"InstanceMetrics": {
"WaitingCount": 0,
"RunningCount": 1,
"FinishedCount": 0,
"FailedCount": 0,
"StoppedCount": 0
}
}
Attribute description
Attribute |
Type |
Required or Not |
Description |
Name |
string |
Yes |
Name of a job. |
Id |
string |
Yes |
ID of a job. |
OwnerId |
int |
Yes |
ID of a job owner. |
CreationTime |
string |
Yes |
Time of the creation. |
State |
String |
Yes |
State of a job. |
Message |
string |
Yes |
Error message. |
StartTime |
string |
Yes |
Start time of a job. |
EndTime |
string |
Yes |
End time of a job. |
TaskMetrics |
object |
Yes |
Details about task metrics. For more information, see TaskMetrics. |
InstanceMetrics |
object |
Yes |
Details about instance metrics. For more information, see InstanceMetrics. |
Error codes
Error code |
Error message |
Status code |
Syntax |
InvalidResource.NotFound |
Specified resource is not found. |
404 |
The user requested resource does not exist. |