class OvirtSDK4::ExternalHostGroupsService
def group_service(id)
-
(ExternalHostGroupService)- A reference to the `group` service.
Parameters:
-
id(String) -- The identifier of the `group`.
def group_service(id) ExternalHostGroupService.new(self, id) end
def list(opts = {})
-
(Array-)
Options Hash:
(**opts)-
:wait(Boolean) -- If `true` wait for the response. -
:timeout(Integer) -- The timeout for this request, in seconds. If no value is explicitly -
:query(Hash) -- Additional URL query parameters. -
:headers(Hash) -- Additional HTTP headers. -
:max(Integer) -- Sets the maximum number of groups to return. If not specified all the groups are returned. -
:follow(String) -- Indicates which inner links should be _followed_. The objects referenced by these links will be fetched as part
Parameters:
-
opts(Hash) -- Additional options.
def list(opts = {}) internal_get(LIST, opts) end
def service(path)
-
(Service)- A reference to the service.
Parameters:
-
path(String) -- The path of the service.
def service(path) if path.nil? || path == '' return self end index = path.index('/') if index.nil? return group_service(path) end return group_service(path[0..(index - 1)]).service(path[(index + 1)..-1]) end