forked from Azure/azure-functions-nodejs-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrigger.d.ts
More file actions
124 lines (105 loc) · 5.6 KB
/
Copy pathtrigger.d.ts
File metadata and controls
124 lines (105 loc) · 5.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
import { ConnectorTrigger, ConnectorTriggerOptions } from './connectorTrigger';
import { CosmosDBTrigger, CosmosDBTriggerOptions } from './cosmosDB';
import { EventGridTrigger, EventGridTriggerOptions } from './eventGrid';
import { EventHubTrigger, EventHubTriggerOptions } from './eventHub';
import { GenericTriggerOptions } from './generic';
import { HttpTrigger, HttpTriggerOptions } from './http';
import { FunctionTrigger } from './index';
import { McpPromptFunctionOptions, McpPromptTrigger } from './mcpPrompt';
import { McpResourceFunctionOptions, McpResourceTrigger } from './mcpResource';
import { McpToolFunctionOptions, McpToolTrigger } from './mcpTool';
import { MySqlTrigger, MySqlTriggerOptions } from './mySql';
import {
ServiceBusQueueTrigger,
ServiceBusQueueTriggerOptions,
ServiceBusTopicTrigger,
ServiceBusTopicTriggerOptions,
} from './serviceBus';
import { SqlTrigger, SqlTriggerOptions } from './sql';
import {
StorageBlobTrigger,
StorageBlobTriggerOptions,
StorageQueueTrigger,
StorageQueueTriggerOptions,
} from './storage';
import { TimerTrigger, TimerTriggerOptions } from './timer';
import { WarmupTrigger, WarmupTriggerOptions } from './warmup';
import { WebPubSubTrigger, WebPubSubTriggerOptions } from './webpubsub';
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-http-webhook-trigger?&pivots=programming-language-javascript)
*/
export function http(options: HttpTriggerOptions): HttpTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-timer?pivots=programming-language-javascript)
*/
export function timer(options: TimerTriggerOptions): TimerTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-trigger?pivots=programming-language-javascript)
*/
export function storageBlob(options: StorageBlobTriggerOptions): StorageBlobTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-queue-trigger?pivots=programming-language-javascript)
*/
export function storageQueue(options: StorageQueueTriggerOptions): StorageQueueTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-trigger?pivots=programming-language-javascript)
*/
export function serviceBusQueue(options: ServiceBusQueueTriggerOptions): ServiceBusQueueTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-trigger?pivots=programming-language-javascript)
*/
export function serviceBusTopic(options: ServiceBusTopicTriggerOptions): ServiceBusTopicTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-hubs-trigger?pivots=programming-language-javascript)
*/
export function eventHub(options: EventHubTriggerOptions): EventHubTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-grid-trigger?pivots=programming-language-javascript)
*/
export function eventGrid(options: EventGridTriggerOptions): EventGridTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger?pivots=programming-language-javascript)
*/
export function cosmosDB(options: CosmosDBTriggerOptions): CosmosDBTrigger;
/**
* [Link to docs and examples](https://learn.microsoft.com/azure/azure-functions/functions-bindings-warmup?tabs=isolated-process&pivots=programming-language-javascript)
*/
export function warmup(options: WarmupTriggerOptions): WarmupTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-azure-sql-trigger?pivots=programming-language-javascript)
*/
export function sql(options: SqlTriggerOptions): SqlTrigger;
/**
* [Link to docs and examples](https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-azure-mysql-trigger?pivots=programming-language-javascript)
*/
export function mySql(options: MySqlTriggerOptions): MySqlTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-web-pubsub-trigger?pivots=programming-language-javascript)
*/
export function webPubSub(options: WebPubSubTriggerOptions): WebPubSubTrigger;
/**
* [Link to docs and examples](//TODO Add link to docs and examples)
*/
export function mcpTool(options: McpToolFunctionOptions): McpToolTrigger;
/**
* Creates an MCP Resource trigger for defining resources that can be read by MCP clients.
* [Link to docs and examples](//TODO Add link to docs and examples)
*/
export function mcpResource(options: McpResourceFunctionOptions): McpResourceTrigger;
/**
* Creates an MCP Prompt trigger for defining prompts that MCP clients can request.
* [Link to docs and examples](//TODO Add link to docs and examples)
*/
export function mcpPrompt(options: McpPromptFunctionOptions): McpPromptTrigger;
/**
* Creates a connector trigger configuration for Azure Logic Apps connector events.
* @param options Configuration options including the connector name, connection setting, and trigger operation
*/
export function connectorTrigger(options: ConnectorTriggerOptions): ConnectorTrigger;
/**
* A generic option that can be used for any trigger type
* Use this method if your desired trigger type does not already have its own method
*/
export function generic(options: GenericTriggerOptions): FunctionTrigger;