Description
This Operation will return list of resources after satisfying the filter conditions
Style
Document
Input (Literal)
The input of this method is the argument listResources of type listResources having the structure defined by the following table.
Element |
Type |
Occurs |
Description |
---|---|---|---|
searchFilter |
0..1 |
Filter containing the conditions for search criteria |
|
queryLimit |
0..1 |
limit on search |
|
resourceType |
0..1 |
the type of the resource |
Output (Literal)
The output of this method is the argument listResourcesResponse of type listResourcesResponse having the structure defined by the following table.
Element |
Type |
Occurs |
Description |
resourcesList |
0..1 |
List of resources |
Remarks
.
This operation will return a list ofresources depending on the type chosen. The resource types can be chosen from the ResourceType enum . The resource types allowed are {DISK, SNAPSHOT, FIREWALL, NIC, IMAGE, SERVER, SUBNET, VDC, VLAN, NETWORK, SSHKEY, JOB, CLUSTER}, When none of these resource types are given then it defaults to RESOURCE and returns list of resource objects.
On successful execution,the list of resources are returned. On exception, an empty list will be returned