Package com.azure.compute.batch.models
Class AutoUserScope
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AutoUserScope>
com.azure.compute.batch.models.AutoUserScope
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
AutoUserScope enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AutoUserScope
Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool.static final AutoUserScope
Specifies that the service should create a new user for the Task. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoUserScope
fromString
(String name) Creates or finds a AutoUserScope from its string representation.static Collection
<AutoUserScope> values()
Gets known AutoUserScope values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TASK
Specifies that the service should create a new user for the Task. -
POOL
Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool.
-
-
Constructor Details
-
AutoUserScope
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AutoUserScope value.
-
-
Method Details
-
fromString
Creates or finds a AutoUserScope from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AutoUserScope.
-
values
Gets known AutoUserScope values.- Returns:
- known AutoUserScope values.
-
fromString(String)
factory method.