你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SiteConfig Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. SiteConfig
- com.
public class SiteConfig
Configuration of an App Service app.
Method Summary
Method Details
alwaysOn
public Boolean alwaysOn()
Get the alwaysOn value.
Returns:
apiDefinition
public ApiDefinitionInfo apiDefinition()
Get the apiDefinition value.
Returns:
appCommandLine
public String appCommandLine()
Get the appCommandLine value.
Returns:
appSettings
public List
Get the appSettings value.
Returns:
autoHealEnabled
public Boolean autoHealEnabled()
Get the autoHealEnabled value.
Returns:
autoHealRules
public AutoHealRules autoHealRules()
Get the autoHealRules value.
Returns:
autoSwapSlotName
public String autoSwapSlotName()
Get the autoSwapSlotName value.
Returns:
connectionStrings
public List
Get the connectionStrings value.
Returns:
cors
public CorsSettings cors()
Get the cors value.
Returns:
defaultDocuments
public List
Get the defaultDocuments value.
Returns:
detailedErrorLoggingEnabled
public Boolean detailedErrorLoggingEnabled()
Get the detailedErrorLoggingEnabled value.
Returns:
documentRoot
public String documentRoot()
Get the documentRoot value.
Returns:
experiments
public Experiments experiments()
Get the experiments value.
Returns:
handlerMappings
public List
Get the handlerMappings value.
Returns:
httpLoggingEnabled
public Boolean httpLoggingEnabled()
Get the httpLoggingEnabled value.
Returns:
ipSecurityRestrictions
public List
Get the ipSecurityRestrictions value.
Returns:
javaContainer
public String javaContainer()
Get the javaContainer value.
Returns:
javaContainerVersion
public String javaContainerVersion()
Get the javaContainerVersion value.
Returns:
javaVersion
public String javaVersion()
Get the javaVersion value.
Returns:
limits
public SiteLimits limits()
Get the limits value.
Returns:
linuxFxVersion
public String linuxFxVersion()
Get the linuxFxVersion value.
Returns:
loadBalancing
public SiteLoadBalancing loadBalancing()
Get the loadBalancing value.
Returns:
localMySqlEnabled
public Boolean localMySqlEnabled()
Get the localMySqlEnabled value.
Returns:
logsDirectorySizeLimit
public Integer logsDirectorySizeLimit()
Get the logsDirectorySizeLimit value.
Returns:
machineKey
public SiteMachineKey machineKey()
Get the machineKey value.
Returns:
managedPipelineMode
public ManagedPipelineMode managedPipelineMode()
Get the managedPipelineMode value.
Returns:
netFrameworkVersion
public String netFrameworkVersion()
Get the netFrameworkVersion value.
Returns:
nodeVersion
public String nodeVersion()
Get the nodeVersion value.
Returns:
numberOfWorkers
public Integer numberOfWorkers()
Get the numberOfWorkers value.
Returns:
phpVersion
public String phpVersion()
Get the phpVersion value.
Returns:
publishingUsername
public String publishingUsername()
Get the publishingUsername value.
Returns:
push
public PushSettingsInner push()
Get the push value.
Returns:
pythonVersion
public String pythonVersion()
Get the pythonVersion value.
Returns:
remoteDebuggingEnabled
public Boolean remoteDebuggingEnabled()
Get the remoteDebuggingEnabled value.
Returns:
remoteDebuggingVersion
public String remoteDebuggingVersion()
Get the remoteDebuggingVersion value.
Returns:
requestTracingEnabled
public Boolean requestTracingEnabled()
Get the requestTracingEnabled value.
Returns:
requestTracingExpirationTime
public DateTime requestTracingExpirationTime()
Get the requestTracingExpirationTime value.
Returns:
scmType
public ScmType scmType()
Get the scmType value.
Returns:
tracingOptions
public String tracingOptions()
Get the tracingOptions value.
Returns:
use32BitWorkerProcess
public Boolean use32BitWorkerProcess()
Get the use32BitWorkerProcess value.
Returns:
virtualApplications
public List
Get the virtualApplications value.
Returns:
vnetName
public String vnetName()
Get the vnetName value.
Returns:
webSocketsEnabled
public Boolean webSocketsEnabled()
Get the webSocketsEnabled value.
Returns:
withAlwaysOn
public SiteConfig withAlwaysOn(Boolean alwaysOn)
Set the alwaysOn value.
Parameters:
Returns:
withApiDefinition
public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition)
Set the apiDefinition value.
Parameters:
Returns:
withAppCommandLine
public SiteConfig withAppCommandLine(String appCommandLine)
Set the appCommandLine value.
Parameters:
Returns:
withAppSettings
public SiteConfig withAppSettings(List
Set the appSettings value.
Parameters:
Returns:
withAutoHealEnabled
public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled)
Set the autoHealEnabled value.
Parameters:
Returns:
withAutoHealRules
public SiteConfig withAutoHealRules(AutoHealRules autoHealRules)
Set the autoHealRules value.
Parameters:
Returns:
withAutoSwapSlotName
public SiteConfig withAutoSwapSlotName(String autoSwapSlotName)
Set the autoSwapSlotName value.
Parameters:
Returns:
withConnectionStrings
public SiteConfig withConnectionStrings(List
Set the connectionStrings value.
Parameters:
Returns:
withCors
public SiteConfig withCors(CorsSettings cors)
Set the cors value.
Parameters:
Returns:
withDefaultDocuments
public SiteConfig withDefaultDocuments(List
Set the defaultDocuments value.
Parameters:
Returns:
withDetailedErrorLoggingEnabled
public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)
Set the detailedErrorLoggingEnabled value.
Parameters:
Returns:
withDocumentRoot
public SiteConfig withDocumentRoot(String documentRoot)
Set the documentRoot value.
Parameters:
Returns:
withExperiments
public SiteConfig withExperiments(Experiments experiments)
Set the experiments value.
Parameters:
Returns:
withHandlerMappings
public SiteConfig withHandlerMappings(List
Set the handlerMappings value.
Parameters:
Returns:
withHttpLoggingEnabled
public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled)
Set the httpLoggingEnabled value.
Parameters:
Returns:
withIpSecurityRestrictions
public SiteConfig withIpSecurityRestrictions(List
Set the ipSecurityRestrictions value.
Parameters:
Returns:
withJavaContainer
public SiteConfig withJavaContainer(String javaContainer)
Set the javaContainer value.
Parameters:
Returns:
withJavaContainerVersion
public SiteConfig withJavaContainerVersion(String javaContainerVersion)
Set the javaContainerVersion value.
Parameters:
Returns:
withJavaVersion
public SiteConfig withJavaVersion(String javaVersion)
Set the javaVersion value.
Parameters:
Returns:
withLimits
public SiteConfig withLimits(SiteLimits limits)
Set the limits value.
Parameters:
Returns:
withLinuxFxVersion
public SiteConfig withLinuxFxVersion(String linuxFxVersion)
Set the linuxFxVersion value.
Parameters:
Returns:
withLoadBalancing
public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing)
Set the loadBalancing value.
Parameters:
Returns:
withLocalMySqlEnabled
public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled)
Set the localMySqlEnabled value.
Parameters:
Returns:
withLogsDirectorySizeLimit
public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
Set the logsDirectorySizeLimit value.
Parameters:
Returns:
withManagedPipelineMode
public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Set the managedPipelineMode value.
Parameters:
Returns:
withNetFrameworkVersion
public SiteConfig withNetFrameworkVersion(String netFrameworkVersion)
Set the netFrameworkVersion value.
Parameters:
Returns:
withNodeVersion
public SiteConfig withNodeVersion(String nodeVersion)
Set the nodeVersion value.
Parameters:
Returns:
withNumberOfWorkers
public SiteConfig withNumberOfWorkers(Integer numberOfWorkers)
Set the numberOfWorkers value.
Parameters:
Returns:
withPhpVersion
public SiteConfig withPhpVersion(String phpVersion)
Set the phpVersion value.
Parameters:
Returns:
withPublishingUsername
public SiteConfig withPublishingUsername(String publishingUsername)
Set the publishingUsername value.
Parameters:
Returns:
withPush
public SiteConfig withPush(PushSettingsInner push)
Set the push value.
Parameters:
Returns:
withPythonVersion
public SiteConfig withPythonVersion(String pythonVersion)
Set the pythonVersion value.
Parameters:
Returns:
withRemoteDebuggingEnabled
public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)
Set the remoteDebuggingEnabled value.
Parameters:
Returns:
withRemoteDebuggingVersion
public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion)
Set the remoteDebuggingVersion value.
Parameters:
Returns:
withRequestTracingEnabled
public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled)
Set the requestTracingEnabled value.
Parameters:
Returns:
withRequestTracingExpirationTime
public SiteConfig withRequestTracingExpirationTime(DateTime requestTracingExpirationTime)
Set the requestTracingExpirationTime value.
Parameters:
Returns:
withScmType
public SiteConfig withScmType(ScmType scmType)
Set the scmType value.
Parameters:
Returns:
withTracingOptions
public SiteConfig withTracingOptions(String tracingOptions)
Set the tracingOptions value.
Parameters:
Returns:
withUse32BitWorkerProcess
public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)
Set the use32BitWorkerProcess value.
Parameters:
Returns:
withVirtualApplications
public SiteConfig withVirtualApplications(List
Set the virtualApplications value.
Parameters:
Returns:
withVnetName
public SiteConfig withVnetName(String vnetName)
Set the vnetName value.
Parameters:
Returns:
withWebSocketsEnabled
public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled)
Set the webSocketsEnabled value.
Parameters:
Returns: