다음을 통해 공유


UsagesOperationsExtensions.ListByLocationAsync Method

Definition

Gets the list of usages.

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

Parameters

operations
IUsagesOperations

The operations group for this extension method.

location
String

The location name.

filter
String

The filter to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Returns list of usage per SKU family for the specified subscription in the specified region.

Applies to