Skip to content

Commit 5b092fa

Browse files
committed
breaking change announcement for Websites module
1 parent 7d37d0d commit 5b092fa

File tree

11 files changed

+191
-24
lines changed

11 files changed

+191
-24
lines changed

src/Websites/Websites.Autorest/Az.Websites.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<copyright>Microsoft Corporation. All rights reserved.</copyright>
1414
<tags>Azure ResourceManager ARM PSModule $(service-name)</tags>
1515
<dependencies>
16-
<dependency id="Az.Accounts" version="2.2.3" />
16+
<dependency id="Az.Accounts" version="2.7.5" />
1717
</dependencies>
1818
</metadata>
1919
<files>
@@ -23,9 +23,9 @@
2323
<!-- https://github.com/NuGet/Home/issues/3584 -->
2424
<file src="bin/Az.Websites.private.dll" target="bin" />
2525
<file src="bin\Az.Websites.private.deps.json" target="bin" />
26-
<file src="internal\**\*.*" exclude="internal\readme.md" target="internal" />
27-
<file src="custom\**\*.*" exclude="custom\readme.md;custom\**\*.cs" target="custom" />
28-
<file src="docs\**\*.md" exclude="docs\readme.md" target="docs" />
26+
<file src="internal\**\*.*" exclude="internal\README.md" target="internal" />
27+
<file src="custom\**\*.*" exclude="custom\README.md;custom\**\*.cs" target="custom" />
28+
<file src="docs\**\*.md" exclude="docs\README.md" target="docs" />
2929
<file src="exports\**\ProxyCmdletDefinitions.ps1" target="exports" />
3030
<file src="utils\**\*.*" target="utils" />
3131
</files>
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 - Websites")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.4.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("3.4.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/Websites/Websites.Autorest/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,4 +1626,18 @@ directive:
16261626
property-name: Id1
16271627
set:
16281628
property-name: Id
1629+
1630+
- where:
1631+
verb: Get
1632+
subject: ContinuousWebJob|SlotContinuousWebJob|SlotTriggeredWebJob|TriggeredWebJob|TriggeredWebJobHistory
1633+
set:
1634+
preview-announcement:
1635+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *\\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**************************************************************************************************"
1636+
1637+
- where:
1638+
verb: Get|Update
1639+
subject: ""
1640+
set:
1641+
preview-announcement:
1642+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *\\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**************************************************************************************************"
16291643
```

src/Websites/Websites.Autorest/custom/New-AzStaticWebApp.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ SKUCAPABILITY <ICapability[]>: Capabilities of the SKU, e.g., is traffic manager
4242
https://learn.microsoft.com/powershell/module/az.websites/new-azstaticwebapp
4343
#>
4444
function New-AzStaticWebApp {
45+
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.PreviewMessage("**********************************************************************************************`n
46+
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n
47+
* At least one change applies to this cmdlet. *`n
48+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
49+
***************************************************************************************************")]
4550
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteArmResource])]
4651
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
4752
param(

src/Websites/Websites.Autorest/docs/Az.Websites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Websites
3-
Module Guid: e2ccd5b0-af3a-415f-82ed-b9a388aeed61
3+
Module Guid: fc780f32-3a4b-4f14-a0ef-39438a2d33f8
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.websites
55
Help Version: 1.0.0.0
66
Locale: en-US

src/Websites/Websites.Autorest/docs/New-AzStaticWebAppBuildAppSetting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This command creates or updates the app settings of a static site build.
4545

4646
### Example 2: Create or updates the app settings of a static site build by pipeline
4747
```powershell
48-
Get-AzStaticWebAppBuildAppSetting -ResourceGroupName resourceGroup -Name taticweb00 -EnvironmentName 'default' | New-AzStaticWebAppBuildAppSetting -AppSetting @{'buildsetting1' = 'someval'; 'buildsetting2' = 'someval2' }
48+
Get-AzStaticWebAppBuildAppSetting -ResourceGroupName resourceGroup -Name staticweb00 -EnvironmentName 'default' | New-AzStaticWebAppBuildAppSetting -AppSetting @{'buildsetting1' = 'someval'; 'buildsetting2' = 'someval2' }
4949
```
5050

5151
```output

src/Websites/Websites.Autorest/examples/New-AzStaticWebAppBuildAppSetting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This command creates or updates the app settings of a static site build.
1212

1313
### Example 2: Create or updates the app settings of a static site build by pipeline
1414
```powershell
15-
Get-AzStaticWebAppBuildAppSetting -ResourceGroupName resourceGroup -Name taticweb00 -EnvironmentName 'default' | New-AzStaticWebAppBuildAppSetting -AppSetting @{'buildsetting1' = 'someval'; 'buildsetting2' = 'someval2' }
15+
Get-AzStaticWebAppBuildAppSetting -ResourceGroupName resourceGroup -Name staticweb00 -EnvironmentName 'default' | New-AzStaticWebAppBuildAppSetting -AppSetting @{'buildsetting1' = 'someval'; 'buildsetting2' = 'someval2' }
1616
```
1717
```output
1818
Kind Name Type
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "fde66cdb-a71d-4477-a53e-b9889e16c976"
2+
"generate_Id": "f7fad915-3b94-4559-9cba-f921fac8932e"
33
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Resources
2+
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
3+
4+
## Info
5+
- Modifiable: yes
6+
- Generated: no
7+
- Committed: yes
8+
- Packaged: no
9+
10+
## Purpose
11+
Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.

0 commit comments

Comments
 (0)