Share via


NewRelicMonitoredSubscriptionCollection.GetAll(CancellationToken) Method

Definition

List the subscriptions currently being monitored by the NewRelic monitor resource.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to