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.Resource
BillingSubscription

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
str

The cost center applied to the subscription.

sku_id
str

The sku ID of the Azure plan for the subscription.

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

display_name
str

The name of the subscription.

subscription_id
str

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
str

The ID of the billing profile to which the subscription is billed.

billing_profile_display_name
str

The name of the billing profile to which the subscription is billed.

cost_center
str

The cost center applied to the subscription.

customer_id
str

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
str

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
str

The ID of the invoice section to which the subscription is billed.

invoice_section_display_name
str

The name of the invoice section to which the subscription is billed.

reseller

Reseller for this subscription.

sku_id
str

The sku ID of the Azure plan for the subscription.

sku_description
str

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.