Delen via


DataCollectionRuleAssociationsOperationsExtensions.ListByResourceAsync Method

Definition

Lists associations for the specified resource.

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

Parameters

operations
IDataCollectionRuleAssociationsOperations

The operations group for this extension method.

resourceUri
String

The identifier of the resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to