Archived
Update typing for GetAzureFunction request (#19607)
This commit is contained in:
+13
-1
@@ -127,9 +127,21 @@ declare module 'sql-bindings' {
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* The route of the function if it has an HTTP trigger with a route specified
|
||||
* The HttpTrigger binding if one is specified
|
||||
*/
|
||||
httpTriggerBinding?: HttpTriggerBinding | undefined;
|
||||
|
||||
}
|
||||
|
||||
export interface HttpTriggerBinding {
|
||||
/**
|
||||
* The route if specified
|
||||
*/
|
||||
route?: string | undefined;
|
||||
/**
|
||||
* The operations (methods) if any are specified
|
||||
*/
|
||||
operations?: string[] | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user