Skip to content

Commit 6e33966

Browse files
[Breaking Change] ContainerInstance: Removing the default value of OsType Parameter (#26850)
* breaking change, removing the default value of ostype parameter * Updated the release versions
1 parent 820470c commit 6e33966

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/ContainerInstance/ContainerInstance.Autorest/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,16 @@ directive:
116116
verb: Invoke
117117
subject: Command
118118
hide: true
119+
# Breaking change for OSType parameter
120+
- where:
121+
parameter-name: OSType
122+
set:
123+
breaking-change:
124+
become-mandatory: false
125+
change-description: Removing the default value of OSType parameter.
126+
deprecated-by-version: 5.0.0
127+
deprecated-by-azversion: 14.0.0
128+
change-effective-date: 2025/05/21
119129
# Alias long name: Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint
120130
- where:
121131
verb: Get

src/ContainerInstance/ContainerInstance.Autorest/custom/New-AzContainerGroup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ param(
5959
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.OperatingSystemTypes])]
6060
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Category('Body')]
6161
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.OperatingSystemTypes]
62+
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.ParameterBreakingChangeAttribute("OSType", "14.0.0", "5.0.0", "2025/05/21")]
6263
# The operating system type required by the containers in the container group.
6364
${OSType},
6465

0 commit comments

Comments
 (0)