BillingSubscription Class
A billing subscription.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.billing.models._models_py3.ResourceBillingSubscription
Constructor
BillingSubscription(*, subscription_billing_status: str | _models.BillingSubscriptionStatusType | None = None, cost_center: str | None = None, sku_id: str | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
subscription_billing_status
|
The current billing status of the subscription. Known values are: "Active", "Inactive", "Abandoned", "Deleted", and "Warning". |
cost_center
|
The cost center applied to the subscription. |
sku_id
|
The sku ID of the Azure plan for the subscription. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
display_name
|
The name of the subscription. |
subscription_id
|
The ID of the subscription. |
subscription_billing_status
|
The current billing status of the subscription. Known values are: "Active", "Inactive", "Abandoned", "Deleted", and "Warning". |
last_month_charges
|
The last month charges. |
month_to_date_charges
|
The current month to date charges. |
billing_profile_id
|
The ID of the billing profile to which the subscription is billed. |
billing_profile_display_name
|
The name of the billing profile to which the subscription is billed. |
cost_center
|
The cost center applied to the subscription. |
customer_id
|
The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account. |
customer_display_name
|
The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account. |
invoice_section_id
|
The ID of the invoice section to which the subscription is billed. |
invoice_section_display_name
|
The name of the invoice section to which the subscription is billed. |
reseller
|
Reseller for this subscription. |
sku_id
|
The sku ID of the Azure plan for the subscription. |
sku_description
|
The sku description of the Azure plan for the subscription. |
suspension_reasons
|
The suspension reason for a subscription. Applies only to subscriptions in Microsoft Online Services Program billing accounts. |
Azure SDK for Python