2017-09-26 87 views

回答

2

你可以使用腳本象下面這樣:

$javaVersion="1.8" 
$javaContainer="TOMCAT" 
$javaContainerVersion="8.0.23" 
#Configuring jdk and web container 
$PropertiesObject = @{javaVersion = $javaVersion;javaContainer = $javaContainer;javaContainerVersion = $javaContainerVersion} 

$webappname="shuicli" 
$rgname="shuiapp" 
Set-AzureRmResource -PropertyObject $PropertiesObject -ResourceGroupName $rgname -ResourceType Microsoft.Web/sites/config -ResourceName $webappname/web -ApiVersion 2015-08-01 -Force 
相關問題