Share via


BillingSubscriptionResource.Update Method

Definition

Updates the properties of a billing subscription.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • Operation Id: BillingSubscriptions_Update
  • Default Api Version: 2024-04-01
  • Resource: BillingSubscriptionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function Update (waitUntil As WaitUntil, patch As BillingSubscriptionPatch, 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.

patch
BillingSubscriptionPatch

The billing properties of a subscription.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to