Package org.ovirt.engine.sdk4.types
Interface RegistrationRoleMapping
-
- All Known Implementing Classes:
RegistrationRoleMappingContainer
public interface RegistrationRoleMapping
This type describes how to map roles as part of the object registration. An object can be a virtual machine, template, etc. A role mapping is intended to map correlating roles between the primary site and the secondary site. For example, there may be permissions with role `UserVmRunTimeManager` for the virtual machine that is being registered. Therefore we can send a mapping that will register the virtual machine in the secondary setup using the `SuperUser` role instead of `UserVmRunTimeManager` An example of an XML representation using this mapping: [source,xml] ----SuperUser UserVmRunTimeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Role
from()
boolean
fromPresent()
Role
to()
boolean
toPresent()
-