Dela via


MockableDatadogSubscriptionResource.GetDatadogMonitorResources Method

Definition

List all monitors under the specified subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to