Share via


BillingSubscription Constructors

Definition

Overloads

BillingSubscription()

Initializes a new instance of the BillingSubscription class.

BillingSubscription(String, String, String, String, Nullable<Guid>, String, Amount, Amount, String, String, String, String, String, String, String, Reseller, String, String)

Initializes a new instance of the BillingSubscription class.

BillingSubscription()

Initializes a new instance of the BillingSubscription class.

public BillingSubscription ();
Public Sub New ()

Applies to

BillingSubscription(String, String, String, String, Nullable<Guid>, String, Amount, Amount, String, String, String, String, String, String, String, Reseller, String, String)

Initializes a new instance of the BillingSubscription class.

public BillingSubscription (string id = default, string name = default, string type = default, string displayName = default, Guid? subscriptionId = default, string subscriptionBillingStatus = default, Microsoft.Azure.Management.Billing.Models.Amount lastMonthCharges = default, Microsoft.Azure.Management.Billing.Models.Amount monthToDateCharges = default, string billingProfileId = default, string billingProfileDisplayName = default, string costCenter = default, string customerId = default, string customerDisplayName = default, string invoiceSectionId = default, string invoiceSectionDisplayName = default, Microsoft.Azure.Management.Billing.Models.Reseller reseller = default, string skuId = default, string skuDescription = default);
new Microsoft.Azure.Management.Billing.Models.BillingSubscription : string * string * string * string * Nullable<Guid> * string * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * string * string * string * string * string * string * string * Microsoft.Azure.Management.Billing.Models.Reseller * string * string -> Microsoft.Azure.Management.Billing.Models.BillingSubscription
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional displayName As String = Nothing, Optional subscriptionId As Nullable(Of Guid) = Nothing, Optional subscriptionBillingStatus As String = Nothing, Optional lastMonthCharges As Amount = Nothing, Optional monthToDateCharges As Amount = Nothing, Optional billingProfileId As String = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional costCenter As String = Nothing, Optional customerId As String = Nothing, Optional customerDisplayName As String = Nothing, Optional invoiceSectionId As String = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional reseller As Reseller = Nothing, Optional skuId As String = Nothing, Optional skuDescription As String = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

displayName
String

The name of the subscription.

subscriptionId
Nullable<Guid>

The ID of the subscription.

subscriptionBillingStatus
String

The current billing status of the subscription. Possible values include: 'Active', 'Inactive', 'Abandoned', 'Deleted', 'Warning'

lastMonthCharges
Amount

The last month charges.

monthToDateCharges
Amount

The current month to date charges.

billingProfileId
String

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

billingProfileDisplayName
String

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

costCenter
String

The cost center applied to the subscription.

customerId
String

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

customerDisplayName
String

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

invoiceSectionId
String

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

invoiceSectionDisplayName
String

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

reseller
Reseller

Reseller for this subscription.

skuId
String

The sku ID of the Azure plan for the subscription.

skuDescription
String

The sku description of the Azure plan for the subscription.

Applies to