Bagikan melalui


Watcher Class

Definition

Definition of the watcher type.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Watcher : Microsoft.Azure.Management.Automation.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Watcher = class
    inherit Resource
Public Class Watcher
Inherits Resource
Inheritance
Watcher
Attributes

Constructors

Watcher()

Initializes a new instance of the Watcher class.

Watcher(String, String, String, Nullable<Int64>, String, IDictionary<String, String>, String, String, DateTimeOffset, DateTimeOffset, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the Watcher class.

Properties

CreationTime

Gets or sets the creation time.

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.

Id

Gets fully qualified resource Id for the resource

(Inherited from Resource)
LastModifiedBy

Gets details of the user who last modified the watcher.

LastModifiedTime

Gets or sets the last modified time.

Location

Gets or sets the geo-location where the resource lives

Name

Gets the name of the resource

(Inherited from Resource)
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.

Tags

Gets or sets resource tags.

Type

Gets the type of the resource.

(Inherited from Resource)

Applies to