Compartilhar via


New-AzEventGridAzureFunctionEventSubscriptionDestinationObject

Crie um objeto na memória para AzureFunctionEventSubscriptionDestination.

Sintaxe

Default (Default)

New-AzEventGridAzureFunctionEventSubscriptionDestinationObject

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

Description

Crie um objeto na memória para AzureFunctionEventSubscriptionDestination.

Exemplos

Exemplo 1: criar um objeto na memória para 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

Crie um objeto na memória para AzureFunctionEventSubscriptionDestination.

Parâmetros

-DeliveryAttributeMapping

Detalhes do atributo de entrega.

Propriedades do parâmetro

Tipo:

IDeliveryAttributeMapping[]

Valor padrão:None
Dá suporte a curingas:False
DontShow:False

Conjuntos de parâmetros

(All)
Cargo:Named
Obrigatório:False
Valor do pipeline:False
Valor do pipeline pelo nome da propriedade:False
Valor dos argumentos restantes:False

-MaxEventsPerBatch

Número máximo de eventos por lote.

Propriedades do parâmetro

Tipo:Int32
Valor padrão:None
Dá suporte a curingas:False
DontShow:False

Conjuntos de parâmetros

(All)
Cargo:Named
Obrigatório:False
Valor do pipeline:False
Valor do pipeline pelo nome da propriedade:False
Valor dos argumentos restantes:False

-PreferredBatchSizeInKilobyte

Tamanho de lote preferencial em Kilobytes.

Propriedades do parâmetro

Tipo:Int32
Valor padrão:None
Dá suporte a curingas:False
DontShow:False

Conjuntos de parâmetros

(All)
Cargo:Named
Obrigatório:False
Valor do pipeline:False
Valor do pipeline pelo nome da propriedade:False
Valor dos argumentos restantes:False

-ResourceId

A ID de Recurso do Azure que representa o ponto de extremidade do destino da Função do Azure de uma assinatura de evento.

Propriedades do parâmetro

Tipo:String
Valor padrão:None
Dá suporte a curingas:False
DontShow:False

Conjuntos de parâmetros

(All)
Cargo:Named
Obrigatório:False
Valor do pipeline:False
Valor do pipeline pelo nome da propriedade:False
Valor dos argumentos restantes:False

CommonParameters

Este cmdlet suporta os parâmetros comuns: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Para obter mais informações, consulte about_CommonParameters.

Saídas

AzureFunctionEventSubscriptionDestination