TimeGrainType Struct

Definition

The time covered by a budget. Tracking of the amount will be reset based on the time grain. Supported for CategoryType(s): Cost, ReservationUtilization. Supported timeGrainTypes for CategoryType: Cost

  • Monthly
  • Quarterly
  • Annually
  • BillingMonth*
  • BillingQuarter*
  • BillingAnnual*
*only supported for Web Direct customers. Supported timeGrainTypes for CategoryType: ReservationUtilization
  • Last7Days
  • Last30Days
Required for CategoryType(s): Cost, ReservationUtilization.

public readonly struct TimeGrainType : IEquatable<Azure.ResourceManager.CostManagement.Models.TimeGrainType>
type TimeGrainType = struct
Public Structure TimeGrainType
Implements IEquatable(Of TimeGrainType)
Inheritance
TimeGrainType
Implements

Constructors

Name Description
TimeGrainType(String)

Initializes a new instance of TimeGrainType.

Properties

Name Description
Annually

The budget will track costs in the current calendar year against the amount. Supported for CategoryType: Cost only.

BillingAnnual

The budget will track costs in the current billing year against the amount. Supported for CategoryType: Cost and Web Direct customers only.

BillingMonth

The budget will track costs in the current billing month against the amount. Supported for CategoryType: Cost and Web Direct customers only.

BillingQuarter

The budget will track costs in the current billing quarter against the amount. Supported for CategoryType: Cost and Web Direct customers only.

Last30Days

The Reservation Utilization Alert Rule will evaluate reservations based on their 30-Day utilization percentage. Supported for CategoryType: ReservationUtilization only.

Last7Days

The Reservation Utilization Alert Rule will evaluate reservations based on their 7-Day utilization percentage. Supported for CategoryType: ReservationUtilization only.

Monthly

The budget will track costs in the current calendar month against the amount. Supported for CategoryType: Cost only.

Quarterly

The budget will track costs in the current calendar quarter against the amount. Supported for CategoryType: Cost only.

Methods

Name Description
Equals(TimeGrainType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(TimeGrainType, TimeGrainType)

Determines if two TimeGrainType values are the same.

Implicit(String to Nullable<TimeGrainType>)
Implicit(String to TimeGrainType)

Converts a string to a TimeGrainType.

Inequality(TimeGrainType, TimeGrainType)

Determines if two TimeGrainType values are not the same.

Applies to