SavingsPlanValidateModel interface

Savings plan validate model

Extends

Properties

appliedScopeProperties

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

appliedScopeType

Type of the Applied Scope.

benefitType

Type of benefit to validate. This is used to determine the model type for validation.

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

Display name

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind

Resource provider kind

name

The name of the resource

provisioningState

Provisioning state

renew

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

savingsPlanOrderId

Identifier of the savings plan created

sku

Savings plan SKU

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

term

Represent benefit term in ISO 8601 format.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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

benefitType

Type of benefit to validate. This is used to determine the model type for validation.

benefitType: "SavingsPlan"

Property Value

"SavingsPlan"

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

Display name

displayName?: string

Property Value

string

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

kind

Resource provider kind

kind?: string

Property Value

string

name

The name of the resource

name?: string

Property Value

string

provisioningState

Provisioning state

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

savingsPlanOrderId

Identifier of the savings plan created

savingsPlanOrderId?: string

Property Value

string

sku

Savings plan SKU

sku: ResourceSku

Property Value

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

term

Represent benefit term in ISO 8601 format.

term?: string

Property Value

string

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string