Namespace discoveryQueue
provides access to discovery queue
Defined in: rhqapi.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
discoveryQueue.find(params)
lists discovery queue
|
<static> |
discoveryQueue.importPlatform(name, children)
imports platform by name
|
<static> |
discoveryQueue.importResource(resource, children)
imports resource
|
<static> |
discoveryQueue.importResources(param)
imports all resources found in discovery queue
|
<static> |
discoveryQueue.list(params)
lists discovery queue
|
<static> |
discoveryQueue.listPlatforms(params)
lists platforms from discovery queue
|
Method Detail
<static>
{Resource[]}
discoveryQueue.find(params)
lists discovery queue
- Parameters:
- {Object} params
- - filter
- Returns:
- Array of resources in discovery queue matching given filter
<static>
{Resource}
discoveryQueue.importPlatform(name, children)
imports platform by name
- Parameters:
- {String} name
- - platform name to be imported
- {Booolean} children
- - if true (default) import also all child resources
- Returns:
- platform resource
<static>
{Resource}
discoveryQueue.importResource(resource, children)
imports resource
- Parameters:
- {Resource} resource
- or ID - to be imported
- {Booolean} children
- - if true (default) import also all child resources (if any)
<static>
{Resource[]}
discoveryQueue.importResources(param)
imports all resources found in discovery queue
- Parameters:
- param
- - filter resources being imported similar to resources.find()
<static>
{Resource[]}
discoveryQueue.list(params)
lists discovery queue
- Parameters:
- {Object} params
- - filter
- Deprecated:
- use find() instead
- Returns:
- Array of resources in discovery queue matching given filter
<static>
{Resource[]}
discoveryQueue.listPlatforms(params)
lists platforms from discovery queue
- Parameters:
- {Object} params
- - filter
- Returns:
- Array of platforms in discovery queue matching given filter