This command adds a new host search. It enters the host search's name and search criteria in the repository.
Table 7–17 Arguments and Result for the hdb.hr.add Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
name |
Required |
String |
The host search name |
|
desc |
Optional |
String |
The host search description |
|
q |
[R/O] |
AttributeCriteriaList |
The dynamic query; must be specified if filt and phys are not |
|
filt |
[R/O] |
AppTypeCriteria |
A filter to restrict the search to certain types of hosts; must be specified if q and phys are not |
|
phys |
[R/O] |
PhysicalCriteria |
A filter to restrict to physical or virtual hosts; must be specified if q and filt are not |
|
hide |
Optional |
Boolean |
Whether the search is hidden, default false |
|
result |
HostSearch |
The new host search |
|