DatadogMonitorResourceCollection.GetAll(CancellationToken) Method

Definition

List all monitors under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors
  • Operation Id: Monitors_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.Datadog.DatadogMonitorResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Datadog.DatadogMonitorResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Datadog.DatadogMonitorResource>
Public Overridable Function GetAll (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