Share via


Webhook Constructors

Definition

Overloads

Webhook()

Initializes a new instance of the Webhook class.

Webhook(String, String, String, Nullable<Boolean>, String, DateTimeOffset, Nullable<DateTimeOffset>, IDictionary<String,String>, RunbookAssociationProperty, String, DateTimeOffset, DateTimeOffset, String, String)

Initializes a new instance of the Webhook class.

Webhook()

Initializes a new instance of the Webhook class.

public Webhook ();
Public Sub New ()

Applies to

Webhook(String, String, String, Nullable<Boolean>, String, DateTimeOffset, Nullable<DateTimeOffset>, IDictionary<String,String>, RunbookAssociationProperty, String, DateTimeOffset, DateTimeOffset, String, String)

Initializes a new instance of the Webhook class.

public Webhook (string id = default, string name = default, string type = default, bool? isEnabled = default, string uri = default, DateTimeOffset expiryTime = default, DateTimeOffset? lastInvokedTime = default, System.Collections.Generic.IDictionary<string,string> parameters = default, Microsoft.Azure.Management.Automation.Models.RunbookAssociationProperty runbook = default, string runOn = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string lastModifiedBy = default, string description = default);
new Microsoft.Azure.Management.Automation.Models.Webhook : string * string * string * Nullable<bool> * string * DateTimeOffset * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Automation.Models.RunbookAssociationProperty * string * DateTimeOffset * DateTimeOffset * string * string -> Microsoft.Azure.Management.Automation.Models.Webhook
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional uri As String = Nothing, Optional expiryTime As DateTimeOffset = Nothing, Optional lastInvokedTime As Nullable(Of DateTimeOffset) = Nothing, Optional parameters As IDictionary(Of String, String) = Nothing, Optional runbook As RunbookAssociationProperty = Nothing, Optional runOn As String = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional lastModifiedBy As String = Nothing, Optional description 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.

isEnabled
Nullable<Boolean>

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

uri
String

Gets or sets the webhook uri.

expiryTime
DateTimeOffset

Gets or sets the expiry time.

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

runbook
RunbookAssociationProperty

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.

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 Webhook

description
String

Gets or sets the description.

Applies to