LogProfilesOperationsExtensions.GetAsync(ILogProfilesOperations, String, CancellationToken) Method

Definition

Gets the log profile.

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

Parameters

operations
ILogProfilesOperations

The operations group for this extension method.

logProfileName
System.String

The name of the log profile.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<LogProfileResource>

Applies to