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

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

    • MONTH_TO_DATE

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

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

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

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

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

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

    • TimeframeType

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

    • fromString

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

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