Compartir a través de


APIKeysOperationsExtensions.GetAsync Método

Definición

Obtenga la clave de API para este identificador de clave.

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

Parámetros

operations
IAPIKeysOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

resourceName
String

Nombre del recurso de componente de Application Insights.

keyId
String

Identificador de clave de API. Esto es único dentro de un componente de Application Insights.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a