Dela via


BillingSubscriptionResource.MoveAsync Method

Definition

Moves a subscription's charges to a new 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
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>> MoveAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionMoveContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMoveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
override this.MoveAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionMoveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
Public Overridable Function MoveAsync (waitUntil As WaitUntil, content As BillingSubscriptionMoveContent, 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
BillingSubscriptionMoveContent

Request parameters that are provided to the move subscription operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to