Class ForecastTimeframeType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ForecastTimeframeType>
com.azure.resourcemanager.costmanagement.models.ForecastTimeframeType

public final class ForecastTimeframeType extends com.azure.core.util.ExpandableStringEnum<ForecastTimeframeType>
The time frame for pulling data for the forecast. If custom, then a specific time period must be provided.
  • Field Details

    • MONTH_TO_DATE

      public static final ForecastTimeframeType MONTH_TO_DATE
      Static value MonthToDate for ForecastTimeframeType.
    • BILLING_MONTH_TO_DATE

      public static final ForecastTimeframeType BILLING_MONTH_TO_DATE
      Static value BillingMonthToDate for ForecastTimeframeType.
    • THE_LAST_MONTH

      public static final ForecastTimeframeType THE_LAST_MONTH
      Static value TheLastMonth for ForecastTimeframeType.
    • THE_LAST_BILLING_MONTH

      public static final ForecastTimeframeType THE_LAST_BILLING_MONTH
      Static value TheLastBillingMonth for ForecastTimeframeType.
    • WEEK_TO_DATE

      public static final ForecastTimeframeType WEEK_TO_DATE
      Static value WeekToDate for ForecastTimeframeType.
    • CUSTOM

      public static final ForecastTimeframeType CUSTOM
      Static value Custom for ForecastTimeframeType.
  • Constructor Details

    • ForecastTimeframeType

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

    • fromString

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

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