Package org.ovirt.engine.sdk4.services
Interface PermitsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
PermitsServiceImpl
public interface PermitsService extends Service
Represents a permits sub-collection of the specific role.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PermitsService.AddRequest
Adds a permit to the role.static interface
PermitsService.AddResponse
Adds a permit to the role.static interface
PermitsService.ListRequest
List the permits of the role.static interface
PermitsService.ListResponse
List the permits of the role.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermitsService.AddRequest
add()
Adds a permit to the role.PermitsService.ListRequest
list()
List the permits of the role.PermitService
permitService(String id)
Sub-resource locator method, returns individual permit resource on which the remainder of the URI is dispatched.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
PermitsService.AddRequest add()
Adds a permit to the role. The permit name can be retrieved from the <> service. For example to assign a permit `create_vm` to the role with id `123` send a request like this: .... POST /ovirt-engine/api/roles/123/permits .... With a request body like this: [source,xml] ---- create_vm
-
list
PermitsService.ListRequest list()
List the permits of the role. For example to list the permits of the role with the id `123` send a request like this: .... GET /ovirt-engine/api/roles/123/permits .... [source,xml] ----change_vm_cd false connect_to_vm false
-
permitService
PermitService permitService(String id)
Sub-resource locator method, returns individual permit resource on which the remainder of the URI is dispatched.
-
-