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
Copy file name to clipboardExpand all lines: articles/azure-monitor/logs/customer-managed-keys.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,18 +148,20 @@ N/A
148
148
149
149
# [Azure CLI](#tab/azure-cli)
150
150
151
-
```azurecli
152
-
az account set —subscription "cluster-subscription-id"
151
+
When entering "''" value for ```key-version```, the cluster always uses the last key version in Key Vault and there is no need to update cluster post key rotation.
$clusterResourceId = az monitor log-analytics cluster list --resource-group "resource-group-name" --query "[?contains(name, "cluster-name")].[id]" --output tsv
159
+
az resource wait --created --ids $clusterResourceId --include-response-body true
160
160
```
161
161
# [PowerShell](#tab/powershell)
162
162
163
+
When entering "''" value for ```KeyVersion```, the cluster always uses the last key version in Key Vault and there is no need to update cluster post key rotation.
164
+
163
165
```powershell
164
166
Select-AzSubscription "cluster-subscription-id"
165
167
@@ -294,13 +296,13 @@ N/A
294
296
# [Azure CLI](#tab/azure-cli)
295
297
296
298
```azurecli
297
-
az account set —subscription "storage-account-subscription-id"
299
+
az account set --subscription "storage-account-subscription-id"
0 commit comments