Class ContainerState

java.lang.Object
com.microsoft.azure.management.containerinstance.ContainerState

public class ContainerState extends Object
The container instance state.
  • Constructor Details

    • ContainerState

      public ContainerState()
  • Method Details

    • state

      public String 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

      public Integer 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

      public String detailStatus()
      Get the human-readable status of the container instance state.
      Returns:
      the detailStatus value