你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReservationOrderResponse 构造函数

定义

重载

ReservationOrderResponse()

初始化 ReservationOrderResponse 类的新实例。

ReservationOrderResponse(Nullable<Int32>, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, String, String, String, ReservationOrderBillingPlanInformation, IList<ReservationResponse>, String)

初始化 ReservationOrderResponse 类的新实例。

ReservationOrderResponse()

初始化 ReservationOrderResponse 类的新实例。

public ReservationOrderResponse ();
Public Sub New ()

适用于

ReservationOrderResponse(Nullable<Int32>, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, String, String, String, ReservationOrderBillingPlanInformation, IList<ReservationResponse>, String)

初始化 ReservationOrderResponse 类的新实例。

public ReservationOrderResponse (int? etag = default, string id = default, string name = default, string displayName = default, DateTime? requestDateTime = default, DateTime? createdDateTime = default, DateTime? expiryDate = default, int? originalQuantity = default, string term = default, string provisioningState = default, string billingPlan = default, Microsoft.Azure.Management.Reservations.Models.ReservationOrderBillingPlanInformation planInformation = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationResponse> reservationsProperty = default, string type = default);
new Microsoft.Azure.Management.Reservations.Models.ReservationOrderResponse : Nullable<int> * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * string * string * string * Microsoft.Azure.Management.Reservations.Models.ReservationOrderBillingPlanInformation * System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationResponse> * string -> Microsoft.Azure.Management.Reservations.Models.ReservationOrderResponse
Public Sub New (Optional etag As Nullable(Of Integer) = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional displayName As String = Nothing, Optional requestDateTime As Nullable(Of DateTime) = Nothing, Optional createdDateTime As Nullable(Of DateTime) = Nothing, Optional expiryDate As Nullable(Of DateTime) = Nothing, Optional originalQuantity As Nullable(Of Integer) = Nothing, Optional term As String = Nothing, Optional provisioningState As String = Nothing, Optional billingPlan As String = Nothing, Optional planInformation As ReservationOrderBillingPlanInformation = Nothing, Optional reservationsProperty As IList(Of ReservationResponse) = Nothing, Optional type As String = Nothing)

参数

etag
Nullable<Int32>
id
String

预留的标识符

name
String

预留的名称

displayName
String

方便用户轻松识别预留的友好名称。

requestDateTime
Nullable<DateTime>

这是最初请求购买预留时的 DateTime。

createdDateTime
Nullable<DateTime>

这是创建预留时的 DateTime。

expiryDate
Nullable<DateTime>

这是预留到期的日期。

originalQuantity
Nullable<Int32>
term
String

可能的值包括:“P1Y”、“P3Y”

provisioningState
String

预留的当前状态。

billingPlan
String

可能的值包括:“Upfront”、“Monthly”

reservationsProperty
IList<ReservationResponse>
type
String

资源的类型。 “Microsoft.Capacity/reservations”

适用于