Add-AzureRmWebtestAlertRule
Syntax
-MetricName <String>]
-TargetResourceUri <String>
-WindowSize<TimeSpan>
-FailedLocationCount <Int32>
[-MetricNamespace<String>
-Location <String>
[-Description<String>]
[-DisableRule]
-ResourceGroupName<String>
-Name<String>
-Action
[-DefaultProfile <IAzureContextContainer>]
[ <CommonParameters>]
Description
The Add-AzureRmWebtestAlertRule cmdlet adds or updates an alert rule of either metric, event, or webtest type. The added rule is associated to a resource group and has a name. This cmdlet implements the ShouldProcess pattern, i.e. it might request confirmation from the user before actually creating, modifying, or removing the resource.
Required parameters
-FailedLocationCount
Description | Specifies the failed location count for the webtest rules. |
Type | Int32 |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Location
Description | Specifies the location where the rule is defined. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Name
Description | Specifies the name of the rule. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-MetricName
Description | Specifies the name of the metric. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-ResourceGroupName
Description | Specifies the name of the resource group. |
Aliases | ResourceGroup |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-TargetResourceUrl
Description | Specifies the resource ID of the webtest. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-WindowSize
Description | Specifies the time window size for the rule to compute its data. |
Type | TimeSpan |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
Output
Microsoft.Azure.Commands.Insights.OutputClasses.PSAddAlertRuleOperationResponse.
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