共用方式為


DataCollectionRuleAssociationsOperationsExtensions.ListByDataCollectionEndpointAsync Method

Definition

Lists associations for the specified data collection endpoint.

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

Parameters

operations
IDataCollectionRuleAssociationsOperations

The operations group for this extension method.

resourceGroupName
String

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

dataCollectionEndpointName
String

The name of the data collection endpoint. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to