Share via


BillingSubscriptionResource.Split Method

Definition

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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource> Split (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionSplitContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Split : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionSplitContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.Split : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionSplitContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function Split (waitUntil As WaitUntil, content As BillingSubscriptionSplitContent, 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
BillingSubscriptionSplitContent

Request parameters that are provided to split the billing subscription.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to