Hi everyone!
My question is in the subject for the most part.
I'm trying to backup a vm parameters, including the linked attributes, namely the
permissions. But I don't want the inherited permissions to be included into the
backup, I only need the attributes specific to the vm. It looks like there is no
difference between the inherited and the vm-specific permissions in the output from
/ovirt-engine/api/vms/<vm-id>/permissions service.
What is the best way to distinguish the specific permissions from the inherited ones? It
seems I can follow the link to the particular permission and see whether the vm attribute
is set on it and it points to the VM I need, but that would require numerous REST requests
to be done. Is there a more elegant way? Maybe I can somehow filter the output of
/ovirt-engine/api/vms/<vm-id>/permissions to only include the required info?
Thanks in advance.
Best regards,
Anton.