Share via


APIKeysOperationsExtensions.ListAsync Method

Definition

Gets a list of API keys of an Application Insights component.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAPIKey>> ListAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IAPIKeysOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IAPIKeysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAPIKey>>
<Extension()>
Public Function ListAsync (operations As IAPIKeysOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ApplicationInsightsComponentAPIKey))

Parameters

operations
IAPIKeysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to