CurrentQuotaLimitBaseResource.GetAsync(CancellationToken) Method

Definition

Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.CurrentQuotaLimitBaseResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.CurrentQuotaLimitBaseResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.CurrentQuotaLimitBaseResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CurrentQuotaLimitBaseResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to