You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Purge protection should be turned on to guard against force deletion of the secret / vault even after soft delete
164
+
-[Purge protection](https://docs.microsoft.com/azure/key-vault/key-vault-ovw-soft-delete#purge-protection) should be turned on to guard against force deletion of the secret / vault even after soft delete
165
165
166
166
### Create *Cluster* resource
167
167
168
-
This resource is used as intermediate identity connection between your Key Vault and your workspaces. Only after you receive confirmation that your subscriptions were whitelisted, create a Log Analytics *Cluster* resource at the region where your workspaces are located.
168
+
This resource is used as intermediate identity connection between your Key Vault and your workspaces. Only after you receive confirmation that your subscriptions were whitelisted, create a Log Analytics *Cluster* resource at the region where your workspaces are located. Application Insights and Log Analytics require separate Cluster resources. The type of the Cluster resource is defined at creation time by setting the “clusterType” property to either ‘LogAnalytics’, or ‘ApplicationInsights’. The Cluster resource type can’t be altered.
169
169
170
170
**Create**
171
171
172
-
```json
172
+
```rst
173
173
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}?api-version=2019-08-01-preview
174
174
Authorization: Bearer <token>
175
175
Content-type: application/json
176
176
177
177
{
178
178
"location": "region-name",
179
179
"properties": {
180
-
"clusterType": "LogAnalytics"
180
+
"clusterType": "LogAnalytics" //Should be "ApplicationInsights" for Application Insights CMK
181
181
},
182
182
"identity": {
183
183
"type": "systemAssigned"
@@ -211,7 +211,7 @@ Identity is assigned to the *Cluster* resource at creation time.
211
211
212
212
If you what to delete the *Cluster* resource for any reason (for example, create it with a different name) use this API call:
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}?api-version=2019-08-01-preview
253
253
Authorization: Bearer <token>
254
254
Content-type: application/json
@@ -303,17 +303,11 @@ following details:
303
303
304
304
1. Confirmation that the steps above where completed
305
305
306
-
2. The *Cluster* resource ID that you got in the response looks like this:
The *Cluster* resource ID can be retrieved at any time by using a Get API call.
306
+
2. The Cluster resource API response. it can be retrieved at any time by using a Get API call.
313
307
314
308
**Read the *Cluster* resource ID**
315
309
316
-
```
310
+
```rst
317
311
GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}?api-version=2019-08-01-preview
318
312
Authorization: Bearer <token>
319
313
```
@@ -354,7 +348,7 @@ Authorization: Bearer <token>
354
348
355
349
**Associate a workspace to a *Cluster* resource using [Workspaces - Create Or Update](https://docs.microsoft.com/rest/api/loganalytics/workspaces/createorupdate) API**
356
350
357
-
```json
351
+
```rst
358
352
PUT https://management.azure.com/https://management.azure.com.resources.windows-int.net/Customer.svc/subscriptions/{subscription-id}/resourcegroups/{resource-group-name}/providers/microsoft.operationalinsights/workspaces/{workspace-name}?api-version=2015-11-01-preview
359
353
Authorization: Bearer <token>
360
354
Content-type: application/json
@@ -462,6 +456,8 @@ with Key Identifier details" step.
462
456
- 'Do Not Purge' is turned on to guard against force deletion of
463
457
the secret / vault even after soft delete
464
458
459
+
- Application Insights and Log Analytics require separate *Cluster* resources. The type of the *Cluster* resource is defined at creation time by setting the “clusterType” property to either ‘LogAnalytics’, or ‘ApplicationInsights’. The *Cluster* resource type can’t be altered.
460
+
465
461
-*Cluster* resource move to another resource group or subscription
466
462
isn't supported currently.
467
463
@@ -536,7 +532,7 @@ with Key Identifier details" step.
536
532
537
533
- Get all *Cluster* resources for a subscription
538
534
539
-
```
535
+
```rst
540
536
GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.OperationalInsights/clusters?api-version=2019-08-01-preview
541
537
Authorization: Bearer <token>
542
538
```
@@ -548,7 +544,7 @@ The same as response as for '*Cluster* resources for a resource group', but in s
548
544
- Delete a *Cluster* resource -- You need to delete all the associated workspaces before you can delete
@@ -594,7 +590,7 @@ This resource is used as intermediate identity connection between your Key Vault
594
590
595
591
**Create**
596
592
597
-
```json
593
+
```rst
598
594
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}?api-version=2019-08-01-preview
599
595
Authorization: Bearer <token>
600
596
Content-type: application/json
@@ -636,7 +632,7 @@ Identity is assigned to the *Cluster* resource at creation time.
636
632
637
633
### Associate a component to a *Cluster* resource
638
634
639
-
```json
635
+
```rst
640
636
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Insights/components/{component-name}?api-version=2015-05-01
0 commit comments