Skip to content

Commit 5251124

Browse files
Merge pull request #289661 from MutemwaRMasheke/oct-24-docs-train
Machine Configuration Oct 24 docs train
2 parents e98d555 + 3243064 commit 5251124

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

articles/governance/machine-configuration/how-to/develop-custom-package/2-create-package.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ Parameters of the `New-GuestConfigurationPackage` cmdlet when creating Windows c
120120
- **Type**: (`Audit`, `AuditandSet`) Determines whether the configuration should only audit or if
121121
the configuration should change the state of the machine if it's out of the desired state. The
122122
default is `Audit`.
123+
- **FrequencyMinutes**: The frequency of evaluation of the package on the machine in minutes.
124+
- **FilesToInclude**: An array list of paths to additional files to include in the generated package.
123125

124126
This step doesn't require elevation. The **Force** parameter is used to overwrite existing
125127
packages, if you run the command more than once.

articles/governance/machine-configuration/overview.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ You can view the per-setting results from configurations in the [Guest assignmen
3737
Azure Policy assignment orchestrated the configuration is orchestrated, you can select the "Last
3838
evaluated resource" link on the ["Compliance details" page][07].
3939

40+
## Enforcement Modes for Custom Policies
41+
42+
In order to provide greater flexibility in the enforcement and monitoring of server settings, applications and workloads, Machine Configuration offers three main enforcement modes for each policy assignment as described in the following table.
43+
44+
| Mode | Description |
45+
|:----------------------|:---------------------------------------------------------------------------------------------|
46+
| Audit | Only report on the state of the machine |
47+
| Apply and Monitor | Configuration applied to the machine and then monitored for changes |
48+
| Apply and Autocorrect | Configuration applied to the machine and brought back into conformance in the event of drift |
49+
4050
[A video walk-through of this document is available][08]. (Update coming soon)
4151

4252
## Enable machine configuration
@@ -75,6 +85,11 @@ If you prefer to deploy the extension and managed identity to a single machine,
7585
To use machine configuration packages that apply configurations, Azure VM guest configuration
7686
extension version 1.26.24 or later is required.
7787

88+
> [!IMPORTANT]
89+
> The creation of a managed identity or assignment of a policy with "Guest Configuration
90+
> Resource Contributor" role are actions that require appropriate Azure RBAC permissions to perform.
91+
> To learn more about Azure Policy and Azure RBAC, see [role-based access control in Azure Policy][45].
92+
7893
### Limits set on the extension
7994

8095
To limit the extension from impacting applications running inside the machine, the machine
@@ -138,7 +153,8 @@ symbolic to represent new minor versions of Linux distributions.
138153
\* Red Hat CoreOS isn't supported.
139154

140155
Machine configuration policy definitions support custom virtual machine images as long as they're
141-
one of the operating systems in the previous table.
156+
one of the operating systems in the previous table. Machine Configuration does not support VMSS
157+
uniform but does support [VMSS Flex][46].
142158

143159
## Network requirements
144160

@@ -483,3 +499,5 @@ Machine configuration built-in policy samples are available in the following loc
483499
[42]: ./how-to/develop-custom-package/overview.md
484500
[43]: ./how-to/create-policy-definition.md
485501
[44]: ../policy/how-to/determine-non-compliance.md#compliance-details-for-guest-configuration
502+
[45]: ../policy/overview.md
503+
[46]: /azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes#scale-sets-with-flexible-orchestration

0 commit comments

Comments
 (0)