From d92bf179900a42765f865a5473f0f12c8a1c2b7b Mon Sep 17 00:00:00 2001 From: Alex Protsenko <53046834+alexprotsenko@users.noreply.github.com> Date: Fri, 1 Nov 2019 20:59:42 +0300 Subject: [PATCH] Delete CustomRuleCLRProbe.json --- .../CustomRuleCLRProbe.json | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 samples/manage/sql-assessment-api/notebooks/CustomizationSamples/CustomRuleCLRProbe.json diff --git a/samples/manage/sql-assessment-api/notebooks/CustomizationSamples/CustomRuleCLRProbe.json b/samples/manage/sql-assessment-api/notebooks/CustomizationSamples/CustomRuleCLRProbe.json deleted file mode 100644 index 3c97a72a..00000000 --- a/samples/manage/sql-assessment-api/notebooks/CustomizationSamples/CustomRuleCLRProbe.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "schemaVersion": "1.0", - "version": "0.1.2", - "name": "Custom Ruleset 7", - "probes":{ - "ManagedCodeRuleProbe": [ - { - "type": "CLR", - "target": { - "type": "Server" - }, - "implementation": { - "class": "TestsProbeLibrary.Probe1", - "assembly": "\\TestProbeLibrary.Fx.dll" - } - } - ] - }, - "rules":[ - { - "id": "ManagedCodeRule", - "itemType": "definition", - "displayName": "Check using 3rd-party assembly", - "description": "This is an example of a check using an assembly to get required data.", - "message": "Method from the assembly returned a number greater than the threshold: @{QueryResult} > @{threshold}.", - "target": { "type": "Server" }, - "probes": ["ManagedCodeRuleProbe"], - "threshold": 83, - "condition": { "less": ["@QueryResult", "@threshold"] } - } - ] -}