Edit

Share via


New-AzEventGridDynamicDeliveryAttributeMappingObject

Create an in-memory object for DynamicDeliveryAttributeMapping.

Syntax

Default (Default)

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.

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

-SourceField

JSON path in the event which contains attribute value.

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

DynamicDeliveryAttributeMapping