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/concept-network-groups.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,8 @@ To create an Azure Policy initiative definition and assignment for Azure Virtual
50
50
51
51
To create, edit, or delete Azure Virtual Network Manager dynamic group policies, you need:
52
52
53
-
- Read and write Azure RBAC permissions to the underlying policy
54
-
-Azure RBAC permissions to join the network group (Classic Admin authorization isn't supported).
53
+
- Read and write role-based access control permissions to the underlying policy.
54
+
-Role-based access control permissions to join the network group (Classic Admin authorization isn't supported).
55
55
56
56
For more information on required permissions for Azure Virtual Network Manager dynamic group policies, review [Required permissions](concept-azure-policy-integration.md#required-permissions).
# Define dynamic network group membership in Azure Virtual Network Manager with Azure Policy
13
13
14
-
In this article, you learn how to use Azure Policy conditional statements to create network groups with dynamic membership. You create these conditional statements using the basic editor by selecting parameters and operators from a drop-down menu. You'll also learn how to use the advanced editor to update conditional statements of an existing network group.
14
+
In this article, you learn how to use Azure Policy conditional statements to create network groups with dynamic membership. You create these conditional statements using the basic editor by selecting parameters and operators from a drop-down menu. Also, you learn how to use the advanced editor to update conditional statements of an existing network group.
15
15
16
16
[Azure Policy](../governance/policy/overview.md) is a service to enable you to enforce per-resource governance at scale. It can be used to specify conditional expressions that define group membership, as opposed to explicit lists of virtual networks. This condition continues to power your network groups dynamically, allowing virtual networks to join and leave the group automatically as their fulfillment of the condition changes, with no Network Manager operation required.
17
17
@@ -22,10 +22,10 @@ In this article, you learn how to use Azure Policy conditional statements to cre
22
22
> This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
23
23
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
24
24
25
-
## Pre-requisites
25
+
## Prerequisites
26
26
27
27
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
28
-
- To modify dynamic network groups, you must be [granted access via Azure RBAC role](concept-network-groups.md#network-groups-and-azure-policy) assignment only. Classic Admin/legacy authorization is not supported.
28
+
- To modify dynamic network groups, you must be [granted access with role-based access control](concept-network-groups.md#network-groups-and-azure-policy). Classic Admin/legacy authorization isn't supported.
29
29
## <aname="parameters"></a> Parameters and operators
30
30
31
31
Virtual networks with dynamic memberships are selected using conditional statements. You can define more than one conditional statement by using *logical operators* such as **AND** and **OR** for scenarios where you need to further narrow the selected virtual networks.
@@ -66,10 +66,13 @@ List of supported operators:
66
66
## Basic editor
67
67
68
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*.
69
-
* myVNet01-EastUS - *Production*
70
-
* myVNet01-WestUS - *Production*
71
-
* myVNet02-WestUS - *Test*
72
-
* myVNet03-WestUS - *Test*
69
+
70
+
|**Virtual Network**|**Tag**|
71
+
| ------------------- | ------- |
72
+
| myVNet01-EastUS | Production |
73
+
| myVNet01-WestUS | Production |
74
+
| myVNet02-WestUS | Test |
75
+
| myVNet03-WestUS | Test |
73
76
74
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.
75
78
@@ -210,7 +213,7 @@ Both `"allOf"` and `"anyOf"` are used in the code. Since the **AND** operator is
210
213
211
214
### Example 3: Using custom tag values with advanced editor
212
215
213
-
In this example, a conditional statement is created that finds virtual networks where the name includes **myVNet** AND the **environment** tag equals**production**.
216
+
In this example, a conditional statement is created that finds virtual networks where the name includes **myVNet** AND the **environment** tag includes**production**.
214
217
215
218
* Advanced editor:
216
219
@@ -224,7 +227,7 @@ In this example, a conditional statement is created that finds virtual networks
0 commit comments