Interface UsageAggregation
public interface UsageAggregation
An immutable client-side representation of UsageAggregation.
-
Method Summary
Modifier and TypeMethodDescriptionid()
Gets the id property: Unique Id for the usage aggregate.Gets the infoFields property: Key-value pairs of instance details (legacy format).Gets the inner com.azure.resourcemanager.commerce.fluent.models.UsageAggregationInner object.Gets the instanceData property: Key-value pairs of instance details represented as a string.Gets the meterCategory property: Category of the consumed resource.meterId()
Gets the meterId property: Unique ID for the resource that was consumed (aka ResourceID).Gets the meterName property: Friendly name of the resource being consumed.Gets the meterRegion property: Region of the meterId used for billing purposes.Gets the meterSubCategory property: Sub-category of the consumed resource.name()
Gets the name property: Name of the usage aggregate.quantity()
Gets the quantity property: The amount of the resource consumption that occurred in this time frame.Gets the subscriptionId property: The subscription identifier for the Azure user.type()
Gets the type property: Type of the resource being returned.unit()
Gets the unit property: The unit in which the usage for this resource is being counted, e.g.Gets the usageEndTime property: UTC end time for the usage bucket to which this usage aggregate belongs.Gets the usageStartTime property: UTC start time for the usage bucket to which this usage aggregate belongs.
-
Method Details
-
id
String id()Gets the id property: Unique Id for the usage aggregate.- Returns:
- the id value.
-
name
String name()Gets the name property: Name of the usage aggregate.- Returns:
- the name value.
-
type
String type()Gets the type property: Type of the resource being returned.- Returns:
- the type value.
-
subscriptionId
UUID subscriptionId()Gets the subscriptionId property: The subscription identifier for the Azure user.- Returns:
- the subscriptionId value.
-
meterId
String meterId()Gets the meterId property: Unique ID for the resource that was consumed (aka ResourceID).- Returns:
- the meterId value.
-
usageStartTime
OffsetDateTime usageStartTime()Gets the usageStartTime property: UTC start time for the usage bucket to which this usage aggregate belongs.- Returns:
- the usageStartTime value.
-
usageEndTime
OffsetDateTime usageEndTime()Gets the usageEndTime property: UTC end time for the usage bucket to which this usage aggregate belongs.- Returns:
- the usageEndTime value.
-
quantity
Float quantity()Gets the quantity property: The amount of the resource consumption that occurred in this time frame.- Returns:
- the quantity value.
-
unit
String unit()Gets the unit property: The unit in which the usage for this resource is being counted, e.g. Hours, GB.- Returns:
- the unit value.
-
meterName
String meterName()Gets the meterName property: Friendly name of the resource being consumed.- Returns:
- the meterName value.
-
meterCategory
String meterCategory()Gets the meterCategory property: Category of the consumed resource.- Returns:
- the meterCategory value.
-
meterSubCategory
String meterSubCategory()Gets the meterSubCategory property: Sub-category of the consumed resource.- Returns:
- the meterSubCategory value.
-
meterRegion
String meterRegion()Gets the meterRegion property: Region of the meterId used for billing purposes.- Returns:
- the meterRegion value.
-
infoFields
InfoField infoFields()Gets the infoFields property: Key-value pairs of instance details (legacy format).- Returns:
- the infoFields value.
-
instanceData
String instanceData()Gets the instanceData property: Key-value pairs of instance details represented as a string.- Returns:
- the instanceData value.
-
innerModel
UsageAggregationInner innerModel()Gets the inner com.azure.resourcemanager.commerce.fluent.models.UsageAggregationInner object.- Returns:
- the inner object.
-