andxu/andy_doc-back

Proxy

Opened this issue · 1 comments

andxu commented
  • login - oauth/device code
  • login - azure cli
  • login - sp
  • azure explorer - list/refresh/create/start/stop/delete/open in portal/file explorer
  • webapp - create
  • webapp - deploy
  • webapp - ssh
  • webapp - open log stream
  • reference book
  • spring cloud - deploy
  • spring cloud - add dependencies (need maven config for proxy)
  • spring cloud - open log stream (not yet tested)
  • function - deploy
  • function - create with application insight
  • function - list triggers
  • function - local run (blocked by function core tools)
  • function - open log stream (not yet tested)
andxu commented

azure cli

need to set HTTPS_PROXY env

function core tools

local.settings.json
{
    "http_proxy": "http://mycorporateproxy.com:mycorporateport",
    "https_proxy": "http://mycorporateproxy.com:mycorporateport",
    "no_proxy": "localhost,127.0.0.1",
    "HTTP_PROXY": "http://mycorporateproxy.com:mycorporateport",
    "HTTPS_PROXY": "http://mycorporateproxy.com:mycorporateport",
    "NO_PROXY": "localhost,127.0.0.1"
}

azure identity

Need to set proxy configuration

Configuration.getGlobalConfiguration().put(Configuration.PROPERTY_HTTP_PROXY, "http://localhost:8080")

track1

Need to set proxy explicitly

track2

No need to do anything

Other ways to access remote api: URL.openConnection, HttpClient, etc

By default will use intellij proxy insider intellij plugin code, no need to do anything