共用方式為


com.microsoft.azure.functions.annotation

Annotations and support classes for use as part of the Java API for Azure Functions.

Interfaces

BindingName

Place this on a parameter whose value would come from Azure Functions runtime.

BlobInput

Place this on a parameter whose value would come from a blob.

BlobOutput

Place this on a parameter whose value would be written to a blob.

BlobTrigger

Place this on a parameter whose value would come from a blob, and causing the method to run when a blob is uploaded.

CosmosDBInput

Place this on a parameter whose value would come from CosmosDB.

CosmosDBOutput

Place this on a parameter whose value would be written to CosmosDB.

CosmosDBTrigger

Place this on a parameter whose value would come from CosmosDB, and causing the method to run when CosmosDB data is changed.

CustomBinding

Place this on a parameter to define a custom binding

EventGridTrigger

Place this on a parameter whose value would come from EventGrid, and causing the method to run when an event is arrived.

EventHubOutput

Place this on a parameter whose value would be published to the event hub.

EventHubTrigger

Place this on a parameter whose value would come from event hub, and causing the method to run when a new event is arrived.

FunctionName

The FunctionName annotation is used to specify to the Azure Functions tooling what name is to be applied to the associated function when the function is deployed onto Azure.

HttpOutput

Place this on a parameter whose value would be send back to the user as an HTTP response.

HttpTrigger

The HttpTrigger annotation is applied to Azure functions that will be triggered by a call to the HTTP endpoint that the function is located at.

QueueOutput

Place this on a parameter whose value would be written to a storage queue.

QueueTrigger

Place this on a parameter whose value would come from a storage queue, and causing the method to run when a new item is pushed.

SendGridOutput

Place this on a parameter whose value would be written to SendGrid.

ServiceBusQueueOutput

Place this on a parameter whose value would be written to a service bus queue.

ServiceBusQueueTrigger

Place this on a parameter whose value would come from a Service Bus queue, and causing the method to run when a new item is pushed.

ServiceBusTopicOutput

Place this on a parameter whose value would be written to a service bus topic.

ServiceBusTopicTrigger

Place this on a parameter whose value would come from Service Bus topic, and causing the method to run when a new item is published.

StorageAccount

Apply this annotation to a method if you have multiple Azure Storage triggers/input/output in that method which share the same app setting name of Azure Storage connection string.

TableInput

Place this on a parameter whose value would come from storage table.

TableOutput

Place this on a parameter whose value would be written to a storage table.

TimerTrigger

The timer trigger lets you run a function on a schedule by specifying a CRON expression for when the function should run.

TwilioSmsOutput

Place this on a parameter whose value would be sent through twilio SMS.

Enums

AccessRights

Azure Service Bus permission.

AuthorizationLevel

Azure HTTP authorization level, Determines what keys, if any, need to be present on the request in order to invoke the function.

Cardinality

Cardinality of the EventHubTrigger input.