Skip to content

Commit c5a0b98

Browse files
authored
Update breakingchange-for-autogen-module.md (#24356)
Fixed some docs issues related to the autogen breaking changes.
1 parent 9038994 commit c5a0b98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/development-docs/breakingchange-for-autogen-module.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,25 @@ You must provide expected breaking change az version and moudle verision otherwi
123123
## Case 1 — Generic Breaking change for a cmdlet
124124
125125
```csharp
126-
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.GenericBreakingChangeWithVersionAttribute("16.0.0", "4.0.0", "2022/05/30")
126+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.GenericBreakingChangeAttribute("message about the change", "16.0.0", "4.0.0", "2022/05/30")
127127
```
128128

129129
## Case 2 — Breaking change for a cmdlet
130130

131131
```csharp
132-
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.CmdletDeprecationWithVersionAttribute("16.0.0", "4.0.0", "2022/05/30", ReplacementCmdletName = 'replace-xxx')
132+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.CmdletBreakingChangeAttribute("16.0.0", "4.0.0", "2022/05/30", ReplacementCmdletName = 'replace-xxx')
133133
```
134134

135135
## Case 3 — Breaking change for an output type
136136

137137
```csharp
138-
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.CmdletOutputBreakingChangeWithVersionAttribute("oldtype", "11.0.0", "5.0.0", "2022/05/11", ReplacementCmdletOutputType = "newtype", DeprecatedOutputProperties = ("propertyA", "PropertyB"), NewOutputProperties = ("PropertyC", "PropertyD"))]
138+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.OutputBreakingChangeAttribute("oldtype", "11.0.0", "5.0.0", "2022/05/11", ReplacementCmdletOutputType = "newtype", DeprecatedOutputProperties = ("propertyA", "PropertyB"), NewOutputProperties = ("PropertyC", "PropertyD"))]
139139
```
140140

141141
## Case 4 — Breaking change for a parameter
142142

143143
```csharp
144-
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.CmdletParameterBreakingChangeWithVersionAttribute("ResourceGroupName", "11.0.0", "4.1.0", "2028/06/18")]
144+
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ParameterBreakingChangeAttribute("ResourceGroupName", "11.0.0", "4.1.0", "2028/06/18")]
145145
```
146146

147147
## Case 5 — Preview message

0 commit comments

Comments
 (0)