문제

I would like to update one Role Setting (the ones in the *.cscfg file) via the Azure powershell cmdlets. I know this is possible via the Azure Portal but I have not found any such command in the cmdlets.

Does anyone know how to change a *.cscfg Setting from a running Azure Role using the powershell cmdlets? (and without having to upload a new *.cspkg file)

Thanks, rui

도움이 되었습니까?

해결책

The cmdlet you would want to use is Set-AzureDeployment with -Config parameter set. You would need to provide the entire configuration file. Essentially you would need to make changes in the config file and then call this cmdlet and provide the new config file. You don't need to upload new package file for changing configuration settings.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top