Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -1079,12 +1079,75 @@
"template": {
"description": "Job's execution container.",
"$ref": "#/definitions/JobExecutionTemplate"
},
"detailedStatus": {
"description": "Detailed status of the job execution.",
"$ref": "#/definitions/ExecutionStatus"
}
},
"x-ms-client-flatten": true
}
}
},
"ExecutionStatus": {
"description": "Container Apps Job execution status.",
"type": "object",
"properties": {
"replicas": {
"description": "Replicas in the execution.",
"type": "array",
"items": {
"$ref": "#/definitions/ReplicaExecutionStatus"
},
"x-ms-identifiers": [
"name"
]
}
}
},
"ReplicaExecutionStatus": {
"description": "Container Apps Job execution replica status.",
"type": "object",
"properties": {
"name": {
"description": "Replica Name.",
"type": "string"
},
"containers": {
"description": "Containers in the execution replica",
"type": "array",
"items": {
"$ref": "#/definitions/ContainerExecutionStatus"
},
"x-ms-identifiers": [
"name"
]
}
}
},
"ContainerExecutionStatus": {
"description": "Container Apps Job execution container status. Contains status code and reason",
"type": "object",
"properties": {
"name": {
"description": "Container Name.",
"type": "string"
},
"code": {
"description": "Exit code",
"type": "integer",
"format": "int32"
},
"additionalInformation": {
"description": "Additional information for the container status",
"type": "string"
},
"status": {
"description": "Status of the container",
"type": "string"
}
}
},
"ContainerAppJobExecutions": {
"description": "Container App executions collection ARM resource.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,27 @@
"status": "Running",
"startTime": "2023-02-13T20:37:30+00:00",
"endTime": "2023-02-13T20:47:30+00:00",
"detailedStatus": {
"replicas": [
{
"name": "testcontainerappsjob0-0",
"containers": [
{
"name": "container1",
"code": 0,
"additionalInformation": "Completed",
"status": "Succeeded"
},
{
"name": "container2",
"code": 0,
"additionalInformation": "Completed",
"status": "Succeeded"
}
]
}
]
},
"template": {
"containers": [
{
Expand Down