microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
290 stars 131 forks source link

[Suggestion] It would be better to remove the "Slots" node from the function app which host plan is Flex Consumption (Preview) #4069

Closed v-ruizh closed 3 months ago

v-ruizh commented 3 months ago

OS: All Build Version: v1.14.1-alpha.0 Regression: Not a Regression

Repro Steps:

  1. Create a python function app with Flex Consumption (Preview) hosting plan and East US 2 EUAP location.
  2. Expand the above function app -> Right click the "Slots" node and select "Create Slot..." -> Enter a slot name to create it.
  3. Check whether succeeds to create a slot.

Actual: Fail to create a slot with an error. image

Suggestion: It would be better to remove the "Slots" node from the function app which host plan is Flex Consumption (Preview).

More Info: There is no "Deployment Slot" page for the function app which host plan is Flex Consumption (Preview) in portal.

nturinski commented 3 months ago

Fixed in https://github.com/microsoft/vscode-azurefunctions/pull/4078