Partager via


APIKeysOperationsExtensions.DeleteAsync Méthode

Définition

Supprimer une clé API d’un composant Application Insights.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAPIKey> DeleteAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IAPIKeysOperations operations, string resourceGroupName, string resourceName, string keyId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IAPIKeysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAPIKey>
<Extension()>
Public Function DeleteAsync (operations As IAPIKeysOperations, resourceGroupName As String, resourceName As String, keyId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

keyId
String

ID de clé API. Il s’agit d’un composant Application Insights unique.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à