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

New-AzAutoscaleWebhookNotificationObject

为 WebhookNotification 创建内存中对象。

语法

New-AzAutoscaleWebhookNotificationObject
   [-Property <IWebhookNotificationProperties>]
   [-ServiceUri <String>]
   [<CommonParameters>]

说明

为 WebhookNotification 创建内存中对象。

示例

示例 1:创建 Webhook nofitication 对象

New-AzAutoscaleWebhookNotificationObject -Property @{} -ServiceUri "http://myservice.com"

创建 webhook nofitication 对象

参数

-Property

设置的属性包。 此值可以为空。 若要构造,请参阅 PROPERTY 属性的 NOTES 部分并创建哈希表。

Type:IWebhookNotificationProperties
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServiceUri

要接收通知的服务地址。

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

输出

WebhookNotification