MockableMonitorSubscriptionResource.GetDataCollectionEndpoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.