Share via


SubscriptionUsagesOperationsExtensions.ListByLocationAsync Method

Definition

Gets all subscription usage metrics in a given location.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SubscriptionUsage>> ListByLocationAsync (this Microsoft.Azure.Management.Sql.ISubscriptionUsagesOperations operations, string locationName, System.Threading.CancellationToken cancellationToken = default);
static member ListByLocationAsync : Microsoft.Azure.Management.Sql.ISubscriptionUsagesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SubscriptionUsage>>
<Extension()>
Public Function ListByLocationAsync (operations As ISubscriptionUsagesOperations, locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SubscriptionUsage))

Parameters

operations
ISubscriptionUsagesOperations

The operations group for this extension method.

locationName
String

The name of the region where the resource is located.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to