Skip to content

Commit 3965c10

Browse files
Re-add PreviewMessage breaking change attributes from PR #29139
- Restore [PreviewMessage()] BC announcement attributes to all 14 custom cmdlet files. These were lost when the v4 migration commit overwrote the files with regenerated code from pre-#29139 base. - Attributes announce breaking changes in Az v16.0.0 (May 2026) per the BC announcement PR #29139
1 parent 55598a2 commit 3965c10

17 files changed

+30
-15
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@
3434

3535

3636

37+

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)