Freigeben über


APIKeysOperationsExtensions.DeleteAsync Methode

Definition

Löschen sie einen API-Schlüssel einer Application Insights-Komponente.

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)

Parameter

operations
IAPIKeysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.

resourceName
String

Der Name der Application Insights-Komponentenressource.

keyId
String

Die API-Schlüssel-ID. Dies ist innerhalb einer Application Insights-Komponente eindeutig.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: