Class InitContainerPropertiesDefinitionInstanceView

java.lang.Object
com.azure.resourcemanager.containerinstance.models.InitContainerPropertiesDefinitionInstanceView

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

    • InitContainerPropertiesDefinitionInstanceView

      public InitContainerPropertiesDefinitionInstanceView()
  • Method Details

    • restartCount

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

      public ContainerState currentState()
      Get the currentState property: The current state of the init container.
      Returns:
      the currentState value.
    • previousState

      public ContainerState previousState()
      Get the previousState property: The previous state of the init container.
      Returns:
      the previousState value.
    • events

      public List<Event> events()
      Get the events property: The events of the init container.
      Returns:
      the events value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.