InitContainerPropertiesDefinitionInstanceView Class
- java.
lang. Object - com.
microsoft. azure. management. containerinstance. InitContainerPropertiesDefinitionInstanceView
- com.
public class InitContainerPropertiesDefinitionInstanceView
The instance view of the init container. Only valid in response.
Constructor Summary
Constructor | Description | |
---|---|---|
InitContainerPropertiesDefinitionInstanceView() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Container |
currentState()
Get the current state of the init container. |
java.util.List<Event> |
events()
Get the events of the init container. |
Container |
previousState()
Get the previous state of the init container. |
java.lang.Integer |
restartCount()
Get the number of times that the init container has been restarted. |
Methods inherited from java.lang.Object
Constructor Details
InitContainerPropertiesDefinitionInstanceView
public InitContainerPropertiesDefinitionInstanceView()
Method Details
currentState
public ContainerState currentState()
Get the current state of the init container.
Returns:
events
public List
Get the events of the init container.
Returns:
previousState
public ContainerState previousState()
Get the previous state of the init container.
Returns:
restartCount
public Integer restartCount()
Get the number of times that the init container has been restarted.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for