1 | // Copyright (c) .NET Foundation. All rights reserved.
|
2 | // Licensed under the MIT License.
|
3 |
|
4 | import { CosmosDBInput, CosmosDBInputOptions } from './cosmosDB';
|
5 | import { GenericInputOptions } from './generic';
|
6 | import { FunctionInput } from './index';
|
7 | import { SqlInput, SqlInputOptions } from './sql';
|
8 | import { StorageBlobInput, StorageBlobInputOptions } from './storage';
|
9 | import { TableInput, TableInputOptions } from './table';
|
10 |
|
11 | /**
|
12 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-input?pivots=programming-language-javascript)
|
13 | */
|
14 | export function storageBlob(options: StorageBlobInputOptions): StorageBlobInput;
|
15 |
|
16 | /**
|
17 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-table-input?pivots=programming-language-javascript)
|
18 | */
|
19 | export function table(options: TableInputOptions): TableInput;
|
20 |
|
21 | /**
|
22 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-input?pivots=programming-language-javascript)
|
23 | */
|
24 | export function cosmosDB(options: CosmosDBInputOptions): CosmosDBInput;
|
25 |
|
26 | /**
|
27 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-azure-sql-input?pivots=programming-language-javascript)
|
28 | */
|
29 | export function sql(options: SqlInputOptions): SqlInput;
|
30 |
|
31 | /**
|
32 | * A generic option that can be used for any input type
|
33 | * Use this method if your desired input type does not already have its own method
|
34 | */
|
35 | export function generic(options: GenericInputOptions): FunctionInput;
|