Share 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

AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey>

An async collection of Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey that may take multiple service requests to iterate over.

Applies to