ity: alertSeverity
    enabled: isEnabled
    scopes: [
      resourceId
    ]
    evaluationFrequency: evaluationFrequency
    windowSize: windowSize
    criteria: {
      allOf: [
        {
          query: query
          metricMeasureColumn: metricMeasureColumn
          resourceIdColumn: resourceIdColumn
          if eq (len .properties.dimensions) 0 {
            dimensions: []
          } else {
            dimensions: [{{ range $idx1, $value1 := .properties.dimensions }}
              {
            