Modifier

Partager via


New-AzEventGridDeliveryAttributeMappingObject

Create an in-memory object for DeliveryAttributeMapping.

Syntax

New-AzEventGridDeliveryAttributeMappingObject
   -Type <String>
   [-Name <String>]
   [<CommonParameters>]

Description

Create an in-memory object for DeliveryAttributeMapping.

Examples

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

New-AzEventGridDeliveryAttributeMappingObject -Type "TestType" -Name "TestName"

Name
----
TestName

Create an in-memory object for DeliveryAttributeMapping.

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

-Type

Type of the delivery attribute or header name.

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

Outputs

DeliveryAttributeMapping