Dela via


MockableDatadogSubscriptionResource.GetDatadogMonitorResourcesAsync Method

Definition

List all monitors under the specified subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to