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