Partilhar 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

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

Applies to