Share via


ReservationDetails Class

Definition

reservation details resource.

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

Constructors

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.

Properties

Id

Gets resource Id.

(Inherited from Resource)
InstanceId

Gets this identifier is the name of the resource or the fully qualified Resource ID.

Name

Gets resource name.

(Inherited from Resource)
ReservationId

Gets 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.

ReservationOrderId

Gets 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.

ReservedHours

Gets 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.

SkuName

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

Tags

Gets resource tags.

(Inherited from Resource)
TotalReservedQuantity

Gets this is the total count of instances that are reserved for the reservationid.

Type

Gets resource type.

(Inherited from Resource)
UsageDate

Gets the date on which consumption occurred.

UsedHours

Gets this is the total hours used by the instance.

Applies to