ActivityLogAlertsOperationsExtensions.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
public static Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource Update (this Microsoft.Azure.Management.Monitor.IActivityLogAlertsOperations operations, string resourceGroupName, string activityLogAlertName, Microsoft.Azure.Management.Monitor.Models.AlertRulePatchObject activityLogAlertRulePatch);
static member Update : Microsoft.Azure.Management.Monitor.IActivityLogAlertsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.AlertRulePatchObject -> Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource
<Extension()>
Public Function Update (operations As IActivityLogAlertsOperations, resourceGroupName As String, activityLogAlertName As String, activityLogAlertRulePatch As AlertRulePatchObject) As 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.
- activityLogAlertRulePatch
- AlertRulePatchObject
Parameters supplied to the operation.
Returns
Applies to
Azure SDK for .NET