Share via


MockableMonitorSubscriptionResource.GetDataCollectionEndpoints 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.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource> GetDataCollectionEndpoints (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataCollectionEndpoints : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
override this.GetDataCollectionEndpoints : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
Public Overridable Function GetDataCollectionEndpoints (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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