mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Delete CustomRuleCLRProbe.json
This commit is contained in:
-32
@@ -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": "<replace with your path to the dll>\\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"] }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user