Azure ARM templates provide extension resources to configure the inside of a virtual machine. Extensions can be of multiple types; two of the most important extension types are as follows:
- Custom Script Extension
- Desired State Configuration
Extension resources are nested resources within a virtual machine resource. They can be declared as a nested resource within a virtual machine resource, or they can be defined as a stand-alone resource with syntax that establishes the parent-child relationship with its parent virtual machines.
Custom Script Extension helps to execute PowerShell scripts and ensure a Desired State Configuration on virtual machines after they have been created.
These two types ...