update for clause in agent version alert #672
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note:
The duration of 30S is not allowed in the "for" clause since rule group checks on intervals of 1M,by default and it allows >30S .
I tried putting "interval": "PT30S" but still got same error below. Hence going with 60S.
←[K←[K←[91m{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/9b96ebbd-c57a-42d1-bbe9-b69296e4c7fb/resourceGroups/ci-dev-aks-mac-eus-rg/providers/Microsoft.Resources/deployments/example-alert-template","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","target":"/subscriptions/9b96ebbd-c57a-42d1-bbe9-b69296e4c7fb/resourceGroups/ci-dev-aks-mac-eus-rg/providers/Microsoft.Resources/deployments/example-alert-template","message":"{\r\n "code": "BadRequest",\r\n "message": "Property name: Rules[13].For, Attempted value: 0.5, Error: '' must be greater than or equal to '1'. Activity ID: 32f613b1-c2ee-4dcf-a96d-d4e9db451125."\r\