Skip to content

Commit

Permalink
Merge pull request #1 from mudit794/mudit794-patch-1
Browse files Browse the repository at this point in the history
Add operational excellence category to validate set of input
  • Loading branch information
mudit794 authored Oct 12, 2019
2 parents bbfab16 + af3d3e7 commit ea8f48b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Advisor/Advisor/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Added new category "Operational Excellence"

## Version 1.0.1
* Fixed miscellaneous typos across module
Expand Down
4 changes: 2 additions & 2 deletions src/Advisor/Advisor/Cmdlets/GetAzAdvisorRecommendation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class GetAzAdvisorRecommendation : ResourceAdvisorBaseCmdlet
/// </summary>
[Parameter(ParameterSetName = "IdParameterSet", Mandatory = false, HelpMessage = "Category of the recommendation")]
[Parameter(ParameterSetName = "NameParameterSet", Mandatory = false, HelpMessage = "Category of the recommendation")]
[ValidateSet("Cost", "HighAvailability", "Performance", "Security")]
[ValidateSet("Cost", "HighAvailability", "OperationalExcellence", "Performance", "Security")]
public string Category { get; set; }

/// <summary>
Expand Down Expand Up @@ -96,4 +96,4 @@ public override void ExecuteCmdlet()
this.WriteObject(results, true);
}
}
}
}

0 comments on commit ea8f48b

Please sign in to comment.