Delen via


ApplicationInsightsComponentResource.GetAPIKeysAsync Method

Definition

Gets a list of API keys of an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys
  • Operation Id: APIKeys_List
  • Default Api Version: 2015-05-01
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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ApplicationInsightsComponentAPIKey that may take multiple service requests to iterate over.

Applies to