Compartilhar via


ArmReservationsModelFactory.ReservationOrderData Método

Definição

Inicializa uma nova instância de ReservationOrderData.

public static Azure.ResourceManager.Reservations.ReservationOrderData ReservationOrderData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? version = default, string displayName = default, DateTimeOffset? requestOn = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, DateTimeOffset? reservationExpireOn = default, DateTimeOffset? benefitStartOn = default, int? originalQuantity = default, Azure.ResourceManager.Reservations.Models.ReservationTerm? term = default, Azure.ResourceManager.Reservations.Models.ReservationProvisioningState? provisioningState = default, Azure.ResourceManager.Reservations.Models.ReservationBillingPlan? billingPlan = default, Azure.ResourceManager.Reservations.Models.ReservationOrderBillingPlanInformation planInformation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.ReservationDetailData> reservations = default, DateTimeOffset? reviewOn = default);
static member ReservationOrderData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<Azure.ResourceManager.Reservations.Models.ReservationTerm> * Nullable<Azure.ResourceManager.Reservations.Models.ReservationProvisioningState> * Nullable<Azure.ResourceManager.Reservations.Models.ReservationBillingPlan> * Azure.ResourceManager.Reservations.Models.ReservationOrderBillingPlanInformation * seq<Azure.ResourceManager.Reservations.ReservationDetailData> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Reservations.ReservationOrderData
Public Shared Function ReservationOrderData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional version As Nullable(Of Integer) = Nothing, Optional displayName As String = 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 Nullable(Of ReservationTerm) = Nothing, Optional provisioningState As Nullable(Of ReservationProvisioningState) = Nothing, Optional billingPlan As Nullable(Of ReservationBillingPlan) = Nothing, Optional planInformation As ReservationOrderBillingPlanInformation = Nothing, Optional reservations As IEnumerable(Of ReservationDetailData) = Nothing, Optional reviewOn As Nullable(Of DateTimeOffset) = Nothing) As ReservationOrderData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

version
Nullable<Int32>
displayName
String

Nome amigável para o usuário identificar facilmente a reserva.

requestOn
Nullable<DateTimeOffset>

Esse é o DateTime quando a reserva foi inicialmente solicitada para compra.

createdOn
Nullable<DateTimeOffset>

Esse é o DateTime quando a reserva foi criada.

expireOn
Nullable<DateTimeOffset>

Essa é a data em que a reserva expirará.

reservationExpireOn
Nullable<DateTimeOffset>

Essa é a data e hora em que a reserva expirará.

benefitStartOn
Nullable<DateTimeOffset>

Este é o DateTime quando o benefício de reserva foi iniciado.

originalQuantity
Nullable<Int32>

Quantidade Total dos skus comprados na reserva.

term
Nullable<ReservationTerm>

Representa o termo de reserva.

provisioningState
Nullable<ReservationProvisioningState>

Estado atual da reserva.

billingPlan
Nullable<ReservationBillingPlan>

Represente os planos de cobrança.

planInformation
ReservationOrderBillingPlanInformation

Informações que descrevem o tipo de plano de cobrança para essa reserva.

reviewOn
Nullable<DateTimeOffset>

Essa é a data e hora em que o Benefício Híbrido do Azure precisa ser revisado.

Retornos

Uma nova ReservationOrderData instância para simulação.

Aplica-se a