DataCollectionEndpointsOperationsExtensions.ListBySubscriptionAsync(IDataCollectionEndpointsOperations, CancellationToken) Method

Definition

Lists all data collection endpoints in the specified subscription

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Monitor.IDataCollectionEndpointsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Monitor.IDataCollectionEndpointsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IDataCollectionEndpointsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DataCollectionEndpointResource))

Parameters

operations
IDataCollectionEndpointsOperations

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<DataCollectionEndpointResource>>

Applies to