Skip to content

Commit 34d37d5

Browse files
authored
[Az.ContainerInstance] The code base is going to be refactored, the following cmdlet adds a BreakingChange announcement (#28391)
1 parent 05d6acf commit 34d37d5

15 files changed

+139
-21
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ContainerInstance")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("4.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("4.1.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ https://learn.microsoft.com/powershell/module/az.containerinstance/new-azcontain
2424
#>
2525
function New-AzContainerGroup {
2626
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup])]
27+
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerGroup", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerGroup", DeprecatedOutputProperties = ("Port, EnvironmentVariable, InstanceViewEvent, LivenessProbeHttpGetHttpHeader, ReadinessProbeHttpGetHttpHeader, VolumeMount, ReadinessProbeExecCommand, Command, CapabilityDrop, LivenessProbeExecCommand, CapabilityAdd"), NewOutputProperties = ("Port, EnvironmentVariable, InstanceViewEvent, LivenessProbeHttpGetHttpHeader, ReadinessProbeHttpGetHttpHeader, VolumeMount, ReadinessProbeExecCommand, Command, CapabilityDrop, LivenessProbeExecCommand, CapabilityAdd. This parameter will be changed from single object to 'List'."))]
28+
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.GenericBreakingChangeAttribute("IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.", "15.0.0", "9.0.0", "2025/11/03")]
2729
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2830
param(
2931
[Parameter(Mandatory)]

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContain
2323
#>
2424
function New-AzContainerInstanceInitDefinitionObject {
2525
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerDefinition')]
26+
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.InitContainerDefinition", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.InitContainerDefinition", DeprecatedOutputProperties = ("EnvironmentVariable, InstanceViewEvent, VolumeMount, Command, CapabilityDrop, CapabilityAdd"), NewOutputProperties = ("EnvironmentVariable, InstanceViewEvent, VolumeMount, Command, CapabilityDrop, CapabilityAdd. This parameter will be changed from single object to 'List'."))]
2627
[CmdletBinding(PositionalBinding=$false)]
2728
Param(
2829

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.ContainerInstance/New-AzContain
2323
#>
2424
function New-AzContainerInstanceNoDefaultObject {
2525
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container')]
26+
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Container", DeprecatedOutputProperties = ("Port, EnvironmentVariable, InstanceViewEvent, LivenessProbeHttpGetHttpHeader, ReadinessProbeHttpGetHttpHeader, VolumeMount, LimitsGpuSku, RequestsGpuSku, ReadinessProbeHttpGetScheme, LivenessProbeHttpGetScheme, ReadinessProbeExecCommand, Command, CapabilityDrop, LivenessProbeExecCommand, CapabilityAdd, Protocol"), NewOutputProperties = ("Port, EnvironmentVariable, InstanceViewEvent, LivenessProbeHttpGetHttpHeader, ReadinessProbeHttpGetHttpHeader, VolumeMount, LimitsGpuSku, RequestsGpuSku, ReadinessProbeHttpGetScheme, LivenessProbeHttpGetScheme, ReadinessProbeExecCommand, Command, CapabilityDrop, LivenessProbeExecCommand, CapabilityAdd, Protocol. This parameter will be changed from single object to 'List'."))]
2627
[CmdletBinding(PositionalBinding=$false)]
2728
Param(
2829

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.ContainerInstance/new-AzContain
2323
#>
2424
function New-AzContainerInstanceObject {
2525
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container')]
26+
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.Container", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Container", DeprecatedOutputProperties = ("Port, EnvironmentVariable, InstanceViewEvent, LivenessProbeHttpGetHttpHeader, ReadinessProbeHttpGetHttpHeader, VolumeMount, LimitsGpuSku, RequestsGpuSku, ReadinessProbeHttpGetScheme, LivenessProbeHttpGetScheme, ReadinessProbeExecCommand, Command, CapabilityDrop, LivenessProbeExecCommand, CapabilityAdd, Protocol"), NewOutputProperties = ("Port, EnvironmentVariable, InstanceViewEvent, LivenessProbeHttpGetHttpHeader, ReadinessProbeHttpGetHttpHeader, VolumeMount, LimitsGpuSku, RequestsGpuSku, ReadinessProbeHttpGetScheme, LivenessProbeHttpGetScheme, ReadinessProbeExecCommand, Command, CapabilityDrop, LivenessProbeExecCommand, CapabilityAdd, Protocol. This parameter will be changed from single object to 'List'."))]
2627
[CmdletBinding(PositionalBinding=$false)]
2728
Param(
2829

src/ContainerInstance/ContainerInstance.Autorest/docs/Az.ContainerInstance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.ContainerInstance
3-
Module Guid: 78f5cd97-9a2c-4258-bf37-7a8820083684
3+
Module Guid: 457ef750-52c4-4e09-88f4-a60907f96015
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.containerinstance
55
Help Version: 1.0.0.0
66
Locale: en-US

src/ContainerInstance/ContainerInstance.Autorest/docs/Update-AzContainerGroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ AdditionalProperties : {[k, v]}
5858
Count : 1
5959
```
6060

61-
This command updates a container group using piping.
61+
This command updates a container group using pipeing.
6262

6363
## PARAMETERS
6464

src/ContainerInstance/ContainerInstance.Autorest/docs/Update-AzContainerInstanceContainerGroupProfile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ AdditionalProperties : {[k, v]}
7272
Count : 1
7373
```
7474

75-
This command updates a container group profile using piping.
75+
This command updates a container group profile using pipeing.
7676

7777
## PARAMETERS
7878

src/ContainerInstance/ContainerInstance.Autorest/examples/Update-AzContainerGroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ AdditionalProperties : {[k, v]}
2626
Count : 1
2727
```
2828

29-
This command updates a container group using piping.
29+
This command updates a container group using pipeing.
3030

src/ContainerInstance/ContainerInstance.Autorest/examples/Update-AzContainerInstanceContainerGroupProfile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ AdditionalProperties : {[k, v]}
2626
Count : 1
2727
```
2828

29-
This command updates a container group profile using piping.
29+
This command updates a container group profile using pipeing.

0 commit comments

Comments
 (0)