Search

vRO intrinsic class Policy

Extends ch.dunes.scripting.jsmodel.JSObject
Representation of a policy

Attributes

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.

Methods

Name Returns
exit(String reason) void
forTag(String value) Object
getEventsByTag() Properties[]
getObjectByTag(String value) Object
remove() void
start() void
stop(String reason) void

Returned by

Method Returns
PolicyTemplate.apply(String name, Object properties) Policy

Referenced in

None