Udostępnij za pośrednictwem


MonitoredSubscriptionPropertyCollection.GetAllAsync(CancellationToken) Method

Definition

List all the subscriptions currently being monitored by the Elastic monitor resource.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to