Azure / Azure/azure-functions-nodejs-library
missing disabled functionality for azure functions v4
- Dominant language
- TypeScript
- Stars
- 70
- Forks
- 35
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 6
Description
#### Investigative information
Please provide the following:
- Timestamp: 0
- Function App name:
- Function name(s) (as appropriate):
- Invocation ID: e5d5ee04-d5e8-4c03-8d8e-4c13067b0574
- Region: Germany West Central
#### Repro steps
Provide the steps required to reproduce the problem:
1. I created a v4 HTTP Azure function for manually triggering the code that I normally run in a weekly cron job Azure function
2. I want to disable this Azure function by default, as it was possible in v3
3. I deploy the Azure function via Terraform
#### Expected behavior
On deployment via Terraform, the HTTP functions should be enabled by default, but disabled when set via code
#### Actual behavior
Upon deployment, the Azure Functions are all enabled by default
#### Known workarounds
#### Related information
Provide any related information
* Programming language used - Javascript / Typescript
* Links to source
* Bindings used
Source
```ts
import { app } from '@azure/functions';
import { sevenpaceImporter } from '../sevenpaceImporter';
app.http('httpImportFrom7PaceApi', {
methods: ['GET'],
authLevel: 'anonymous',
handler: (_req, context) => sevenpaceImporter(context),
});
```
Contributor guide
Assessment
This issue has not been assessed yet.