Skip to content

[PS Resource] Add breaking change announcement #27943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<copyright>Microsoft Corporation. All rights reserved.</copyright>
<tags>Azure ResourceManager ARM PSModule $(service-name)</tags>
<dependencies>
<dependency id="Az.Accounts" version="2.2.3" />
<dependency id="Az.Accounts" version="2.7.5" />
</dependencies>
</metadata>
<files>
Expand Down
26 changes: 26 additions & 0 deletions src/Resources/Authorization.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Authorization")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("8.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
20 changes: 20 additions & 0 deletions src/Resources/Authorization.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,26 @@ use-extension:
"@autorest/powershell": "3.x"

directive:
- where:
verb: Get
subject: RoleManagementPolicy
set:
breaking-change:
change-description: "The types of property EffectiveRule and Rule have changed from Fixed Array to List."
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Update
subject: RoleManagementPolicy
set:
breaking-change:
change-description: "The types of property EffectiveRule and Rule have changed from Fixed Array to List. The types of property TargetEnforcedSetting,TargetInheritableSetting, TargetObject and TargetOperation have changed from Fixed Array to List."
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

# Swaager bug: The scope should be readonly according to the server response.
- from: swagger-document
where: $.definitions.RoleManagementPolicyProperties.properties.scope
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.Authorization
Module Guid: 5e804a75-47b7-4aac-9e3b-4bbc49a1abca
Module Guid: 29b38940-f692-455e-8683-880403f4bf65
Download Help Link: https://learn.microsoft.com/powershell/module/az.authorization
Help Version: 1.0.0.0
Locale: en-US
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Authorization.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "c1694601-4d35-40bd-94d8-1b26473b7708"
"generate_Id": "e7b3c391-7a31-4412-8f5e-b98166074c05"
}
11 changes: 11 additions & 0 deletions src/Resources/Authorization.Autorest/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Resources
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.

## Info
- Modifiable: yes
- Generated: no
- Committed: yes
- Packaged: no

## Purpose
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.
261 changes: 249 additions & 12 deletions src/Resources/Resources.sln

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions src/Resources/Resources/Az.Resources.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 5/14/2025
# Generated on: 6/12/2025
#

@{
Expand Down Expand Up @@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.0.0'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Authorization.Autorest/bin/Az.Authorization.private.dll',
Expand All @@ -72,10 +72,10 @@ RequiredAssemblies = 'Authorization.Autorest/bin/Az.Authorization.private.dll',
'System.Runtime.CompilerServices.Unsafe.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'Authorization.Autorest/Az.Authorization.format.ps1xml',
Expand Down Expand Up @@ -253,7 +253,9 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = 'Azure','ResourceManager','ARM','Provider','ResourceGroup','Deployment','ActiveDirectory','Authorization','Management','ManagementGroups','Tags'
Tags = 'Azure', 'ResourceManager', 'ARM', 'Provider', 'ResourceGroup',
'Deployment', 'ActiveDirectory', 'Authorization', 'Management',
'ManagementGroups', 'Tags'

# A URL to the license for this module.
LicenseUri = 'https://aka.ms/azps-license'
Expand All @@ -278,7 +280,7 @@ PrivateData = @{

} # End of PSData hashtable

} # End of PrivateData hashtable
} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''
Expand Down
1 change: 1 addition & 0 deletions src/Resources/Resources/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->

## Upcoming Release
* Added breaking change announcement from Fixed Array to List.

## Version 8.0.0
* [Breaking Change] Updated API version of resource types from latest to DefaultApiVersion for cmdlets `*-AzResource` and `Invoke-AzResourceAction`.
Expand Down
Loading