Replies: 1 comment 6 replies
-
ARM uses the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using metric alerts.
I am deploying three alerts for Metrics however i am getting this error:
{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template resource 'windows-dev-deployment"Data Disk Write Operations/Sec"-ma' for type 'Microsoft.Insights/metricAlerts' at line '1' and column '2807' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-syntax-resources for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":1,"linePosition":2807,"path":"properties.template.resources[0].type"}}]}
the metrics we are deploying:
i have highlighted the one that is the issue: Data Disk Write Operations/Sec
A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name
Can anyone help me please?
Beta Was this translation helpful? Give feedback.
All reactions