ArmAutomationModelFactory.AutomationWebhookData Method

Definition

Initializes a new instance of AutomationWebhookData.

public static Azure.ResourceManager.Automation.AutomationWebhookData AutomationWebhookData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? isEnabled = default, Uri uri = default, DateTimeOffset? expireOn = default, DateTimeOffset? lastInvokedOn = default, System.Collections.Generic.IDictionary<string,string> parameters = default, string runbookName = default, string runOn = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string lastModifiedBy = default, string description = default);
static member AutomationWebhookData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.Automation.AutomationWebhookData
Public Shared Function AutomationWebhookData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional uri As Uri = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastInvokedOn As Nullable(Of DateTimeOffset) = Nothing, Optional parameters As IDictionary(Of String, String) = Nothing, Optional runbookName As String = Nothing, Optional runOn 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 AutomationWebhookData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

isEnabled
Nullable<Boolean>

Gets or sets the value of the enabled flag of the webhook.

uri
Uri

Gets or sets the webhook uri.

expireOn
Nullable<DateTimeOffset>

Gets or sets the expiry time.

lastInvokedOn
Nullable<DateTimeOffset>

Gets or sets the last invoked time.

parameters
IDictionary<String,String>

Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.

runbookName
String

Gets or sets the runbook the webhook is associated with.

runOn
String

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

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 Webhook.

description
String

Gets or sets the description.

Returns

A new AutomationWebhookData instance for mocking.

Applies to