mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
698 B
698 B
AzGraph probe
Type code: AzGraph
This probe runs a Kusto query on Azure resource graph.
Implementation properties
Implementation part of the probe definition contains the following parameters.
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| query | Required | String | Kusto query |
Use at-sign '@' to ember parameters into the query string.
Example
The following qprobe return @name for a resource with resource id equal to parameter @resId.
...
"implementation": {
"query": "Resources | where id =~ @resId | project name"
}
...