Delen via


New-AzEventGridAzureFunctionEventSubscriptionDestinationObject

Maak een in-memory object voor AzureFunctionEventSubscriptionDestination.

Syntaxis

New-AzEventGridAzureFunctionEventSubscriptionDestinationObject
   [-DeliveryAttributeMapping <IDeliveryAttributeMapping[]>]
   [-MaxEventsPerBatch <Int32>]
   [-PreferredBatchSizeInKilobyte <Int32>]
   [-ResourceId <String>]
   [<CommonParameters>]

Description

Maak een in-memory object voor AzureFunctionEventSubscriptionDestination.

Voorbeelden

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

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

EndpointType
------------
AzureFunction

Maak een in-memory object voor AzureFunctionEventSubscriptionDestination.

Parameters

-DeliveryAttributeMapping

Details van het leveringskenmerk.

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

-MaxEventsPerBatch

Maximum aantal gebeurtenissen per batch.

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

-PreferredBatchSizeInKilobyte

Voorkeursbatchgrootte in Kilobytes.

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

-ResourceId

De Azure-resource-id die het eindpunt van de Azure Function-bestemming van een gebeurtenisabonnement vertegenwoordigt.

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

Uitvoerwaarden

AzureFunctionEventSubscriptionDestination