다음을 통해 공유


DatadogMonitorResource.GetApiKeysAsync(CancellationToken) Method

Definition

List the api keys for a given monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listApiKeys
  • Operation Id: Monitors_ListApiKeys
public virtual Azure.AsyncPageable<Azure.ResourceManager.Datadog.Models.DatadogApiKey> GetApiKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Datadog.Models.DatadogApiKey>
override this.GetApiKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Datadog.Models.DatadogApiKey>
Public Overridable Function GetApiKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DatadogApiKey)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to