Sign in

Remove Azure VM from the schedule

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

This task detaches the VM from its assigned update timetable. This action halts automatic patch management and maintenance activities based on the schedule, allowing for manual update control or reassignment to a different maintenance plan.

az rest --method delete --uri \ "https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Compute/virtualMachines/<VM_or_Arc_Resource_Name>/providers/Microsoft.Maintenance/configurationAssignments/<configurationAssignmentName>?api-version=2021-09-01-preview"
copied