New-AzAutoscaleWebhookNotificationObject
建立 WebhookNotification 的記憶體內物件。
語法
Default (預設值)
New-AzAutoscaleWebhookNotificationObject
[-Property <IWebhookNotificationProperties>]
[-ServiceUri <String>]
[<CommonParameters>]
Description
建立 WebhookNotification 的記憶體內物件。
範例
範例 1:建立 Webhook 通知物件
New-AzAutoscaleWebhookNotificationObject -Property @{} -ServiceUri "http://myservice.com"
建立 Webhook 通知物件
參數
-Property
設定的屬性包。 這個值可以是空的。
參數屬性
| 類型: | IWebhookNotificationProperties |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-ServiceUri
要接收通知的服務位址。
參數屬性
| 類型: | String |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。