PurchaseRequest interface

Purchase request.

Properties

appliedScopeProperties

Properties specific to applied scope type. Not required if not applicable.

appliedScopeType

Type of the Applied Scope.

billingPlan

Represents the billing plan in ISO 8601 format. Required only for monthly purchases.

billingScopeId

Subscription that will be charged for purchasing SavingsPlan

commitment

Commitment towards the benefit.

displayName

Friendly name of the savings plan

renew

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

sku

The SKU to be applied for this resource

term

Represents the Savings plan term in ISO 8601 format.

Property Details

appliedScopeProperties

Properties specific to applied scope type. Not required if not applicable.

appliedScopeProperties?: AppliedScopeProperties

Property Value

appliedScopeType

Type of the Applied Scope.

appliedScopeType?: string

Property Value

string

billingPlan

Represents the billing plan in ISO 8601 format. Required only for monthly purchases.

billingPlan?: string

Property Value

string

billingScopeId

Subscription that will be charged for purchasing SavingsPlan

billingScopeId?: string

Property Value

string

commitment

Commitment towards the benefit.

commitment?: Commitment

Property Value

displayName

Friendly name of the savings plan

displayName?: string

Property Value

string

renew

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

renew?: boolean

Property Value

boolean

sku

The SKU to be applied for this resource

sku?: Sku

Property Value

Sku

term

Represents the Savings plan term in ISO 8601 format.

term?: string

Property Value

string