Webhook 建構函式

定義

多載

Webhook()

初始化 Webhook 類別的新實例。

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

初始化 Webhook 類別的新實例。

Webhook()

初始化 Webhook 類別的新實例。

public Webhook ();
Public Sub New ()

適用於

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

初始化 Webhook 類別的新實例。

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)

參數

id
String

資源的完整資源識別碼

name
String

資源的名稱

type
String

資源類型。

isEnabled
Nullable<Boolean>

取得或設定 Webhook 已啟用旗標的值。

uri
String

取得或設定 Webhook URI。

expiryTime
DateTimeOffset

取得或設定到期時間。

lastInvokedTime
Nullable<DateTimeOffset>

取得或設定上次叫用的時間。

parameters
IDictionary<String,String>

取得或設定 Webhook 呼叫與它相關聯之 Runbook 時所建立之作業的參數。

runbook
RunbookAssociationProperty

取得或設定與 Webhook 相關聯的 Runbook。

runOn
String

取得或設定將執行 Webhook 作業的混合式背景工作群組名稱。

creationTime
DateTimeOffset

取得或設定建立時間。

lastModifiedTime
DateTimeOffset

取得或設定上次修改的時間。

lastModifiedBy
String

上次修改 Webhook 的使用者詳細資料

description
String

取得或設定描述。

適用於