Skip to content

Commit e1a6b00

Browse files
author
Michael Bender
committed
pivot zones groups added
1 parent 6ec44b5 commit e1a6b00

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

articles/virtual-network-manager/create-virtual-network-manager-terraform.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: mbender
99
ms.date: 6/7/2023
1010
content_well_notification:
1111
- AI-contribution
12-
zone_pivot_groups: azure-virtual-network-manager-create-quickstart
12+
zone_pivot_groups: azure-virtual-network-manager-quickstart-options
1313

1414
---
1515

@@ -41,7 +41,7 @@ In this article, you learn how to:
4141
- [Install and configure Terraform](/azure/developer/terraform/quickstart-configure)
4242
- To modify dynamic network groups, you must be [granted access via Azure RBAC role](concept-network-groups.md#network-groups-and-azure-policy) assignment only. Classic Admin/legacy authorization is not supported
4343

44-
:::zone pivot="subscription-scope"
44+
:::zone pivot="sub"
4545

4646
## Implement the Terraform code
4747

@@ -70,7 +70,7 @@ In this article, you learn how to:
7070

7171
:::zone-end
7272

73-
:::zone pivot="management-group-scope"
73+
:::zone pivot="mgmt-grp"
7474

7575

7676
## Implement the Terraform code
@@ -135,7 +135,28 @@ In this article, you learn how to:
135135
--resource-group $resource_group_name \
136136
--vnet-name <virtual_network_name>
137137
```
138-
138+
139+
#### [Azure PowerShell](#tab/azure-powershell)
140+
141+
1. Get the Azure resource group name.
142+
143+
```console
144+
$resource_group_name=$(terraform output -raw resource_group_name)
145+
```
146+
147+
1. Run [Get-AzResourceGroup](/powershell/module/az.resources/Get-AzResourceGroup) to display the resource group.
148+
149+
```azurepowershell
150+
Get-AzResourceGroup -Name $resource_group_name
151+
```
152+
153+
1. For each virtual network name printed in the previous step, run [Get-AzNetworkManagerEffectiveConnectivityConfiguration](/powershell/module/az.network/get-aznetworkmanagereffectiveconnectivityconfiguration) to print the effective (applied) configurations. Replace the `<virtual_network_name>` placeholder with the vnet name.
154+
155+
```azurepowershell
156+
Get-AzNetworkManagerEffectiveConnectivityConfiguration
157+
-VirtualNetworkName <String>
158+
-VirtualNetworkResourceGroupName $resource_group_name
159+
```
139160
---
140161

141162
## Clean up resources

articles/zone-pivot-groups.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2856,3 +2856,12 @@ groups:
28562856
title: Azure Developer CLI
28572857
- id: local
28582858
title: Local
2859+
2860+
- id: azure-virtual-network-manager-quickstart-options
2861+
title: Azure Virtual Network Manager Quickstart Scope Options
2862+
prompt: Choose a scope option
2863+
pivots:
2864+
- id: mgmt-grp
2865+
title: Management group
2866+
- id: sub
2867+
title: Subscription

0 commit comments

Comments
 (0)