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/virtual-network-manager/how-to-define-network-group-membership-azure-policy.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mbender-ms
5
5
ms.author: mbender
6
6
ms.service: virtual-network-manager
7
7
ms.topic: how-to
8
-
ms.date: 05/11/2023
8
+
ms.date: 07/18/2023
9
9
ms.custom: template-concept, engagement-fy23
10
10
---
11
11
@@ -74,14 +74,15 @@ Assume you have the following virtual networks in your subscription. Each virtua
74
74
| myVNet02-WestUS | Test |
75
75
| myVNet03-WestUS | Test |
76
76
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.
78
78
79
79
1. Go to your Azure Virtual Network Manager instance and select **Network Groups** under **Settings**. Then select **+ Create** to create a new network group.
80
80
1. Enter a **Name** and an optional **Description** for the network group, and select **Add**.
81
81
1. Select the network group from the list and select **Create Azure Policy**.
82
82
1. Enter a **Policy name** and leave the **Scope** selections unless changes are needed.
83
83
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**.
85
86
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.
86
87
87
88
> [!IMPORTANT]
@@ -241,4 +242,4 @@ In this example, a conditional statement is created that finds virtual networks
241
242
242
243
- Learn about [Network groups](concept-network-groups.md).
243
244
- 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