Delen via


New-AzEventGridEventHubEventSubscriptionDestinationObject

Maak een in-memory object voor EventHubEventSubscriptionDestination.

Syntaxis

New-AzEventGridEventHubEventSubscriptionDestinationObject
   [-DeliveryAttributeMapping <IDeliveryAttributeMapping[]>]
   [-ResourceId <String>]
   [<CommonParameters>]

Description

Maak een in-memory object voor EventHubEventSubscriptionDestination.

Voorbeelden

Voorbeeld 1: Maak een in-memory object voor EventHubEventSubscriptionDestination.

$damObj = New-AzEventGridDeliveryAttributeMappingObject -Type "TestType" -Name "TestName"
$eventSubObj = Get-AzEventGridSubscription -ResourceGroupName azps_test_group_eventgrid -DomainName azps-domain -TopicName azps-topic
New-AzEventGridEventHubEventSubscriptionDestinationObject -DeliveryAttributeMapping $damObj -ResourceId $eventSubObj.Id

New-AzEventGridEventHubEventSubscriptionDestinationObject -DeliveryAttributeMapping $damObj -ResourceId $eventSubObj.Id

Maak een in-memory object voor EventHubEventSubscriptionDestination.

Parameters

-DeliveryAttributeMapping

Details van het leveringskenmerk.

Type:IDeliveryAttributeMapping[]
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-ResourceId

De Azure-resource-id die het eindpunt van een Event Hub-bestemming van een gebeurtenisabonnement vertegenwoordigt.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

Uitvoerwaarden

EventHubEventSubscriptionDestination