Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
1 change: 0 additions & 1 deletion src/Advisor/Advisor.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]

19 changes: 5 additions & 14 deletions src/Advisor/Advisor.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,15 @@ module-version: 0.1.0
# Normally, title is the service name
title: Advisor
subject-prefix: $(service-name)
resourcegroup-append: true

# If there are post APIs for some kinds of actions in the RP, you may need to
# uncomment following line to support viaIdentity for these post APIs
# identity-correction-for-post: true

# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
"@autorest/powershell": "3.x"

directive:
# Following is two common directive which are normally required in all the RPs
# 1. Remove the unexpanded parameter set
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
- where:
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
variant: ^(Create|Update)(?!.*?Expanded)
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The regex pattern ^(Create|Update)(?!.*?Expanded) uses a negative lookahead that may not work as intended. Consider using ^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$ for clearer intent and better maintainability.

Suggested change
variant: ^(Create|Update)(?!.*?Expanded)
variant: ^Create$|^Update$

Copilot uses AI. Check for mistakes.
remove: true
# Remove ViaIdentity parameter set for New-* cmdlets
- where:
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
# Remove the set-* cmdlet
- where:
verb: Set
remove: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Disable an Azure Advisor recommendation.
https://learn.microsoft.com/powershell/module/az.advisor/Disable-AzAdvisorRecommendation
#>
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]"))]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase])]
[CmdletBinding(DefaultParameterSetName='IdParameterSet', SupportsShouldProcess, PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='IdParameterSet', Mandatory, HelpMessage='Id of the recommendation to be suppressed.')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Enables Azure Advisor recommendation(s).
https://learn.microsoft.com/powershell/module/az.advisor/Enable-AzAdvisorRecommendation
#>
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]"))]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase])]
[CmdletBinding(DefaultParameterSetName='IdParameterSet', SupportsShouldProcess, PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='IdParameterSet', Mandatory, HelpMessage='Id of the recommendation to be suppressed.')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Obtains details of a cached recommendation.
https://learn.microsoft.com/powershell/module/az.advisor/Get-AzAdvisorRecommendation
#>
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]"))]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase])]
[CmdletBinding(DefaultParameterSetName='ListByFilter', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ListByName', Mandatory)]
Expand Down Expand Up @@ -150,4 +149,4 @@ function Get-AzAdvisorRecommendation {
if ($filter) {$PSBoundParameters['Filter'] = $filter}
. Az.Advisor.internal\Get-AzAdvisorRecommendation @PSBoundParameters
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Updates or creates the Azure Advisor Configuration.
https://learn.microsoft.com/powershell/module/az.advisor/Set-AzAdvisorConfiguration
#>
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]"))]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IConfigData])]
[CmdletBinding(DefaultParameterSetName='CreateByLCT', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='CreateByRG', Mandatory)]
Expand Down Expand Up @@ -58,9 +57,9 @@ function Set-AzAdvisorConfiguration {

[Parameter(ParameterSetName='CreateByLCT')]
[Parameter(ParameterSetName='CreateByInputObject')]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Advisor.Support.CpuThreshold])]
[Microsoft.Azure.PowerShell.Cmdlets.Advisor.PSArgumentCompleterAttribute("5", "10", "15", "20")]
[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Advisor.Support.CpuThreshold]
[System.String]
# Minimum percentage threshold for Advisor low CPU utilization evaluation.
# Valid only for subscriptions.
# Valid values: 5 (default), 10, 15 or 20.
Expand Down
2 changes: 1 addition & 1 deletion src/Advisor/Advisor.Autorest/docs/Az.Advisor.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.Advisor
Module Guid: 277cf89e-e0e9-4a1a-8ded-b25839569c34
Module Guid: 06deca0e-afbb-433e-b403-b6acac250c2a
Download Help Link: https://learn.microsoft.com/powershell/module/az.advisor
Help Version: 1.0.0.0
Locale: en-US
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ Accept wildcard characters: False

### -InputObject
The powershell object type PsAzureAdvisorResourceRecommendationBase returned by Get-AzAdvisorRecommendation call.
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IAdvisorIdentity
Expand Down Expand Up @@ -194,7 +193,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ Accept wildcard characters: False

### -InputObject
The powershell object type PsAzureAdvisorResourceRecommendationBase returned by Get-AzAdvisorRecommendation call.
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IAdvisorIdentity
Expand Down Expand Up @@ -179,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IConfigData

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Updates or creates the Azure Advisor Configuration.

### CreateByLCT (Default)
```
Set-AzAdvisorConfiguration [-SubscriptionId <String>] [-Exclude] [-LowCpuThreshold <CpuThreshold>]
Set-AzAdvisorConfiguration [-SubscriptionId <String>] [-Exclude] [-LowCpuThreshold <String>]
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
```

### CreateByInputObject
```
Set-AzAdvisorConfiguration -InputObject <IAdvisorIdentity> [-Exclude] [-LowCpuThreshold <CpuThreshold>]
Set-AzAdvisorConfiguration -InputObject <IAdvisorIdentity> [-Exclude] [-LowCpuThreshold <String>]
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
```

Expand Down Expand Up @@ -116,7 +116,7 @@ Valid only for subscriptions.
Valid values: 5 (default), 10, 15 or 20.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Advisor.Support.CpuThreshold
Type: System.String
Parameter Sets: CreateByInputObject, CreateByLCT
Aliases:

Expand Down Expand Up @@ -197,7 +197,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IConfigData

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Advisor/Advisor.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "faee0227-0eba-4ed3-a077-ed0edaf2610f"
"generate_Id": "6a51182c-cecf-46b6-a4b9-8a4d5aea7ff0"
}
28 changes: 14 additions & 14 deletions src/Advisor/Advisor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Advisor", "Advisor\Advisor.
EndProject
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}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Advisor", "..\..\generated\Advisor\Advisor.Autorest\Az.Advisor.csproj", "{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -117,18 +117,18 @@ Global
{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
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Debug|x64.ActiveCfg = Debug|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Debug|x64.Build.0 = Debug|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Debug|x86.ActiveCfg = Debug|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Debug|x86.Build.0 = Debug|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Release|Any CPU.Build.0 = Release|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Release|x64.ActiveCfg = Release|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Release|x64.Build.0 = Release|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Release|x86.ActiveCfg = Release|Any CPU
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -140,6 +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}
{1FFDF0D9-27F8-4D60-9529-5A5D9CF115D3} = {11D148E3-9BCC-C4A6-0910-9111B1AC8EC4}
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions src/Advisor/Advisor/Az.Advisor.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 2025-07-27
# Generated on: 2025-06-27
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generation date has moved backward from 2025-07-27 to 2025-06-27, which suggests an incorrect timestamp. Generation dates should typically move forward when modules are regenerated.

Suggested change
# Generated on: 2025-06-27
# Generated on: 2025-07-28

Copilot uses AI. Check for mistakes.
#

@{
Expand Down Expand Up @@ -51,7 +51,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.1.1'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.2.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Advisor.Autorest/bin/Az.Advisor.private.dll'
Expand Down
3 changes: 1 addition & 2 deletions src/Advisor/Advisor/help/Disable-AzAdvisorRecommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ Accept wildcard characters: False

### -InputObject
The powershell object type PsAzureAdvisorResourceRecommendationBase returned by Get-AzAdvisorRecommendation call.
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IAdvisorIdentity
Expand Down Expand Up @@ -194,7 +193,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase

## NOTES

Expand Down
7 changes: 3 additions & 4 deletions src/Advisor/Advisor/help/Enable-AzAdvisorRecommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Name Category Resource Group Impact ImpactedFi

Enable recommendation by resource Id

### Example 2: Enable recommendation by recommendation name
### Example 2: Enable recommendation byrecommendation name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by recommendation (let's not remove this space in between)

```powershell
Enable-AzAdvisorRecommendation -RecommendationName 42963553-61de-5334-2d2e-47f3a0099d41
```
Expand All @@ -59,7 +59,7 @@ Name Category Resource Group Impact ImpactedFi
42963553-61de-5334-2d2e-47f3a0099d41 Security automanagehcrprg High Microsoft.Compute/virtualMachines
```

Enable recommendation by recommendation name
Enable recommendation byrecommendation name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by recommendation (let's not remove this space in between)


## PARAMETERS

Expand All @@ -80,7 +80,6 @@ Accept wildcard characters: False

### -InputObject
The powershell object type PsAzureAdvisorResourceRecommendationBase returned by Get-AzAdvisorRecommendation call.
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IAdvisorIdentity
Expand Down Expand Up @@ -179,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Advisor/Advisor/help/Get-AzAdvisorConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IConfigData

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IResourceRecommendationBase
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IResourceRecommendationBase

## NOTES

Expand Down
8 changes: 4 additions & 4 deletions src/Advisor/Advisor/help/Set-AzAdvisorConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Updates or creates the Azure Advisor Configuration.

### CreateByLCT (Default)
```
Set-AzAdvisorConfiguration [-SubscriptionId <String>] [-Exclude] [-LowCpuThreshold <CpuThreshold>]
Set-AzAdvisorConfiguration [-SubscriptionId <String>] [-Exclude] [-LowCpuThreshold <String>]
[-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

Expand All @@ -26,7 +26,7 @@ Set-AzAdvisorConfiguration [-SubscriptionId <String>] -ResourceGroupName <String

### CreateByInputObject
```
Set-AzAdvisorConfiguration -InputObject <IAdvisorIdentity> [-Exclude] [-LowCpuThreshold <CpuThreshold>]
Set-AzAdvisorConfiguration -InputObject <IAdvisorIdentity> [-Exclude] [-LowCpuThreshold <String>]
[-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

Expand Down Expand Up @@ -116,7 +116,7 @@ Valid only for subscriptions.
Valid values: 5 (default), 10, 15 or 20.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Advisor.Support.CpuThreshold
Type: System.String
Parameter Sets: CreateByLCT, CreateByInputObject
Aliases:

Expand Down Expand Up @@ -197,7 +197,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData
### Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IConfigData

## NOTES

Expand Down
Loading