1 | // Copyright (c) .NET Foundation. All rights reserved.
|
2 | // Licensed under the MIT License.
|
3 |
|
4 | import { CosmosDBOutput, CosmosDBOutputOptions } from './cosmosDB';
|
5 | import { EventGridOutput, EventGridOutputOptions } from './eventGrid';
|
6 | import { EventHubOutput, EventHubOutputOptions } from './eventHub';
|
7 | import { GenericOutputOptions } from './generic';
|
8 | import { HttpOutput, HttpOutputOptions } from './http';
|
9 | import { FunctionOutput } from './index';
|
10 | import {
|
11 | ServiceBusQueueOutput,
|
12 | ServiceBusQueueOutputOptions,
|
13 | ServiceBusTopicOutput,
|
14 | ServiceBusTopicOutputOptions,
|
15 | } from './serviceBus';
|
16 | import { SqlOutput, SqlOutputOptions } from './sql';
|
17 | import { StorageBlobOutput, StorageBlobOutputOptions, StorageQueueOutput, StorageQueueOutputOptions } from './storage';
|
18 | import { TableOutput, TableOutputOptions } from './table';
|
19 |
|
20 | /**
|
21 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-http-webhook-output?&pivots=programming-language-javascript)
|
22 | */
|
23 | export function http(options: HttpOutputOptions): HttpOutput;
|
24 |
|
25 | /**
|
26 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-output?pivots=programming-language-javascript)
|
27 | */
|
28 | export function storageBlob(options: StorageBlobOutputOptions): StorageBlobOutput;
|
29 |
|
30 | /**
|
31 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-table-output?pivots=programming-language-javascript)
|
32 | */
|
33 | export function table(options: TableOutputOptions): TableOutput;
|
34 |
|
35 | /**
|
36 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-queue-output?pivots=programming-language-javascript)
|
37 | */
|
38 | export function storageQueue(options: StorageQueueOutputOptions): StorageQueueOutput;
|
39 |
|
40 | /**
|
41 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-output?pivots=programming-language-javascript)
|
42 | */
|
43 | export function serviceBusQueue(options: ServiceBusQueueOutputOptions): ServiceBusQueueOutput;
|
44 |
|
45 | /**
|
46 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-output?pivots=programming-language-javascript)
|
47 | */
|
48 | export function serviceBusTopic(options: ServiceBusTopicOutputOptions): ServiceBusTopicOutput;
|
49 |
|
50 | /**
|
51 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-hubs-output?pivots=programming-language-javascript)
|
52 | */
|
53 | export function eventHub(options: EventHubOutputOptions): EventHubOutput;
|
54 |
|
55 | /**
|
56 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-grid-output?pivots=programming-language-javascript)
|
57 | */
|
58 | export function eventGrid(options: EventGridOutputOptions): EventGridOutput;
|
59 |
|
60 | /**
|
61 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-output?pivots=programming-language-javascript)
|
62 | */
|
63 | export function cosmosDB(options: CosmosDBOutputOptions): CosmosDBOutput;
|
64 |
|
65 | /**
|
66 | * [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-azure-sql-output?pivots=programming-language-javascript)
|
67 | */
|
68 | export function sql(options: SqlOutputOptions): SqlOutput;
|
69 |
|
70 | /**
|
71 | * A generic option that can be used for any output type
|
72 | * Use this method if your desired output type does not already have its own method
|
73 | */
|
74 | export function generic(options: GenericOutputOptions): FunctionOutput;
|