편집

다음을 통해 공유


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