Dela via


New-AzAutoscaleWebhookNotificationObject

Skapa ett minnesinternt objekt för WebhookNotification.

Syntax

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

Description

Skapa ett minnesinternt objekt för WebhookNotification.

Exempel

Exempel 1: Skapa webhook-nofitication-objekt

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

Skapa webhook-nofitication-objekt

Parametrar

-Property

en egenskapsväska med inställningar. Det här värdet kan vara tomt. Information om hur du skapar finns i AVSNITTET ANTECKNINGAR för EGENSKAPsegenskaper och skapa en hash-tabell.

Typ:IWebhookNotificationProperties
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

-ServiceUri

tjänstadressen för att ta emot meddelandet.

Typ:String
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

Utdata

WebhookNotification