Condividi tramite


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

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