BillingSubscriptionResource.Move Method

Definition

Moves charges for a subscription to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move
  • Operation Id: BillingSubscriptions_Move
  • Default Api Version: 2024-04-01
  • Resource: BillingSubscriptionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource> Move (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionMoveContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Move : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMoveContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.Move : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMoveContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function Move (waitUntil As WaitUntil, content As BillingSubscriptionMoveContent, 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
BillingSubscriptionMoveContent

Request parameters to transfer billing subscription.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to