Watcher interface

Definition of the watcher type.

Extends

Properties

creationTime

Gets or sets the creation time. NOTE: This property will not be serialized. It can only be populated by the server.

description

Gets or sets the description.

etag

Gets or sets the etag of the resource.

executionFrequencyInSeconds

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

lastModifiedBy

Details of the user who last modified the watcher. NOTE: This property will not be serialized. It can only be populated by the server.

lastModifiedTime

Gets or sets the last modified time. NOTE: This property will not be serialized. It can only be populated by the server.

location

The geo-location where the resource lives

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. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags.

Inherited Properties

id

Fully qualified resource Id for the resource NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

creationTime

Gets or sets the creation time. NOTE: This property will not be serialized. It can only be populated by the server.

creationTime?: Date

Property Value

Date

description

Gets or sets the description.

description?: string

Property Value

string

etag

Gets or sets the etag of the resource.

etag?: 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. NOTE: This property will not be serialized. It can only be populated by the server.

lastModifiedBy?: string

Property Value

string

lastModifiedTime

Gets or sets the last modified time. NOTE: This property will not be serialized. It can only be populated by the server.

lastModifiedTime?: Date

Property Value

Date

location

The geo-location where the resource lives

location?: string

Property Value

string

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?: {[propertyName: string]: string}

Property Value

{[propertyName: 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. NOTE: This property will not be serialized. It can only be populated by the server.

status?: string

Property Value

string

tags

Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited Property Details

id

Fully qualified resource Id for the resource NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From Resource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From Resource.name

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From Resource.type