Class ContainerPropertiesInstanceView

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

public class ContainerPropertiesInstanceView extends Object
The instance view of the container instance. Only valid in response.
  • Constructor Details

    • ContainerPropertiesInstanceView

      public ContainerPropertiesInstanceView()
  • Method Details

    • restartCount

      public Integer restartCount()
      Get the number of times that the container instance has been restarted.
      Returns:
      the restartCount value
    • currentState

      public ContainerState currentState()
      Get current container instance state.
      Returns:
      the currentState value
    • previousState

      public ContainerState previousState()
      Get previous container instance state.
      Returns:
      the previousState value
    • events

      public List<Event> events()
      Get the events of the container instance.
      Returns:
      the events value