New-AzActionGroupLogicAppReceiverObject
为 LogicAppReceiver 创建内存中对象。
语法
Default (默认值)
New-AzActionGroupLogicAppReceiverObject
-CallbackUrl <String>
-Name <String>
-ResourceId <String>
[-UseCommonAlertSchema <Boolean>]
[<CommonParameters>]
说明
为 LogicAppReceiver 创建内存中对象。
示例
示例 1:创建作组逻辑应用接收器
New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://p*****7w" -Name "sample logic app" -ResourceId "/subscriptions/{subId}/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
CallbackUrl Name ResourceId
----------- ---- ----------
https://p*****7w sample logic app /subscriptions/{subId}/resourceGroups/LogicApp/provid…
此命令创建作组逻辑应用接收器对象。
参数
-CallbackUrl
http 请求发送到的回调 URL。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Name
逻辑应用接收器的名称。 名称在操作组内的所有接收方中必须是唯一的。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-ResourceId
逻辑应用接收器的 Azure 资源 ID。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-UseCommonAlertSchema
指示是否使用常见警报架构。
参数属性
| 类型: | Boolean |
| 默认值: | 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。