ArmBillingModelFactory.BillingSubscriptionAliasData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BillingSubscriptionAliasData.
public static Azure.ResourceManager.Billing.BillingSubscriptionAliasData BillingSubscriptionAliasData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState? autoRenew = default, string beneficiaryTenantId = default, string billingFrequency = default, Azure.Core.ResourceIdentifier billingProfileId = default, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies = default, string billingProfileDisplayName = default, string billingProfileName = default, string consumptionCostCenter = default, string customerId = default, string customerDisplayName = default, string displayName = default, string enrollmentAccountId = default, string enrollmentAccountDisplayName = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, string invoiceSectionDisplayName = default, string invoiceSectionName = default, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges = default, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges = default, string nextBillingCycleBillingFrequency = default, string offerId = default, string productCategory = default, string productType = default, string productTypeId = default, DateTimeOffset? purchaseOn = default, long? quantity = default, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller = default, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails = default, string skuDescription = default, string skuId = default, Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus? status = default, string subscriptionId = default, System.Collections.Generic.IEnumerable<string> suspensionReasons = default, TimeSpan? termDuration = default, DateTimeOffset? termStartOn = default, DateTimeOffset? termEndOn = default, Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus? subscriptionEnrollmentAccountStatus = default, DateTimeOffset? enrollmentAccountStartOn = default, Azure.Core.ResourceIdentifier billingSubscriptionId = default);
static member BillingSubscriptionAliasData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> * string * string * Azure.Core.ResourceIdentifier * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * string * string * string * string * string * string * string * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<int64> * Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller * Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails * string * string * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> * string * seq<string> * Nullable<TimeSpan> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Billing.BillingSubscriptionAliasData
Public Shared Function BillingSubscriptionAliasData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional autoRenew As Nullable(Of BillingSubscriptionAutoRenewState) = Nothing, Optional beneficiaryTenantId As String = Nothing, Optional billingFrequency As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingPolicies As IReadOnlyDictionary(Of String, String) = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional billingProfileName As String = Nothing, Optional consumptionCostCenter As String = Nothing, Optional customerId As String = Nothing, Optional customerDisplayName As String = Nothing, Optional displayName As String = Nothing, Optional enrollmentAccountId As String = Nothing, Optional enrollmentAccountDisplayName As String = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional invoiceSectionName As String = Nothing, Optional lastMonthCharges As BillingAmount = Nothing, Optional monthToDateCharges As BillingAmount = Nothing, Optional nextBillingCycleBillingFrequency As String = Nothing, Optional offerId As String = Nothing, Optional productCategory As String = Nothing, Optional productType As String = Nothing, Optional productTypeId As String = Nothing, Optional purchaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional quantity As Nullable(Of Long) = Nothing, Optional reseller As CreatedSubscriptionReseller = Nothing, Optional renewalTermDetails As SubscriptionRenewalTermDetails = Nothing, Optional skuDescription As String = Nothing, Optional skuId As String = Nothing, Optional status As Nullable(Of BillingSubscriptionStatus) = Nothing, Optional subscriptionId As String = Nothing, Optional suspensionReasons As IEnumerable(Of String) = Nothing, Optional termDuration As Nullable(Of TimeSpan) = Nothing, Optional termStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional termEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional subscriptionEnrollmentAccountStatus As Nullable(Of SubscriptionEnrollmentAccountStatus) = Nothing, Optional enrollmentAccountStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional billingSubscriptionId As ResourceIdentifier = Nothing) As BillingSubscriptionAliasData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- autoRenew
- Nullable<BillingSubscriptionAutoRenewState>
Indicates whether auto renewal is turned on or off for a subscription.
- beneficiaryTenantId
- String
The provisioning tenant of the subscription.
- billingFrequency
- String
The billing frequency of the subscription in the ISO8601 format. Example: P1M, P3M, P1Y.
- billingProfileId
- ResourceIdentifier
The ID of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts.
- billingPolicies
- IReadOnlyDictionary<String,String>
Dictionary of billing policies associated with the subscription.
- billingProfileDisplayName
- String
The display name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts.
- billingProfileName
- String
The name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts.
- consumptionCostCenter
- String
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement Type billing accounts.
- customerId
- String
The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts.
- customerDisplayName
- String
The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts.
- displayName
- String
The name of the subscription.
- enrollmentAccountId
- String
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement billing accounts.
- enrollmentAccountDisplayName
- String
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement billing accounts.
- invoiceSectionId
- ResourceIdentifier
The ID of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts.
- invoiceSectionDisplayName
- String
The display name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts.
- invoiceSectionName
- String
The name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts.
- lastMonthCharges
- BillingAmount
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts.
- monthToDateCharges
- BillingAmount
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts.
- nextBillingCycleBillingFrequency
- String
Next billing cycle details of the subscription.
- offerId
- String
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts.
- productCategory
- String
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other.
- productType
- String
The type of the product for which the subscription is purchased.
- productTypeId
- String
The ID of the product for which the subscription is purchased.
- purchaseOn
- Nullable<DateTimeOffset>
The purchase date of the subscription in UTC time.
- reseller
- CreatedSubscriptionReseller
The reseller for which the subscription is created. The field is available for Microsoft Partner Agreement billing accounts.
- renewalTermDetails
- SubscriptionRenewalTermDetails
The term details of the subscription at the next renewal.
- skuDescription
- String
The SKU description of the product for which the subscription is purchased. This field is only available for Microsoft Customer Agreement billing accounts.
- skuId
- String
The SKU ID of the product for which the subscription is purchased. This field is only available for Microsoft Customer Agreement billing accounts.
- status
- Nullable<BillingSubscriptionStatus>
The status of the subscription. This field is not available for Enterprise Agreement billing accounts.
- subscriptionId
- String
The ID of the usage-based subscription. This field is only available for usage-based subscriptions of Microsoft Customer Agreement billing accounts.
- suspensionReasons
- IEnumerable<String>
The suspension reason for the subscription. This field is not available for Enterprise Agreement billing accounts.
The duration for which you can use the subscription. Example P1Y and P1M.
- termStartOn
- Nullable<DateTimeOffset>
The start date of the term in UTC time.
- termEndOn
- Nullable<DateTimeOffset>
The end date of the term in UTC time.
- subscriptionEnrollmentAccountStatus
- Nullable<SubscriptionEnrollmentAccountStatus>
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement billing accounts.
- enrollmentAccountStartOn
- Nullable<DateTimeOffset>
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement billing accounts.
- billingSubscriptionId
- ResourceIdentifier
The ID of the billing subscription with the subscription alias.
Returns
A new BillingSubscriptionAliasData instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for