ContainerPropertiesInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerPropertiesInstanceView
- com.
Implements
public final class ContainerPropertiesInstanceView
implements JsonSerializable<ContainerPropertiesInstanceView>
The instance view of the container instance. Only valid in response.
Constructor | Description |
---|---|
Container |
Creates an instance of Container |
Modifier and Type | Method and Description |
---|---|
Container |
current Get the current |
List<Event> |
events()
Get the events property: The events of the container instance. |
static
Container |
from Reads an instance of Container |
Container |
previous Get the previous |
Integer |
restart Get the restart |
Json |
to |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
ContainerPropertiesInstanceView
public ContainerPropertiesInstanceView()
Creates an instance of ContainerPropertiesInstanceView class.
currentState
public ContainerState currentState()
Get the currentState property: Current container instance state.
Returns:
events
public List
Get the events property: The events of the container instance.
Returns:
fromJson
public static ContainerPropertiesInstanceView fromJson(JsonReader jsonReader)
Reads an instance of ContainerPropertiesInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
previousState
public ContainerState previousState()
Get the previousState property: Previous container instance state.
Returns:
restartCount
public Integer restartCount()
Get the restartCount property: The number of times that the container instance has been restarted.
Returns:
toJson
validate
public void validate()
Validates the instance.
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: