-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Az.Advisor update generation tool version: autorest.powershell v3->v4 #28036
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
Changes from 5 commits
dcebb2d
7d44e1a
19a4c02
73e4dcc
acd0815
a69708c
0433275
fa1bd25
ebc9f43
2cdab73
ef6e8ab
04b4623
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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" | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||
| # | ||||||
| # Generated by: Microsoft Corporation | ||||||
| # | ||||||
| # Generated on: 2025-07-27 | ||||||
| # Generated on: 2025-06-27 | ||||||
|
||||||
| # Generated on: 2025-06-27 | |
| # Generated on: 2025-07-28 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
||
| ```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 by recommendation name | ||
| Enable recommendation byrecommendation name | ||
|
||
|
|
||
| ## PARAMETERS | ||
|
|
||
|
|
@@ -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 | ||
|
|
@@ -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 | ||
|
|
||
|
|
||
There was a problem hiding this comment.
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.