ReservationDetails Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReservationDetails() |
Initializes a new instance of the ReservationDetails class. |
ReservationDetails(String, String, String, IDictionary<String, String>, String, String, String, Nullable<Decimal>, Nullable<DateTime>, Nullable<Decimal>, String, Nullable<Decimal>) |
Initializes a new instance of the ReservationDetails class. |
ReservationDetails()
Initializes a new instance of the ReservationDetails class.
public ReservationDetails ();
Public Sub New ()
Applies to
ReservationDetails(String, String, String, IDictionary<String, String>, String, String, String, Nullable<Decimal>, Nullable<DateTime>, Nullable<Decimal>, String, Nullable<Decimal>)
Initializes a new instance of the ReservationDetails class.
public ReservationDetails (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, string instanceId = default, decimal? totalReservedQuantity = default);
new Microsoft.Azure.Management.Consumption.Models.ReservationDetails : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * Nullable<decimal> * Nullable<DateTime> * Nullable<decimal> * string * Nullable<decimal> -> Microsoft.Azure.Management.Consumption.Models.ReservationDetails
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 instanceId As String = Nothing, Optional totalReservedQuantity 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.
This is the total hours reserved for the day. 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.
- instanceId
- String
This identifier is the name of the resource or the fully qualified Resource ID.
This is the total count of instances that are reserved for the reservationid.
Applies to
Azure SDK for .NET