Edit

Share via


New-AzAutoscaleWebhookNotificationObject

Create an in-memory object for WebhookNotification.

Syntax

Default (Default)

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

Description

Create an in-memory object for WebhookNotification.

Examples

Example 1: Create webhook notification object

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

Create webhook notification 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.

Parameter properties

Type:IWebhookNotificationProperties
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServiceUri

the service address to receive the notification.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

WebhookNotification