Share via


PurchaseRequest Class

Definition

[Microsoft.Rest.Serialization.JsonTransformation]
public class PurchaseRequest
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PurchaseRequest = class
Public Class PurchaseRequest
Inheritance
PurchaseRequest
Attributes

Constructors

PurchaseRequest()

Initializes a new instance of the PurchaseRequest class.

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

Initializes a new instance of the PurchaseRequest class.

Properties

AppliedScopes
AppliedScopeType

Gets or sets possible values include: 'Single', 'Shared'

BillingPlan

Gets or sets possible values include: 'Upfront', 'Monthly'

BillingScopeId
DisplayName

Gets or sets friendly name of the Reservation

Location

Gets or sets the Azure Region where the reserved resource lives.

Quantity
Renew
ReservedResourceProperties

Gets or sets properties specific to each reserved resource type. Not required if not applicable.

ReservedResourceType

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

Sku
Term

Gets or sets possible values include: 'P1Y', 'P3Y'

Applies to