Edit

Share via


New-AzEventGridStaticRoutingEnrichmentObject

Create an in-memory object for StaticRoutingEnrichment.

Syntax

Default (Default)

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.

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

-ValueType

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

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

StaticRoutingEnrichment