Delen via


DataCollectionRuleAssociationsOperationsExtensions.GetAsync Method

Definition

Returns the specified association.

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

Parameters

operations
IDataCollectionRuleAssociationsOperations

The operations group for this extension method.

resourceUri
String

The identifier of the resource.

associationName
String

The name of the association. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to