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

New-AzAutoscaleWebhookNotificationObject

Create an in-memory object for WebhookNotification.

Syntax

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

Description

Create an in-memory object for WebhookNotification.

Examples

Example 1: Create webhook nofitication object

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

Create webhook nofitication object

Parameters

-Property

a property bag of settings. This value can be empty. To construct, see NOTES section for PROPERTY properties and create a hash table.

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

-ServiceUri

the service address to receive the notification.

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

Outputs

WebhookNotification