CmdID

CmdID / az / az webapp

az webapp deploy

Deploys a provided artifact to Azure Web Apps. Azure CLI reference

17 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

17 in the Azure CLI reference
--asyncIf true, the artifact is deployed asynchronously.
--cleanIf true, cleans the target directory prior to deploying the file(s).
--deploymentTagLinux only.
--enable-kudu-warmupIf true, kudu will be warmed up before performing deployment for a linux webapp.
--enriched-errorsIf true, deployment failures will show context-enriched diagnostics with error codes, suggested fixes, and Copilot prompts.
--ignore-stackIf true, any stack-specific defaults are ignored.
--name, -nName of the webapp to deploy to.
--resetReset Java apps to the default parking page if set to true with no type specified.
--restartIf true, the web app will be restarted following the deployment.
--show-secure-buildShow a Secure Build summary and full-report link after a local deployment, including when --async true is used.
--slotThe name of the slot.
--src-pathPath of the artifact to be deployed.
--src-urlURL of the artifact.
--target-pathAbsolute path that the artifact should be deployed to.
--timeoutTimeout for the deployment operation in milliseconds.
--track-statusIf true, web app startup status during deployment will be tracked for linux web apps.
--typeUsed to override the type of artifact being deployed.