InitContainerPropertiesDefinitionInstanceView Class

  • java.lang.Object
    • com.microsoft.azure.management.containerinstance.InitContainerPropertiesDefinitionInstanceView

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
ContainerState currentState()

Get the current state of the init container.

java.util.List<Event> events()

Get the events of the init container.

ContainerState 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

InitContainerPropertiesDefinitionInstanceView

public InitContainerPropertiesDefinitionInstanceView()

Method Details

currentState

public ContainerState currentState()

Get the current state of the init container.

Returns:

the currentState value

events

public List events()

Get the events of the init container.

Returns:

the events value

previousState

public ContainerState previousState()

Get the previous state of the init container.

Returns:

the previousState value

restartCount

public Integer restartCount()

Get the number of times that the init container has been restarted.

Returns:

the restartCount value

Applies to