Skip to content

Commit 0123ac1

Browse files
authored
Merge pull request Azure#9355 from arolshan/operationalinsights-sku-pergb2018
Operationalinsights sku pergb2018
2 parents 0eea014 + 13439e9 commit 0123ac1

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/OperationalInsights/OperationalInsights/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Enable **pergb2018** pricing tier in `New-AzureRmOperationalInsightsWorkspace` command
2122

2223
## Version 1.2.0
2324
* Updated cmdlets with plural nouns to singular, and deprecated plural names.
@@ -26,6 +27,7 @@
2627
* Additional support for New and Get ApplicationInsights data source.
2728
- Added new 'ApplicationInsights' kind to support Get specific and Get all ApplicationInsights data sources for given workspace.
2829
- Added New-AzOperationalInsightsApplicationInsightsDataSource cmdlet for creating data source by given Application-Insights resource parameters: subscription Id, resourceGroupName and name.
30+
2931
## Version 1.0.0
3032
* General availability of `Az.OperationalInsights` module
3133
* Default parameter set for Get-AzOperationalInsightsDataSource is removed, and ByWorkspaceNameByKind has become the default parameter set

src/OperationalInsights/OperationalInsights/Client/OperationalInsightsClient.Workspaces.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public virtual PSIntelligencePack SetIntelligencePack(string resourceGroupName,
264264
if (enabled)
265265
{
266266
OperationalInsightsManagementClient.Workspaces.EnableIntelligencePack(resourceGroupName, workspaceName, intelligencePackName);
267-
return new PSIntelligencePack(intelligencePackName, enabled); ;
267+
return new PSIntelligencePack(intelligencePackName, enabled);
268268
}
269269
else
270270
{

src/OperationalInsights/OperationalInsights/Workspaces/NewAzureOperationalInsightsWorkspaceCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class NewAzureOperationalInsightsWorkspaceCommand : OperationalInsightsBa
4242

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

4848
[Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true,

src/OperationalInsights/OperationalInsights/help/New-AzOperationalInsightsWorkspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.OperationalInsights.dll-Help.xml
33
Module Name: Az.OperationalInsights
44
ms.assetid: 4682807D-34E8-4057-8894-36820447067B
@@ -163,7 +163,7 @@ Valid values are:
163163
Type: System.String
164164
Parameter Sets: (All)
165165
Aliases:
166-
Accepted values: free, standard, premium, pernode, standalone
166+
Accepted values: free, standard, premium, pernode, standalone, pergb2018
167167

168168
Required: False
169169
Position: 3

0 commit comments

Comments
 (0)