Cancellation Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. Cancellation
- com.
- com.
public final class Cancellation
extends ExpandableStringEnum<Cancellation>
The policy override for the subscription indicates whether the self-serve cancellation or seat reduction is allowed.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Cancellation |
ALLOWED
Static value Allowed for Cancellation. |
| static final Cancellation |
NOT_ALLOWED
Static value Not |
Constructor Summary
| Constructor | Description |
|---|---|
| Cancellation() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Cancellation value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Cancellation |
fromString(String name)
Creates or finds a Cancellation from its string representation. |
| static Collection<Cancellation> |
values()
Gets known Cancellation values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOWED
public static final Cancellation ALLOWED
Static value Allowed for Cancellation.
NOT_ALLOWED
public static final Cancellation NOT_ALLOWED
Static value NotAllowed for Cancellation.
Constructor Details
Cancellation
@Deprecated
public Cancellation()
Deprecated
Creates a new instance of Cancellation value.
Method Details
fromString
public static Cancellation fromString(String name)
Creates or finds a Cancellation from its string representation.
Parameters:
Returns:
values
public static Collection<Cancellation> values()
Gets known Cancellation values.
Returns: