Share via


NewRelicMonitorResourceCollection.GetAll(CancellationToken) Method

Definition

List NewRelicMonitorResource resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors
  • Operation Id: Monitors_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource
public virtual Azure.Pageable<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NewRelicMonitorResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to