ComputeLimitFeatureResource.Enable(WaitUntil, CancellationToken) Method

Definition

Enables a compute limit feature for the subscription at the specified location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}/enable.
  • Operation Id. : Features_Enable.
  • Default Api Version. : 2026-04-30.
  • Resource. : ComputeLimitFeatureResource.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult> Enable(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member Enable : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>
override this.Enable : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>
Public Overridable Function Enable (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of OperationStatusResult)

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.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to