Package org.ovirt.engine.sdk4.services
Interface RolesService.AddResponse
-
- All Superinterfaces:
Response
- Enclosing interface:
- RolesService
public static interface RolesService.AddResponse extends Response
Create a new role. The role can be administrative or non-administrative and can have different permits. For example, to add the `MyRole` non-administrative role with permits to login and create virtual machines send a request like this (note that you have to pass permit id): [source] ---- POST /ovirt-engine/api/roles ---- With a request body like this: [source,xml] ----MyRole My custom role to create virtual machines false
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Role
role()
Role that will be added.
-
-
-
Method Detail
-
role
Role role()
Role that will be added.
-
-