Share via


MockableMonitorSubscriptionResource.GetDataCollectionEndpointsAsync Method

Definition

Lists all data collection endpoints in the specified subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints
  • Operation Id: DataCollectionEndpoints_ListBySubscription
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource> GetDataCollectionEndpointsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataCollectionEndpointsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
override this.GetDataCollectionEndpointsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
Public Overridable Function GetDataCollectionEndpointsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataCollectionEndpointResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to