PurchaseRequest interface
Properties
applied |
Properties specific to applied scope type. Not required if not applicable. |
applied |
Type of the Applied Scope. |
billing |
Represents the billing plan in ISO 8601 format. Required only for monthly billing plans. |
billing |
Subscription that will be charged for purchasing the benefit |
commitment | Commitment towards the benefit. |
display |
Friendly name of the savings plan |
effective |
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
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
term
Represent benefit term in ISO 8601 format.
term?: string
Property Value
string