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>

public final class AutoUserScope extends com.azure.core.util.ExpandableStringEnum<AutoUserScope>
AutoUserScope enums.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a AutoUserScope from its string representation.
    Gets known AutoUserScope values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • TASK

      public static final AutoUserScope TASK
      Specifies that the service should create a new user for the Task.
    • POOL

      public static final AutoUserScope 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 public AutoUserScope()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AutoUserScope value.
  • Method Details

    • fromString

      public static AutoUserScope fromString(String name)
      Creates or finds a AutoUserScope from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AutoUserScope.
    • values

      public static Collection<AutoUserScope> values()
      Gets known AutoUserScope values.
      Returns:
      known AutoUserScope values.