Skip to content

Site ZipDeploy

Suwat Ch edited this page Feb 24, 2020 · 1 revision
  • Deploy Zip package to the site
ARMClient.exe put "/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/extensions/zipdeploy?api-version={apiVersion}&isAsync=true" payload.json

Example payload.json below

{
  "properties":{
    "packageUri": "<url to zip content>"
  }
}

Note: if isAsync=true is passed, the deployment will happen asynchronously in the background. Response will contain location header to poll the deployment status. For small package, you may choose not to pass isAsync=true and deployment will happen synchronously.

Clone this wiki locally