Skip to content

Bernard debug bc announcement #28126

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
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.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("8.0.1")]
[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 the properties EffectiveRule and Rule will be changed from single object 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 the properties EffectiveRule and Rule will be changed from single object to 'List'. The types of the properties TargetEnforcedSetting, TargetInheritableSetting, TargetObject and TargetOperation will be 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: f1083436-3175-474b-a331-bbee5f693934
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": "7fe6a517-0a88-43fa-9346-c840c7a3499f"
}
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.

12 changes: 7 additions & 5 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: 6/25/2025
# Generated on: 7/3/2025
#

@{
Expand Down Expand Up @@ -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
3 changes: 3 additions & 0 deletions src/Resources/Resources/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
-->

## Upcoming Release
* Added breaking change announcement for below cmdlets from array to list.
- `Get-AzRoleManagementPolicy`
- `Update-AzRoleManagementPolicy`

## Version 8.0.1
* Fixed empty warning output issue for cmdlet `Test-AzResourceGroupDeployment` [#27888]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gets Management Group scoped Deployment Stacks.

## SYNTAX

### ListByManagementGroupId (Default)
### ListByManagmentGroupId (Default)
```
Get-AzManagementGroupDeploymentStack -ManagementGroupId <String> [-Pre]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Expand Down Expand Up @@ -64,7 +64,7 @@ The id of the ManagementGroup where the DeploymentStack is deployed

```yaml
Type: System.String
Parameter Sets: ListByManagementGroupId, GetByManagementGroupIdAndName
Parameter Sets: ListByManagmentGroupId, GetByManagementGroupIdAndName
Aliases:

Required: True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Get all child resources of a resource `scope` that the calling user has eligible
### Example 2: List all child resources filtered by resource type
```powershell
$scope = "/subscriptions/38ab2ccc-3747-4567-b36b-9478f5602f0d/"
$filter = "resourceType eq 'resourcegroup'"
$filter = "resoureType eq 'resourcegroup'"
Get-AzRoleEligibleChildResource -Scope $scope -Filter $filter
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Creates a role eligibility schedule request.

## EXAMPLES

### Example 1: Create a new role eligible schedule request as Admin
### Example 1: Create a new role eligibile schedule request as Admin
```powershell
$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca"
$startTime = Get-Date -Format o
Expand All @@ -43,7 +43,7 @@ Name Type

Creates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal`

### Example 2: Remove a role eligible schedule request as Admin
### Example 2: Remove a role eligibile schedule request as Admin
```powershell
$guid = "13f8978c-5d8d-4fbf-b4b6-2f43eeb43eca"
$startTime = Get-Date -Format o
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Saves a Management Group scoped Deployment Stack Template.

## SYNTAX

### SaveByNameAndManagementGroupId (Default)
### SaveByNameAndManagmentGroupId (Default)
```
Save-AzManagementGroupDeploymentStackTemplate [-StackName] <String> [-ManagementGroupId] <String> [-Pre]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Expand Down Expand Up @@ -79,7 +79,7 @@ The id of the ManagementGroup where the DeploymentStack is deployed

```yaml
Type: System.String
Parameter Sets: SaveByNameAndManagementGroupId
Parameter Sets: SaveByNameAndManagmentGroupId
Aliases:

Required: True
Expand Down Expand Up @@ -124,7 +124,7 @@ The name of the DeploymentStack to get

```yaml
Type: System.String
Parameter Sets: SaveByNameAndManagementGroupId
Parameter Sets: SaveByNameAndManagmentGroupId
Aliases:

Required: True
Expand Down
Loading