Interface PermitsService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    PermitsServiceImpl

    public interface PermitsService
    extends Service
    Represents a permits sub-collection of the specific role.
    • 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 ---- The order of the returned list of permits isn't guaranteed.
      • permitService

        PermitService permitService​(String id)
        Sub-resource locator method, returns individual permit resource on which the remainder of the URI is dispatched.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.