BillingSubscriptionData Class

Definition

A class representing the BillingSubscription data model. A billing subscription.

public class BillingSubscriptionData : Azure.ResourceManager.Models.ResourceData
type BillingSubscriptionData = class
    inherit ResourceData
Public Class BillingSubscriptionData
Inherits ResourceData
Inheritance
BillingSubscriptionData

Constructors

BillingSubscriptionData()

Initializes a new instance of BillingSubscriptionData.

Properties

AutoRenew

Indicates whether auto renewal is turned on or off for a subscription.

BeneficiaryTenantId

The provisioning tenant of the subscription.

BillingFrequency

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

BillingPolicies

Dictionary of billing policies associated with the subscription.

BillingProfileDisplayName

The display name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts.

BillingProfileId

The ID of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts.

BillingProfileName

The name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts.

ConsumptionCostCenter

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

CustomerDisplayName

The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts.

CustomerId

The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts.

DisplayName

The name of the subscription.

EnrollmentAccountDisplayName

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

EnrollmentAccountId

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

EnrollmentAccountStartOn

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
InvoiceSectionDisplayName

The display name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts.

InvoiceSectionId

The ID of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts.

InvoiceSectionName

The name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts.

LastMonthCharges

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

MonthToDateCharges

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

Name

The name of the resource.

(Inherited from ResourceData)
NextBillingCycleBillingFrequency

The billing frequency of the subscription in the next billing cycle.

OfferId

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

ProductCategory

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

ProductType

The type of the product for which the subscription is purchased.

ProductTypeId

The ID of the product for which the subscription is purchased.

PurchaseOn

The purchase date of the subscription in UTC time.

Quantity

The number of licenses purchased for the subscription.

RenewalTermDetails

The term details of the subscription at the next renewal.

Reseller

The reseller for which the subscription is created. The field is available for Microsoft Partner Agreement billing accounts.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SkuDescription

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

SkuId

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

Status

The status of the subscription. This field is not available for Enterprise Agreement billing accounts.

SubscriptionEnrollmentAccountStatus

The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement billing accounts.

SubscriptionId

The ID of the usage-based subscription. This field is only available for usage-based subscriptions of Microsoft Customer Agreement billing accounts.

SuspensionReasons

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TermDuration

The duration for which you can use the subscription. Example P1Y and P1M.

TermEndOn

The end date of the term in UTC time.

TermStartOn

The start date of the term in UTC time.

Applies to