Adding multiple resource group to the resource VM maintenance assignment resource

You can see following what ever vms are there in the “example-resources” resource group which are test1, test2, I could add in the mainteance configuration.
suppose I need to add vms in other resource group, then do I need to one more parent_id in the below resoure vm_maintenance_assignment?
Please suggest how it can be done?