Skip to content

Commit 5ef208c

Browse files
authored
Merge pull request #111077 from yossi-y/patch-73
Async status update
2 parents b746a43 + d547f99 commit 5ef208c

File tree

1 file changed

+44
-18
lines changed

1 file changed

+44
-18
lines changed

articles/azure-monitor/platform/customer-managed-keys.md

Lines changed: 44 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.subservice: logs
55
ms.topic: conceptual
66
author: yossi-y
77
ms.author: yossiy
8-
ms.date: 04/08/2020
8+
ms.date: 04/12/2020
99

1010
---
1111
# Azure Monitor customer-managed key configuration
@@ -148,20 +148,43 @@ GET https://management.azure.com/subscriptions/ subscription-id/providers/Micros
148148
Authorization: Bearer <token>
149149
```
150150

151-
The body of the response from the operation contains information about the operation including *Status*. The asynchronous operations in this configuration and their statuses are:
151+
The response contains information about the operation and its *Status*. It can be one of the followings:
152152

153-
* Creating a *Cluster* resource
154-
* ProvisioningAccount -- ADX cluster is in provisioning
155-
* Succeeded -- provisioning is completed
156-
157-
* Granting permissions to your Key Vault
158-
* Updating -- Key identifier details update is in progress
159-
* Succeeded -- update completed
153+
Operation is in progress
154+
```json
155+
{
156+
"id": "Azure-AsyncOperation URL value from the GET operation",
157+
"name": "operation-id",
158+
"status" : "InProgress",
159+
"startTime": "2017-01-06T20:56:36.002812+00:00",
160+
}
161+
```
160162

161-
* Associating Log Analytics workspaces
162-
* Linking -- workspace association to cluster is in progress
163-
* Succeeded -- association completed
163+
Operation is completed
164+
```json
165+
{
166+
"id": "Azure-AsyncOperation URL value from the GET operation",
167+
"name": "operation-id",
168+
"status" : "Succeeded",
169+
"startTime": "2017-01-06T20:56:36.002812+00:00",
170+
"endTime": "2017-01-06T20:56:56.002812+00:00",
171+
}
172+
```
164173

174+
Operation failed
175+
```json
176+
{
177+
"id": "Azure-AsyncOperation URL value from the GET operation",
178+
"name": "operation-id",
179+
"status" : "Failed",
180+
"startTime": "2017-01-06T20:56:36.002812+00:00",
181+
"endTime": "2017-01-06T20:56:56.002812+00:00",
182+
"error" : {
183+
"code": "error-code",
184+
"message": "error-message"
185+
}
186+
}
187+
```
165188

166189
### Subscription whitelisting
167190

@@ -215,7 +238,8 @@ The identity is assigned to the *Cluster* resource at creation time.
215238

216239
**Response**
217240

218-
200 OK and header when accepted.
241+
200 OK and header.
242+
219243
>[!Important]
220244
> During the early access period of the feature, the ADX cluster is provisioned manually. While it takes the provisioning of the underly ADX cluster a while to complete, you can check the provisioning state in two ways:
221245
> 1. Copy the Azure-AsyncOperation URL value from the response and follow the [asynchronous operations status check](#asynchronous-operations-and-status-check).
@@ -317,7 +341,8 @@ Content-type: application/json
317341

318342
**Response**
319343

320-
200 OK and header when accepted.
344+
200 OK and header.
345+
321346
>[!Important]
322347
> It takes the propagation of the Key identifier a few minutes to complete. You can check the provisioning state in two ways:
323348
> 1. Copy the Azure-AsyncOperation URL value from the response and follow the [asynchronous operations status check](#asynchronous-operations-and-status-check).
@@ -385,11 +410,12 @@ Content-type: application/json
385410

386411
**Response**
387412

388-
200 OK and header when accepted.
389-
>[!Important]
390-
> Ingested data is stored encrypted with your managed key after association operation, which can take up to 90 minutes to complete. To check the workspace association state, copy the Azure-AsyncOperation URL value from the response and follow the [asynchronous operations status check](#asynchronous-operations-and-status-check).
413+
200 OK and header.
391414

392-
You can verify if your workspace was associated to a Cluster resource by sending a GET request to [Workspaces – Get](https://docs.microsoft.com/rest/api/loganalytics/workspaces/get) and observing the response. The clusterResourceId indicates on the Cluster resource ID.
415+
>[!Important]
416+
> Ingested data is stored encrypted with your managed key after association operation, which can take up to 90 minutes to complete. You can check the workspace association state in two ways:
417+
> 1. Copy the Azure-AsyncOperation URL value from the response and follow the [asynchronous operations status check](#asynchronous-operations-and-status-check).
418+
> 2. Send a [Workspaces – Get](https://docs.microsoft.com/rest/api/loganalytics/workspaces/get) request and observe the response, associated workspace will have a clusterResourceId under "features".
393419
394420
```rest
395421
GET https://management.azure.com/subscriptions/<subscription-id>/resourcegroups/<resource-group-name>/providers/microsoft.operationalInsights/workspaces/<workspace-name>?api-version=2015-11-01-preview

0 commit comments

Comments
 (0)