diff --git a/src/ManagedServices/ManagedServices.Autorest/Properties/AssemblyInfo.cs b/src/ManagedServices/ManagedServices.Autorest/Properties/AssemblyInfo.cs index cb4ec6852f38..756c9ce6930e 100644 --- a/src/ManagedServices/ManagedServices.Autorest/Properties/AssemblyInfo.cs +++ b/src/ManagedServices/ManagedServices.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ManagedServices")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("3.1.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("3.1.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("3.1.1")] +[assembly: System.Reflection.AssemblyVersionAttribute("3.1.1")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] diff --git a/src/ManagedServices/ManagedServices.Autorest/README.md b/src/ManagedServices/ManagedServices.Autorest/README.md index fc30d622e5ae..94e56a7d892e 100644 --- a/src/ManagedServices/ManagedServices.Autorest/README.md +++ b/src/ManagedServices/ManagedServices.Autorest/README.md @@ -48,38 +48,80 @@ use-extension: directive: - where: - verb: Get + verb: New|Get subject: RegistrationAssignment set: breaking-change: - change-description: "The types of the properties 'Authorization' and 'EligibleAuthorization' will be changed to 'List'." + deprecated-output-properties: + - Authorization[] + - EligibleAuthorization[] + new-output-properties: + - List[Authorization] + - List[EligibleAuthorization] deprecated-by-version: 9.0.0 deprecated-by-azversion: 15.0.0 change-effective-date: 2025/11/03 - - where: + verb: New subject: RegistrationDefinition set: breaking-change: - change-description: "The types of the properties 'Authorization' and 'EligibleAuthorization' will be changed to 'List'." + deprecated-output-properties: + - Authorization + - EligibleAuthorization + - DelegatedRoleDefinitionId[] + - JustInTimeAccessPolicyManagedByTenantApprover[] + new-output-properties: + - List[Authorization] + - List[EligibleAuthorization] + - List[DelegatedRoleDefinitionId] + - List[JustInTimeAccessPolicyManagedByTenantApprover] deprecated-by-version: 9.0.0 deprecated-by-azversion: 15.0.0 change-effective-date: 2025/11/03 - where: - verb: New + verb: Get subject: RegistrationDefinition set: breaking-change: - change-description: "The types of the properties 'DelegatedRoleDefinitionId' and 'JustInTimeAccessPolicyManagedByTenantApprover' will be changed to 'List'." + deprecated-output-properties: + - Authorization[] + - EligibleAuthorization[] + new-output-properties: + - List[Authorization] + - List[EligibleAuthorization] deprecated-by-version: 9.0.0 deprecated-by-azversion: 15.0.0 change-effective-date: 2025/11/03 - - where: + verb: New|Get subject: MarketplaceRegistrationDefinition set: breaking-change: - change-description: "The types of the properties 'Authorization' and 'EligibleAuthorization' will be changed to 'List'." + deprecated-output-properties: + - Authorization[] + - EligibleAuthorization[] + new-output-properties: + - List[Authorization] + - List[EligibleAuthorization] + deprecated-by-version: 9.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + parameter-name: Authorization + set: + breaking-change: + old-parameter-type: Array + new-parameter-type: List + deprecated-by-version: 9.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + parameter-name: EligibleAuthorization + set: + breaking-change: + old-parameter-type: Array + new-parameter-type: List deprecated-by-version: 9.0.0 deprecated-by-azversion: 15.0.0 change-effective-date: 2025/11/03 @@ -128,7 +170,7 @@ directive: # Generate memory object as parameter of the cmelet. - model-cmdlet: - - Authorization + # - Authorization - EligibleApprover # Need custom that add ArgumentCompleterAttribute for JustInTimeAccessPolicyMultiFactorAuthProvider parameter. # - EligibleAuthorization diff --git a/src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesAuthorizationObject.ps1 b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 similarity index 93% rename from src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesAuthorizationObject.ps1 rename to src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 index 3d90735a921d..1d1f862f8756 100644 --- a/src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesAuthorizationObject.ps1 +++ b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 @@ -29,7 +29,7 @@ function New-AzManagedServicesAuthorizationObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization')] [CmdletBinding(PositionalBinding=$false)] Param( - + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.ParameterBreakingChangeAttribute("DelegatedRoleDefinitionId", "15.0.0", "9.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The delegatedRoleDefinitionIds field is required when the roleDefinitionId refers to the User Access Administrator Role. It is the list of role definition ids which define all the permissions that the user in the authorization can assign to other principals.")] [string[]] $DelegatedRoleDefinitionId, diff --git a/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 index 2c3b71e2930f..d089980245a5 100644 --- a/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 +++ b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 @@ -26,10 +26,9 @@ #> function New-AzManagedServicesEligibleAuthorizationObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization')] - [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.CmdletBreakingChange("15.0.0", "9.0.0", "2025/11/03", ChangeDescription="The type of the property 'DelegatedRoleDefinitionId' will be changed from Array to List.")] [CmdletBinding(PositionalBinding=$false)] Param( - + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.ParameterBreakingChangeAttribute("JustInTimeAccessPolicyManagedByTenantApprover", "15.0.0", "9.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The list of managedByTenant approvers for the eligible authorization.")] [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleApprover[]] $JustInTimeAccessPolicyManagedByTenantApprover, diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md b/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md index a732cac38265..54aa6a1a47ab 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md @@ -1,6 +1,6 @@ --- Module Name: Az.ManagedServices -Module Guid: 54366ec5-1955-4a40-b1df-da4057a89b87 +Module Guid: 61496bfd-6bc7-48fb-8803-05ad306368f3 Download Help Link: https://learn.microsoft.com/powershell/module/az.managedservices Help Version: 1.0.0.0 Locale: en-US diff --git a/src/ManagedServices/ManagedServices.Autorest/generate-info.json b/src/ManagedServices/ManagedServices.Autorest/generate-info.json index 547619d0c221..9f6f2313ae76 100644 --- a/src/ManagedServices/ManagedServices.Autorest/generate-info.json +++ b/src/ManagedServices/ManagedServices.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "a44353e0-7b2f-43c6-bfd0-09c44cfabaa5" + "generate_Id": "511731e3-01e0-46da-aeab-958f3336d646" } diff --git a/src/ManagedServices/ManagedServices.sln b/src/ManagedServices/ManagedServices.sln index f2535dedcf5c..e4058cf23e5d 100644 --- a/src/ManagedServices/ManagedServices.sln +++ b/src/ManagedServices/ManagedServices.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedServices", "ManagedS EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ManagedServices.Autorest", "ManagedServices.Autorest", "{2D84CE50-F89B-94FD-0D1C-E1015598E8EB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServices", "..\..\generated\ManagedServices\ManagedServices.Autorest\Az.ManagedServices.csproj", "{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServices", "..\..\generated\ManagedServices\ManagedServices.Autorest\Az.ManagedServices.csproj", "{EAAF3FF5-C462-450B-9156-FFDB3899DA62}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x64.Build.0 = Release|Any CPU {F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x86.ActiveCfg = Release|Any CPU {F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x86.Build.0 = Release|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x64.ActiveCfg = Debug|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x64.Build.0 = Debug|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x86.ActiveCfg = Debug|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x86.Build.0 = Debug|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|Any CPU.Build.0 = Release|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x64.ActiveCfg = Release|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x64.Build.0 = Release|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x86.ActiveCfg = Release|Any CPU - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x86.Build.0 = Release|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x64.ActiveCfg = Debug|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x64.Build.0 = Debug|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x86.ActiveCfg = Debug|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x86.Build.0 = Debug|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|Any CPU.Build.0 = Release|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x64.ActiveCfg = Release|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x64.Build.0 = Release|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x86.ActiveCfg = Release|Any CPU + {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {9C8C8F4B-359B-448F-88CB-7F4F1B94709E} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C} {C7AE743C-7AA2-4D4C-B1C3-CBAA389F7431} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C} {BA824808-A1F8-4F51-AADD-B0CEDB4215B7} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C} - {BE60008E-9050-4526-BE3E-8A2C4CC5A9EC} = {2D84CE50-F89B-94FD-0D1C-E1015598E8EB} + {EAAF3FF5-C462-450B-9156-FFDB3899DA62} = {2D84CE50-F89B-94FD-0D1C-E1015598E8EB} EndGlobalSection EndGlobal diff --git a/src/ManagedServices/ManagedServices/Az.ManagedServices.psd1 b/src/ManagedServices/ManagedServices/Az.ManagedServices.psd1 index 3d632525dc3f..c24d257a993a 100644 --- a/src/ManagedServices/ManagedServices/Az.ManagedServices.psd1 +++ b/src/ManagedServices/ManagedServices/Az.ManagedServices.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 6/25/2025 +# Generated on: 7/11/2025 # @{ @@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.1'; }) RequiredAssemblies = 'ManagedServices.Autorest/bin/Az.ManagedServices.private.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 = 'ManagedServices.Autorest/Az.ManagedServices.format.ps1xml' @@ -104,7 +104,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','ManagedServices' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ManagedServices' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -137,7 +137,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/ManagedServices/ManagedServices/ChangeLog.md b/src/ManagedServices/ManagedServices/ChangeLog.md index d681bb146058..f009e80cd3d8 100644 --- a/src/ManagedServices/ManagedServices/ChangeLog.md +++ b/src/ManagedServices/ManagedServices/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Update the outputs of breaking change announcements. ## Version 3.1.1 * Added breaking change announcement for below commands from array or single object to list.