Share via


UsageDetail Class

Definition

An usage detail resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class UsageDetail : Microsoft.Azure.Management.Consumption.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type UsageDetail = class
    inherit Resource
Public Class UsageDetail
Inherits Resource
Inheritance
UsageDetail
Attributes

Constructors

UsageDetail()

Initializes a new instance of the UsageDetail class.

UsageDetail(String, String, String, IDictionary<String,String>, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, Nullable<Decimal>, Nullable<Decimal>, Nullable<Decimal>, Nullable<Boolean>, String, MeterDetails, String, String, String, String, String, String, String, String)

Initializes a new instance of the UsageDetail class.

Properties

AccountName

Gets account name.

AdditionalProperties

Gets additional details of this usage item. By default this is not populated, unless it's specified in $expand.

BillableQuantity

Gets the billable usage quantity.

BillingPeriodId

Gets the id of the billing period resource that the usage belongs to.

ConsumedService

Gets consumed service name.

CostCenter

Gets the cost center of this department if it is a department and a costcenter exists

Currency

Gets the ISO currency in which the meter is charged, for example, USD.

DepartmentName

Gets department name.

Id

Gets resource Id.

(Inherited from Resource)
InstanceId

Gets the uri of the resource instance that the usage is about.

InstanceLocation

Gets the location of the resource instance that the usage is about.

InstanceName

Gets the name of the resource instance that the usage is about.

InvoiceId

Gets the id of the invoice resource that the usage belongs to.

IsEstimated

Gets the estimated usage is subject to change.

MeterDetails

Gets the details about the meter. By default this is not populated, unless it's specified in $expand.

MeterId

Gets the meter id.

Name

Gets resource name.

(Inherited from Resource)
PretaxCost

Gets the amount of cost before tax.

Product

Gets product name.

SubscriptionGuid

Gets subscription guid.

SubscriptionName

Gets subscription name.

Tags

Gets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
UsageEnd

Gets the end of the date time range covered by the usage detail.

UsageQuantity

Gets the quantity of usage.

UsageStart

Gets the start of the date time range covered by the usage detail.

Applies to