Watcher Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
Watcher()
Initializes a new instance of the Watcher class.
public Watcher ();
Public Sub New ()
Applies to
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.
public Watcher (string id = default, string name = default, string type = default, long? executionFrequencyInSeconds = default, string scriptName = default, System.Collections.Generic.IDictionary<string,string> scriptParameters = default, string scriptRunOn = default, string status = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string lastModifiedBy = default, string description = default, string etag = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default);
new Microsoft.Azure.Management.Automation.Models.Watcher : string * string * string * Nullable<int64> * string * System.Collections.Generic.IDictionary<string, string> * string * string * DateTimeOffset * DateTimeOffset * string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.Automation.Models.Watcher
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional executionFrequencyInSeconds As Nullable(Of Long) = Nothing, Optional scriptName As String = Nothing, Optional scriptParameters As IDictionary(Of String, String) = Nothing, Optional scriptRunOn As String = Nothing, Optional status As String = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional lastModifiedBy As String = Nothing, Optional description As String = Nothing, Optional etag As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing)
Parameters
- id
- String
Fully qualified resource Id for the resource
- name
- String
The name of the resource
- type
- String
The type of the resource.
Gets or sets the frequency at which the watcher is invoked.
- scriptName
- String
Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook.
- scriptParameters
- IDictionary<String,String>
Gets or sets the parameters of the script.
- scriptRunOn
- String
Gets or sets the name of the hybrid worker group the watcher will run on.
- status
- String
Gets the current status of the watcher.
- creationTime
- DateTimeOffset
Gets or sets the creation time.
- lastModifiedTime
- DateTimeOffset
Gets or sets the last modified time.
- lastModifiedBy
- String
Details of the user who last modified the watcher.
- description
- String
Gets or sets the description.
- etag
- String
Gets or sets the etag of the resource.
- tags
- IDictionary<String,String>
Resource tags.
- location
- String
The geo-location where the resource lives
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for