MockablePurviewSubscriptionResource.GetUsagesAsync Method

Definition

Get the usage quota configuration

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Purview/locations/{location}/usages
  • Operation Id: Usages_Get
  • Default Api Version: 2023-05-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Purview.Models.PurviewUsage> GetUsagesAsync (Azure.Core.AzureLocation location, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Purview.Models.PurviewUsage>
override this.GetUsagesAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Purview.Models.PurviewUsage>
Public Overridable Function GetUsagesAsync (location As AzureLocation, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PurviewUsage)

Parameters

location
AzureLocation

The region.

filter
String

The filter, currently unused.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of PurviewUsage that may take multiple service requests to iterate over.

Applies to