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/azure-arc/servers/learn/tutorial-assign-policy-portal.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ before you begin.
18
18
19
19
## Create a policy assignment
20
20
21
-
In this tutorial, you create a policy assignment and assign the _\[Preview]: Log Analytics agent should be installed on your Linux Azure Arc machines_ policy definition.
21
+
In this tutorial, you create a policy assignment and assign the _\[Preview]: Log Analytics extension should be installed on your Linux Azure Arc machines_ policy definition.
22
22
23
23
1. Launch the Azure Policy service in the Azure portal by clicking **All services**, then searching
24
24
for and selecting **Policy**.
@@ -53,13 +53,11 @@ In this tutorial, you create a policy assignment and assign the _\[Preview]: Log
53
53
54
54
For a partial list of available built-in policies, see [Azure Policy samples](../../../governance/policy/samples/index.md).
55
55
56
-
1. Search through the policy definitions list to find the _\[Preview]: Log Analytics agent should be installed on your Windows Azure Arc machines_
57
-
definition if you have enabled the Arc-enabled servers agent on a Windows-based machine. For a Linux-based machine, find the corresponding _\[Preview]: Log Analytics agent should be installed on your Linux Azure Arc machines_ policy definition. Click on that policy and click **Select**.
58
-
59
-
:::image type="content" source="./media/tutorial-assign-policy-portal/select-available-definition.png" alt-text="Find the correct policy definition" border="false":::
56
+
1. Search through the policy definitions list to find the _\[Preview]: Log Analytics extension should be installed on your Windows Azure Arc machines_
57
+
definition if you have enabled the Arc-enabled servers agent on a Windows-based machine. For a Linux-based machine, find the corresponding _\[Preview]: Log Analytics extension should be installed on your Linux Azure Arc machines_ policy definition. Click on that policy and click **Select**.
60
58
61
59
1. The **Assignment name** is automatically populated with the policy name you selected, but you can
62
-
change it. For this example, leave _\[Preview]: Log Analytics agent should be installed on your Windows Azure Arc machines_ or _\[Preview]: Log Analytics agent should be installed on your Linux Azure Arc machines_ depending on which one you selected. You can also add an optional **Description**. The description provides details about this policy assignment.
60
+
change it. For this example, leave _\[Preview]: Log Analytics extension should be installed on your Windows Azure Arc machines_ or _\[Preview]: Log Analytics extension should be installed on your Linux Azure Arc machines_ depending on which one you selected. You can also add an optional **Description**. The description provides details about this policy assignment.
63
61
**Assigned by** will automatically fill based on who is logged in. This field is optional, so
64
62
custom values can be entered.
65
63
@@ -77,7 +75,7 @@ environment.
77
75
78
76
## Identify non-compliant resources
79
77
80
-
Select **Compliance** in the left side of the page. Then locate the **\[Preview]: Log Analytics agent should be installed on your Windows Azure Arc machines** or **\[Preview]: Log Analytics agent should be installed on your Linux Azure Arc machines** policy assignment you created.
78
+
Select **Compliance** in the left side of the page. Then locate the **\[Preview]: Log Analytics extension should be installed on your Windows Azure Arc machines** or **\[Preview]: Log Analytics extension should be installed on your Linux Azure Arc machines** policy assignment you created.
81
79
82
80
:::image type="content" source="./media/tutorial-assign-policy-portal/policy-compliance.png" alt-text="Compliance details on the Policy Compliance page" border="false":::
83
81
@@ -106,7 +104,7 @@ condition triggers evaluation of the existence condition for the related resourc
106
104
To remove the assignment created, follow these steps:
107
105
108
106
1. Select **Compliance** (or **Assignments**) in the left side of the Azure Policy page and locate
109
-
the **\[Preview]: Log Analytics agent should be installed on your Windows Azure Arc machines** or **\[Preview]: Log Analytics agent should be installed on your Linux Azure Arc machines** policy assignment you created.
107
+
the **\[Preview]: Log Analytics extension should be installed on your Windows Azure Arc machines** or **\[Preview]: Log Analytics extension should be installed on your Linux Azure Arc machines** policy assignment you created.
110
108
111
109
1. Right-click the policy assignment and select **Delete assignment**.
0 commit comments