ViewChargesPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. ViewChargesPolicy
- com.
- com.
public final class ViewChargesPolicy
extends ExpandableStringEnum<ViewChargesPolicy>
The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
View |
ALLOWED
Static value Allowed for View |
|
static final
View |
NOT_ALLOWED
Static value Not |
|
static final
View |
OTHER
Static value Other for View |
Constructor Summary
| Constructor | Description |
|---|---|
| ViewChargesPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of View |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
View |
fromString(String name)
Creates or finds a View |
|
static
Collection<View |
values()
Gets known View |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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.
OTHER
public static final ViewChargesPolicy OTHER
Static value Other for ViewChargesPolicy.
Constructor Details
ViewChargesPolicy
@Deprecated
public ViewChargesPolicy()
Deprecated
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:
Returns:
values
public static Collection<ViewChargesPolicy> values()
Gets known ViewChargesPolicy values.
Returns: