Set-AzureRmActivityLogAlert
Syntax
-Location <String>]
-Name <String>
-ResourceGroupName <String>
-Scope <System.Collections.Generic.List`1[System.String]>
-Condition
-Action
[-DisableAlert]
[-Description<String>
[-Tag
[-DefaultProfile<IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters> ]
Description
The Set-AzureRmActivityLogAlert cmdlet creates a new or sets an existing activity log alert. For tags, conditions, and actions, the objects must be created in advance and passed as parameters in this call separated by commas..
Required parameters
-InputObject
Description | Sets the InputObject tags property of the call to extract the required name, and resource group name properties. |
Type | PSActivityLogAlertResource |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
--Action
Description | The list of action groups for the activity log alert. |
Type | System.Collections.Generic.List`1[Microsoft.Azure.Management.Monitor.Management.Models.ActivityLogAlertActionGroup] |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Name
Description | The name of the activity log alert. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-ResourceGroupName
Description | The name of the resource group where the alert resource is going to exist. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
--ResourceId
Description | Sets the ResourceId tags property of the call to extract the required name, resource group name properties. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Scope
Description | The list of scopes for the activity log alert. |
Type | System.Collections.Generic.List`1[System.String] |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Condition
Description | The list of conditions for the activity log alert. |
Type | System.Collections.Generic.List`1[Microsoft.Azure.Management.Monitor.Management.Models.ActivityLogAlertLeafCondition] |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Location
Description | The location where the activity log alert will exist. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
Output
Microsoft.Azure.Commands.Insights.OutputClasses.PSActivityLogAlertResource
Explore Active Directory auditing and reporting with ADAudit Plus.
- Related Products
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Real-time Active Directory Auditing and UBA
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 (On-Premise | Cloud) Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools