skip to Main Content

Azure – Unable to create Alert for podReadyPercentage metrics

I am trying to create a MetricAlert using the following script Set-AzContext -Subscription "f0bXXXXXXX" $action = Get-AzActionGroup -ResourceGroupName gze-actgrp-pd-rgp-001 -Name UWDevOps_PD $actionID = New-AzActionGroup -ActionGroupId $action.id #Get-AzMetricDefinition -ResourceId "/subscriptions/9ca9XXXXX/resourcegroups/gze-pdi203-pd1-rgp-001/providers/Microsoft.ContainerService/managedClusters/gze-pdi203-pd1-aks-isostr-001" #set alert dim to pick the right options $dim = New-AzMetricAlertRuleV2DimensionSelection…

VIEW QUESTION
Back To Top
Search