Partilhar via


ApplicationInsightsComponentResource.GetAPIKeysAsync Método

Definição

Obtém uma lista de chaves de API de um componente do Application Insights.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys
  • IdAPIKeys_List de operação
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey> GetAPIKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAPIKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey>
override this.GetAPIKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey>
Public Overridable Function GetAPIKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsComponentAPIKey)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ApplicationInsightsComponentAPIKey que pode levar várias solicitações de serviço para iterar.

Aplica-se a