Sdílet prostřednictvím


BillingReservationOrderData Class

Definition

A class representing the BillingReservationOrder data model. Details of a reservation order being returned.

public class BillingReservationOrderData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.BillingReservationOrderData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.BillingReservationOrderData>
type BillingReservationOrderData = class
    inherit ResourceData
    interface IJsonModel<BillingReservationOrderData>
    interface IPersistableModel<BillingReservationOrderData>
Public Class BillingReservationOrderData
Inherits ResourceData
Implements IJsonModel(Of BillingReservationOrderData), IPersistableModel(Of BillingReservationOrderData)
Inheritance
BillingReservationOrderData
Implements

Constructors

BillingReservationOrderData()

Initializes a new instance of BillingReservationOrderData.

Properties

BenefitStartOn

This is the DateTime when the reservation benefit started.

BillingAccountId

Billing account Id associated to this reservation order.

BillingPlan

Represent the billing plans.

BillingProfileId

Billing profile Id associated to this reservation order.

CreatedOn

This is the DateTime when the reservation order was created.

CustomerId

Fully-qualified identifier of the customerId where the benefit is applied. Present only for Enterprise Agreement PartnerLed customers.

DisplayName

Friendly name for user to easily identified the reservation order.

EnrollmentId

Enrollment id of the reservation order.

ETag

Gets or sets the e tag.

ExpireOn

This is the date when the reservation order will expire.

ExtendedStatusInfo

Extended status information for the reservation.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OriginalQuantity

Total original quantity of the skus purchased in the reservation order.

PlanInformation

Information describing the type of billing plan for this reservation order.

ProductCode

Represents UPN.

ProvisioningState

The provisioning state of the reservation, e.g. Succeeded.

RequestOn

This is the DateTime when the reservation order was initially requested for purchase.

ReservationExpireOn

This is the date-time when the reservation order will expire.

Reservations

Gets the reservations.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ReviewedOn

This is the date-time when the Azure Hybrid Benefit needs to be reviewed.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Tags for this reservation.

Term

The term of the reservation, e.g. P1Y.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<BillingReservationOrderData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingReservationOrderData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingReservationOrderData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingReservationOrderData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingReservationOrderData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to