Skip to content

Why are there '-Clean' and '-Restart' switches for 'Publish-AzWebApp'? #28117

@ecormaksin

Description

@ecormaksin

Description

I think this question is related to the issue #24234.

According to Microsoft Learn, when we use zip deployment, any files from an existing deployment that aren't found in the .zip file are deleted from your function app., and zip deployment restarts the app.

If so, why are there '-Clean' and '-Restart' switches for 'Publish-AzWebApp'?

Script or Debug output

Environment data

Module versions

Error output

Metadata

Metadata

Assignees

No one assigned

    Labels

    App Servicesaka WebSitesService AttentionThis issue is responsible by Azure service team.customer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions