【问题标题】:Update service configuration setting in Azure using powershell使用 powershell 在 Azure 中更新服务配置设置
【发布时间】:2023-03-22 02:55:01
【问题描述】:

我在 Azure 中运行了一个部署。 我需要更改该部署的一个配置设置。使用 powershell 以编程方式执行此操作的最简单方法是什么。

【问题讨论】:

    标签: azure


    【解决方案1】:

    Powershell 会更好地更改设置,但还有更简单的方法可以做到这一点:

    • 通过门户(这允许您修改 ServiceConfiguration.cscfg)
    • 通过使用CSRun.exe(这允许您上传新的 ServiceConfiguration.cscfg 文件)

    【讨论】:

    • 门户网站,当然,但这对我来说不是一个方便的选择。您也可以使用 Cmdlets Set-AzureDeployment [-Config] 上传 ServiceConfiguration 文件,但这对我来说是个维护难题。我只想更新一项设置。
    • 不回答问题。
    猜你喜欢
    • 2011-01-28
    • 2014-11-23
    • 1970-01-01
    • 2020-06-21
    • 2019-09-14
    • 2020-08-01
    • 2018-10-19
    • 2018-10-24
    • 1970-01-01
    相关资源
    最近更新 更多