Share via


MockablePurviewSubscriptionResource.GetUsages 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.Pageable<Azure.ResourceManager.Purview.Models.PurviewUsage> GetUsages (Azure.Core.AzureLocation location, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsages : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Purview.Models.PurviewUsage>
override this.GetUsages : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Purview.Models.PurviewUsage>
Public Overridable Function GetUsages (location As AzureLocation, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PurviewUsage)

Parameters

location
AzureLocation

The region.

filter
String

The filter, currently unused.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to