Share via


ReservationPurchaseContent Class

Definition

The request for reservation purchase.

public class ReservationPurchaseContent
type ReservationPurchaseContent = class
Public Class ReservationPurchaseContent
Inheritance
ReservationPurchaseContent

Constructors

ReservationPurchaseContent()

Initializes a new instance of ReservationPurchaseContent.

Properties

AppliedScopeProperties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.

AppliedScopes

List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared. This property will be deprecated and replaced by appliedScopeProperties instead for Single AppliedScopeType.

AppliedScopeType

Type of the Applied Scope.

BillingPlan

Represent the billing plans.

BillingScopeId

Subscription that will be charged for purchasing reservation or savings plan.

DisplayName

Friendly name of the reservation.

IsRenewEnabled

Setting this to true will automatically purchase a new reservation on the expiration date time.

Location

The Azure region where the reserved resource lives.

Quantity

Quantity of the skus that are part of the reservation.

ReservedResourceInstanceFlexibility

Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type.

ReservedResourceType

The type of the resource that is being reserved.

ReviewOn

This is the date-time when the Azure hybrid benefit needs to be reviewed.

SkuName

Gets or sets the sku name.

Term

Represent the term of reservation.

Applies to