你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

资源的完全限定资源 ID

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

获取或设置说明。

适用于