Share via


ArmAutomationModelFactory.AutomationWatcherData Method

Definition

Initializes a new instance of AutomationWatcherData.

public static Azure.ResourceManager.Automation.AutomationWatcherData AutomationWatcherData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, long? executionFrequencyInSeconds = default, string scriptName = default, System.Collections.Generic.IDictionary<string,string> scriptParameters = default, string scriptRunOn = default, string status = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string lastModifiedBy = default, string description = default);
static member AutomationWatcherData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Nullable<int64> * string * System.Collections.Generic.IDictionary<string, string> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.Automation.AutomationWatcherData
Public Shared Function AutomationWatcherData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = 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 createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing, Optional description As String = Nothing) As AutomationWatcherData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

Gets or sets the etag of the resource.

executionFrequencyInSeconds
Nullable<Int64>

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.

createdOn
Nullable<DateTimeOffset>

Gets or sets the creation time.

lastModifiedOn
Nullable<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.

Returns

A new AutomationWatcherData instance for mocking.

Applies to