New-AzEventGridHybridConnectionEventSubscriptionDestinationObject
Skapa ett minnesinternt objekt för HybridConnectionEventSubscriptionDestination.
Syntax
Default (Standard)
New-AzEventGridHybridConnectionEventSubscriptionDestinationObject
[-DeliveryAttributeMapping <IDeliveryAttributeMapping[]>]
[-ResourceId <String>]
[<CommonParameters>]
Description
Skapa ett minnesinternt objekt för HybridConnectionEventSubscriptionDestination.
Exempel
Exempel 1: Skapa ett minnesinternt objekt för HybridConnectionEventSubscriptionDestination.
$damObj = New-AzEventGridDeliveryAttributeMappingObject -Type "TestType" -Name "TestName"
$eventSubObj = Get-AzEventGridSubscription -ResourceGroupName azps_test_group_eventgrid -DomainName azps-domain -TopicName azps-topic
New-AzEventGridHybridConnectionEventSubscriptionDestinationObject -DeliveryAttributeMapping $damObj -ResourceId $eventSubObj.Id
EndpointType
------------
HybridConnection
Skapa ett minnesinternt objekt för HybridConnectionEventSubscriptionDestination.
Parametrar
-DeliveryAttributeMapping
Information om leveransattribut.
Parameteregenskaper
| Typ: | |
| Standardvärde: | None |
| Stöder jokertecken: | False |
| DontShow: | False |
Parameteruppsättningar
(All)
| Position: | Named |
| Obligatorisk: | False |
| Värde från pipeline: | False |
| Värde från pipeline efter egenskapsnamn: | False |
| Värde från återstående argument: | False |
-ResourceId
Azure resurs-ID för en hybridanslutning som är målet för en händelseprenumeration.
Parameteregenskaper
| Typ: | String |
| Standardvärde: | None |
| Stöder jokertecken: | False |
| DontShow: | False |
Parameteruppsättningar
(All)
| Position: | Named |
| Obligatorisk: | False |
| Värde från pipeline: | False |
| Värde från pipeline efter egenskapsnamn: | False |
| Värde från återstående argument: | False |
CommonParameters
Den här cmdleten stöder vanliga parametrar: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.