Modifier

Partager via


New-AzEventGridDynamicDeliveryAttributeMappingObject

Create an in-memory object for DynamicDeliveryAttributeMapping.

Syntax

New-AzEventGridDynamicDeliveryAttributeMappingObject
   [-SourceField <String>]
   [-Name <String>]
   [<CommonParameters>]

Description

Create an in-memory object for DynamicDeliveryAttributeMapping.

Examples

Example 1: Create an in-memory object for DynamicDeliveryAttributeMapping.

New-AzEventGridDynamicDeliveryAttributeMappingObject -Name "testname" -SourceField "testfield"

Name
----
testname

Create an in-memory object for DynamicDeliveryAttributeMapping.

Parameters

-Name

Name of the delivery attribute or header.

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

-SourceField

JSON path in the event which contains attribute value.

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

Outputs

DynamicDeliveryAttributeMapping