BillingProductResource.Move 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 a product's charges 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 only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/move
- Operation Id: Products_Move
- Default Api Version: 2024-04-01
- Resource: BillingProductResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingProductResource> Move (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.MoveProductContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Move : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.MoveProductContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingProductResource>
override this.Move : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.MoveProductContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingProductResource>
Public Overridable Function Move (waitUntil As WaitUntil, content As MoveProductContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BillingProductResource)
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
- MoveProductContent
The properties of the product to initiate a transfer.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.