@azure/functions package

クラス

HttpRequest

HTTP 要求オブジェクト。 HTTP バインディングを使用するときに関数に提供されます。

HttpResponse

HTTP 応答クラス

InvocationContext

この呼び出しに固有のメタデータとヘルパー メソッドが含まれています

インターフェイス

Cookie

"Set-Cookie" への Http 応答 Cookie オブジェクト

CosmosDBv3FunctionOptions
CosmosDBv3InputOptions
CosmosDBv3OutputOptions
CosmosDBv3TriggerOptions
CosmosDBv4FunctionOptions
CosmosDBv4InputOptions
CosmosDBv4OutputOptions
CosmosDBv4TriggerOptions
Duration
EffectiveFunctionOptions

特定の呼び出しに渡される関数の登録時に使用されるオプション注: この値は検証されており、既定値が明示的に追加されている可能性があるため、元の値とは若干異なる場合があります

EventGridEvent

ドキュメントと例へのリンク

EventGridFunctionOptions

現時点では、イベント グリッド トリガー固有のオプションはありません

EventGridOutputOptions
EventGridPartialEvent

この "部分" インターフェイス ドキュメントと例へのリンクは、イベントを自分で作成するときに使用することを目的としており、一部のプロパティを省略できます

EventGridTriggerOptions

現時点では、イベント グリッド トリガー固有のオプションはありません

EventHubFunctionOptions
EventHubOutputOptions
EventHubTriggerOptions
Exception
ExponentialBackoffRetryOptions
FixedDelayRetryOptions
FunctionInput

関数へのセカンダリ入力の完全な構成 ("trigger" はプライマリ入力) 注: すべてのトリガーをセカンダリ入力として使用できるわけではありません

FunctionOptions

Azure 関数の入力、出力、ハンドラーを構成します

FunctionOutput

関数への出力の完全な構成

FunctionTrigger

関数へのプライマリ入力の完全な構成

GenericFunctionOptions

Azure 関数の入力、出力、ハンドラーを構成します

GenericInputOptions
GenericOutputOptions
GenericTriggerOptions
HttpFunctionOptions
HttpOutputOptions

現時点では、http 出力固有のオプションはありません

HttpRequestBodyInit

テスト目的のみ。 これは、Azure Functions ランタイムのコンテキストで実行するときに常に構築されます

HttpRequestInit

テスト目的のみ。 これは、Azure Functions ランタイムのコンテキストで実行するときに常に構築されます

HttpRequestUser

AppService/Functions 認証または SWA 認証を使用してログイン しているユーザーを表すオブジェクト

HttpResponseInit
HttpTrigger

関数へのプライマリ入力の完全な構成

HttpTriggerOptions
InvocationContextExtraInputs

セカンダリ入力を取得するために使用されるオブジェクト

InvocationContextExtraOutputs

セカンダリ出力の設定に使用されるオブジェクト

InvocationContextInit

テスト目的のみ。 これは、Azure Functions ランタイムのコンテキストで実行するときに常に構築されます

RetryContext
ServiceBusQueueFunctionOptions
ServiceBusQueueOutputOptions
ServiceBusQueueTriggerOptions
ServiceBusTopicFunctionOptions
ServiceBusTopicOutputOptions
ServiceBusTopicTriggerOptions
SqlInputOptions
SqlOutputOptions
StorageBlobFunctionOptions
StorageBlobOptions
StorageBlobTriggerOptions
StorageQueueFunctionOptions
StorageQueueOptions
TableInputOptions
TableOutputOptions
Timer

タイマー スケジュール情報。 タイマー バインディングを使用するときに関数に提供されます。

TimerFunctionOptions
TimerTriggerOptions
TraceContext

分散トレース シナリオを有効にする TraceContext 情報

型エイリアス

CosmosDBFunctionOptions
CosmosDBHandler
CosmosDBInput
CosmosDBInputOptions
CosmosDBOutput
CosmosDBOutputOptions
CosmosDBTrigger
CosmosDBTriggerOptions
CosmosDBv3Handler
CosmosDBv3Input
CosmosDBv3Output
CosmosDBv3Trigger
CosmosDBv4Handler
CosmosDBv4Input
CosmosDBv4Output
CosmosDBv4Trigger
EventGridHandler
EventGridOutput
EventGridTrigger
EventHubHandler
EventHubOutput
EventHubTrigger
FunctionHandler
FunctionResult

return 出力が登録されていない場合は Void。それ以外の場合は、登録済みの return 出力

HttpHandler
HttpMethod

HTTP 要求メソッドに使用できる値。

HttpMethodFunctionOptions
HttpOutput
HttpRequestParams

パラメーター キーと値をルーティングします。

HttpRequestUserType

HTTP 要求ユーザーの種類に使用できる値

LogHandler
LogLevel
RetryOptions
ServiceBusQueueHandler
ServiceBusQueueOutput
ServiceBusQueueTrigger
ServiceBusTopicHandler
ServiceBusTopicOutput
ServiceBusTopicTrigger
SqlInput
SqlOutput
StorageBlobHandler
StorageBlobInput
StorageBlobInputOptions
StorageBlobOutput
StorageBlobOutputOptions
StorageBlobTrigger
StorageQueueHandler
StorageQueueOutput
StorageQueueOutputOptions
StorageQueueTrigger
StorageQueueTriggerOptions
TableInput
TableOutput
TimerHandler
TimerTrigger
TriggerMetadata

関数をトリガーした入力に関連するメタデータ