Package org.ovirt.engine.sdk4.services
Interface RolesService.AddRequest
-
- All Superinterfaces:
Request<RolesService.AddRequest,RolesService.AddResponse>
- Enclosing interface:
- RolesService
public static interface RolesService.AddRequest extends Request<RolesService.AddRequest,RolesService.AddResponse>
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 RolesService.AddRequest
role(RoleBuilder role)
Role that will be added.RolesService.AddRequest
role(Role role)
-
-
-
Method Detail
-
role
RolesService.AddRequest role(Role role)
-
role
RolesService.AddRequest role(RoleBuilder role)
Role that will be added.
-
-