java.lang.Object
com.azure.core.util.ExpandableStringEnum<Origin>
com.azure.resourcemanager.costmanagement.models.Origin

public final class Origin extends com.azure.core.util.ExpandableStringEnum<Origin>
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system".
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Origin
    Static value system for Origin.
    static final Origin
    Static value user for Origin.
    static final Origin
    Static value user,system for Origin.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

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

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

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • USER

      public static final Origin USER
      Static value user for Origin.
    • SYSTEM

      public static final Origin SYSTEM
      Static value system for Origin.
    • USER_SYSTEM

      public static final Origin USER_SYSTEM
      Static value user,system for Origin.
  • Constructor Details

  • Method Details

    • fromString

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

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