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-exclude-elements.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,20 +70,18 @@ Assume you have the following virtual networks in your subscription. Each virtua
70
70
71
71
To begin using the basic editor to create your conditional statement, you need to create a new network group.
72
72
73
-
1. Go to your Azure Virtual Network Manager instance and select **Network Groups** under *Settings*. Then select **+ Add** to create a new network group.
73
+
1. Go to your Azure Virtual Network Manager instance and select **Network Groups** under *Settings*. Then select **+ Create** to create a new network group.
74
74
75
-
1. Enter a **Name** for the network group. Then select the **Conditional statements** tab.
75
+
1. Enter a **Name** and an optional **Description** for the network group, and select **Add**.
76
+
1. Select the network group from the list and select **Create Azure Policy**.
77
+
1. Enter a **Policy name** and leave the **Scope** selections unless changes are needed.
78
+
1. Under **Criteria**, select **Tags** from the drop-down under *Parameter* and then select **Exist** from the drop-down under *Operator*.
76
79
77
-
1. Select **Tags** from the drop-down under *Parameter* and then select **Exist** from the drop-down under *Operator*.
78
-
79
-
1. Enter **Prod** under *Condition*, then select **Evaluate**. You should only see VNet-A-EastUS, VNet-B-WestUS, and VNetA show up in the list.
80
-
81
-
1. Add another conditional statement by selecting the logical operator **AND**. Select **Name** for the *Parameter* and **Contains** for the *Operator*. Enter **VNet-A** into the *Condition* field. Select **Evaluate** to see which virtual network shows up in the list. You should only see VNet-A-EastUS and VNet-A-WestUS.
82
-
83
-
1. Select **Review + Create** and then select **Create** once validation has passed.
80
+
1. Enter **Prod** under *Condition*, then select **Save**.
81
+
1. After a few minutes, select your network group and select **Group Members** under *Settings*. You should only see VNet-A-EastUS, VNet-A-WestUS, and VNetA show up in the list.
84
82
85
83
> [!NOTE]
86
-
> The **basic editor** is only available during the creation of a network group.
84
+
> The **basic editor** is only available during the creation of an Azure Policy.
0 commit comments