Skip to content

Commit a3d3c6a

Browse files
Merge pull request #249230 from mbender-ms/avnm-kvp2
virtual network manager - Update for key value pair w/ Dynamic Membership
2 parents 3ed287a + 64889e2 commit a3d3c6a

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: 'Quickstart: Create a mesh network topology with Azure Virtual Network Manager using the Azure portal'
3-
description: Use this quickstart to learn how to create a mesh network topology with Virtual Network Manager by using the Azure portal.
2+
title: 'Quickstart: Create a mesh network topology with Azure Virtual Network Manager - Azure portal'
3+
description: Learn to a mesh virtual network topology with Azure Virtual Network Manager by using the Azure portal.
44
author: mbender-ms
55
ms.author: mbender
66
ms.service: virtual-network-manager
77
ms.topic: quickstart
8-
ms.date: 04/12/2023
8+
ms.date: 08/24/2023
99
ms.custom: template-quickstart, mode-ui, engagement-fy23
1010
---
1111

12-
# Quickstart: Create a mesh network topology with Azure Virtual Network Manager by using the Azure portal
12+
# Quickstart: Create a mesh network topology with Azure Virtual Network Manager - Azure portal
1313

1414
Get started with Azure Virtual Network Manager by using the Azure portal to manage connectivity for all your virtual networks.
1515

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,30 +65,31 @@ List of supported operators:
6565
6666
## Basic editor
6767

68-
Assume you have the following virtual networks in your subscription. Each virtual network has an associated tag named **environment** with the respective value of *Production* or *Test*.
68+
Assume you have the following virtual networks in your subscription. Each virtual network has an associated tag named **environment** with the respective value of *production* or *test*.
6969

70-
| **Virtual Network** | **Tag** |
71-
| ------------------- | ------- |
72-
| myVNet01-EastUS | Production |
73-
| myVNet01-WestUS | Production |
74-
| myVNet02-WestUS | Test |
75-
| myVNet03-WestUS | Test |
70+
| **Virtual Network** | **Tag Name** | **Tag Value** |
71+
| ------------------- | ------- | ------------ |
72+
| myVNet01-EastUS | environment | production |
73+
| myVNet01-WestUS | environment | production |
74+
| myVNet02-WestUS | environment | test |
75+
| myVNet03-WestUS | environment | test |
7676

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.
77+
You only want to select virtual networks that whose tag has a key value pair of **environment** equal to **production**. 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.
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** and select **Preview Resources**. You should see myVNet01-WestUS, myVNet02-WestUS, and myVNet03-WestUS show up in the list.
83+
1. Under **Criteria**, select **Tags** from the drop-down under **Parameter** and then select **Key value pair** from the drop-down under **Operator**.
84+
1. Enter **environment** and **production** under **Condition** and select **Preview Resources**. You should see myVNet01-EastUS and myVNet01-WestUS show up in the list.
85+
86+
:::image type="content" source="media/how-to-define-network-group-membership-azure-policy/add-key-value-pair-tag.png" alt-text="Screenshot of Create Azure Policy window setting tag with key value pair.":::
87+
8588
1. Select **Close** and **Save**.
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.
89+
1. After a few minutes, select your network group and select **Group Members** under **Settings**. You should only see myVNet01-WestUS and myVNet01-WestUS.
8790

8891
> [!IMPORTANT]
8992
> The **basic editor** is only available during the creation of an Azure Policy. Once a policy is created, all edits will be done using JSON in the **Policies** section of virtual network manager or via Azure Policy.
90-
>
91-
> When using the basic editor, your condition options are limited through the portal experience. For complex conditions like creating a network group for VNets based on a [customer-defined tag](#example-3-using-custom-tag-values-with-advanced-editor), you must use the advanced editor. Learn more about [Azure Policy definition structure](../governance/policy/concepts/definition-structure.md).
9293
9394
## Advanced editor
9495

Loading

0 commit comments

Comments
 (0)