共用方式為


ReservationProperties Constructors

Definition

Overloads

ReservationProperties()

Initializes a new instance of the ReservationProperties class.

ReservationProperties(String, String, String, IList<String>, String, Nullable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, ExtendedStatusInfo, String, ReservationSplitProperties, ReservationMergeProperties, String, Nullable<Boolean>, String, String, RenewPropertiesResponse, String)

Initializes a new instance of the ReservationProperties class.

ReservationProperties()

Initializes a new instance of the ReservationProperties class.

public ReservationProperties ();
Public Sub New ()

Applies to

ReservationProperties(String, String, String, IList<String>, String, Nullable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, ExtendedStatusInfo, String, ReservationSplitProperties, ReservationMergeProperties, String, Nullable<Boolean>, String, String, RenewPropertiesResponse, String)

Initializes a new instance of the ReservationProperties class.

public ReservationProperties (string reservedResourceType = default, string instanceFlexibility = default, string displayName = default, System.Collections.Generic.IList<string> appliedScopes = default, string appliedScopeType = default, int? quantity = default, string provisioningState = default, DateTime? effectiveDateTime = default, DateTime? lastUpdatedDateTime = default, DateTime? expiryDate = default, string skuDescription = default, Microsoft.Azure.Management.Reservations.Models.ExtendedStatusInfo extendedStatusInfo = default, string billingPlan = default, Microsoft.Azure.Management.Reservations.Models.ReservationSplitProperties splitProperties = default, Microsoft.Azure.Management.Reservations.Models.ReservationMergeProperties mergeProperties = default, string billingScopeId = default, bool? renew = default, string renewSource = default, string renewDestination = default, Microsoft.Azure.Management.Reservations.Models.RenewPropertiesResponse renewProperties = default, string term = default);
new Microsoft.Azure.Management.Reservations.Models.ReservationProperties : string * string * string * System.Collections.Generic.IList<string> * string * Nullable<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.Reservations.Models.ExtendedStatusInfo * string * Microsoft.Azure.Management.Reservations.Models.ReservationSplitProperties * Microsoft.Azure.Management.Reservations.Models.ReservationMergeProperties * string * Nullable<bool> * string * string * Microsoft.Azure.Management.Reservations.Models.RenewPropertiesResponse * string -> Microsoft.Azure.Management.Reservations.Models.ReservationProperties
Public Sub New (Optional reservedResourceType As String = Nothing, Optional instanceFlexibility As String = Nothing, Optional displayName As String = Nothing, Optional appliedScopes As IList(Of String) = Nothing, Optional appliedScopeType As String = Nothing, Optional quantity As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional effectiveDateTime As Nullable(Of DateTime) = Nothing, Optional lastUpdatedDateTime As Nullable(Of DateTime) = Nothing, Optional expiryDate As Nullable(Of DateTime) = Nothing, Optional skuDescription As String = Nothing, Optional extendedStatusInfo As ExtendedStatusInfo = Nothing, Optional billingPlan As String = Nothing, Optional splitProperties As ReservationSplitProperties = Nothing, Optional mergeProperties As ReservationMergeProperties = Nothing, Optional billingScopeId As String = Nothing, Optional renew As Nullable(Of Boolean) = Nothing, Optional renewSource As String = Nothing, Optional renewDestination As String = Nothing, Optional renewProperties As RenewPropertiesResponse = Nothing, Optional term As String = Nothing)

Parameters

reservedResourceType
String

Possible values include: 'VirtualMachines', 'SqlDatabases', 'SuseLinux', 'CosmosDb', 'RedHat', 'SqlDataWarehouse', 'VMwareCloudSimple', 'RedHatOsa', 'Databricks', 'AppService', 'ManagedDisk', 'BlockBlob', 'RedisCache', 'AzureDataExplorer', 'MySql', 'MariaDb', 'PostgreSql', 'DedicatedHost', 'SapHana', 'SqlAzureHybridBenefit'

instanceFlexibility
String

Possible values include: 'On', 'Off'

displayName
String

Friendly name for user to easily identify the reservation

appliedScopes
IList<String>
appliedScopeType
String

Possible values include: 'Single', 'Shared'

quantity
Nullable<Int32>
provisioningState
String

Current state of the reservation.

effectiveDateTime
Nullable<DateTime>

DateTime of the Reservation starting when this version is effective from.

lastUpdatedDateTime
Nullable<DateTime>

DateTime of the last time the Reservation was updated.

expiryDate
Nullable<DateTime>

This is the date when the Reservation will expire.

skuDescription
String

Description of the SKU in english.

extendedStatusInfo
ExtendedStatusInfo
billingPlan
String

Possible values include: 'Upfront', 'Monthly'

splitProperties
ReservationSplitProperties
mergeProperties
ReservationMergeProperties
billingScopeId
String
renew
Nullable<Boolean>
renewSource
String

Reservation Id of the reservation from which this reservation is renewed. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

renewDestination
String

Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

renewProperties
RenewPropertiesResponse
term
String

Possible values include: 'P1Y', 'P3Y'

Applies to