You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/includes/samples-by-category/azure-arc-enabled-servers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.author: jaspkaur
8
8
9
9
### Get count and percentage of Arc-enabled servers by domain
10
10
11
-
This query summarizes the **domainName** property on [Azure Arc-enabled servers](../../../../../../articles/azure-arc/servers/overview.md) and uses a calculation with `bin` to create a **Pct** column for the percent of Arc-enabled servers per domain.
11
+
This query summarizes the **domainName** property on [Azure Arc-enabled servers](/azure/azure-arc/servers/overview) and uses a calculation with `bin` to create a **Pct** column for the percent of Arc-enabled servers per domain.
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/includes/samples-by-category/azure-policy-guest-configuration.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Search-AzGraph -Query "GuestConfigurationResources | where type =~ 'microsoft.gu
45
45
46
46
### Count of non-compliant guest configuration assignments
47
47
48
-
Displays a count of non-compliant machines per [guest configuration assignment reason](../../../../policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration). Limits results to first 100 for performance.
48
+
Displays a count of non-compliant machines per [guest configuration assignment reason](/azure/governance/policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration). Limits results to first 100 for performance.
49
49
50
50
```kusto
51
51
GuestConfigurationResources
@@ -86,7 +86,7 @@ Search-AzGraph -Query "GuestConfigurationResources | where type =~ 'microsoft.gu
86
86
87
87
### Find all reasons a machine is non-compliant for guest configuration assignments
88
88
89
-
Display all [guest configuration assignment reasons](../../../../policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration) for a specific machine. Remove the first `where` clause to also include audits where the machine is compliant.
89
+
Display all [guest configuration assignment reasons](/azure/governance/policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration) for a specific machine. Remove the first `where` clause to also include audits where the machine is compliant.
90
90
91
91
```kusto
92
92
GuestConfigurationResources
@@ -202,7 +202,7 @@ Search-AzGraph -Query "Resources | where type =~ 'Microsoft.Compute/virtualMachi
202
202
203
203
### Query details of guest configuration assignment reports
204
204
205
-
Display report from [guest configuration assignment reason](../../../../policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration) details. In the following example, the query returns only results where the Guest Assignment name is `installed_application_linux` and the output contains the string `Chrome` to list all Linux machines where a package is installed that includes the name **Chrome**.
205
+
Display report from [guest configuration assignment reason](/azure/governance/policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration) details. In the following example, the query returns only results where the Guest Assignment name is `installed_application_linux` and the output contains the string `Chrome` to list all Linux machines where a package is installed that includes the name **Chrome**.
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/includes/samples-by-category/azure-virtual-machines.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Search-AzGraph -Query "HealthResources | where type =~ 'microsoft.resourcehealth
76
76
77
77
### Count of virtual machines by power state
78
78
79
-
Returns count of virtual machines (type `Microsoft.Compute/virtualMachines`) categorized according to their power state. For more information on power states, please see [Power states overview](../../../../../../articles/virtual-machines/states-billing.md).
79
+
Returns count of virtual machines (type `Microsoft.Compute/virtualMachines`) categorized according to their power state. For more information on power states, please see [Power states overview](/azure/virtual-machines/states-billing.md).
80
80
81
81
```kusto
82
82
Resources
@@ -108,7 +108,7 @@ Search-AzGraph -Query "Resources | where type == 'microsoft.compute/virtualmachi
108
108
109
109
### Count virtual machines by OS type
110
110
111
-
Building on the previous query, we're still limiting by Azure resources of type `Microsoft.Compute/virtualMachines`, but are no longer limiting the number of records returned. Instead, we used `summarize` and `count()` to define how to group and aggregate the values by property, which in this example is `properties.storageProfile.osDisk.osType`. For an example of how this string looks in the full object, see [explore resources - virtual machine discovery](../../../../../../articles/governance/resource-graph/concepts/explore-resources.md#virtual-machine-discovery).
111
+
Building on the previous query, we're still limiting by Azure resources of type `Microsoft.Compute/virtualMachines`, but are no longer limiting the number of records returned. Instead, we used `summarize` and `count()` to define how to group and aggregate the values by property, which in this example is `properties.storageProfile.osDisk.osType`. For an example of how this string looks in the full object, see [explore resources - virtual machine discovery](/azure/governance/resource-graph/concepts/explore-resources.md#virtual-machine-discovery).
112
112
113
113
```kusto
114
114
Resources
@@ -356,7 +356,7 @@ Search-AzGraph -Query "PatchAssessmentResources | where type has 'softwarepatche
356
356
357
357
### List of virtual machines and associated availability states by Resource Ids
358
358
359
-
Returns the latest list of virtual machines (type `Microsoft.Compute/virtualMachines`) aggregated by availability state. The query also provides the associated Resource Id based on `properties.targetResourceId`, for easy debugging and mitigation. Availability states can be one of four values: Available, Unavailable, Degraded and Unknown. For more details on what each of the availability states mean, please see [Azure Resource Health overview](../../../../../../articles/service-health/resource-health-overview.md#health-status).
359
+
Returns the latest list of virtual machines (type `Microsoft.Compute/virtualMachines`) aggregated by availability state. The query also provides the associated Resource Id based on `properties.targetResourceId`, for easy debugging and mitigation. Availability states can be one of four values: Available, Unavailable, Degraded and Unknown. For more details on what each of the availability states mean, please see [Azure Resource Health overview](/azure/service-health/resource-health-overview.md#health-status).
360
360
361
361
```kusto
362
362
HealthResources
@@ -615,7 +615,7 @@ Search-AzGraph -Query "Resources | where type =~ 'Microsoft.Compute/virtualMachi
615
615
616
616
### Summarize virtual machine by the power states extended property
617
617
618
-
This query uses the [extended properties](../../../../../../articles/governance/resource-graph/concepts/query-language.md#extended-properties) on virtual machines to summarize by power states.
618
+
This query uses the [extended properties](/azure/governance/resource-graph/concepts/query-language.md#extended-properties) on virtual machines to summarize by power states.
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/includes/samples-by-category/management-groups.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.management/
43
43
44
44
### List all management group ancestors for a specified management group
45
45
46
-
Provides the management group hierarchy details for the management group specified in the [query scope](../../../../resource-graph/concepts/query-language.md#query-scope). In this example, the management group is named **Application**.
46
+
Provides the management group hierarchy details for the management group specified in the [query scope](../resource-graph/concepts/query-language.md#query-scope). In this example, the management group is named **Application**.
47
47
48
48
```kusto
49
49
ResourceContainers
@@ -77,7 +77,7 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.management/
77
77
78
78
### List all management group ancestors for a specified subscription
79
79
80
-
Provides the management group hierarchy details for the subscription specified in the [query scope](../../../../resource-graph/concepts/query-language.md#query-scope). In this example, the subscription GUID is **11111111-1111-1111-1111-111111111111**.
80
+
Provides the management group hierarchy details for the subscription specified in the [query scope](../resource-graph/concepts/query-language.md#query-scope). In this example, the subscription GUID is **11111111-1111-1111-1111-111111111111**.
81
81
82
82
```kusto
83
83
ResourceContainers
@@ -111,7 +111,7 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.resources/s
111
111
112
112
### List all subscriptions under a specified management group
113
113
114
-
Provides the name and subscription ID of all subscriptions under the management group specified in the [query scope](../../../../resource-graph/concepts/query-language.md#query-scope). In this example, the management group is named **Application**.
114
+
Provides the name and subscription ID of all subscriptions under the management group specified in the [query scope](../resource-graph/concepts/query-language.md#query-scope). In this example, the management group is named **Application**.
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/includes/samples-by-category/query/policy-resources-exemption-query.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ PolicyResources
16
16
| summarize count() by tostring(properties.policyAssignmentId)
17
17
```
18
18
19
-
For more information about using scopes with Azure CLI or Azure PowerShell, go to [Count Azure resources](../../../../resource-graph/samples/starter.md#count-azure-resources).
19
+
For more information about using scopes with Azure CLI or Azure PowerShell, go to [Count Azure resources](../resource-graph/samples/starter.md#count-azure-resources).
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/includes/samples-by-category/resource-health.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Search-AzGraph -Query "HealthResources | where type =~ 'microsoft.resourcehealth
40
40
41
41
### List of virtual machines and associated availability states by Resource Ids
42
42
43
-
Returns the latest list of virtual machines (type `Microsoft.Compute/virtualMachines`) aggregated by availability state. The query also provides the associated Resource Id based on `properties.targetResourceId`, for easy debugging and mitigation. Availability states can be one of four values: Available, Unavailable, Degraded, and Unknown. For more details on what each of the availability states mean, see [Azure Resource Health overview](../../../../../../articles/service-health/resource-health-overview.md#health-status).
43
+
Returns the latest list of virtual machines (type `Microsoft.Compute/virtualMachines`) aggregated by availability state. The query also provides the associated Resource Id based on `properties.targetResourceId`, for easy debugging and mitigation. Availability states can be one of four values: Available, Unavailable, Degraded, and Unknown. For more details on what each of the availability states mean, see [Azure Resource Health overview](/azure/service-health/resource-health-overview.md#health-status).
0 commit comments