SavingsPlanModel interface

Savings plan

Extends

Properties

appliedScopeProperties

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

appliedScopeType

Type of the Applied Scope.

benefitStartTime

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

billingAccountId

Fully-qualified identifier of the billing account where the savings plan is applied. NOTE: This property will not be serialized. It can only be populated by the server.

billingPlan

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

billingProfileId

Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers. NOTE: This property will not be serialized. It can only be populated by the server.

billingScopeId

Subscription that will be charged for purchasing SavingsPlan

commitment

Commitment towards the benefit.

customerId

Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. NOTE: This property will not be serialized. It can only be populated by the server.

displayName

Display name

displayProvisioningState

The provisioning state of the savings plan for display, e.g. Succeeded NOTE: This property will not be serialized. It can only be populated by the server.

effectiveDateTime

DateTime of the savings plan starting when this version is effective from. NOTE: This property will not be serialized. It can only be populated by the server.

expiryDateTime

This is the date-time when the savings plan will expire. NOTE: This property will not be serialized. It can only be populated by the server.

extendedStatusInfo

Extended status information NOTE: This property will not be serialized. It can only be populated by the server.

productCode

Represents UPN

provisioningState

The provisioning state of the resource during a long-running operation.

purchaseDateTime

Date time when the savings plan was purchased. 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.

renewDestination

SavingsPlan Id of the SavingsPlan which is purchased because of renew.

renewProperties

Properties specific to renew.

renewSource

SavingsPlan Id of the SavingsPlan from which this SavingsPlan is renewed.

sku

Savings plan SKU

term

Represents the Savings plan term in ISO 8601 format.

userFriendlyAppliedScopeType

The applied scope type of the savings plan for display, e.g. Shared NOTE: This property will not be serialized. It can only be populated by the server.

utilization

Savings plan utilization NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

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

benefitStartTime

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

benefitStartTime?: Date

Property Value

Date

billingAccountId

Fully-qualified identifier of the billing account where the savings plan is applied. NOTE: This property will not be serialized. It can only be populated by the server.

billingAccountId?: string

Property Value

string

billingPlan

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

billingPlan?: string

Property Value

string

billingProfileId

Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers. NOTE: This property will not be serialized. It can only be populated by the server.

billingProfileId?: 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

customerId

Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. NOTE: This property will not be serialized. It can only be populated by the server.

customerId?: string

Property Value

string

displayName

Display name

displayName?: string

Property Value

string

displayProvisioningState

The provisioning state of the savings plan for display, e.g. Succeeded NOTE: This property will not be serialized. It can only be populated by the server.

displayProvisioningState?: string

Property Value

string

effectiveDateTime

DateTime of the savings plan starting when this version is effective from. NOTE: This property will not be serialized. It can only be populated by the server.

effectiveDateTime?: Date

Property Value

Date

expiryDateTime

This is the date-time when the savings plan will expire. NOTE: This property will not be serialized. It can only be populated by the server.

expiryDateTime?: Date

Property Value

Date

extendedStatusInfo

Extended status information NOTE: This property will not be serialized. It can only be populated by the server.

extendedStatusInfo?: ExtendedStatusInfo

Property Value

productCode

Represents UPN

productCode?: string

Property Value

string

provisioningState

The provisioning state of the resource during a long-running operation.

provisioningState?: string

Property Value

string

purchaseDateTime

Date time when the savings plan was purchased. NOTE: This property will not be serialized. It can only be populated by the server.

purchaseDateTime?: 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

renewDestination

SavingsPlan Id of the SavingsPlan which is purchased because of renew.

renewDestination?: string

Property Value

string

renewProperties

Properties specific to renew.

renewProperties?: RenewProperties

Property Value

renewSource

SavingsPlan Id of the SavingsPlan from which this SavingsPlan is renewed.

renewSource?: string

Property Value

string

sku

Savings plan SKU

sku: Sku

Property Value

Sku

term

Represents the Savings plan term in ISO 8601 format.

term?: string

Property Value

string

userFriendlyAppliedScopeType

The applied scope type of the savings plan for display, e.g. Shared NOTE: This property will not be serialized. It can only be populated by the server.

userFriendlyAppliedScopeType?: string

Property Value

string

utilization

Savings plan utilization NOTE: This property will not be serialized. It can only be populated by the server.

utilization?: Utilization

Property Value

Inherited Property Details

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResourceWithTags.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResourceWithTags.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From ProxyResourceWithTags.systemData

tags

Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From ProxyResourceWithTags.tags

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResourceWithTags.type