New-AzEventGridAzureFunctionEventSubscriptionDestinationObject
Create an in-memory object for AzureFunctionEventSubscriptionDestination.
Syntax
Default (Default)
New-AzEventGridAzureFunctionEventSubscriptionDestinationObject
[-DeliveryAttributeMapping <IDeliveryAttributeMapping[]>]
[-MaxEventsPerBatch <Int32>]
[-PreferredBatchSizeInKilobyte <Int32>]
[-ResourceId <String>]
[<CommonParameters>]
Description
Create an in-memory object for AzureFunctionEventSubscriptionDestination.
Examples
Example 1: Create an in-memory object for 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
Create an in-memory object for AzureFunctionEventSubscriptionDestination.
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 |
-MaxEventsPerBatch
Maximum number of events per batch.
Parameter properties
Type: | Int32 |
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 |
-PreferredBatchSizeInKilobyte
Preferred batch size in Kilobytes.
Parameter properties
Type: | Int32 |
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 that represents the endpoint of the Azure Function 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.