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: docs/sql-server/azure-arc/troubleshoot-assessment.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,13 +109,13 @@ To change the Log Analytics workspace that is linked for the best practices asse
109
109
1. Disable best practices assessment if it's currently enabled.
110
110
1. Make a GET call to the API and get the Azure extension for SQL Server settings
111
111
112
-
```powershell
112
+
```rest
113
113
GET https://edge.management.azure.com/subscriptions/ <subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.HybridCompute/machines/<arc-resource-name>/extensions/WindowsAgent.SqlServer?api-version=2022-03-10
114
114
```
115
115
116
116
The best practices assessment settings before the change.
117
117
118
-
```powershell
118
+
```json
119
119
"AssessmentSettings": {
120
120
"Enable": true,
121
121
"RunImmediately": true,
@@ -136,7 +136,7 @@ To change the Log Analytics workspace that is linked for the best practices asse
136
136
137
137
1. Update the workspace related settings to null as below.
138
138
139
-
```powershell
139
+
```json
140
140
"AssessmentSettings": {
141
141
"Enable": false,
142
142
"RunImmediately": true,
@@ -157,7 +157,7 @@ To change the Log Analytics workspace that is linked for the best practices asse
157
157
158
158
1. Make a `PATCH` call below to the API to update the Azure extension for SQL Server assessment settings.
0 commit comments