Package com.microsoft.azure.functions.annotation
Annotations and support classes for use as part of the Java API for Azure Functions.
-
Enum Summary Enum Description 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. -
Annotation Types Summary Annotation Type Description 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 bindingEventGridOutput Place this on a parameter whose value would come from EventGrid, and causing the method to run when an event is arrived.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.ExponentialBackoffRetry Defines an exponential backoff retry strategy, where the delay between retries will get progressively larger, limited by the max/min specified.FixedDelayRetry Defines a retry strategy where a fixed delay is used between retries.FunctionName TheFunctionNameannotation 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.HasImplicitOutput Place this on a parameter to define a binding that need return valueHttpOutput 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.KafkaOutput Place this on a parameter whose value would be published to Kafka.KafkaTrigger Place this on a parameter whose value would come from Kafka, and causing the method to run when Kafka event is consumed.McpToolProperty Defines a strongly-typed input property for an MCP tool function parameter.McpToolTrigger Triggers an Azure Function when invoked by the Model Context Protocol (MCP) tool system.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.WarmupTrigger The warmup trigger lets you define a function that's run when a new instance of your function app is started.