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 Summary
Constructors Constructor Description InitContainerPropertiesDefinitionInstanceView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerStatecurrentState()Get the currentState property: The current state of the init container.List<Event>events()Get the events property: The events of the init container.ContainerStatepreviousState()Get the previousState property: The previous state of the init container.IntegerrestartCount()Get the restartCount property: The number of times that the init container has been restarted.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
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.
-
-