Skip to content

Commit

Permalink
Disable metrics in diagnostic settings for AKS through Policy (Azure#295
Browse files Browse the repository at this point in the history
)
  • Loading branch information
SenthuranSivananthan authored May 15, 2022
1 parent 6a90a2f commit 31a214a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions policy/custom/definitions/policyset/LogAnalytics.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ resource policyset_name 'Microsoft.Authorization/policySetDefinitions@2020-03-01
logAnalytics: {
value: '[parameters(\'logAnalytics\')]'
}
AllMetrics: {
value: 'False'
}
}
}
{
Expand Down

0 comments on commit 31a214a

Please sign in to comment.