BatchTaskContainerExecutionInfo Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskContainerExecutionInfo
- com.
Implements
public final class BatchTaskContainerExecutionInfo
implements JsonSerializable<BatchTaskContainerExecutionInfo>
Contains information about the container which a Task is executing.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| String |
getContainerId()
Get the container |
| String |
getError()
Get the error property: Detailed error information about the container. |
| String |
getState()
Get the state property: The state of the container. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchTaskContainerExecutionInfo fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskContainerExecutionInfo from the JsonReader.
Parameters:
Returns:
Throws:
getContainerId
public String getContainerId()
Get the containerId property: The ID of the container.
Returns:
getError
public String getError()
Get the error property: Detailed error information about the container. This is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by "docker inspect".
Returns:
getState
public String getState()
Get the state property: The state of the container. This is the state of the container according to the Docker service. It is equivalent to the status field returned by "docker inspect".
Returns: