ArmBillingModelFactory.BillingSubscriptionPatch 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 BillingSubscriptionPatch.
public static Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch BillingSubscriptionPatch (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, Guid? beneficiaryTenantId = default, Azure.ResourceManager.Billing.Models.BillingBeneficiary beneficiary = 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 customerName = 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 skuId = default, string skuDescription = default, Azure.ResourceManager.Billing.Models.BillingSystemOverrides systemOverrides = default, Uri resourceUri = default, TimeSpan? termDuration = default, DateTimeOffset? termStartOn = default, DateTimeOffset? termEndOn = default, Guid? provisioningTenantId = default, Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus? status = default, Azure.ResourceManager.Billing.Models.BillingSubscriptionOperationStatus? operationStatus = default, Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, string subscriptionId = default, System.Collections.Generic.IEnumerable<string> suspensionReasons = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> suspensionReasonDetails = default, DateTimeOffset? enrollmentAccountStartOn = default, Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus? subscriptionEnrollmentAccountStatus = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member BillingSubscriptionPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> * Nullable<Guid> * Azure.ResourceManager.Billing.Models.BillingBeneficiary * string * Azure.Core.ResourceIdentifier * System.Collections.Generic.IReadOnlyDictionary<string, 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 * Azure.ResourceManager.Billing.Models.BillingSystemOverrides * Uri * Nullable<TimeSpan> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Guid> * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> * Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionOperationStatus> * Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * string * seq<string> * seq<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch
Public Shared Function BillingSubscriptionPatch (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 Nullable(Of Guid) = Nothing, Optional beneficiary As BillingBeneficiary = 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 customerName 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 skuId As String = Nothing, Optional skuDescription As String = Nothing, Optional systemOverrides As BillingSystemOverrides = Nothing, Optional resourceUri As Uri = Nothing, Optional termDuration As Nullable(Of TimeSpan) = Nothing, Optional termStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional termEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningTenantId As Nullable(Of Guid) = Nothing, Optional status As Nullable(Of BillingSubscriptionStatus) = Nothing, Optional operationStatus As Nullable(Of BillingSubscriptionOperationStatus) = Nothing, Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional subscriptionId As String = Nothing, Optional suspensionReasons As IEnumerable(Of String) = Nothing, Optional suspensionReasonDetails As IEnumerable(Of BillingSubscriptionStatusDetails) = Nothing, Optional enrollmentAccountStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional subscriptionEnrollmentAccountStatus As Nullable(Of SubscriptionEnrollmentAccountStatus) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As BillingSubscriptionPatch
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 product.
- beneficiary
- BillingBeneficiary
The beneficiary of the billing subscription.
- billingFrequency
- String
The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y.
- billingProfileId
- ResourceIdentifier
The fully qualified ID that uniquely identifies a billing profile.
- billingPolicies
- IReadOnlyDictionary<String,String>
Dictionary of billing policies associated with the subscription.
- billingProfileDisplayName
- String
The name of the billing profile.
- billingProfileName
- String
The ID that uniquely identifies a billing profile.
- consumptionCostCenter
- String
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.
- customerId
- String
The fully qualified ID that uniquely identifies a customer.
- customerDisplayName
- String
The name of the customer.
- customerName
- String
The ID that uniquely identifies a customer.
- displayName
- String
The name of the billing subscription.
- enrollmentAccountId
- String
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts.
- enrollmentAccountDisplayName
- String
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts.
- invoiceSectionId
- ResourceIdentifier
The fully qualified ID that uniquely identifies an invoice section.
- invoiceSectionDisplayName
- String
The name of the invoice section.
- invoiceSectionName
- String
The ID that uniquely identifies an invoice section.
- 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
Type of the product for which the subscription is purchased.
- productTypeId
- String
Id of the product for which the subscription is purchased.
- purchaseOn
- Nullable<DateTimeOffset>
Purchase date of the product in UTC time.
- reseller
- CreatedSubscriptionReseller
Reseller for this subscription. The fields is not available for Microsoft Partner Agreement billing accounts.
- renewalTermDetails
- SubscriptionRenewalTermDetails
Details for the next renewal term of a subscription.
- skuId
- String
The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts.
- skuDescription
- String
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.
- systemOverrides
- BillingSystemOverrides
System imposed policies that regulate behavior of the subscription.
- resourceUri
- Uri
Unique identifier of the linked resource.
The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y.
- termStartOn
- Nullable<DateTimeOffset>
Start date of the term in UTC time.
- termEndOn
- Nullable<DateTimeOffset>
End date of the term in UTC time.
- status
- Nullable<BillingSubscriptionStatus>
The status of the subscription. This field is not available for Enterprise Agreement billing accounts.
- operationStatus
- Nullable<BillingSubscriptionOperationStatus>
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.
- provisioningState
- Nullable<BillingProvisioningState>
The provisioning state of the resource during a long-running operation.
- subscriptionId
- String
The ID of the subscription.
- suspensionReasons
- IEnumerable<String>
The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts.
- suspensionReasonDetails
- IEnumerable<BillingSubscriptionStatusDetails>
The suspension details for a subscription. This field is not available for 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 Type.
- subscriptionEnrollmentAccountStatus
- Nullable<SubscriptionEnrollmentAccountStatus>
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement Type.
- tags
- IDictionary<String,String>
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 < > % & \ ? /.
Returns
A new BillingSubscriptionPatch instance for mocking.