Class InitContainerPropertiesDefinitionInstanceView
java.lang.Object
com.azure.resourcemanager.containerinstance.models.InitContainerPropertiesDefinitionInstanceView
The instance view of the init container. Only valid in response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of InitContainerPropertiesDefinitionInstanceView class. -
Method Summary
Modifier and TypeMethodDescriptionGet the currentState property: The current state of the init container.events()Get the events property: The events of the init container.Get the previousState property: The previous state of the init container.Get the restartCount property: The number of times that the init container has been restarted.voidvalidate()Validates the instance.
-
Constructor Details
-
InitContainerPropertiesDefinitionInstanceView
public InitContainerPropertiesDefinitionInstanceView()Creates an instance of InitContainerPropertiesDefinitionInstanceView class.
-
-
Method Details
-
restartCount
Get the restartCount property: The number of times that the init container has been restarted.- Returns:
- the restartCount value.
-
currentState
Get the currentState property: The current state of the init container.- Returns:
- the currentState value.
-
previousState
Get the previousState property: The previous state of the init container.- Returns:
- the previousState value.
-
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.
-