Package org.ovirt.engine.sdk4.services
Interface PermitService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
PermitServiceImpl
public interface PermitService extends Service
A service to manage a specific permit of the role.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PermitService.GetRequest
Gets the information about the permit of the role.static interface
PermitService.GetResponse
Gets the information about the permit of the role.static interface
PermitService.RemoveRequest
Removes the permit from the role.static interface
PermitService.RemoveResponse
Removes the permit from the role.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermitService.GetRequest
get()
Gets the information about the permit of the role.PermitService.RemoveRequest
remove()
Removes the permit from the role.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
get
PermitService.GetRequest get()
Gets the information about the permit of the role. For example to retrieve the information about the permit with the id `456` of the role with the id `123` send a request like this: .... GET /ovirt-engine/api/roles/123/permits/456 .... [source,xml] ----change_vm_cd false
-
remove
PermitService.RemoveRequest remove()
Removes the permit from the role. For example to remove the permit with id `456` from the role with id `123` send a request like this: .... DELETE /ovirt-engine/api/roles/123/permits/456 ....
-
-