Bagikan melalui


DataCollectionEndpointsOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists all data collection endpoints in the specified resource group.

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

Parameters

operations
IDataCollectionEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to