Skip to content

fix sku value set #12110

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

Merged
merged 2 commits into from
Jun 12, 2020
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 2 additions & 1 deletion src/OperationalInsights/OperationalInsights/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
- Additional information about change #1
-->
## Upcoming Release
* Added alias "FunctionParameters" for parameter "FunctionParameter" to
* Added "pergb2018" to valid value set of parameter: `Sku` in `Set-AzOperationalInsightsWorkspace`
* Added alias "FunctionParameters" for parameter `FunctionParameter` to
- `New-AzOperationalInsightsSavedSearch`
- `Set-AzOperationalInsightsSavedSearch`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class SetAzureOperationalInsightsWorkspaceCommand : OperationalInsightsBa

[Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The service tier of the workspace.")]
[ValidateSet("free", "standard", "premium", "pernode", "standalone", IgnoreCase = true)]
[ValidateSet("free", "standard", "premium", "pernode", "standalone", "pergb2018", IgnoreCase = true)]
public string Sku { get; set; }

[Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,15 @@ Valid values are:
- free
- standard
- premium
- pernode
- standalone
- pergb2018

```yaml
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: free, standard, premium, pernode, standalone
Accepted values: free, standard, premium, pernode, standalone, pergb2018

Required: False
Position: 3
Expand Down