ElasticMonitorResourceCollection.GetAll(CancellationToken) Method

Definition

List all monitors under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors
  • Operation Id: Monitors_ListByResourceGroup
  • Default Api Version: 2024-06-15-preview
  • Resource: ElasticMonitorResource
public virtual Azure.Pageable<Azure.ResourceManager.Elastic.ElasticMonitorResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Elastic.ElasticMonitorResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Elastic.ElasticMonitorResource>
Public Overridable Function GetAll (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