Skip to content

Commit d2f62a9

Browse files
author
Michael Bender
committed
updated docs + includes added
1 parent 647ac01 commit d2f62a9

File tree

3 files changed

+44
-17
lines changed

3 files changed

+44
-17
lines changed

articles/virtual-network-manager/how-to-create-hub-and-spoke.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,17 @@ To manually add the desired virtual networks for your Mesh configuration to your
4444
:::image type="content" source="./media/create-virtual-network-manager-portal/add-virtual-networks.png" alt-text="Screenshot of add virtual networks to network group page.":::
4545

4646
1. To review the network group membership manually added, select **Group Members** on the *Network Group* page under **Settings**.
47-
:::image type="content" source="media/create-virtual-network-manager-portal/group-members-list.png" alt-text="Screenshot of group membership under Group Membership." lightbox="media/create-virtual-network-manager-portal/group-members-list.png":::
47+
48+
:::image type="content" source="../../includes/media/virtual-network-manager-define-azure-policy/group-members-list.png" alt-text="Screenshot that shows a list of group members.":::
4849

4950
## Create a hub and spoke connectivity configuration
5051

5152
This section guides you through how to create a hub-and-spoke configuration with the network group you created in the previous section.
5253

5354
1. Select **Connectivity configuration** from the drop-down menu to begin creating a connectivity configuration.
5455

55-
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration-dropdown.png" alt-text="Screenshot of configuration drop-down menu.":::
56-
5756
1. On the **Basics** page, enter the following information, and select **Next: Topology >**.
5857

59-
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration.png" alt-text="Screenshot of add a connectivity configuration page.":::
60-
6158
| Setting | Value |
6259
| ------- | ----- |
6360
| Name | Enter a *name* for this configuration. |
@@ -67,7 +64,7 @@ This section guides you through how to create a hub-and-spoke configuration with
6764

6865
:::image type="content" source="media/how-to-create-hub-and-spoke/topology.png" alt-text="Screenshot of Add Topology screen for hub and spoke topology.":::
6966

70-
1. Select **Delete existing peerings** checkbox if you want to remove all previously created VNet peering between virtual networks in the network group defined in this configuration, and then select **Select a hub**.
67+
1. Select **Delete existing peerings** checkbox if you want to remove all previously created virtual network peering between virtual networks in the network group defined in this configuration, and then select **Select a hub**.
7168
1. On the **Select a hub** page, Select a virtual network that acts as the hub virtual network and select **Select**.
7269

7370
:::image type="content" source="media/how-to-create-hub-and-spoke/select-hub.png" alt-text="Screenshot of Select a hub list.":::
@@ -81,8 +78,8 @@ This section guides you through how to create a hub-and-spoke configuration with
8178
:::image type="content" source="./media/how-to-create-hub-and-spoke/spokes-settings.png" alt-text="Screenshot of spoke network groups settings.":::
8279

8380

84-
* *Direct connectivity*: Select **Enable peering within network group** if you want to establish VNet peering between virtual networks in the network group of the same region.
85-
* *Global Mesh*: Select **Enable mesh connectivity across regions** if you want to establish VNet peering for all virtual networks in the network group across regions.
81+
* *Direct connectivity*: Select **Enable peering within network group** if you want to establish virtual network peering between virtual networks in the network group of the same region.
82+
* *Global Mesh*: Select **Enable mesh connectivity across regions** if you want to establish virtual network peering for all virtual networks in the network group across regions.
8683
* *Gateway*: Select **Use hub as a gateway** if you have a virtual network gateway in the hub virtual network that you want this network group to use to pass traffic to on-premises.
8784

8885
Select the settings you want to enable for each network group.
@@ -105,12 +102,9 @@ To have this configuration take effect in your environment, you need to deploy t
105102
| Target regions | Select all the regions that apply to virtual networks you select for the configuration. |
106103

107104
1. Select **Next** and then select **Deploy** to complete the deployment.
108-
109-
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-confirmation.png" alt-text="Screenshot of deployment confirmation message.":::
110-
111105
1. The deployment displays in the list for the selected region. The deployment of the configuration can take a few minutes to complete.
112106

113-
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-in-progress.png" alt-text="Screenshot of configuration deployment in progress status.":::
107+
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-succeeded.png" alt-text="Screenshot of configuration deployment in progress status.":::
114108

115109
> [!NOTE]
116110
> If you're currently using peering and want to manage topology and connectivity with Azure Virtual Network Manager, you can migrate without any downtime to your network. Virtual network manager instances are fully compatible with pre-existing hub and spoke topology deployment using peering. This means that you won't need to delete any existing peered connections between the spokes and the hub as the network manager will automatically detect and manage them.

articles/virtual-network-manager/how-to-create-mesh-network.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ To manually add the desired virtual networks for your Mesh configuration to your
4343
:::image type="content" source="./media/create-virtual-network-manager-portal/add-virtual-networks.png" alt-text="Screenshot of add virtual networks to network group page.":::
4444

4545
1. To review the network group membership manually added, select **Group Members** on the *Network Group* page under **Settings**.
46-
:::image type="content" source="media/create-virtual-network-manager-portal/group-members-list.png" alt-text="Screenshot of group membership under Group Membership." lightbox="media/create-virtual-network-manager-portal/group-members-list.png":::
46+
47+
:::image type="content" source="../../includes/media/virtual-network-manager-define-azure-policy/group-members-list.png" alt-text="Screenshot that shows a list of group members.":::
4748

4849
## Create a mesh connectivity configuration
4950

@@ -53,12 +54,8 @@ This section guides you through how to create a mesh configuration with the netw
5354

5455
1. Select **Connectivity configuration** from the drop-down menu to begin creating a connectivity configuration.
5556

56-
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration-dropdown.png" alt-text="Screenshot of configuration drop-down menu.":::
57-
5857
1. On the **Basics** page, enter the following information, and select **Next: Topology >**.
5958

60-
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration.png" alt-text="Screenshot of add a connectivity configuration page.":::
61-
6259
| Setting | Value |
6360
| ------- | ----- |
6461
| Name | Enter a *name* for this configuration. |
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: virtual-network-manager
5+
author: mbender
6+
ms.service: virtual-network-manager
7+
ms.topic: include
8+
ms.date: 10/22/2024
9+
ms.author: mbender-ms
10+
ms.custom: include file
11+
---
12+
13+
By using [Azure Policy](/azure/virtual-network-manager/concept-azure-policy-integration), you define a condition to dynamically add two virtual networks to your network group when the name of the virtual network includes *prod*:
14+
15+
1. From the list of network groups, select **network-group**. Under **Create policy to dynamically add members**, select **Create Azure policy**.
16+
1. In the **Create Azure policy** window, select or enter the following information, and then select **Preview resources**.
17+
18+
:::image type="content" source="./media/virtual-network-manager-define-azure-policy/network-group-conditional.png" alt-text="Screenshot of the pane for creating an Azure policy, including criteria for definitions.":::
19+
20+
| Setting | Value |
21+
| ------- | ----- |
22+
| **Policy name** | Enter **azure-policy**. |
23+
| **Scope** | Choose **Select scopes** and then select your current subscription. |
24+
| **Parameter** | Select **Name** from the dropdown list.|
25+
| **Operator** | Select **Contains** from the dropdown list.|
26+
| **Condition** | Enter **-spoke**. |
27+
28+
2. The **Preview resources** pane shows the virtual networks for addition to the network group based on the defined conditions in Azure Policy. When you're ready, select **Close**.
29+
30+
:::image type="content" source="media/virtual-network-manager-define-azure-policy/preview-virtual-networks.png" alt-text="Screenshot of Preview resources window with virtual networks in network group.":::
31+
32+
3. Select **Save** to deploy the group membership. It can take up to one minute for the policy to take effect and be added to your network group.
33+
34+
4. In the **Network Group** pane under **Settings**, select **Group members** to view the membership of the group based on the conditions that you defined in Azure Policy. Confirm that **Source** is listed as **azure-policy - subscriptions/<your_subscription_id>**.
35+
36+
:::image type="content" source="media/virtual-network-manager-define-azure-policy/group-members-list.png" alt-text="Screenshot of listed group members with a configured source." lightbox="media/virtual-network-manager-define-azure-policy/group-members-list.png":::

0 commit comments

Comments
 (0)