Class ViewChargesPolicy

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ViewChargesPolicy>
com.azure.resourcemanager.billing.models.ViewChargesPolicy

public final class ViewChargesPolicy extends com.azure.core.util.ExpandableStringEnum<ViewChargesPolicy>
The policy that controls whether users with Azure RBAC access to a subscription can view its charges.
  • Field Details

    • ALLOWED

      public static final ViewChargesPolicy ALLOWED
      Static value Allowed for ViewChargesPolicy.
    • NOT_ALLOWED

      public static final ViewChargesPolicy NOT_ALLOWED
      Static value NotAllowed for ViewChargesPolicy.
  • Constructor Details

    • ViewChargesPolicy

      @Deprecated public ViewChargesPolicy()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ViewChargesPolicy value.
  • Method Details

    • fromString

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

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