Class ContainerGroupRestartPolicy
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<ContainerGroupRestartPolicy>
com.microsoft.azure.management.containerinstance.ContainerGroupRestartPolicy
public final class ContainerGroupRestartPolicy
extends com.microsoft.rest.ExpandableStringEnum<ContainerGroupRestartPolicy>
Defines values for ContainerGroupRestartPolicy.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContainerGroupRestartPolicy
Static value Always for ContainerGroupRestartPolicy.static final ContainerGroupRestartPolicy
Static value Never for ContainerGroupRestartPolicy.static final ContainerGroupRestartPolicy
Static value OnFailure for ContainerGroupRestartPolicy. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContainerGroupRestartPolicy
fromString
(String name) Creates or finds a ContainerGroupRestartPolicy from its string representation.values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
ALWAYS
Static value Always for ContainerGroupRestartPolicy. -
ON_FAILURE
Static value OnFailure for ContainerGroupRestartPolicy. -
NEVER
Static value Never for ContainerGroupRestartPolicy.
-
-
Constructor Details
-
ContainerGroupRestartPolicy
public ContainerGroupRestartPolicy()
-
-
Method Details
-
fromString
Creates or finds a ContainerGroupRestartPolicy from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding ContainerGroupRestartPolicy
-
values
- Returns:
- known ContainerGroupRestartPolicy values
-