Language

ArmMonitorModelFactory.ActivityLogAlertPatch Method

Definition

public static Azure.ResourceManager.Monitor.Models.ActivityLogAlertPatch ActivityLogAlertPatch(System.Collections.Generic.IDictionary<string,string> tags = default, bool? isEnabled = default);
static member ActivityLogAlertPatch : System.Collections.Generic.IDictionary<string, string> * Nullable<bool> -> Azure.ResourceManager.Monitor.Models.ActivityLogAlertPatch
Public Shared Function ActivityLogAlertPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing) As ActivityLogAlertPatch

Parameters

tags
IDictionary<String,String>

The resource tags.

isEnabled
Nullable<Boolean>

Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.

Returns

A new ActivityLogAlertPatch instance for mocking.

Applies to