Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Linux Consumption Functions don't have a .scm. website #4684

Closed
mikomraz opened this issue Feb 14, 2019 · 0 comments
Closed

Linux Consumption Functions don't have a .scm. website #4684

mikomraz opened this issue Feb 14, 2019 · 0 comments

Comments

@mikomraz
Copy link

Azure.createASMWebSiteExtensionsClient(siteName, token).baseUri gives a URL of the format https://siteName.scm.azurewebsites.net:443, but for a Python Function, no such host exists, and therefore it is not possible to fetch a Function config.

Example code

const scmSite = Azure.createASMWebSiteExtensionsClient(siteName, token).baseUri;
const configUri = `${scmSite}/api/functions/config`;

Error thrown

Host unresolvable

Root cause

There is no SCM website for a Linux app (Python)

Steps to reproduce

Using VS Code Azure Functions extension, create a new Python Function Project
Deploy the function
Try to fetch function config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants