ReservationPurchaseRequestProperties interface

Properties of reservation purchase request

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.

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

instanceFlexibility

Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility.

instanceFlexibilityReservedResourcePropertiesInstanceFlexibility

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

quantity

Quantity of the skus that are part of the reservation. Must be greater than zero.

renew

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

reservedResourceType

The reserved source type of the reservation, e.g. virtual machine.

reviewDateTime

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

term

The term of the reservation, e.g. P1Y

Property Details

appliedScopeProperties

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

appliedScopeProperties?: ReservationAppliedScopeProperties

Property Value

appliedScopes

List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared.

appliedScopes?: string[]

Property Value

string[]

appliedScopeType

Type of the Applied Scope.

appliedScopeType?: string

Property Value

string

billingPlan

Represent the billing plans.

billingPlan?: string

Property Value

string

billingScopeId

Subscription that will be charged for purchasing reservation or savings plan

billingScopeId?: string

Property Value

string

displayName

Friendly name of the reservation

displayName?: string

Property Value

string

instanceFlexibility

Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility.

instanceFlexibility?: string

Property Value

string

instanceFlexibilityReservedResourcePropertiesInstanceFlexibility

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

instanceFlexibilityReservedResourcePropertiesInstanceFlexibility?: string

Property Value

string

quantity

Quantity of the skus that are part of the reservation. Must be greater than zero.

quantity?: number

Property Value

number

renew

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

renew?: boolean

Property Value

boolean

reservedResourceType

The reserved source type of the reservation, e.g. virtual machine.

reservedResourceType?: string

Property Value

string

reviewDateTime

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

reviewDateTime?: Date

Property Value

Date

term

The term of the reservation, e.g. P1Y

term?: string

Property Value

string