Skip to content

Commit 8139808

Browse files
Removed json lang identifier from snippets
1 parent 7491a0e commit 8139808

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

samples/manage/sql-assessment-api/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Demonstrates how to make a custom ruleset containing two checks. The sample cont
2222

2323
```
2424
{
25-
"target": { /*Target describes a SQL Server object the check is supposed to run against*/
25+
"target": { //Target describes a SQL Server object the check is supposed to run against
2626
"type": "Database", //This check targets Database object
2727
"version": "[13.0,)", //Applies to SQL Server 2016 and higher
28-
/*Another example: [12.0,13.0) reads as any SQL Server version >= 12.0 and < 13.0*/
28+
//Another example: "[12.0,13.0)" reads as "any SQL Server version >= 12.0 and < 13.0"
2929
"platform": "/^(Windows|Linux)$/", //Applies to SQL Server on Windows and Linux
3030
"engineEdition": "OnPremises, ManagedInstance", //Applies to SQL on Premises and Azure SQL Managed Instance. Here you can also filter specific editions of SQL Server
3131
"name": { "not": "/^(master|tempdb|model)$/" } //Applies to any database excluding master, tempdb, and msdb
@@ -50,7 +50,7 @@ Demonstrates how to make a custom ruleset containing two checks. The sample cont
5050

5151
`Probes` describes how and where to get the required data to check compliance with a rule. You can use T-SQL queries as well as methods from some assemblies. The probe below uses a T-SQL query.
5252

53-
```json
53+
```
5454
"Custom_DatabaseConfiguration": [ //Probe name is used to reference the probe from a rule
5555
//Probe can have a few implementations that will be used for different targets
5656
//This probe has two implementations for different version of SQL Server

0 commit comments

Comments
 (0)