다음을 통해 공유


UsageDetail Constructors

Definition

Overloads

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.

UsageDetail()

Initializes a new instance of the UsageDetail class.

public UsageDetail ();
Public Sub New ()

Applies to

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.

public UsageDetail (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string billingPeriodId = default, string invoiceId = default, DateTime? usageStart = default, DateTime? usageEnd = default, string instanceName = default, string instanceId = default, string instanceLocation = default, string currency = default, decimal? usageQuantity = default, decimal? billableQuantity = default, decimal? pretaxCost = default, bool? isEstimated = default, string meterId = default, Microsoft.Azure.Management.Consumption.Models.MeterDetails meterDetails = default, string subscriptionGuid = default, string subscriptionName = default, string accountName = default, string departmentName = default, string product = default, string consumedService = default, string costCenter = default, string additionalProperties = default);
new Microsoft.Azure.Management.Consumption.Models.UsageDetail : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<bool> * string * Microsoft.Azure.Management.Consumption.Models.MeterDetails * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Consumption.Models.UsageDetail
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional billingPeriodId As String = Nothing, Optional invoiceId As String = Nothing, Optional usageStart As Nullable(Of DateTime) = Nothing, Optional usageEnd As Nullable(Of DateTime) = Nothing, Optional instanceName As String = Nothing, Optional instanceId As String = Nothing, Optional instanceLocation As String = Nothing, Optional currency As String = Nothing, Optional usageQuantity As Nullable(Of Decimal) = Nothing, Optional billableQuantity As Nullable(Of Decimal) = Nothing, Optional pretaxCost As Nullable(Of Decimal) = Nothing, Optional isEstimated As Nullable(Of Boolean) = Nothing, Optional meterId As String = Nothing, Optional meterDetails As MeterDetails = Nothing, Optional subscriptionGuid As String = Nothing, Optional subscriptionName As String = Nothing, Optional accountName As String = Nothing, Optional departmentName As String = Nothing, Optional product As String = Nothing, Optional consumedService As String = Nothing, Optional costCenter As String = Nothing, Optional additionalProperties As String = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

billingPeriodId
String

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

invoiceId
String

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

usageStart
Nullable<DateTime>

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

usageEnd
Nullable<DateTime>

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

instanceName
String

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

instanceId
String

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

instanceLocation
String

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

currency
String

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

usageQuantity
Nullable<Decimal>

The quantity of usage.

billableQuantity
Nullable<Decimal>

The billable usage quantity.

pretaxCost
Nullable<Decimal>

The amount of cost before tax.

isEstimated
Nullable<Boolean>

The estimated usage is subject to change.

meterId
String

The meter id.

meterDetails
MeterDetails

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

subscriptionGuid
String

Subscription guid.

subscriptionName
String

Subscription name.

accountName
String

Account name.

departmentName
String

Department name.

product
String

Product name.

consumedService
String

Consumed service name.

costCenter
String

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

additionalProperties
String

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

Applies to