Compartilhar via


PurchaseRequest Construtores

Definição

Sobrecargas

PurchaseRequest()

Inicializa uma nova instância da classe PurchaseRequest.

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

Inicializa uma nova instância da classe PurchaseRequest.

PurchaseRequest()

Inicializa uma nova instância da classe PurchaseRequest.

public PurchaseRequest ();
Public Sub New ()

Aplica-se a

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

Inicializa uma nova instância da classe PurchaseRequest.

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)

Parâmetros

sku
SkuName
location
String

A Região do Azure em que o recurso reservado reside.

reservedResourceType
String

Os valores possíveis incluem: 'VirtualMachines', 'SqlDatabases', 'SuseLinux', 'CosmosDb', 'RedHat', 'SqlDataWarehouse', 'VMwareCloudSimple', 'RedHatOsa', 'Databricks', 'AppService', 'ManagedDisk', 'BlockBlob', 'RedisCache', 'AzureDataExplorer', 'MySql', 'MariaDb', 'PostgreSql', 'DedicatedHost', 'SapHana', 'SqlAzureHybridBenefit'

billingScopeId
String
term
String

Os valores possíveis incluem: 'P1Y', 'P3Y'

billingPlan
String

Os valores possíveis incluem: 'Upfront', 'Monthly'

quantity
Nullable<Int32>
displayName
String

Nome amigável da Reserva

appliedScopeType
String

Os valores possíveis incluem: 'Single', 'Shared'

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

Propriedades específicas para cada tipo de recurso reservado. Não é necessário se não for aplicável.

Aplica-se a