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
- Azure Government portal: <ahref="https://portal.azure.us/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.management%2fmanagementgroups%27%0a%7c%20project%20mgname%20%3d%20name%0a%7c%20join%20kind%3dleftouter%20(resourcecontainers%20%7c%20where%20type%3d%7e%20%27microsoft.resources%2fsubscriptions%27%0a%7c%20extend%20%20mgParent%20%3d%20properties.managementGroupAncestorsChain%20%7c%20project%20id%2c%20mgname%20%3d%20tostring(mgParent%5b0%5d.name))%20on%20mgname%0a%7c%20summarize%20count()%20by%20mgname"target="_blank">portal.azure.us</a>
41
38
- Microsoft Azure operated by 21Vianet portal: <ahref="https://portal.azure.cn/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.management%2fmanagementgroups%27%0a%7c%20project%20mgname%20%3d%20name%0a%7c%20join%20kind%3dleftouter%20(resourcecontainers%20%7c%20where%20type%3d%7e%20%27microsoft.resources%2fsubscriptions%27%0a%7c%20extend%20%20mgParent%20%3d%20properties.managementGroupAncestorsChain%20%7c%20project%20id%2c%20mgname%20%3d%20tostring(mgParent%5b0%5d.name))%20on%20mgname%0a%7c%20summarize%20count()%20by%20mgname"target="_blank">portal.azure.cn</a>
@@ -44,7 +41,7 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.management/
44
41
45
42
### List all management group ancestors for a specified management group
46
43
47
-
Provides the management group hierarchy details for the management group specified in the [query scope](../../../../articles/governance/resource-graph/concepts/query-language.md#query-scope). In this example, the management group is named **Application**.
44
+
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**.
48
45
49
46
```kusto
50
47
ResourceContainers
@@ -68,8 +65,6 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.management/
- Azure Government portal: <ahref="https://portal.azure.us/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.management%2fmanagementgroups%27%0a%7c%20extend%20%20mgParent%20%3d%20properties.details.managementGroupAncestorsChain%0a%7c%20mv-expand%20with_itemindex%3dMGHierarchy%20mgParent%0a%7c%20project%20name%2c%20properties.displayName%2c%20mgParent%2c%20MGHierarchy%2c%20mgParent.name"target="_blank">portal.azure.us</a>
75
70
- Azure operated by 21Vianet portal: <ahref="https://portal.azure.cn/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.management%2fmanagementgroups%27%0a%7c%20extend%20%20mgParent%20%3d%20properties.details.managementGroupAncestorsChain%0a%7c%20mv-expand%20with_itemindex%3dMGHierarchy%20mgParent%0a%7c%20project%20name%2c%20properties.displayName%2c%20mgParent%2c%20MGHierarchy%2c%20mgParent.name"target="_blank">portal.azure.cn</a>
@@ -78,7 +73,7 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.management/
78
73
79
74
### List all management group ancestors for a specified subscription
80
75
81
-
Provides the management group hierarchy details for the subscription specified in the [query scope](../../../../articles/governance/resource-graph/concepts/query-language.md#query-scope). In this example, the subscription GUID is **11111111-1111-1111-1111-111111111111**.
76
+
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`.
82
77
83
78
```kusto
84
79
ResourceContainers
@@ -102,8 +97,6 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.resources/s
- Azure Government portal: <ahref="https://portal.azure.us/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resources%2fsubscriptions%27%0a%7c%20extend%20%20mgParent%20%3d%20properties.managementGroupAncestorsChain%0a%7c%20mv-expand%20with_itemindex%3dMGHierarchy%20mgParent%0a%7c%20project%20subscriptionId%2c%20name%2c%20mgParent%2c%20MGHierarchy%2c%20mgParent.name"target="_blank">portal.azure.us</a>
109
102
- Azure operated by 21Vianet portal: <ahref="https://portal.azure.cn/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resources%2fsubscriptions%27%0a%7c%20extend%20%20mgParent%20%3d%20properties.managementGroupAncestorsChain%0a%7c%20mv-expand%20with_itemindex%3dMGHierarchy%20mgParent%0a%7c%20project%20subscriptionId%2c%20name%2c%20mgParent%2c%20MGHierarchy%2c%20mgParent.name"target="_blank">portal.azure.cn</a>
@@ -112,7 +105,7 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.resources/s
112
105
113
106
### List all subscriptions under a specified management group
114
107
115
-
Provides the name and subscription ID of all subscriptions under the management group specified in the [query scope](../../../../articles/governance/resource-graph/concepts/query-language.md#query-scope). In this example, the management group is named **Application**.
108
+
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**.
116
109
117
110
```kusto
118
111
ResourceContainers
@@ -134,8 +127,6 @@ Search-AzGraph -Query "ResourceContainers | where type =~ 'microsoft.resources/s
- Azure Government portal: <ahref="https://portal.azure.us/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resources%2fsubscriptions%27%0a%7c%20project%20subscriptionId%2c%20name"target="_blank">portal.azure.us</a>
141
132
- Azure operated by 21Vianet portal: <ahref="https://portal.azure.cn/#blade/HubsExtension/ArgQueryBlade/query/ResourceContainers%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resources%2fsubscriptions%27%0a%7c%20project%20subscriptionId%2c%20name"target="_blank">portal.azure.cn</a>
@@ -150,13 +141,13 @@ Returns secure score per management group.
0 commit comments