Share via


NewRelicMonitoredSubscriptionCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.NewRelicObservability.NewRelicMonitoredSubscriptionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NewRelicObservability.NewRelicMonitoredSubscriptionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NewRelicObservability.NewRelicMonitoredSubscriptionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NewRelicMonitoredSubscriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to