Skip to content

Commit 0de4a71

Browse files
authored
Merge pull request #100628 from MGoedtel/Task1662758
updated article about new SKU
2 parents a13538f + 0e49cc1 commit 0de4a71

File tree

1 file changed

+45
-9
lines changed

1 file changed

+45
-9
lines changed

articles/azure-monitor/platform/template-workspace-configuration.md

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.subservice: logs
66
ms.topic: conceptual
77
author: bwren
88
ms.author: bwren
9-
ms.date: 10/22/2019
9+
ms.date: 01/09/2020
1010

1111
---
1212

@@ -16,7 +16,7 @@ ms.date: 10/22/2019
1616

1717
You can use [Azure Resource Manager templates](../../azure-resource-manager/templates/template-syntax.md) to create and configure Log Analytics workspaces in Azure Monitor. Examples of the tasks you can perform with templates include:
1818

19-
* Create a workspace including setting pricing tier
19+
* Create a workspace including setting pricing tier and capacity reservation
2020
* Add a solution
2121
* Create saved searches
2222
* Create a computer group
@@ -43,7 +43,19 @@ The following table lists the API version for the resources used in this example
4343

4444
## Create a Log Analytics workspace
4545

46-
The following example creates a workspace using a template from your local machine. The JSON template is configured to only require the name and location of the new workspace (using the default values for the other workspace parameters such as pricing tier and retention).
46+
The following example creates a workspace using a template from your local machine. The JSON template is configured to only require the name and location of the new workspace. It uses values specified for other workspace parameters such as [access control mode](design-logs-deployment.md#access-control-mode), pricing tier, retention, and capacity reservation level.
47+
48+
For capacity reservation, you define a selected capacity reservation for ingesting data by specifying the SKU `CapacityReservation` and a value in GB for the property `capacityReservationLevel`. The following list details the supported values and behavior when configuring it.
49+
50+
- Once you set the reservation limit, you cannot change to a different SKU within 31 days.
51+
52+
- Once you set the reservation value, you can only increase it within 31 days.
53+
54+
- You can only set the value of `capacityReservationLevel` in multiples of 100, with a maximum value of 50000.
55+
56+
- If you increase the reservation level, the timer is reset and you cannot change it for another 31 days from this update.
57+
58+
- If you modify any other property for the workspace but retain the reservation limit to the same level, the timer is not reset.
4759

4860
### Create and deploy template
4961

@@ -60,6 +72,21 @@ The following example creates a workspace using a template from your local mach
6072
"description": "Specifies the name of the workspace."
6173
}
6274
},
75+
"pricingTier": {
76+
"type": "string",
77+
"allowedValues": [
78+
"pergb2018",
79+
"Free",
80+
"Standalone",
81+
"PerNode",
82+
"Standard",
83+
"Premium"
84+
],
85+
"defaultValue": "pergb2018",
86+
"metadata": {
87+
"description": "Pricing tier: PerGB2018 or legacy tiers (Free, Standalone, PerNode, Standard or Premium) which are not available to all customers."
88+
}
89+
},
6390
"location": {
6491
"type": "String",
6592
"allowedValues": [
@@ -97,11 +124,18 @@ The following example creates a workspace using a template from your local mach
97124
{
98125
"type": "Microsoft.OperationalInsights/workspaces",
99126
"name": "[parameters('workspaceName')]",
100-
"apiVersion": "2015-11-01-preview",
127+
"apiVersion": "2017-03-15-preview",
101128
"location": "[parameters('location')]",
102129
"properties": {
130+
"sku": {
131+
"name": "CapacityReservation",
132+
"capacityReservationLevel": 100
133+
},
134+
"retentionInDays": 120,
103135
"features": {
104-
"searchVersion": 1
136+
"searchVersion": 1,
137+
"legacy": 0,
138+
"enableLogAccessUsingOnlyResourcePermissions": true
105139
}
106140
}
107141
}
@@ -164,9 +198,9 @@ The following template sample illustrates how to:
164198
"Standard",
165199
"Premium"
166200
],
167-
"defaultValue": "PerGB2018",
201+
"defaultValue": "pergb2018",
168202
"metadata": {
169-
"description": "Pricing tier: PerGB2018 or legacy tiers (Free, Standalone, PerNode, Standard or Premium) which are not available to all customers."
203+
"description": "Pricing tier: pergb2018 or legacy tiers (Free, Standalone, PerNode, Standard or Premium) which are not available to all customers."
170204
}
171205
},
172206
"dataRetention": {
@@ -253,7 +287,7 @@ The following template sample illustrates how to:
253287
},
254288
"resources": [
255289
{
256-
"apiVersion": "2015-11-01-preview",
290+
"apiVersion": "2017-03-15-preview",
257291
"type": "Microsoft.OperationalInsights/workspaces",
258292
"name": "[parameters('workspaceName')]",
259293
"location": "[parameters('location')]",
@@ -263,7 +297,9 @@ The following template sample illustrates how to:
263297
"immediatePurgeDataOn30Days": "[parameters('immediatePurgeDataOn30Days')]"
264298
},
265299
"sku": {
266-
"name": "[parameters('pricingTier')]"
300+
"name": "[parameters('pricingTier')]",
301+
"name": "CapacityReservation",
302+
"capacityReservationLevel": 100
267303
}
268304
},
269305
"resources": [

0 commit comments

Comments
 (0)