你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

decorators Package

Modules

blob
constants
core
cosmosdb
dapr
eventgrid
eventhub
function_app
function_name
generic
http
kafka
openai
queue
retry_policy
servicebus
sql
table
timer
utils
warmup

Classes

AsgiFunctionApp

Constructor of AsgiFunctionApp object.

present on the request in order to invoke the function. :param function_name: function name

BindingApi

Interface to extend for using existing binding decorator functions.

Blueprint

Functions container class where all the functions loaded in it can be registered in FunctionRegister subclasses but itself can not be indexed directly. The class contains all existing supported trigger and binding decorator functions.

DecoratorApi

Interface which contains essential decorator function building blocks to extend for creating new function app or blueprint classes.

ExternalHttpFunctionApp

Interface to extend for building third party http function apps.

Interface for declaring top level function app class which will be directly indexed by Python Function runtime.

on the request in order to invoke the function. :param args: Variable length argument list. :param kwargs: Arbitrary keyword arguments.

Function

The function object represents a function in Function App. It encapsulates function metadata and callable and used in the worker function indexing model. Ref: https://aka.ms/azure-function-ref

Constructor of <xref:azure.functions.decorators.FunctionBuilder> object.

FunctionApp

FunctionApp object used by worker function indexing model captures user defined functions and metadata.

Ref: https://aka.ms/azure-function-ref

Constructor of FunctionApp object.

present on the request in order to invoke the function.

FunctionRegister

Interface for declaring top level function app class which will be directly indexed by Python Function runtime.

on the request in order to invoke the function. :param args: Variable length argument list. :param kwargs: Arbitrary keyword arguments.

SettingsApi

Interface to extend for using existing settings decorator in functions.

TriggerApi

Interface to extend for using existing trigger decorator functions.

WsgiFunctionApp

Constructor of WsgiFunctionApp object.

Enums

AccessRights

Access rights for the connection string. The default is manage, which indicates that the connection has the Manage permission.

AuthLevel

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

BlobSource

Source of the blob trigger.

Cardinality

Used for all non-C# languages. Set to many in order to enable batching. If omitted or set to one, a single message is passed to the function.

DataType

Data type of the binding used in function.json

HttpMethod

All http methods Azure Python function supports.