Editar

Partilhar via


New-AzEventGridStaticRoutingEnrichmentObject

Create an in-memory object for StaticRoutingEnrichment.

Syntax

New-AzEventGridStaticRoutingEnrichmentObject
   [-Key <String>]
   [-ValueType <String>]
   [<CommonParameters>]

Description

Create an in-memory object for StaticRoutingEnrichment.

Examples

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

New-AzEventGridStaticRoutingEnrichmentObject -Key "TestKey" -ValueType "TestType"

Key     ValueType
---     ---------
TestKey TestType

Create an in-memory object for StaticRoutingEnrichment.

Parameters

-Key

Static routing enrichment key.

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

-ValueType

Static routing enrichment value type. For e.g. this property value can be 'String'.

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

Outputs

StaticRoutingEnrichment