diff --git a/src/Advisor/Advisor.Autorest/Properties/AssemblyInfo.cs b/src/Advisor/Advisor.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..396b327e6691 --- /dev/null +++ b/src/Advisor/Advisor.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +// 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 - Advisor")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/Advisor/Advisor.Autorest/README.md b/src/Advisor/Advisor.Autorest/README.md index a5530c91a9fb..491ad934fb28 100644 --- a/src/Advisor/Advisor.Autorest/README.md +++ b/src/Advisor/Advisor.Autorest/README.md @@ -117,3 +117,18 @@ directive: - Ttl labels: ResourceGroupName: Resource Group + + - where: + verb: Get + subject: Configuration + set: + breaking-change: + deprecated-output-properties: + - Digest + new-output-properties: + - Digest + change-description: The type of property 'Digest' of type 'Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IDigestConfig' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IDigestConfig]'. + deprecated-by-version: 9.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 +``` diff --git a/src/Advisor/Advisor.Autorest/custom/Disable-AzAdvisorRecommendation.ps1 b/src/Advisor/Advisor.Autorest/custom/Disable-AzAdvisorRecommendation.ps1 index 819f6c8bc35b..3d42ec0c304a 100644 --- a/src/Advisor/Advisor.Autorest/custom/Disable-AzAdvisorRecommendation.ps1 +++ b/src/Advisor/Advisor.Autorest/custom/Disable-AzAdvisorRecommendation.ps1 @@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.advisor/Disable-AzAdvisorRecomm #> function Disable-AzAdvisorRecommendation{ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase])] +[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase", DeprecatedOutputProperties = ("Action Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IRecommendationPropertiesActionsItem[]", "SuppressionId System.String[]"), NewOutputProperties = ("Action System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IRecommendationPropertiesActionsItem].", "SuppressionId System.Collections.Generic.List`1[System.String]"))] [CmdletBinding(DefaultParameterSetName='IdParameterSet', SupportsShouldProcess, PositionalBinding=$false)] param( [Parameter(ParameterSetName='IdParameterSet', Mandatory, HelpMessage='Id of the recommendation to be suppressed.')] diff --git a/src/Advisor/Advisor.Autorest/custom/Enable-AzAdvisorRecommendation.ps1 b/src/Advisor/Advisor.Autorest/custom/Enable-AzAdvisorRecommendation.ps1 index ffca750748cc..fab48aa3c78f 100644 --- a/src/Advisor/Advisor.Autorest/custom/Enable-AzAdvisorRecommendation.ps1 +++ b/src/Advisor/Advisor.Autorest/custom/Enable-AzAdvisorRecommendation.ps1 @@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.advisor/Enable-AzAdvisorRecomme #> function Enable-AzAdvisorRecommendation{ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase])] +[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase", DeprecatedOutputProperties = ("Action Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IRecommendationPropertiesActionsItem[]", "SuppressionId System.String[]"), NewOutputProperties = ("Action System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IRecommendationPropertiesActionsItem].", "SuppressionId System.Collections.Generic.List`1[System.String]"))] [CmdletBinding(DefaultParameterSetName='IdParameterSet', SupportsShouldProcess, PositionalBinding=$false)] param( [Parameter(ParameterSetName='IdParameterSet', Mandatory, HelpMessage='Id of the recommendation to be suppressed.')] diff --git a/src/Advisor/Advisor.Autorest/custom/Get-AzAdvisorRecommendation.ps1 b/src/Advisor/Advisor.Autorest/custom/Get-AzAdvisorRecommendation.ps1 index 779a56e9ec8d..70ded73cccd1 100644 --- a/src/Advisor/Advisor.Autorest/custom/Get-AzAdvisorRecommendation.ps1 +++ b/src/Advisor/Advisor.Autorest/custom/Get-AzAdvisorRecommendation.ps1 @@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.advisor/Get-AzAdvisorRecommenda #> function Get-AzAdvisorRecommendation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase])] + [Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase", DeprecatedOutputProperties = ("Action Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IRecommendationPropertiesActionsItem[]", "SuppressionId System.String[]"), NewOutputProperties = ("Action System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IRecommendationPropertiesActionsItem].", "SuppressionId System.Collections.Generic.List`1[System.String]"))] [CmdletBinding(DefaultParameterSetName='ListByFilter', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ListByName', Mandatory)] diff --git a/src/Advisor/Advisor.Autorest/custom/Set-AzAdvisorConfiguration.ps1 b/src/Advisor/Advisor.Autorest/custom/Set-AzAdvisorConfiguration.ps1 index 9c4ca94e64d8..b08ff0ba6b7f 100644 --- a/src/Advisor/Advisor.Autorest/custom/Set-AzAdvisorConfiguration.ps1 +++ b/src/Advisor/Advisor.Autorest/custom/Set-AzAdvisorConfiguration.ps1 @@ -23,6 +23,7 @@ https://learn.microsoft.com/powershell/module/az.advisor/Set-AzAdvisorConfigurat #> function Set-AzAdvisorConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData])] + [Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IConfigData", DeprecatedOutputProperties = ("Digest Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IDigestConfig"), NewOutputProperties = ("Digest System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IDigestConfig]"))] [CmdletBinding(DefaultParameterSetName='CreateByLCT', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateByRG', Mandatory)] diff --git a/src/Advisor/Advisor.Autorest/docs/Az.Advisor.md b/src/Advisor/Advisor.Autorest/docs/Az.Advisor.md index dbcb219df776..ecf46d32784a 100644 --- a/src/Advisor/Advisor.Autorest/docs/Az.Advisor.md +++ b/src/Advisor/Advisor.Autorest/docs/Az.Advisor.md @@ -1,6 +1,6 @@ --- Module Name: Az.Advisor -Module Guid: 6828a285-3916-4785-a754-9313c53b910f +Module Guid: 277cf89e-e0e9-4a1a-8ded-b25839569c34 Download Help Link: https://learn.microsoft.com/powershell/module/az.advisor Help Version: 1.0.0.0 Locale: en-US diff --git a/src/Advisor/Advisor.Autorest/docs/Enable-AzAdvisorRecommendation.md b/src/Advisor/Advisor.Autorest/docs/Enable-AzAdvisorRecommendation.md index 808bc189bc1a..b7f362f854b1 100644 --- a/src/Advisor/Advisor.Autorest/docs/Enable-AzAdvisorRecommendation.md +++ b/src/Advisor/Advisor.Autorest/docs/Enable-AzAdvisorRecommendation.md @@ -48,7 +48,7 @@ Name Category Resource Group Impact ImpactedFi Enable recommendation by resource Id -### Example 2: Enable recommendation byrecommendation name +### Example 2: Enable recommendation by recommendation name ```powershell Enable-AzAdvisorRecommendation -RecommendationName 42963553-61de-5334-2d2e-47f3a0099d41 ``` @@ -59,7 +59,7 @@ Name Category Resource Group Impact ImpactedFi 42963553-61de-5334-2d2e-47f3a0099d41 Security automanagehcrprg High Microsoft.Compute/virtualMachines ``` -Enable recommendation byrecommendation name +Enable recommendation by recommendation name ## PARAMETERS diff --git a/src/Advisor/Advisor.Autorest/examples/Enable-AzAdvisorRecommendation.md b/src/Advisor/Advisor.Autorest/examples/Enable-AzAdvisorRecommendation.md index 20880b25b3e8..e1acfab123b7 100644 --- a/src/Advisor/Advisor.Autorest/examples/Enable-AzAdvisorRecommendation.md +++ b/src/Advisor/Advisor.Autorest/examples/Enable-AzAdvisorRecommendation.md @@ -11,7 +11,7 @@ Name Category Resource Group Impact ImpactedFi Enable recommendation by resource Id -### Example 2: Enable recommendation byrecommendation name +### Example 2: Enable recommendation by recommendation name ```powershell Enable-AzAdvisorRecommendation -RecommendationName 42963553-61de-5334-2d2e-47f3a0099d41 ``` @@ -22,5 +22,5 @@ Name Category Resource Group Impact ImpactedFi 42963553-61de-5334-2d2e-47f3a0099d41 Security automanagehcrprg High Microsoft.Compute/virtualMachines ``` -Enable recommendation byrecommendation name +Enable recommendation by recommendation name diff --git a/src/Advisor/Advisor.Autorest/generate-info.json b/src/Advisor/Advisor.Autorest/generate-info.json index 5debcf34aa8c..1a51f8833396 100644 --- a/src/Advisor/Advisor.Autorest/generate-info.json +++ b/src/Advisor/Advisor.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "661dccf0-7c82-45ce-bbc9-81c87a43eac3" + "generate_Id": "faee0227-0eba-4ed3-a077-ed0edaf2610f" } diff --git a/src/Advisor/Advisor.Autorest/resources/README.md b/src/Advisor/Advisor.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Advisor/Advisor.Autorest/resources/README.md @@ -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. \ No newline at end of file diff --git a/src/Advisor/Advisor.sln b/src/Advisor/Advisor.sln index 779d2ac36e0b..a7866467a517 100644 --- a/src/Advisor/Advisor.sln +++ b/src/Advisor/Advisor.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Advisor", "Advisor\Advisor.csproj", "{FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Advisor", "..\..\generated\Advisor\Advisor.Autorest\Az.Advisor.csproj", "{EEEB4BCB-9D78-44A1-8666-36E805A5C773}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Advisor.Autorest", "Advisor.Autorest", "{11D148E3-9BCC-C4A6-0910-9111B1AC8EC4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Advisor", "..\..\generated\Advisor\Advisor.Autorest\Az.Advisor.csproj", "{09BFF60F-5D43-47E6-BA43-0A2A95625072}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {3F279170-3991-4589-8093-5106A6B7AA69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3F279170-3991-4589-8093-5106A6B7AA69}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Debug|x64.ActiveCfg = Debug|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Debug|x64.Build.0 = Debug|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Debug|x86.ActiveCfg = Debug|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Debug|x86.Build.0 = Debug|Any CPU {3F279170-3991-4589-8093-5106A6B7AA69}.Release|Any CPU.ActiveCfg = Release|Any CPU {3F279170-3991-4589-8093-5106A6B7AA69}.Release|Any CPU.Build.0 = Release|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Release|x64.ActiveCfg = Release|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Release|x64.Build.0 = Release|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Release|x86.ActiveCfg = Release|Any CPU + {3F279170-3991-4589-8093-5106A6B7AA69}.Release|x86.Build.0 = Release|Any CPU {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Debug|x64.ActiveCfg = Debug|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Debug|x64.Build.0 = Debug|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Debug|x86.ActiveCfg = Debug|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Debug|x86.Build.0 = Debug|Any CPU {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Release|Any CPU.ActiveCfg = Release|Any CPU {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Release|Any CPU.Build.0 = Release|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Release|x64.ActiveCfg = Release|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Release|x64.Build.0 = Release|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Release|x86.ActiveCfg = Release|Any CPU + {9D3AC600-6D08-42BF-BC46-8B7E84B4108C}.Release|x86.Build.0 = Release|Any CPU {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Debug|x64.ActiveCfg = Debug|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Debug|x64.Build.0 = Debug|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Debug|x86.ActiveCfg = Debug|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Debug|x86.Build.0 = Debug|Any CPU {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Release|Any CPU.ActiveCfg = Release|Any CPU {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Release|Any CPU.Build.0 = Release|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Release|x64.ActiveCfg = Release|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Release|x64.Build.0 = Release|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Release|x86.ActiveCfg = Release|Any CPU + {258BA7DB-F859-4931-9E48-391E47DF4FAE}.Release|x86.Build.0 = Release|Any CPU {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Debug|x64.ActiveCfg = Debug|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Debug|x64.Build.0 = Debug|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Debug|x86.ActiveCfg = Debug|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Debug|x86.Build.0 = Debug|Any CPU {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Release|Any CPU.ActiveCfg = Release|Any CPU {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Release|Any CPU.Build.0 = Release|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Release|x64.ActiveCfg = Release|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Release|x64.Build.0 = Release|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Release|x86.ActiveCfg = Release|Any CPU + {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0}.Release|x86.Build.0 = Release|Any CPU {414C668F-B3D7-420A-A5ED-428110F2C789}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {414C668F-B3D7-420A-A5ED-428110F2C789}.Debug|Any CPU.Build.0 = Debug|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Debug|x64.ActiveCfg = Debug|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Debug|x64.Build.0 = Debug|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Debug|x86.ActiveCfg = Debug|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Debug|x86.Build.0 = Debug|Any CPU {414C668F-B3D7-420A-A5ED-428110F2C789}.Release|Any CPU.ActiveCfg = Release|Any CPU {414C668F-B3D7-420A-A5ED-428110F2C789}.Release|Any CPU.Build.0 = Release|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Release|x64.ActiveCfg = Release|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Release|x64.Build.0 = Release|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Release|x86.ActiveCfg = Release|Any CPU + {414C668F-B3D7-420A-A5ED-428110F2C789}.Release|x86.Build.0 = Release|Any CPU {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Debug|x64.ActiveCfg = Debug|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Debug|x64.Build.0 = Debug|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Debug|x86.ActiveCfg = Debug|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Debug|x86.Build.0 = Debug|Any CPU {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Release|Any CPU.ActiveCfg = Release|Any CPU {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Release|Any CPU.Build.0 = Release|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Release|x64.ActiveCfg = Release|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Release|x64.Build.0 = Release|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Release|x86.ActiveCfg = Release|Any CPU + {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F}.Release|x86.Build.0 = Release|Any CPU {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Debug|x64.ActiveCfg = Debug|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Debug|x64.Build.0 = Debug|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Debug|x86.ActiveCfg = Debug|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Debug|x86.Build.0 = Debug|Any CPU {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Release|Any CPU.ActiveCfg = Release|Any CPU {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Release|Any CPU.Build.0 = Release|Any CPU - {EEEB4BCB-9D78-44A1-8666-36E805A5C773}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EEEB4BCB-9D78-44A1-8666-36E805A5C773}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EEEB4BCB-9D78-44A1-8666-36E805A5C773}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EEEB4BCB-9D78-44A1-8666-36E805A5C773}.Release|Any CPU.Build.0 = Release|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Release|x64.ActiveCfg = Release|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Release|x64.Build.0 = Release|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Release|x86.ActiveCfg = Release|Any CPU + {FC2C296A-E36A-4E6E-85FB-AFCF51D40B1B}.Release|x86.Build.0 = Release|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Debug|Any CPU.Build.0 = Debug|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Debug|x64.ActiveCfg = Debug|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Debug|x64.Build.0 = Debug|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Debug|x86.ActiveCfg = Debug|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Debug|x86.Build.0 = Debug|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Release|Any CPU.ActiveCfg = Release|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Release|Any CPU.Build.0 = Release|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Release|x64.ActiveCfg = Release|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Release|x64.Build.0 = Release|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Release|x86.ActiveCfg = Release|Any CPU + {09BFF60F-5D43-47E6-BA43-0A2A95625072}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {3F279170-3991-4589-8093-5106A6B7AA69} = {F9AB9B33-370D-450F-BFB6-A0B29E4B8A83} @@ -70,5 +140,6 @@ Global {8B1E5E8E-AA46-431F-A753-A62EB03C9CC0} = {F9AB9B33-370D-450F-BFB6-A0B29E4B8A83} {414C668F-B3D7-420A-A5ED-428110F2C789} = {F9AB9B33-370D-450F-BFB6-A0B29E4B8A83} {FB6CFA0C-C3B4-46B2-B1E0-889F58F6DF4F} = {F9AB9B33-370D-450F-BFB6-A0B29E4B8A83} + {09BFF60F-5D43-47E6-BA43-0A2A95625072} = {11D148E3-9BCC-C4A6-0910-9111B1AC8EC4} EndGlobalSection EndGlobal diff --git a/src/Advisor/Advisor/Az.Advisor.psd1 b/src/Advisor/Advisor/Az.Advisor.psd1 index 5551f8b6ebe8..e591e8a5fd6a 100644 --- a/src/Advisor/Advisor/Az.Advisor.psd1 +++ b/src/Advisor/Advisor/Az.Advisor.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-07-27 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.1'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Advisor.Autorest/bin/Az.Advisor.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 = 'Advisor.Autorest\Az.Advisor.format.ps1xml' +FormatsToProcess = 'Advisor.Autorest/Az.Advisor.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('Advisor.Autorest/Az.Advisor.psm1') @@ -97,7 +97,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Advisor' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Advisor' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -122,7 +122,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Advisor/Advisor/ChangeLog.md b/src/Advisor/Advisor/ChangeLog.md index d6252b72a07c..2f637ac90b90 100644 --- a/src/Advisor/Advisor/ChangeLog.md +++ b/src/Advisor/Advisor/ChangeLog.md @@ -18,6 +18,12 @@ - Additional information about change #1 --> ## Upcoming Release +* Added BreakingChange announcements for commands below: + * `Disable-AzAdvisorRecommendation` + * `Enable-AzAdvisorRecommendation` + * `Get-AzAdvisorConfiguration` + * `Get-AzAdvisorRecommendation` + * `Set-AzAdvisorConfiguration` ## Version 2.1.0 * Upgraded nuget package to signed package. diff --git a/src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md b/src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md index 0d0c1d2e0a3b..4a15b2bfec79 100644 --- a/src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md +++ b/src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md @@ -124,7 +124,7 @@ Accept wildcard characters: False ### -Filter The filter to apply to the recommendations. -Filter can be applied to properties ['ResourceId', 'ResourceGroup', 'RecommendationTypeGuid', 'Category'] with operators ['eq', 'and', 'or']. +Filter can be applied to properties ['ResourceId', 'ResourceGroup', 'RecommendationTypeGuid', '[Category](#category)'] with operators ['eq', 'and', 'or']. Example: - $filter=Category eq 'Cost' and ResourceGroup eq 'MyResourceGroup'