Sprog

MockableMonitorSubscriptionResource.GetDataCollectionEndpointsAsync Method

Definition

Lists all data collection endpoints in the specified subscription

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints.
  • Operation Id. : DataCollectionEndpointResources_ListBySubscription.
  • Default Api Version. : 2024-03-11.
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

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

Applies to