SavingsPlanOrderModel Class
Savings plan order.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
Constructor
SavingsPlanOrderModel(*, sku: _models.Sku, tags: Dict[str, str] | None = None, display_name: str | None = None, billing_scope_id: str | None = None, term: str | _models.SavingsPlanTerm | None = None, billing_plan: str | _models.BillingPlan | None = None, plan_information: _models.BillingPlanInformation | None = None, savings_plans: List[str] | None = None, product_code: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
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 < > % & ? /. Default value: None
|
|
sku
|
Savings plan SKU. Required. |
|
display_name
|
Display name. Default value: None
|
|
billing_scope_id
|
Subscription that will be charged for purchasing SavingsPlan. Default value: None
|
|
term
|
Represents the Savings plan term in ISO 8601 format. Known values are: "P1Y", "P3Y", and "P5Y". Default value: None
|
|
billing_plan
|
str or
BillingPlan
Represents the billing plan in ISO 8601 format. Required only for monthly purchases. "P1M" Default value: None
|
|
plan_information
|
Information describing the type of billing plan for this savings plan. Default value: None
|
|
savings_plans
|
Default value: None
|
|
product_code
|
Represents UPN. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long |
|
name
|
The name of the resource. |
|
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
|
system_data
|
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
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 < > % & ? /. |
|
sku
|
Savings plan SKU. Required. |
|
display_name
|
Display name. |
|
provisioning_state
|
The provisioning state of the savings plan, e.g. Succeeded. |
|
billing_scope_id
|
Subscription that will be charged for purchasing SavingsPlan. |
|
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. |
|
customer_id
|
Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. |
|
billing_account_id
|
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". |
|
billing_plan
|
str or
BillingPlan
Represents the billing plan in ISO 8601 format. Required only for monthly purchases. "P1M" |
|
benefit_start_time
|
DateTime when the savings plan benefit started. |
|
expiry_date_time
|
DateTime when the savings plan will expire. |
|
plan_information
|
Information describing the type of billing plan for this savings plan. |
|
savings_plans
|
|
|
extended_status_info
|
Extended status information. |
|
product_code
|
Represents UPN. |