| Name | Type | Description |
|---|---|---|
| autostart | boolean | Tell the policy to autostart when VMO server start |
| credential | Object | |
| currentVersion | String | |
| description | String | Returns the description of the policy. |
| logEvents | LogEvent[] | Returns the log events |
| name | String | Returns the name of the policy. |
| owner | Object | Returns the Owner of the policy. |
| status | String | Get the policy status (running,stopped) |
| taggedObjects | Object[] | Returns all tagged object in the policy. |
| tags | String[] | Returns all tags in the policy. |
| Name | Returns |
|---|---|
| exit(String reason) | void |
| forTag(String value) | Object |
| getEventsByTag() | Properties[] |
| getObjectByTag(String value) | Object |
| remove() | void |
| start() | void |
| stop(String reason) | void |
| Method | Returns |
|---|---|
| PolicyTemplate.apply(String name, Object properties) | Policy |
| None |
|---|