Partager via


APIKeysOperationsExtensions.ListAsync Méthode

Définition

Obtient la liste des clés API d’un composant Application Insights.

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))

Paramètres

operations
IAPIKeysOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName
String

Nom de la ressource du composant Application Insights.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à