New-AzEventGridHybridConnectionEventSubscriptionDestinationObject
Create an in-memory object for HybridConnectionEventSubscriptionDestination.
Syntax
Default (Default)
New-AzEventGridHybridConnectionEventSubscriptionDestinationObject
[-DeliveryAttributeMapping <IDeliveryAttributeMapping[]>]
[-ResourceId <String>]
[<CommonParameters>]
Description
Create an in-memory object for HybridConnectionEventSubscriptionDestination.
Examples
Example 1: Create an in-memory object for 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
Create an in-memory object for HybridConnectionEventSubscriptionDestination.
Parameters
-DeliveryAttributeMapping
Delivery attribute details.
Parameter properties
Type: | |
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 |
-ResourceId
The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
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.