PurchaseRequest interface

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 billing plans.

billingScopeId

Subscription that will be charged for purchasing the benefit

commitment

Commitment towards the benefit.

displayName

Friendly name of the savings plan

effectiveDateTime

DateTime of the savings plan starts providing benefit from. NOTE: This property will not be serialized. It can only be populated by the server.

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

Represent benefit 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 billing plans.

billingPlan?: string

Property Value

string

billingScopeId

Subscription that will be charged for purchasing the benefit

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

effectiveDateTime

DateTime of the savings plan starts providing benefit from. NOTE: This property will not be serialized. It can only be populated by the server.

effectiveDateTime?: Date

Property Value

Date

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

Represent benefit term in ISO 8601 format.

term?: string

Property Value

string