@azure/functions
Version:
Microsoft Azure Functions NodeJS Framework
58 lines (48 loc) • 2.62 kB
TypeScript
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
import { CosmosDBInput, CosmosDBInputOptions } from './cosmosDB';
import { GenericInputOptions } from './generic';
import { FunctionInput } from './index';
import { SqlInput, SqlInputOptions } from './sql';
import { StorageBlobInput, StorageBlobInputOptions } from './storage';
import { TableInput, TableInputOptions } from './table';
import { MySqlInput, MySqlInputOptions } from './mySql';
import {
WebPubSubConnectionInput,
WebPubSubConnectionInputOptions,
WebPubSubContextInput,
WebPubSubContextInputOptions,
} from './webpubsub';
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-input?pivots=programming-language-javascript)
*/
export function storageBlob(options: StorageBlobInputOptions): StorageBlobInput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-table-input?pivots=programming-language-javascript)
*/
export function table(options: TableInputOptions): TableInput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-input?pivots=programming-language-javascript)
*/
export function cosmosDB(options: CosmosDBInputOptions): CosmosDBInput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-azure-sql-input?pivots=programming-language-javascript)
*/
export function sql(options: SqlInputOptions): SqlInput;
/**
* [Link to docs and examples](https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-azure-mysql-input?pivots=programming-language-javascript)
*/
export function mySql(options: MySqlInputOptions): MySqlInput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-web-pubsub-input?pivots=programming-language-javascript)
*/
export function webPubSubConnection(options: WebPubSubConnectionInputOptions): WebPubSubConnectionInput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-web-pubsub-input?pivots=programming-language-javascript)
*/
export function webPubSubContext(options: WebPubSubContextInputOptions): WebPubSubContextInput;
/**
* A generic option that can be used for any input type
* Use this method if your desired input type does not already have its own method
*/
export function generic(options: GenericInputOptions): FunctionInput;