SavingsPlanModelProperties Class

Savings plan properties.

Constructor

SavingsPlanModelProperties(*args: Any, **kwargs: Any)

Variables

Name Description
display_name
str

Display name.

provisioning_state

The provisioning state of the resource during a long-running operation. Known values are: "Succeeded", "Canceled", "Failed", "New", "Pending", "Provisioning", "PendingBilling", "ConfirmedBilling", "Creating", "Created", and "Expired".

display_provisioning_state
str

The provisioning state of the savings plan for display, e.g. Succeeded.

user_friendly_applied_scope_type
str

The applied scope type of the savings plan for display, e.g. Shared.

billing_scope_id
str

Subscription that will be charged for purchasing SavingsPlan.

billing_profile_id
str

Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers.

customer_id
str

Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers.

billing_account_id
str

Fully-qualified identifier of the billing account where the savings plan is applied.

term

Represents the Savings plan term in ISO 8601 format. Known values are: "P1Y", "P3Y", and "P5Y".

renew

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

renew_source
str

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

renew_destination
str

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

renew_properties

Properties specific to renew.

billing_plan

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

applied_scope_type

Type of the Applied Scope. Known values are: "Single", "Shared", and "ManagementGroup".

applied_scope_properties

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

commitment

Commitment towards the benefit.

effective_date_time

DateTime of the savings plan starting when this version is effective from.

benefit_start_time

This is the DateTime when the savings plan benefit starts.

expiry_date_time

This is the date-time when the savings plan will expire.

purchase_date_time

Date time when the savings plan was purchased.

utilization

Savings plan utilization.

extended_status_info

Extended status information.

product_code
str

Represents UPN.

Attributes

applied_scope_properties

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

applied_scope_properties: _models.AppliedScopeProperties | None

applied_scope_type

"Single", "Shared", and "ManagementGroup".

applied_scope_type: str | _models.AppliedScopeType | None

benefit_start_time

This is the DateTime when the savings plan benefit starts.

benefit_start_time: datetime | None

billing_account_id

Fully-qualified identifier of the billing account where the savings plan is applied.

billing_account_id: str | None

billing_plan

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

billing_plan: str | _models.BillingPlan | None

billing_profile_id

Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers.

billing_profile_id: str | None

billing_scope_id

Subscription that will be charged for purchasing SavingsPlan.

billing_scope_id: str | None

commitment

Commitment towards the benefit.

commitment: _models.Commitment | None

customer_id

Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers.

customer_id: str | None

display_name

Display name.

display_name: str | None

display_provisioning_state

The provisioning state of the savings plan for display, e.g. Succeeded.

display_provisioning_state: str | None

effective_date_time

DateTime of the savings plan starting when this version is effective from.

effective_date_time: datetime | None

expiry_date_time

This is the date-time when the savings plan will expire.

expiry_date_time: datetime | None

extended_status_info

Extended status information.

extended_status_info: _models.ExtendedStatusInfo | None

product_code

Represents UPN.

product_code: str | None

provisioning_state

The provisioning state of the resource during a long-running operation. Known values are: "Succeeded", "Canceled", "Failed", "New", "Pending", "Provisioning", "PendingBilling", "ConfirmedBilling", "Creating", "Created", and "Expired".

provisioning_state: str | _models.ProvisioningState | None

purchase_date_time

Date time when the savings plan was purchased.

purchase_date_time: datetime | None

renew

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

renew: bool | None

renew_destination

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

renew_destination: str | None

renew_properties

Properties specific to renew.

renew_properties: _models.RenewProperties | None

renew_source

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

renew_source: str | None

term

"P1Y", "P3Y", and "P5Y".

term: str | _models.SavingsPlanTerm | None

user_friendly_applied_scope_type

The applied scope type of the savings plan for display, e.g. Shared.

user_friendly_applied_scope_type: str | None

utilization

Savings plan utilization.

utilization: _models.Utilization | None