Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion types/eventGrid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface EventGridFunctionOptions extends EventGridTriggerOptions, Parti
export interface EventGridTriggerOptions {}
export type EventGridTrigger = FunctionTrigger & EventGridTriggerOptions;

export interface EventGridOutputOptions {
export interface EventGridOutputKeyOptions {
/**
* An app setting (or environment variable) that contains the URI for the custom topic
*/
Expand All @@ -29,6 +29,14 @@ export interface EventGridOutputOptions {
*/
topicKeySetting: string;
}
export interface EventGridOutputConnectionOptions {
/**
* The value of the common prefix for the app setting that contains the `topicEndpointUri`.
* When setting the `connection` property, the `topicEndpointUri` and `topicKeySetting` properties should NOT be set.
*/
connection: string;
}
export type EventGridOutputOptions = EventGridOutputKeyOptions | EventGridOutputConnectionOptions;
export type EventGridOutput = FunctionOutput & EventGridOutputOptions;

/**
Expand Down