Skip to content

Commit c12f754

Browse files
authored
[BC] Functions Breaking Change Announcement (#29139)
1 parent a7cc686 commit c12f754

30 files changed

Lines changed: 336 additions & 21 deletions

src/Functions/Functions.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Functions")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("4.2.1")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("4.2.1")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("4.3.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("4.3.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/Functions/Functions.Autorest/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,25 @@ directive:
560560
- from: source-file-csharp
561561
where: $
562562
transform: $ = $.replace(/sb.AppendLine\(\$@\"\{Indent\}FunctionsToExport = \{cmdletsList\}\"\);/, '')
563+
564+
- where:
565+
verb: Restart|Start|Stop
566+
subject: App
567+
set:
568+
preview-announcement:
569+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
570+
- where:
571+
verb: New
572+
subject: App|AppPlan
573+
set:
574+
preview-announcement:
575+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
576+
- where:
577+
verb: Get|Remove|Update
578+
subject: App|AppPlan|AppSetting
579+
set:
580+
preview-announcement:
581+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
563582
```
564583
565584
``` yaml

src/Functions/Functions.Autorest/custom/Get-AzFunctionApp.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function Get-AzFunctionApp {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISite])]
38
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Gets function apps in a subscription.')]
49
[CmdletBinding(DefaultParametersetname="GetAll")]

src/Functions/Functions.Autorest/custom/Get-AzFunctionAppPlan.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function Get-AzFunctionAppPlan {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAppServicePlan])]
38
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Get function apps plans in a subscription.')]
49
[CmdletBinding(DefaultParameterSetName='GetAll')]

src/Functions/Functions.Autorest/custom/Get-AzFunctionAppSetting.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function Get-AzFunctionAppSetting {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IStringDictionary])]
38
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Gets app settings for a function app.')]
49
[CmdletBinding(DefaultParameterSetName='ByName', SupportsShouldProcess=$true, ConfirmImpact='Medium')]

src/Functions/Functions.Autorest/custom/New-AzFunctionApp.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function New-AzFunctionApp {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISite])]
38
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Creates a function app.')]
49
[CmdletBinding(SupportsShouldProcess=$true, DefaultParametersetname="Consumption")]

src/Functions/Functions.Autorest/custom/New-AzFunctionAppPlan.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function New-AzFunctionAppPlan {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAppServicePlan])]
38
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Creates a function app service plan.')]
49
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/Functions/Functions.Autorest/custom/Remove-AzFunctionApp.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function Remove-AzFunctionApp {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([System.Boolean])]
38
[CmdletBinding(DefaultParameterSetName='ByName', SupportsShouldProcess=$true, ConfirmImpact='Medium')]
49
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Deletes a function app.')]

src/Functions/Functions.Autorest/custom/Remove-AzFunctionAppPlan.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function Remove-AzFunctionAppPlan {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([System.Boolean])]
38
[CmdletBinding(DefaultParameterSetName='ByName', SupportsShouldProcess=$true, ConfirmImpact='Medium')]
49
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Deletes a function app plan.')]

src/Functions/Functions.Autorest/custom/Remove-AzFunctionAppSetting.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
function Remove-AzFunctionAppSetting {
2+
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n
3+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
4+
* At least one change applies to this cmdlet. *`n
5+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
6+
***************************************************************************************************")]
27
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IStringDictionary])]
38
[Microsoft.Azure.PowerShell.Cmdlets.Functions.Description('Removes app settings from a function app.')]
49
[CmdletBinding(DefaultParameterSetName='ByName', SupportsShouldProcess=$true, ConfirmImpact='Medium')]

0 commit comments

Comments
 (0)