共用方式為


BillingSubscriptionResource.Merge 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource> Merge (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Merge : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.Merge : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMergeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function Merge (waitUntil As WaitUntil, content As BillingSubscriptionMergeContent, Optional cancellationToken As CancellationToken = Nothing) As 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