Class ContainerState
java.lang.Object
com.azure.resourcemanager.containerinstance.models.ContainerState
The container instance state.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the detailStatus property: The human-readable status of the container instance state.exitCode()Get the exitCode property: The container instance exit codes correspond to those from the `docker run` command.Get the finishTime property: The date-time when the container instance state finished.Get the startTime property: The date-time when the container instance state started.state()Get the state property: The state of the container instance.voidvalidate()Validates the instance.
-
Constructor Details
-
ContainerState
public ContainerState()Creates an instance of ContainerState class.
-
-
Method Details
-
state
Get the state property: The state of the container instance.- Returns:
- the state value.
-
startTime
Get the startTime property: The date-time when the container instance state started.- Returns:
- the startTime value.
-
exitCode
Get the exitCode property: The container instance exit codes correspond to those from the `docker run` command.- Returns:
- the exitCode value.
-
finishTime
Get the finishTime property: The date-time when the container instance state finished.- Returns:
- the finishTime value.
-
detailStatus
Get the detailStatus property: The human-readable status of the container instance state.- Returns:
- the detailStatus value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-