ArmBillingModelFactory.BillingReservationOrderData Method

Definition

Initializes a new instance of BillingReservationOrderData.

public static Azure.ResourceManager.Billing.BillingReservationOrderData BillingReservationOrderData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? etag = default, System.Collections.Generic.IDictionary<string,string> tags = default, string displayName = default, string enrollmentId = default, Azure.Core.ResourceIdentifier customerId = default, Azure.Core.ResourceIdentifier billingProfileId = default, Azure.Core.ResourceIdentifier billingAccountId = default, DateTimeOffset? requestOn = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, DateTimeOffset? reservationExpireOn = default, DateTimeOffset? benefitStartOn = default, int? originalQuantity = default, string term = default, string provisioningState = default, Azure.ResourceManager.Billing.Models.ReservationBillingPlan? billingPlan = default, Azure.ResourceManager.Billing.Models.ReservationOrderBillingPlanInformation planInformation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.BillingReservationData> reservations = default, DateTimeOffset? reviewedOn = default, Azure.ResourceManager.Billing.Models.ReservationExtendedStatusInfo extendedStatusInfo = default, string productCode = default);
static member BillingReservationOrderData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * System.Collections.Generic.IDictionary<string, string> * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * string * string * Nullable<Azure.ResourceManager.Billing.Models.ReservationBillingPlan> * Azure.ResourceManager.Billing.Models.ReservationOrderBillingPlanInformation * seq<Azure.ResourceManager.Billing.BillingReservationData> * Nullable<DateTimeOffset> * Azure.ResourceManager.Billing.Models.ReservationExtendedStatusInfo * string -> Azure.ResourceManager.Billing.BillingReservationOrderData
Public Shared Function BillingReservationOrderData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of Integer) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional displayName As String = Nothing, Optional enrollmentId As String = Nothing, Optional customerId As ResourceIdentifier = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingAccountId As ResourceIdentifier = Nothing, Optional requestOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional reservationExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional benefitStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional originalQuantity As Nullable(Of Integer) = Nothing, Optional term As String = Nothing, Optional provisioningState As String = Nothing, Optional billingPlan As Nullable(Of ReservationBillingPlan) = Nothing, Optional planInformation As ReservationOrderBillingPlanInformation = Nothing, Optional reservations As IEnumerable(Of BillingReservationData) = Nothing, Optional reviewedOn As Nullable(Of DateTimeOffset) = Nothing, Optional extendedStatusInfo As ReservationExtendedStatusInfo = Nothing, Optional productCode As String = Nothing) As BillingReservationOrderData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<Int32>
tags
IDictionary<String,String>

Tags for this reservation.

displayName
String

Friendly name for user to easily identified the reservation order.

enrollmentId
String

Enrollment id of the reservation order.

customerId
ResourceIdentifier

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

billingProfileId
ResourceIdentifier

Billing profile Id associated to this reservation order.

billingAccountId
ResourceIdentifier

Billing account Id associated to this reservation order.

requestOn
Nullable<DateTimeOffset>

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

createdOn
Nullable<DateTimeOffset>

This is the DateTime when the reservation order was created.

expireOn
Nullable<DateTimeOffset>

This is the date when the reservation order will expire.

reservationExpireOn
Nullable<DateTimeOffset>

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

benefitStartOn
Nullable<DateTimeOffset>

This is the DateTime when the reservation benefit started.

originalQuantity
Nullable<Int32>

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

term
String

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

provisioningState
String

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

billingPlan
Nullable<ReservationBillingPlan>

Represent the billing plans.

planInformation
ReservationOrderBillingPlanInformation

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

reviewedOn
Nullable<DateTimeOffset>

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

extendedStatusInfo
ReservationExtendedStatusInfo

Extended status information for the reservation.

productCode
String

Represents UPN.

Returns

A new BillingReservationOrderData instance for mocking.

Applies to