Delen via


ContainerGroupUsageOperationsExtensions.ListAsync Method

Definition

Get the usage for a subscription

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.UsageListResultInner> ListAsync (this Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupUsageOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupUsageOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.UsageListResultInner>
<Extension()>
Public Function ListAsync (operations As IContainerGroupUsageOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UsageListResultInner)

Parameters

operations
IContainerGroupUsageOperations

The operations group for this extension method.

location
String

The identifier for the physical azure location.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to