如何获取Bicep应用服务的发布配置文件?我需要输出FTP发布URL、用户名和密码。
mzaanser1#
您可以在此处找到现有答案:
param appServiceName string var publishingCredentialsId = resourceId('Microsoft.Web/sites/config', appServiceName, 'publishingCredentials') // Full publishing credentials output publishingCredentials object = list(publishingCredentialsId, '2022-03-01') // publishingUserName output publishingUserName string = list(publishingCredentialsId, '2022-03-01').properties.publishingUserName // publishingPassword output publishingPassword string = list(publishingCredentialsId, '2022-03-01').properties.publishingPassword ...
1条答案
按热度按时间mzaanser1#
您可以在此处找到现有答案: