3.17. Searching for Templates
The following table describes all search options for templates.
Property (of resource or resource-type) | Type | Description (Reference) |
---|---|---|
| String | The property of the virtual machines associated with the template. |
| String | The property of the hosts associated with the template. |
| String | The property of the events associated with the template. |
| String | The property of the users associated with the template. |
| String | The name of the template. |
| String | The domain of the template. |
| String | The type of operating system. |
| Integer | The date on which the template was created. Date format is mm/dd/yy. |
| Integer | The number of virtual machines created from the template. |
| Integer | Defined memory. |
| String | The description of the template. |
| String | The status of the template. |
| String | The cluster associated with the template. |
| String | The data center associated with the template. |
| String | The quota associated with the template. |
| List | Sorts the returned results by one of the resource properties. |
| Integer | The page number of results to display. |
Example
Template: Events.severity >= normal and Vms.uptime > 0
This example returns a list of templates where events of normal or greater severity have occurred on virtual machines derived from the template, and the virtual machines are still running.