Share via


BillingSubscriptionResource.MergeAsync Method

Definition

Merges the billing subscription provided in the request with a target billing subscription.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
  • Operation Id: BillingSubscriptions_Merge
  • Default Api Version: 2024-04-01
  • Resource: BillingSubscriptionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>> MergeAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
override this.MergeAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
Public Overridable Function MergeAsync (waitUntil As WaitUntil, content As BillingSubscriptionMergeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BillingSubscriptionResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
BillingSubscriptionMergeContent

Request parameters that are provided to merge the two billing subscriptions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to