Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ interface WithCategory {
interface WithTimeGrain {
/**
* Specifies timeGrain.
* @param timeGrain The time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually'
* @param timeGrain The time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually', 'BillingMonth', 'BillingQuarter', 'BillingAnnual'
* @return the next definition stage
*/
WithTimePeriod withTimeGrain(TimeGrainType timeGrain);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ public final class TimeGrainType extends ExpandableStringEnum<TimeGrainType> {
/** Static value Annually for TimeGrainType. */
public static final TimeGrainType ANNUALLY = fromString("Annually");

/** Static value BillingMonth for TimeGrainType. */
public static final TimeGrainType BILLING_MONTH = fromString("BillingMonth");

/** Static value BillingQuarter for TimeGrainType. */
public static final TimeGrainType BILLING_QUARTER = fromString("BillingQuarter");

/** Static value BillingAnnual for TimeGrainType. */
public static final TimeGrainType BILLING_ANNUAL = fromString("BillingAnnual");

/**
* Creates or finds a TimeGrainType from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class BudgetInner extends ProxyResource {
/**
* The time covered by a budget. Tracking of the amount will be reset based
* on the time grain. Possible values include: 'Monthly', 'Quarterly',
* 'Annually'.
* 'Annually', 'BillingMonth', 'BillingQuarter', 'BillingAnnual'.
*/
@JsonProperty(value = "properties.timeGrain", required = true)
private TimeGrainType timeGrain;
Expand Down Expand Up @@ -124,7 +124,7 @@ public BudgetInner withAmount(BigDecimal amount) {
}

/**
* Get the time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually'.
* Get the time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually', 'BillingMonth', 'BillingQuarter', 'BillingAnnual'.
*
* @return the timeGrain value
*/
Expand All @@ -133,7 +133,7 @@ public TimeGrainType timeGrain() {
}

/**
* Set the time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually'.
* Set the time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually', 'BillingMonth', 'BillingQuarter', 'BillingAnnual'.
*
* @param timeGrain the timeGrain value to set
* @return the BudgetInner object itself.
Expand Down