你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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