Class ContainerState
java.lang.Object
com.microsoft.azure.management.containerinstance.ContainerState
The container instance state.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the human-readable status of the container instance state.exitCode()
Get the container instance exit codes correspond to those from the `docker run` command.org.joda.time.DateTime
Get the date-time when the container instance state finished.org.joda.time.DateTime
Get the date-time when the container instance state started.state()
Get the state of the container instance.
-
Constructor Details
-
ContainerState
public ContainerState()
-
-
Method Details
-
state
Get the state of the container instance.- Returns:
- the state value
-
startTime
public org.joda.time.DateTime startTime()Get the date-time when the container instance state started.- Returns:
- the startTime value
-
exitCode
Get the container instance exit codes correspond to those from the `docker run` command.- Returns:
- the exitCode value
-
finishTime
public org.joda.time.DateTime finishTime()Get the date-time when the container instance state finished.- Returns:
- the finishTime value
-
detailStatus
Get the human-readable status of the container instance state.- Returns:
- the detailStatus value
-