WatcherProperties interface

Definition of the watcher properties

Properties

creationTime

Gets or sets the creation time.

description

Gets or sets the description.

executionFrequencyInSeconds

Gets or sets the frequency at which the watcher is invoked.

lastModifiedBy

Details of the user who last modified the watcher.

lastModifiedTime

Gets or sets the last modified time.

scriptName

Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook.

scriptParameters

Gets or sets the parameters of the script.

scriptRunOn

Gets or sets the name of the hybrid worker group the watcher will run on.

status

Gets the current status of the watcher.

Property Details

creationTime

Gets or sets the creation time.

creationTime?: Date

Property Value

Date

description

Gets or sets the description.

description?: string

Property Value

string

executionFrequencyInSeconds

Gets or sets the frequency at which the watcher is invoked.

executionFrequencyInSeconds?: number

Property Value

number

lastModifiedBy

Details of the user who last modified the watcher.

lastModifiedBy?: string

Property Value

string

lastModifiedTime

Gets or sets the last modified time.

lastModifiedTime?: Date

Property Value

Date

scriptName

Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook.

scriptName?: string

Property Value

string

scriptParameters

Gets or sets the parameters of the script.

scriptParameters?: Record<string, string>

Property Value

Record<string, string>

scriptRunOn

Gets or sets the name of the hybrid worker group the watcher will run on.

scriptRunOn?: string

Property Value

string

status

Gets the current status of the watcher.

status?: string

Property Value

string