Class ReservationBillingPlan
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ReservationBillingPlan>
com.azure.resourcemanager.reservations.models.ReservationBillingPlan
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ReservationBillingPlan
extends com.azure.core.util.ExpandableStringEnum<ReservationBillingPlan>
Represent the billing plans.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReservationBillingPlan
Static value Monthly for ReservationBillingPlan.static final ReservationBillingPlan
Static value Upfront for ReservationBillingPlan. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReservationBillingPlan
fromString
(String name) Creates or finds a ReservationBillingPlan from its string representation.static Collection
<ReservationBillingPlan> values()
Gets known ReservationBillingPlan values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UPFRONT
Static value Upfront for ReservationBillingPlan. -
MONTHLY
Static value Monthly for ReservationBillingPlan.
-
-
Constructor Details
-
ReservationBillingPlan
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ReservationBillingPlan value.
-
-
Method Details
-
fromString
Creates or finds a ReservationBillingPlan from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ReservationBillingPlan.
-
values
Gets known ReservationBillingPlan values.- Returns:
- known ReservationBillingPlan values.
-
fromString(String)
factory method.