ActivityLogAlertsOperationsExtensions.GetAsync Method

Definition

Get an Activity Log Alert rule.

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

Parameters

operations
IActivityLogAlertsOperations

The operations group for this extension method.

resourceGroupName
String

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

activityLogAlertName
String

The name of the Activity Log Alert rule.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to