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 Summary
Modifier and TypeFieldDescriptionstatic final ViewChargesPolicy
Static value Allowed for ViewChargesPolicy.static final ViewChargesPolicy
Static value NotAllowed for ViewChargesPolicy. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ViewChargesPolicy
fromString
(String name) Creates or finds a ViewChargesPolicy from its string representation.static Collection<ViewChargesPolicy>
values()
Gets known ViewChargesPolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ALLOWED
Static value Allowed for ViewChargesPolicy. -
NOT_ALLOWED
Static value NotAllowed for ViewChargesPolicy.
-
-
Constructor Details
-
ViewChargesPolicy
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ViewChargesPolicy value.
-
-
Method Details
-
fromString
Creates or finds a ViewChargesPolicy from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ViewChargesPolicy.
-
values
Gets known ViewChargesPolicy values.- Returns:
- known ViewChargesPolicy values.
-
fromString(String)
factory method.