CmdID / az / az maintenance / az maintenance assignment
az maintenance assignment create
Apply maintenance updates to resource Azure CLI extensions reference
16 options Its page in the Azure CLI extensions reference
Options
--configuration-assignment-name, --name, -nConfiguration assignment name--filter-locationsList of locations to scope the query to.--filter-os-typesList of allowed operating systems.--filter-resource-groupsList of allowed resource groups.--filter-resource-typesList of allowed resources.--filter-tags-operatorFilter VMs by Any or All specified tags.--filter-tagsDictionary of tags with its list of values.--location, -lLocation.--maintenance-configuration-id, --config-idThe maintenance configuration Id--provider-nameResource provider name--resource-group, -gName of resource group.--resource-idThe unique resourceId--resource-nameResource identifier--resource-parent-nameResource parent identifier--resource-parent-typeResource parent type--resource-typeResource type