Bearbeiten

Freigeben über


New-AzActionGroupLogicAppReceiverObject

Create an in-memory object for LogicAppReceiver.

Syntax

New-AzActionGroupLogicAppReceiverObject
   -CallbackUrl <String>
   -Name <String>
   -ResourceId <String>
   [-UseCommonAlertSchema <Boolean>]
   [<CommonParameters>]

Description

Create an in-memory object for LogicAppReceiver.

Examples

Example 1: create action group logic app receiver

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…

This command creates action group logic app receiver object.

Parameters

-CallbackUrl

The callback url where http request sent to.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the logic app receiver. Names must be unique across all receivers within an action group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

The azure resource id of the logic app receiver.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-UseCommonAlertSchema

Indicates whether to use common alert schema.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

LogicAppReceiver