Skip to content

Commit fa89999

Browse files
committed
Update code blocks
1 parent ac44152 commit fa89999

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/sql-server/azure-arc/troubleshoot-assessment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ To change the Log Analytics workspace that is linked for the best practices asse
109109
1. Disable best practices assessment if it's currently enabled.
110110
1. Make a GET call to the API and get the Azure extension for SQL Server settings
111111

112-
```powershell
112+
```rest
113113
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
114114
```
115115

116116
The best practices assessment settings before the change.
117117

118-
```powershell
118+
```json
119119
"AssessmentSettings": {
120120
"Enable": true,
121121
"RunImmediately": true,
@@ -136,7 +136,7 @@ To change the Log Analytics workspace that is linked for the best practices asse
136136

137137
1. Update the workspace related settings to null as below.
138138

139-
```powershell
139+
```json
140140
"AssessmentSettings": {
141141
"Enable": false,
142142
"RunImmediately": true,
@@ -157,7 +157,7 @@ To change the Log Analytics workspace that is linked for the best practices asse
157157

158158
1. Make a `PATCH` call below to the API to update the Azure extension for SQL Server assessment settings.
159159

160-
```powershell
160+
```rest
161161
PATCH https://management.azure.com/subscriptions/ <subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.HybridCompute/machines/<arc-resource-name>/extensions/WindowsAgent.SqlServer?api-version=2022-08-11-preview
162162
```
163163

0 commit comments

Comments
 (0)