Enable-AzureRmActivityLogAlert
Syntax
-Name <String>]
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[ <CommonParameters>]
-InputObject <PSActivityLogAlertResource>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
-ResourceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Enable-AzureRmActivityLogAlert cmdlet allows enabling an activity log alert and setting its tags. This cmdlet implements the ShouldProcess pattern, i.e. it might request confirmation from the user before actually patching the resource.
Required parameters
-InputObject
Description | Sets the InputObject tags property of the call to extract the required name, resource group name, and the optional tags properties. |
Type | PSActivityLogAlertResource |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Name
Description | Specifies the name of the activity log alert. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-ResourceName
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 |
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 Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools