You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/breaking-changes/breaking-changes-attribute-help.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,26 @@ All of the attributes have the following common traits:
36
36
The properties "deprecatedByVersion" and "changeInEffectByDate" are information only (for the end user) as of now.
37
37
38
38
#### Suppress the breaking change messages at runtime
39
-
- If the user desires to not see the warning messages generated by the attributes at runtime, they can set the env variable "SuppressAzurePowerShellBreakingChangeWarnings" to "true".
39
+
40
+
If the user desires to not see the warning messages generated by the attributes at runtime, they can update the `DisplayBreakingChangeWarning` config as below:
- The only time you will see the output (at runtime) of an attribute applied to a parameter (property or field) is if the parameter is actually invoked on the cmdline. The breaking change attributes to all parameters that are not invoked are ignored.
More details on breaking change message suppression can be found [here](https://github.com/Azure/azure-powershell/blob/preview/documentation/breaking-changes/breaking-changes-attribute-help.md#suppress-the-breaking-change-messages-at-runtime).
15
+
More details on breaking change message suppression can be found [here](https://github.com/Azure/azure-powershell/blob/main/documentation/breaking-changes/breaking-changes-attribute-help.md#suppress-the-breaking-change-messages-at-runtime).
0 commit comments