Share via


ComputeLimitSharedLimitResource.UpdateAsync Method

Definition

Enables sharing of a compute limit by the host subscription with its guest subscriptions.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}.
  • Operation Id. : SharedLimits_Create.
  • Default Api Version. : 2025-08-15.
  • Resource. : ComputeLimitSharedLimitResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ComputeLimitSharedLimitData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ComputeLimitSharedLimitResource))

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.

data
ComputeLimitSharedLimitData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to