Share via


ReservationSummaries Constructors

Definition

Overloads

ReservationSummaries()

Initializes a new instance of the ReservationSummaries class.

ReservationSummaries(String, String, String, IDictionary<String, String>, String, String, String, Nullable<Decimal>, Nullable<DateTime>, Nullable<Decimal>, Nullable<Decimal>, Nullable<Decimal>, Nullable<Decimal>)

Initializes a new instance of the ReservationSummaries class.

ReservationSummaries()

Initializes a new instance of the ReservationSummaries class.

public ReservationSummaries ();
Public Sub New ()

Applies to

ReservationSummaries(String, String, String, IDictionary<String, String>, String, String, String, Nullable<Decimal>, Nullable<DateTime>, Nullable<Decimal>, Nullable<Decimal>, Nullable<Decimal>, Nullable<Decimal>)

Initializes a new instance of the ReservationSummaries class.

public ReservationSummaries (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string reservationOrderId = default, string reservationId = default, string skuName = default, decimal? reservedHours = default, DateTime? usageDate = default, decimal? usedHours = default, decimal? minUtilizationPercentage = default, decimal? avgUtilizationPercentage = default, decimal? maxUtilizationPercentage = default);
new Microsoft.Azure.Management.Consumption.Models.ReservationSummaries : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * Nullable<decimal> * Nullable<DateTime> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> -> Microsoft.Azure.Management.Consumption.Models.ReservationSummaries
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 reservationOrderId As String = Nothing, Optional reservationId As String = Nothing, Optional skuName As String = Nothing, Optional reservedHours As Nullable(Of Decimal) = Nothing, Optional usageDate As Nullable(Of DateTime) = Nothing, Optional usedHours As Nullable(Of Decimal) = Nothing, Optional minUtilizationPercentage As Nullable(Of Decimal) = Nothing, Optional avgUtilizationPercentage As Nullable(Of Decimal) = Nothing, Optional maxUtilizationPercentage As Nullable(Of Decimal) = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

reservationOrderId
String

The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.

reservationId
String

The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.

skuName
String

This is the ARM Sku name. It can be used to join with the servicetype field in additoinalinfo in usage records.

reservedHours
Nullable<Decimal>

This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days

usageDate
Nullable<DateTime>

Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.

usedHours
Nullable<Decimal>

Total used hours by the reservation

minUtilizationPercentage
Nullable<Decimal>

This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day

avgUtilizationPercentage
Nullable<Decimal>

This is average utilization for the entire time range. (day or month depending on the grain)

maxUtilizationPercentage
Nullable<Decimal>

This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.

Applies to