Azure / Azure/azure-functions-python-worker

[BUG] Cannot disable azure functions with '-' in name in Linux environment

Aperta
#1,308 2 commenti 0 reazioni 1 assegnatario Assegnata a @shreyabatra4 Vedi su GitHub
area:python-functions docs
Lingua principale
Python
Stelle
357
Fork
116
Merge medio
32m
PR unite (30g)
1

Descrizione

This is a known issue apparently.

There is a warning about it in the documentation [here](https://learn.microsoft.com/en-us/azure/azure-functions/disable-function?tabs=portal).

> At this time, function names that contain a hyphen (-) can't be disabled when running on Linux plan. If you need to disable your functions when running on Linux plan, don't use hyphens in your function names.

There should be a warning or restriction on this when creating a function in visual code.

There should be a more useful error message in portal than:

> Failed to disable alg-bands AppSetting with name 'AzureWebJobs.alg-bands.Disabled' is not allowed.

edit: see [here](https://github.com/Azure/azure-functions-python-worker/issues/1306) for why it is important and relevant to me

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.