ElasticMonitoredSubscriptionCollection.GetAllAsync(CancellationToken) Method

Definition

List all subscriptions currently being monitored by the Elastic monitor resource, helping you manage observability.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions
  • Operation Id: MonitoredSubscriptionProperties_List
  • Default Api Version: 2025-06-01
  • Resource: ElasticMonitoredSubscriptionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Elastic.ElasticMonitoredSubscriptionResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Elastic.ElasticMonitoredSubscriptionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Elastic.ElasticMonitoredSubscriptionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ElasticMonitoredSubscriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to