HttpTriggerOptions interface
Proprietà
| auth |
Il livello di autorizzazione HTTP della funzione Viene impostato su 'anonymous' se non specificato |
| methods | Matrice dei metodi HTTP per questo input HTTP Predefinito su ["get", "post"] se non specificato |
| route | Route per questo input HTTP. Se non specificato, verrà usato il nome della funzione |
Dettagli proprietà
authLevel
Il livello di autorizzazione HTTP della funzione Viene impostato su 'anonymous' se non specificato
authLevel?: "function" | "anonymous" | "admin"
Valore della proprietà
"function" | "anonymous" | "admin"
methods
Matrice dei metodi HTTP per questo input HTTP Predefinito su ["get", "post"] se non specificato
methods?: HttpMethod[]
Valore della proprietà
route
Route per questo input HTTP. Se non specificato, verrà usato il nome della funzione
route?: string
Valore della proprietà
string