Partager via


ApplicationInsightsComponentResource.GetApiKeys(CancellationToken) 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.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey> GetApiKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiKeys : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey>
override this.GetApiKeys : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey>
Public Overridable Function GetApiKeys (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApplicationInsightsComponentApiKey)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

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

Applies to