@@ -9,138 +9,136 @@ ms.author: jaspkaur
9
9
10
10
# Azure Resource Graph sample queries by category
11
11
12
- [ !INCLUDE [ azure-resource-graph-archive-samples] ( ../../includes/resource-graph/samples/archive-samples.md )]
13
-
14
12
This page is a collection of Azure Resource Graph sample queries grouped by general and service
15
13
categories. To jump to a specific ** category** , use the links on the top of the page.
16
14
Otherwise, use <kbd >Ctrl</kbd >-<kbd >F</kbd > to use your browser's search feature.
17
15
18
16
## Azure Advisor
19
17
20
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-advisor] ( ../../ includes/resource-graph/ samples/bycat/azure-advisor.md )]
18
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-advisor] ( ../includes/samples-by-category /bycat/azure-advisor.md )]
21
19
22
20
## Azure App Service
23
21
24
- [ !INCLUDE [ app-service-resources-tls-version] ( ../../ includes/resource-graph/ samples/query/app-service-resources-tls-version.md )]
22
+ [ !INCLUDE [ app-service-resources-tls-version] ( ../includes/samples-by-category /query/app-service-resources-tls-version.md )]
25
23
26
24
## Azure Arc
27
25
28
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-arc] ( ../../ includes/resource-graph/ samples/bycat/azure-arc.md )]
26
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-arc] ( ../includes/samples-by-category /bycat/azure-arc.md )]
29
27
30
28
## Azure Arc-enabled Kubernetes
31
29
32
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-arc-enabled-kubernetes] ( ../../ includes/resource-graph/ samples/bycat/azure-arc-enabled-kubernetes.md )]
30
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-arc-enabled-kubernetes] ( ../includes/samples-by-category /bycat/azure-arc-enabled-kubernetes.md )]
33
31
34
32
## Azure Arc-enabled servers
35
33
36
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-arc-enabled-servers] ( ../../ includes/resource-graph/ samples/bycat/azure-arc-enabled-servers.md )]
34
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-arc-enabled-servers] ( ../includes/samples-by-category /bycat/azure-arc-enabled-servers.md )]
37
35
38
36
## Azure Center for SAP solutions
39
37
40
- [ !INCLUDE [ virtual-instance-sap-solutions-vm-health] ( ../../ includes/resource-graph/ samples/query/virtual-instance-sap-solutions-vm-health.md )]
38
+ [ !INCLUDE [ virtual-instance-sap-solutions-vm-health] ( ../includes/samples-by-category /query/virtual-instance-sap-solutions-vm-health.md )]
41
39
42
- [ !INCLUDE [ virtual-instance-sap-solutions-vm-health-changes] ( ../../ includes/resource-graph/ samples/query/virtual-instance-sap-solutions-vm-health-changes.md )]
40
+ [ !INCLUDE [ virtual-instance-sap-solutions-vm-health-changes] ( ../includes/samples-by-category /query/virtual-instance-sap-solutions-vm-health-changes.md )]
43
41
44
42
## Azure Container Registry
45
43
46
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-container-registry] ( ../../ includes/resource-graph/ samples/bycat/azure-container-registry.md )]
44
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-container-registry] ( ../includes/samples-by-category /bycat/azure-container-registry.md )]
47
45
48
46
## Azure Cosmos DB
49
47
50
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-cosmos-db] ( ../../ includes/resource-graph/ samples/bycat/azure-cosmos-db.md )]
48
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-cosmos-db] ( ../includes/samples-by-category /bycat/azure-cosmos-db.md )]
51
49
52
50
## Azure Key Vault
53
51
54
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-key-vault] ( ../../ includes/resource-graph/ samples/bycat/azure-key-vault.md )]
52
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-key-vault] ( ../includes/samples-by-category /bycat/azure-key-vault.md )]
55
53
56
54
## Azure Monitor
57
55
58
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-monitor] ( ../../ includes/resource-graph/ samples/bycat/azure-monitor.md )]
56
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-monitor] ( ../includes/samples-by-category /bycat/azure-monitor.md )]
59
57
60
- [ !INCLUDE [ azure-monitor-data-collection-rules-resources-table] ( ../../ includes/resource-graph/ samples/query/resources-monitor-data-collection-rules.md )]
58
+ [ !INCLUDE [ azure-monitor-data-collection-rules-resources-table] ( ../includes/samples-by-category /query/resources-monitor-data-collection-rules.md )]
61
59
62
- [ !INCLUDE [ azure-monitor-data-collection-rules-insight-resources-table] ( ../../ includes/resource-graph/ samples/query/insight-resources-monitor-data-collection-rules.md )]
60
+ [ !INCLUDE [ azure-monitor-data-collection-rules-insight-resources-table] ( ../includes/samples-by-category /query/insight-resources-monitor-data-collection-rules.md )]
63
61
64
62
65
63
## Azure Orbital Ground Station
66
64
67
- [ !INCLUDE [ azure-orbitals-contacts-samples] ( ../../ includes/resource-graph/ samples/query/orbital-resources-contacts.md )]
65
+ [ !INCLUDE [ azure-orbitals-contacts-samples] ( ../includes/samples-by-category /query/orbital-resources-contacts.md )]
68
66
69
67
## Azure Policy
70
68
71
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-policy] ( ../../ includes/resource-graph/ samples/bycat/azure-policy.md )]
69
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-policy] ( ../includes/samples-by-category /bycat/azure-policy.md )]
72
70
73
- [ !INCLUDE [ policy-resources-exemption-query] ( ../../ includes/resource-graph/ samples/query/policy-resources-exemption-query.md )]
71
+ [ !INCLUDE [ policy-resources-exemption-query] ( ../includes/samples-by-category /query/policy-resources-exemption-query.md )]
74
72
75
73
## Azure Policy guest configuration
76
74
77
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-policy-guest-configuration] ( ../../ includes/resource-graph/ samples/bycat/azure-policy-guest-configuration.md )]
75
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-policy-guest-configuration] ( ../includes/samples-by-category /bycat/azure-policy-guest-configuration.md )]
78
76
79
77
## Azure RBAC
80
78
81
- [ !INCLUDE [ authorization-resources-troubleshoot-rbac-limits] ( ../../ includes/resource-graph/ samples/query/authorization-resources-troubleshoot-rbac-limits.md )]
79
+ [ !INCLUDE [ authorization-resources-troubleshoot-rbac-limits] ( ../includes/samples-by-category /query/authorization-resources-troubleshoot-rbac-limits.md )]
82
80
83
- [ !INCLUDE [ authorization-resources-role-assignments-key-properties] ( ../../ includes/resource-graph/ samples/query/authorization-resources-role-assignments-key-properties.md )]
81
+ [ !INCLUDE [ authorization-resources-role-assignments-key-properties] ( ../includes/samples-by-category /query/authorization-resources-role-assignments-key-properties.md )]
84
82
85
- [ !INCLUDE [ authorization-resources-role-definitions-key-properties] ( ../../ includes/resource-graph/ samples/query/authorization-resources-role-definitions-key-properties.md )]
83
+ [ !INCLUDE [ authorization-resources-role-definitions-key-properties] ( ../includes/samples-by-category /query/authorization-resources-role-definitions-key-properties.md )]
86
84
87
- [ !INCLUDE [ authorization-resources-role-definitions-actions-list.md] ( ../../ includes/resource-graph/ samples/query/authorization-resources-role-definitions-actions-list.md )]
85
+ [ !INCLUDE [ authorization-resources-role-definitions-actions-list.md] ( ../includes/samples-by-category /query/authorization-resources-role-definitions-actions-list.md )]
88
86
89
- [ !INCLUDE [ authorization-resources-role-definitions-permissions-list] ( ../../ includes/resource-graph/ samples/query/authorization-resources-role-definitions-permissions-list.md )]
87
+ [ !INCLUDE [ authorization-resources-role-definitions-permissions-list] ( ../includes/samples-by-category /query/authorization-resources-role-definitions-permissions-list.md )]
90
88
91
- [ !INCLUDE [ authorization-resources-classic-administrators-key-properties] ( ../../ includes/resource-graph/ samples/query/authorization-resources-classic-administrators-key-properties.md )]
89
+ [ !INCLUDE [ authorization-resources-classic-administrators-key-properties] ( ../includes/samples-by-category /query/authorization-resources-classic-administrators-key-properties.md )]
92
90
93
91
## Azure Service Health
94
92
95
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-service-health] ( ../../ includes/resource-graph/ samples/bycat/azure-service-health.md )]
93
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-service-health] ( ../includes/samples-by-category /bycat/azure-service-health.md )]
96
94
97
95
## Azure SQL
98
96
99
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-sql] ( ../../ includes/resource-graph/ samples/bycat/azure-sql.md )]
97
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-sql] ( ../includes/samples-by-category /bycat/azure-sql.md )]
100
98
101
99
## Azure Storage
102
100
103
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-storage] ( ../../ includes/resource-graph/ samples/bycat/azure-storage.md )]
101
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-storage] ( ../includes/samples-by-category /bycat/azure-storage.md )]
104
102
105
103
## Azure Virtual Machines
106
104
107
- [ !INCLUDE [ azure-resource-graph-samples-cat-azure-virtual-machines] ( ../../ includes/resource-graph/ samples/bycat/azure-virtual-machines.md )]
105
+ [ !INCLUDE [ azure-resource-graph-samples-cat-azure-virtual-machines] ( ../includes/samples-by-category /bycat/azure-virtual-machines.md )]
108
106
109
107
## General
110
108
111
- [ !INCLUDE [ azure-resource-graph-samples-cat-general] ( ../../ includes/resource-graph/ samples/bycat/general.md )]
109
+ [ !INCLUDE [ azure-resource-graph-samples-cat-general] ( ../includes/samples-by-category /bycat/general.md )]
112
110
113
111
## IoT Defender
114
112
115
- [ !INCLUDE [ azure-resource-graph-samples-cat-iot-defender] ( ../../ includes/resource-graph/ samples/bycat/iot-defender.md )]
113
+ [ !INCLUDE [ azure-resource-graph-samples-cat-iot-defender] ( ../includes/samples-by-category /bycat/iot-defender.md )]
116
114
117
115
## Management groups
118
116
119
- [ !INCLUDE [ azure-resource-graph-samples-cat-management-groups] ( ../../ includes/resource-graph/ samples/bycat/management-groups.md )]
117
+ [ !INCLUDE [ azure-resource-graph-samples-cat-management-groups] ( ../includes/samples-by-category /bycat/management-groups.md )]
120
118
121
119
## Microsoft Defender
122
120
123
- [ !INCLUDE [ azure-resource-graph-samples-cat-microsoft-defender] ( ../../ includes/resource-graph/ samples/bycat/microsoft-defender.md )]
121
+ [ !INCLUDE [ azure-resource-graph-samples-cat-microsoft-defender] ( ../includes/samples-by-category /bycat/microsoft-defender.md )]
124
122
125
123
## Networking
126
124
127
- [ !INCLUDE [ azure-resource-graph-samples-cat-networking] ( ../../ includes/resource-graph/ samples/bycat/networking.md )]
125
+ [ !INCLUDE [ azure-resource-graph-samples-cat-networking] ( ../includes/samples-by-category /bycat/networking.md )]
128
126
129
- [ !INCLUDE [ virtual-machine-basic-sku-public-ip] ( ../../ includes/resource-graph/ samples/query/virtual-machine-basic-sku-public-ip.md )]
127
+ [ !INCLUDE [ virtual-machine-basic-sku-public-ip] ( ../includes/samples-by-category /query/virtual-machine-basic-sku-public-ip.md )]
130
128
131
129
## Resource health
132
130
133
- [ !INCLUDE [ azure-resource-graph-samples-cat-resource-health] ( ../../ includes/resource-graph/ samples/bycat/resource-health.md )]
131
+ [ !INCLUDE [ azure-resource-graph-samples-cat-resource-health] ( ../includes/samples-by-category /bycat/resource-health.md )]
134
132
135
133
## Tags
136
134
137
- [ !INCLUDE [ azure-resource-graph-samples-cat-tags] ( ../../ includes/resource-graph/ samples/bycat/tags.md )]
135
+ [ !INCLUDE [ azure-resource-graph-samples-cat-tags] ( ../includes/samples-by-category /bycat/tags.md )]
138
136
139
137
## Virtual Machine Scale Sets
140
138
141
- [ !INCLUDE [ vmss-computeresources-uniform-orchestration] ( ../../ includes/resource-graph/ samples/query/vmss-computeresources-uniform-orchestration.md )]
139
+ [ !INCLUDE [ vmss-computeresources-uniform-orchestration] ( ../includes/samples-by-category /query/vmss-computeresources-uniform-orchestration.md )]
142
140
143
- [ !INCLUDE [ vmss-resources-flexible-orchestration] ( ../../ includes/resource-graph/ samples/query/vmss-resources-flexible-orchestration.md )]
141
+ [ !INCLUDE [ vmss-resources-flexible-orchestration] ( ../includes/samples-by-category /query/vmss-resources-flexible-orchestration.md )]
144
142
145
143
## Next steps
146
144
0 commit comments