Share via


MockableDynatraceSubscriptionResource.GetDynatraceMonitorsAsync Method

Definition

List all MonitorResource by subscriptionId

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to