Skip to content

Commit 0719791

Browse files
meday89wyunchi-ms
authored andcommitted
Dynamic threshold example fix (Azure#10362)
Fix Dynamic threshold example for criteria creation
1 parent 4fb9aca commit 0719791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Monitor/Monitor/help/New-AzMetricAlertRuleV2Criteria.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This command creates a simple metric alert criteria that can be used in a metric
5353
### Example 2: Create a dynamic metric alert criteria
5454

5555
```powershell
56-
PS C:\>New-AzMetricAlertRuleV2Criteria -Dynamic -MetricName "Percentage CPU" -MetricNameSpace "Microsoft.Compute/virtualMachines" -TimeAggregation Average -Operator GreaterThan -ThresholdSensitivity Medium -NumberOfViolations 2 -NumberOfExaminedAggregatedPoints 4
56+
PS C:\>New-AzMetricAlertRuleV2Criteria -Dynamic -MetricName "Percentage CPU" -MetricNameSpace "Microsoft.Compute/virtualMachines" -TimeAggregation Average -Operator GreaterThan -ThresholdSensitivity Medium -ViolationCount 2 -ExaminedAggregatedPointCount 4
5757
CriterionType : DynamicThresholdCriterion
5858
OperatorProperty : GreaterThan
5959
AlertSensitivity : Medium

0 commit comments

Comments
 (0)