Class TimeframeType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TimeframeType>
com.azure.resourcemanager.costmanagement.models.TimeframeType
The time frame for pulling data for the query. If custom, then a specific time period must be provided.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TimeframeType
Static value BillingMonthToDate for TimeframeType.static final TimeframeType
Static value Custom for TimeframeType.static final TimeframeType
Static value MonthToDate for TimeframeType.static final TimeframeType
Static value TheLastBillingMonth for TimeframeType.static final TimeframeType
Static value TheLastMonth for TimeframeType.static final TimeframeType
Static value WeekToDate for TimeframeType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TimeframeType
fromString
(String name) Creates or finds a TimeframeType from its string representation.static Collection<TimeframeType>
values()
Gets known TimeframeType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
MONTH_TO_DATE
Static value MonthToDate for TimeframeType. -
BILLING_MONTH_TO_DATE
Static value BillingMonthToDate for TimeframeType. -
THE_LAST_MONTH
Static value TheLastMonth for TimeframeType. -
THE_LAST_BILLING_MONTH
Static value TheLastBillingMonth for TimeframeType. -
WEEK_TO_DATE
Static value WeekToDate for TimeframeType. -
CUSTOM
Static value Custom for TimeframeType.
-
-
Constructor Details
-
TimeframeType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of TimeframeType value.
-
-
Method Details
-
fromString
Creates or finds a TimeframeType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding TimeframeType.
-
values
Gets known TimeframeType values.- Returns:
- known TimeframeType values.
-
fromString(String)
factory method.