Freigeben über


PurchaseRequest Konstruktoren

Definition

Überlädt

PurchaseRequest()

Initialisiert eine neue instance der PurchaseRequest-Klasse.

PurchaseRequest(SkuName, String, String, String, String, String, Nullable<Int32>, String, String, IList<String>, Nullable<Boolean>, PurchaseRequestPropertiesReservedResourceProperties)

Initialisiert eine neue instance der PurchaseRequest-Klasse.

PurchaseRequest()

Initialisiert eine neue instance der PurchaseRequest-Klasse.

public PurchaseRequest ();
Public Sub New ()

Gilt für:

PurchaseRequest(SkuName, String, String, String, String, String, Nullable<Int32>, String, String, IList<String>, Nullable<Boolean>, PurchaseRequestPropertiesReservedResourceProperties)

Initialisiert eine neue instance der PurchaseRequest-Klasse.

public PurchaseRequest (Microsoft.Azure.Management.Reservations.Models.SkuName sku = default, string location = default, string reservedResourceType = default, string billingScopeId = default, string term = default, string billingPlan = default, int? quantity = default, string displayName = default, string appliedScopeType = default, System.Collections.Generic.IList<string> appliedScopes = default, bool? renew = default, Microsoft.Azure.Management.Reservations.Models.PurchaseRequestPropertiesReservedResourceProperties reservedResourceProperties = default);
new Microsoft.Azure.Management.Reservations.Models.PurchaseRequest : Microsoft.Azure.Management.Reservations.Models.SkuName * string * string * string * string * string * Nullable<int> * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Microsoft.Azure.Management.Reservations.Models.PurchaseRequestPropertiesReservedResourceProperties -> Microsoft.Azure.Management.Reservations.Models.PurchaseRequest
Public Sub New (Optional sku As SkuName = Nothing, Optional location As String = Nothing, Optional reservedResourceType As String = Nothing, Optional billingScopeId As String = Nothing, Optional term As String = Nothing, Optional billingPlan As String = Nothing, Optional quantity As Nullable(Of Integer) = Nothing, Optional displayName As String = Nothing, Optional appliedScopeType As String = Nothing, Optional appliedScopes As IList(Of String) = Nothing, Optional renew As Nullable(Of Boolean) = Nothing, Optional reservedResourceProperties As PurchaseRequestPropertiesReservedResourceProperties = Nothing)

Parameter

sku
SkuName
location
String

Die Azure-Region, in der sich die reservierte Ressource befindet.

reservedResourceType
String

Mögliche Werte: "VirtualMachines", "SqlDatabases", "SuseLinux", "CosmosDb", "RedHat", "SqlDataWarehouse", "VMwareCloudSimple", "RedHatOsa", "Databricks", "AppService", "ManagedDisk", "BlockBlob", "RedisCache", "AzureDataExplorer", "MySql", "MariaDb", "PostgreSql", "DedicatedHost", "SapHana", "SqlAzureHybridBenefit"

billingScopeId
String
term
String

Mögliche Werte: "P1Y", "P3Y"

billingPlan
String

Mögliche Werte: "Im Voraus", "Monatlich"

quantity
Nullable<Int32>
displayName
String

Anzeigename der Reservierung

appliedScopeType
String

Mögliche Werte: "Single", "Shared"

appliedScopes
IList<String>
renew
Nullable<Boolean>
reservedResourceProperties
PurchaseRequestPropertiesReservedResourceProperties

Eigenschaften, die für jeden reservierten Ressourcentyp spezifisch sind. Nicht erforderlich, falls nicht zutreffend.

Gilt für: