BillingSubscriptionAlias Class

A billing subscription alias.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.billing.models._models_py3.ProxyResourceWithTags
BillingSubscriptionAlias

Constructor

BillingSubscriptionAlias(*, tags: Dict[str, str] | None = None, auto_renew: str | _models.AutoRenew | None = None, beneficiary_tenant_id: str | None = None, beneficiary: _models.Beneficiary | None = None, billing_frequency: str | None = None, billing_profile_id: str | None = None, consumption_cost_center: str | None = None, customer_id: str | None = None, display_name: str | None = None, invoice_section_id: str | None = None, product_type_id: str | None = None, quantity: int | None = None, sku_id: str | None = None, system_overrides: _models.SystemOverrides | None = None, term_duration: str | None = None, provisioning_tenant_id: 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 < > % & ? /.

auto_renew

Indicates whether auto renewal is turned on or off for a product. Known values are: "Off" and "On".

beneficiary_tenant_id
str

The provisioning tenant of the subscription.

beneficiary

The beneficiary of the billing subscription.

billing_frequency
str

The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y.

billing_profile_id
str

The fully qualified ID that uniquely identifies a billing profile.

consumption_cost_center
str

The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement or Enterprise Agreement Type billing accounts.

customer_id
str

The fully qualified ID that uniquely identifies a customer.

display_name
str

The name of the billing subscription.

invoice_section_id
str

The fully qualified ID that uniquely identifies an invoice section.

product_type_id
str

Id of the product for which the subscription is purchased.

quantity
int

The quantity of licenses or fulfillment units for the subscription.

sku_id
str

The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts.

system_overrides

System imposed policies that regulate behavior of the subscription.

term_duration
str

The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y.

provisioning_tenant_id
str

The tenant in which the subscription is provisioned.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

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 < > % & ? /.

auto_renew

Indicates whether auto renewal is turned on or off for a product. Known values are: "Off" and "On".

beneficiary_tenant_id
str

The provisioning tenant of the subscription.

beneficiary

The beneficiary of the billing subscription.

billing_frequency
str

The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y.

billing_profile_id
str

The fully qualified ID that uniquely identifies a billing profile.

billing_policies

Dictionary of billing policies associated with the subscription.

billing_profile_display_name
str

The name of the billing profile.

billing_profile_name
str

The ID that uniquely identifies a billing profile.

consumption_cost_center
str

The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement or Enterprise Agreement Type billing accounts.

customer_id
str

The fully qualified ID that uniquely identifies a customer.

customer_display_name
str

The name of the customer.

customer_name
str

The ID that uniquely identifies a customer.

display_name
str

The name of the billing subscription.

enrollment_account_id
str

The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts.

enrollment_account_display_name
str

The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts.

invoice_section_id
str

The fully qualified ID that uniquely identifies an invoice section.

invoice_section_display_name
str

The name of the invoice section.

invoice_section_name
str

The ID that uniquely identifies an invoice section.

last_month_charges

The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts.

month_to_date_charges

The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts.

next_billing_cycle_details

Next billing cycle details of the subscription.

offer_id
str

The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts.

product_category
str

The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other.

product_type
str

Type of the product for which the subscription is purchased.

product_type_id
str

Id of the product for which the subscription is purchased.

purchase_date

Purchase date of the product in UTC time.

quantity
int

The quantity of licenses or fulfillment units for the subscription.

reseller

Reseller for this subscription. The fields is not available for Microsoft Partner Agreement billing accounts.

renewal_term_details

Details for the next renewal term of a subscription.

sku_id
str

The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts.

sku_description
str

The SKU description of the product for which the subscription is purchased. This field is is only available for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.

system_overrides

System imposed policies that regulate behavior of the subscription.

resource_uri
str

Unique identifier of the linked resource.

term_duration
str

The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y.

term_start_date

Start date of the term in UTC time.

term_end_date

End date of the term in UTC time.

provisioning_tenant_id
str

The tenant in which the subscription is provisioned.

status

The status of the subscription. This field is not available for Enterprise Agreement billing accounts. Known values are: "Other", "Unknown", "Active", "Disabled", "Deleted", "Warned", "Expiring", "Expired", "AutoRenew", "Cancelled", "Suspended", and "Failed".

operation_status

The status of an operation on the subscription. When None, there is no ongoing operation. When LockedForUpdate, write operations will be blocked on the Billing Subscription. Other is the default value and you may need to refer to the latest API version for more details. Known values are: "Other", "None", and "LockedForUpdate".

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".

subscription_id
str

The ID of the subscription.

suspension_reasons

The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts.

suspension_reason_details

The suspension details for a subscription. This field is not available for Enterprise Agreement billing accounts.

enrollment_account_start_date

The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement Type.

subscription_enrollment_account_status

The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement Type. Known values are: "Active", "Cancelled", "Expired", "Deleted", "TransferredOut", "Transferring", and "Inactive".

billing_subscription_id
str

The ID of the billing subscription with the subscription alias.