I want to programmatically create Maintenance Configurations using the new Azure Update Manager. To do this, I am utilizing the Az.Maintenance module, and specifically the New-AzMaintenanceConfiguration cmdlet. However, in the official documentation, I can't find any switch used to create a dynamic scope for assigning machines to the maintenance configuration.
I currently have no approach to this problem and would appreciate any ideas or help.
Okay, I found the solution: The New-AzConfigurationAssignment cmdlet fits perfectly.