BillingSubscriptionResource.SplitAsync 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.
Splits a subscription into a new subscription with quantity less than current subscription quantity and not equal to 0.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
- Operation Id: BillingSubscriptions_Split
- Default Api Version: 2024-04-01
- Resource: BillingSubscriptionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>> SplitAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionSplitContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SplitAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionSplitContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
override this.SplitAsync : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionSplitContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>>
Public Overridable Function SplitAsync (waitUntil As WaitUntil, content As BillingSubscriptionSplitContent, 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
- BillingSubscriptionSplitContent
Request parameters that are provided to split the billing subscription.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.