java.lang.Object
com.azure.core.util.ExpandableStringEnum<BillingPlan>
com.azure.resourcemanager.reservations.models.BillingPlan
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class BillingPlan extends com.azure.core.util.ExpandableStringEnum<BillingPlan>
Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BillingPlan
    Static value P1M for BillingPlan.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a BillingPlan from its string representation.
    Gets known BillingPlan values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • P1M

      public static final BillingPlan P1M
      Static value P1M for BillingPlan.
  • Constructor Details

    • BillingPlan

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

    • fromString

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

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