Compartilhar via


MockableElasticSubscriptionResource.GetElasticMonitors Method

Definition

List all monitors under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors
  • Operation Id: Monitors_List
  • Default Api Version: 2024-03-01
  • Resource: ElasticMonitorResource
public virtual Azure.Pageable<Azure.ResourceManager.Elastic.ElasticMonitorResource> GetElasticMonitors (System.Threading.CancellationToken cancellationToken = default);
abstract member GetElasticMonitors : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Elastic.ElasticMonitorResource>
override this.GetElasticMonitors : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Elastic.ElasticMonitorResource>
Public Overridable Function GetElasticMonitors (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ElasticMonitorResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to