BillingSubscriptionResource.MoveAsync 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.
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 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 to transfer billing subscription.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Azure SDK for .NET