Aracılığıyla paylaş


CurrentUsagesBaseResource.GetAsync(CancellationToken) Method

Definition

Get the current usage of a resource.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to