Skip to content

Commit

Permalink
Merge pull request #23029 from HappyTobi/deprecate_enable_log_retenti…
Browse files Browse the repository at this point in the history
…on_policy

monitor_diagnostic_setting_resource - add deprecation to enable_log retention_policy
  • Loading branch information
tombuildsstuff authored Aug 31, 2023
2 parents 3497413 + 387ed1a commit 16e655e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,10 @@ func resourceMonitorDiagnosticSetting() *pluginsdk.Resource {
},

"retention_policy": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Deprecated: "`retention_policy` has been deprecated - to learn more https://aka.ms/diagnostic_settings_log_retention",
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"enabled": {
Expand Down

0 comments on commit 16e655e

Please sign in to comment.