Skip to content

Commit 948eafb

Browse files
authored
virtual network manager - Update how-to-define-network-group-membership-azure-policy.md
1 parent 9c9cae1 commit 948eafb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/virtual-network-manager/how-to-define-network-group-membership-azure-policy.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mbender-ms
55
ms.author: mbender
66
ms.service: virtual-network-manager
77
ms.topic: how-to
8-
ms.date: 05/11/2023
8+
ms.date: 07/18/2023
99
ms.custom: template-concept, engagement-fy23
1010
---
1111

@@ -74,14 +74,15 @@ Assume you have the following virtual networks in your subscription. Each virtua
7474
| myVNet02-WestUS | Test |
7575
| myVNet03-WestUS | Test |
7676

77-
You only want to select virtual networks that contain **VNet-A** in the name. To begin using the basic editor to create your conditional statement, you need to create a new network group.
77+
You only want to select virtual networks that contain **WestUS** in the name. To begin using the basic editor to create your conditional statement, you need to create a new network group.
7878

7979
1. Go to your Azure Virtual Network Manager instance and select **Network Groups** under **Settings**. Then select **+ Create** to create a new network group.
8080
1. Enter a **Name** and an optional **Description** for the network group, and select **Add**.
8181
1. Select the network group from the list and select **Create Azure Policy**.
8282
1. Enter a **Policy name** and leave the **Scope** selections unless changes are needed.
8383
1. Under **Criteria**, select **Name** from the drop-down under **Parameter** and then select **Contains** from the drop-down under *Operator*.
84-
1. Enter **WestUS** under **Condition**, then select **Save**.
84+
1. Enter **WestUS** under **Condition** and select **Preview Resources**. You should see myVNet01-WestUS, myVNet02-WestUS, and myVNet03-WestUS show up in the list.
85+
1. Select **Close** and **Save**.
8586
1. After a few minutes, select your network group and select **Group Members** under **Settings**. You should only see myVNet01-WestUS, myVNet02-WestUS, and myVNet03-WestUS show up in the list.
8687

8788
> [!IMPORTANT]
@@ -241,4 +242,4 @@ In this example, a conditional statement is created that finds virtual networks
241242

242243
- Learn about [Network groups](concept-network-groups.md).
243244
- Create an [Azure Virtual Network Manager](create-virtual-network-manager-portal.md) instance.
244-
- [Create and manage policies to enforce compliance](../governance/policy/tutorials/create-and-manage.md)
245+
- [Create and manage policies to enforce compliance](../governance/policy/tutorials/create-and-manage.md)

0 commit comments

Comments
 (0)