|
1 | 1 | # Azure Resource Graph - Zero to Hero |
2 | 2 |
|
3 | | -## Table of Contents |
4 | | -[link](#Dynamic Types) |
| 3 | +## Table of Contents |
| 4 | +- [Purpose](#Purpose) |
| 5 | +- [Kusto Query Lanaguage](#Kusto-Query-Language) |
| 6 | +- [Access](#Access) |
| 7 | +- [Tables](#Tables) |
| 8 | + - [List of Tables](#List-of-Current-Tables) |
| 9 | +- [Resource Types](#Resource-Types) |
| 10 | +- [Dynamic Types](#Dynamic-Types) |
| 11 | + - [Operators to Know](#Operators-to-Know) |
| 12 | + - [Basic Examples](#Basic-Examples) |
| 13 | + - [Advanced Examples](#Advanced-Examples) |
5 | 14 | |
6 | 15 | ## Purpose |
7 | 16 | To provide a guided walk through of learning Azure Resource Graph from the basics, to advanced queries. |
@@ -39,6 +48,21 @@ resources |
39 | 48 | Are the same query and produce the same results. I would consider it a better practice to always declare a table, as there are now other tables to choose from than just the resources table. |
40 | 49 | |
41 | 50 | |
| 51 | +### List of Current tables |
| 52 | +- resources |
| 53 | +- advisorresources |
| 54 | +- alertsmanagementresources |
| 55 | +- guestconfigurationresources |
| 56 | +- maintenanceresources |
| 57 | +- patchassessmentresources |
| 58 | +- pathcinstallationresources |
| 59 | +- policyresources |
| 60 | +- recoveryservicesresources |
| 61 | +- resourcecontainers |
| 62 | +- securityresources |
| 63 | +- servicehealthresources |
| 64 | + |
| 65 | + |
42 | 66 | ## Resource Types |
43 | 67 | When querying the resources table, every resource has a resource type, in Azure these are your resource providers. |
44 | 68 |
|
@@ -66,22 +90,8 @@ resources |
66 | 90 | | where type =~ 'microsoft.operationalinsights/workspaces' |
67 | 91 | |
68 | 92 | |
69 | | -### List of Current tables |
70 | | -- resources |
71 | | -- advisorresources |
72 | | -- alertsmanagementresources |
73 | | -- guestconfigurationresources |
74 | | -- maintenanceresources |
75 | | -- patchassessmentresources |
76 | | -- pathcinstallationresources |
77 | | -- policyresources |
78 | | -- recoveryservicesresources |
79 | | -- resourcecontainers |
80 | | -- securityresources |
81 | | -- servicehealthresources |
82 | | - |
83 | | - |
84 | | -### Dynamic Types ### |
| 93 | + |
| 94 | +## Dynamic Types |
85 | 95 | This section is usefull to any product that uses Kusto Query Language, but is key in extracting useful data out of Azure Resource Graph. |
86 | 96 |
|
87 | 97 | Once you get beyond querying basic items like resource groups, subscriptions and resource types, you'll find many of the properites of your resources are underneath fields of dynamic type that often hold nested JSON-like values. Sometimes there are multiple levels of nested objects in one field, typically in the properties field of your resources. |
|
0 commit comments