public class SiteConfig extends Object
Constructor and Description |
---|
SiteConfig() |
Modifier and Type | Method and Description |
---|---|
Boolean |
alwaysOn()
Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>.
|
ApiDefinitionInfo |
apiDefinition()
Get information about the formal API definition for the app.
|
String |
appCommandLine()
Get app command line to launch.
|
List<NameValuePair> |
appSettings()
Get application settings.
|
Boolean |
autoHealEnabled()
Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
|
AutoHealRules |
autoHealRules()
Get auto Heal rules.
|
String |
autoSwapSlotName()
Get auto-swap slot name.
|
Map<String,AzureStorageInfoValue> |
azureStorageAccounts()
Get user-provided Azure storage accounts.
|
List<ConnStringInfo> |
connectionStrings()
Get connection strings.
|
CorsSettings |
cors()
Get cross-Origin Resource Sharing (CORS) settings.
|
List<String> |
defaultDocuments()
Get default documents.
|
Boolean |
detailedErrorLoggingEnabled()
Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
|
String |
documentRoot()
Get document root.
|
Experiments |
experiments()
Get this is work around for polymorphic types.
|
FtpsState |
ftpsState()
Get state of FTP / FTPS service.
|
List<HandlerMapping> |
handlerMappings()
Get handler mappings.
|
Boolean |
http20Enabled()
Get http20Enabled: configures a web site to allow clients to connect over http2.0.
|
Boolean |
httpLoggingEnabled()
Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
|
List<IpSecurityRestriction> |
ipSecurityRestrictions()
Get iP security restrictions for main.
|
String |
javaContainer()
Get java container.
|
String |
javaContainerVersion()
Get java container version.
|
String |
javaVersion()
Get java version.
|
SiteLimits |
limits()
Get site limits.
|
String |
linuxFxVersion()
Get linux App Framework and version.
|
SiteLoadBalancing |
loadBalancing()
Get site load balancing.
|
Boolean |
localMySqlEnabled()
Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>.
|
Integer |
logsDirectorySizeLimit()
Get hTTP logs directory size limit.
|
SiteMachineKey |
machineKey()
Get site MachineKey.
|
ManagedPipelineMode |
managedPipelineMode()
Get managed pipeline mode.
|
Integer |
managedServiceIdentityId()
Get managed Service Identity Id.
|
SupportedTlsVersions |
minTlsVersion()
Get minTlsVersion: configures the minimum version of TLS required for SSL requests.
|
String |
netFrameworkVersion()
Get .NET Framework version.
|
String |
nodeVersion()
Get version of Node.js.
|
Integer |
numberOfWorkers()
Get number of workers.
|
String |
phpVersion()
Get version of PHP.
|
String |
publishingUsername()
Get publishing user name.
|
com.microsoft.azure.management.appservice.implementation.PushSettingsInner |
push()
Get push endpoint settings.
|
String |
pythonVersion()
Get version of Python.
|
Boolean |
remoteDebuggingEnabled()
Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
|
String |
remoteDebuggingVersion()
Get remote debugging version.
|
Boolean |
requestTracingEnabled()
Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
|
org.joda.time.DateTime |
requestTracingExpirationTime()
Get request tracing expiration time.
|
Integer |
reservedInstanceCount()
Get number of reserved instances.
|
List<IpSecurityRestriction> |
scmIpSecurityRestrictions()
Get iP security restrictions for scm.
|
Boolean |
scmIpSecurityRestrictionsUseMain()
Get iP security restrictions for scm to use main.
|
ScmType |
scmType()
Get sCM type.
|
String |
tracingOptions()
Get tracing options.
|
Boolean |
use32BitWorkerProcess()
Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
|
List<VirtualApplication> |
virtualApplications()
Get virtual applications.
|
String |
vnetName()
Get virtual Network name.
|
Boolean |
webSocketsEnabled()
Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
|
String |
windowsFxVersion()
Get xenon App Framework and version.
|
SiteConfig |
withAlwaysOn(Boolean alwaysOn)
Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withApiDefinition(ApiDefinitionInfo apiDefinition)
Set information about the formal API definition for the app.
|
SiteConfig |
withAppCommandLine(String appCommandLine)
Set app command line to launch.
|
SiteConfig |
withAppSettings(List<NameValuePair> appSettings)
Set application settings.
|
SiteConfig |
withAutoHealEnabled(Boolean autoHealEnabled)
Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withAutoHealRules(AutoHealRules autoHealRules)
Set auto Heal rules.
|
SiteConfig |
withAutoSwapSlotName(String autoSwapSlotName)
Set auto-swap slot name.
|
SiteConfig |
withAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)
Set user-provided Azure storage accounts.
|
SiteConfig |
withConnectionStrings(List<ConnStringInfo> connectionStrings)
Set connection strings.
|
SiteConfig |
withCors(CorsSettings cors)
Set cross-Origin Resource Sharing (CORS) settings.
|
SiteConfig |
withDefaultDocuments(List<String> defaultDocuments)
Set default documents.
|
SiteConfig |
withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)
Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withDocumentRoot(String documentRoot)
Set document root.
|
SiteConfig |
withExperiments(Experiments experiments)
Set this is work around for polymorphic types.
|
SiteConfig |
withFtpsState(FtpsState ftpsState)
Set state of FTP / FTPS service.
|
SiteConfig |
withHandlerMappings(List<HandlerMapping> handlerMappings)
Set handler mappings.
|
SiteConfig |
withHttp20Enabled(Boolean http20Enabled)
Set http20Enabled: configures a web site to allow clients to connect over http2.0.
|
SiteConfig |
withHttpLoggingEnabled(Boolean httpLoggingEnabled)
Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)
Set iP security restrictions for main.
|
SiteConfig |
withJavaContainer(String javaContainer)
Set java container.
|
SiteConfig |
withJavaContainerVersion(String javaContainerVersion)
Set java container version.
|
SiteConfig |
withJavaVersion(String javaVersion)
Set java version.
|
SiteConfig |
withLimits(SiteLimits limits)
Set site limits.
|
SiteConfig |
withLinuxFxVersion(String linuxFxVersion)
Set linux App Framework and version.
|
SiteConfig |
withLoadBalancing(SiteLoadBalancing loadBalancing)
Set site load balancing.
|
SiteConfig |
withLocalMySqlEnabled(Boolean localMySqlEnabled)
Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>.
|
SiteConfig |
withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
Set hTTP logs directory size limit.
|
SiteConfig |
withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Set managed pipeline mode.
|
SiteConfig |
withManagedServiceIdentityId(Integer managedServiceIdentityId)
Set managed Service Identity Id.
|
SiteConfig |
withMinTlsVersion(SupportedTlsVersions minTlsVersion)
Set minTlsVersion: configures the minimum version of TLS required for SSL requests.
|
SiteConfig |
withNetFrameworkVersion(String netFrameworkVersion)
Set .NET Framework version.
|
SiteConfig |
withNodeVersion(String nodeVersion)
Set version of Node.js.
|
SiteConfig |
withNumberOfWorkers(Integer numberOfWorkers)
Set number of workers.
|
SiteConfig |
withPhpVersion(String phpVersion)
Set version of PHP.
|
SiteConfig |
withPublishingUsername(String publishingUsername)
Set publishing user name.
|
SiteConfig |
withPush(com.microsoft.azure.management.appservice.implementation.PushSettingsInner push)
Set push endpoint settings.
|
SiteConfig |
withPythonVersion(String pythonVersion)
Set version of Python.
|
SiteConfig |
withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)
Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withRemoteDebuggingVersion(String remoteDebuggingVersion)
Set remote debugging version.
|
SiteConfig |
withRequestTracingEnabled(Boolean requestTracingEnabled)
Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withRequestTracingExpirationTime(org.joda.time.DateTime requestTracingExpirationTime)
Set request tracing expiration time.
|
SiteConfig |
withReservedInstanceCount(Integer reservedInstanceCount)
Set number of reserved instances.
|
SiteConfig |
withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)
Set iP security restrictions for scm.
|
SiteConfig |
withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)
Set iP security restrictions for scm to use main.
|
SiteConfig |
withScmType(ScmType scmType)
Set sCM type.
|
SiteConfig |
withTracingOptions(String tracingOptions)
Set tracing options.
|
SiteConfig |
withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)
Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
|
SiteConfig |
withVirtualApplications(List<VirtualApplication> virtualApplications)
Set virtual applications.
|
SiteConfig |
withVnetName(String vnetName)
Set virtual Network name.
|
SiteConfig |
withWebSocketsEnabled(Boolean webSocketsEnabled)
Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
|
SiteConfig |
withWindowsFxVersion(String windowsFxVersion)
Set xenon App Framework and version.
|
SiteConfig |
withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)
Set explicit Managed Service Identity Id.
|
Integer |
xManagedServiceIdentityId()
Get explicit Managed Service Identity Id.
|
public Integer numberOfWorkers()
public SiteConfig withNumberOfWorkers(Integer numberOfWorkers)
numberOfWorkers
- the numberOfWorkers value to setpublic List<String> defaultDocuments()
public SiteConfig withDefaultDocuments(List<String> defaultDocuments)
defaultDocuments
- the defaultDocuments value to setpublic String netFrameworkVersion()
public SiteConfig withNetFrameworkVersion(String netFrameworkVersion)
netFrameworkVersion
- the netFrameworkVersion value to setpublic String phpVersion()
public SiteConfig withPhpVersion(String phpVersion)
phpVersion
- the phpVersion value to setpublic String pythonVersion()
public SiteConfig withPythonVersion(String pythonVersion)
pythonVersion
- the pythonVersion value to setpublic String nodeVersion()
public SiteConfig withNodeVersion(String nodeVersion)
nodeVersion
- the nodeVersion value to setpublic String linuxFxVersion()
public SiteConfig withLinuxFxVersion(String linuxFxVersion)
linuxFxVersion
- the linuxFxVersion value to setpublic String windowsFxVersion()
public SiteConfig withWindowsFxVersion(String windowsFxVersion)
windowsFxVersion
- the windowsFxVersion value to setpublic Boolean requestTracingEnabled()
public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled)
requestTracingEnabled
- the requestTracingEnabled value to setpublic org.joda.time.DateTime requestTracingExpirationTime()
public SiteConfig withRequestTracingExpirationTime(org.joda.time.DateTime requestTracingExpirationTime)
requestTracingExpirationTime
- the requestTracingExpirationTime value to setpublic Boolean remoteDebuggingEnabled()
public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)
remoteDebuggingEnabled
- the remoteDebuggingEnabled value to setpublic String remoteDebuggingVersion()
public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion)
remoteDebuggingVersion
- the remoteDebuggingVersion value to setpublic Boolean httpLoggingEnabled()
public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled)
httpLoggingEnabled
- the httpLoggingEnabled value to setpublic Integer logsDirectorySizeLimit()
public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
logsDirectorySizeLimit
- the logsDirectorySizeLimit value to setpublic Boolean detailedErrorLoggingEnabled()
public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)
detailedErrorLoggingEnabled
- the detailedErrorLoggingEnabled value to setpublic String publishingUsername()
public SiteConfig withPublishingUsername(String publishingUsername)
publishingUsername
- the publishingUsername value to setpublic List<NameValuePair> appSettings()
public SiteConfig withAppSettings(List<NameValuePair> appSettings)
appSettings
- the appSettings value to setpublic Map<String,AzureStorageInfoValue> azureStorageAccounts()
public SiteConfig withAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)
azureStorageAccounts
- the azureStorageAccounts value to setpublic List<ConnStringInfo> connectionStrings()
public SiteConfig withConnectionStrings(List<ConnStringInfo> connectionStrings)
connectionStrings
- the connectionStrings value to setpublic SiteMachineKey machineKey()
public List<HandlerMapping> handlerMappings()
public SiteConfig withHandlerMappings(List<HandlerMapping> handlerMappings)
handlerMappings
- the handlerMappings value to setpublic String documentRoot()
public SiteConfig withDocumentRoot(String documentRoot)
documentRoot
- the documentRoot value to setpublic ScmType scmType()
public SiteConfig withScmType(ScmType scmType)
scmType
- the scmType value to setpublic Boolean use32BitWorkerProcess()
public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)
use32BitWorkerProcess
- the use32BitWorkerProcess value to setpublic Boolean webSocketsEnabled()
public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled)
webSocketsEnabled
- the webSocketsEnabled value to setpublic Boolean alwaysOn()
public SiteConfig withAlwaysOn(Boolean alwaysOn)
alwaysOn
- the alwaysOn value to setpublic String javaVersion()
public SiteConfig withJavaVersion(String javaVersion)
javaVersion
- the javaVersion value to setpublic String javaContainer()
public SiteConfig withJavaContainer(String javaContainer)
javaContainer
- the javaContainer value to setpublic String javaContainerVersion()
public SiteConfig withJavaContainerVersion(String javaContainerVersion)
javaContainerVersion
- the javaContainerVersion value to setpublic String appCommandLine()
public SiteConfig withAppCommandLine(String appCommandLine)
appCommandLine
- the appCommandLine value to setpublic ManagedPipelineMode managedPipelineMode()
public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
managedPipelineMode
- the managedPipelineMode value to setpublic List<VirtualApplication> virtualApplications()
public SiteConfig withVirtualApplications(List<VirtualApplication> virtualApplications)
virtualApplications
- the virtualApplications value to setpublic SiteLoadBalancing loadBalancing()
public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing)
loadBalancing
- the loadBalancing value to setpublic Experiments experiments()
public SiteConfig withExperiments(Experiments experiments)
experiments
- the experiments value to setpublic SiteLimits limits()
public SiteConfig withLimits(SiteLimits limits)
limits
- the limits value to setpublic Boolean autoHealEnabled()
public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled)
autoHealEnabled
- the autoHealEnabled value to setpublic AutoHealRules autoHealRules()
public SiteConfig withAutoHealRules(AutoHealRules autoHealRules)
autoHealRules
- the autoHealRules value to setpublic String tracingOptions()
public SiteConfig withTracingOptions(String tracingOptions)
tracingOptions
- the tracingOptions value to setpublic String vnetName()
public SiteConfig withVnetName(String vnetName)
vnetName
- the vnetName value to setpublic CorsSettings cors()
public SiteConfig withCors(CorsSettings cors)
cors
- the cors value to setpublic com.microsoft.azure.management.appservice.implementation.PushSettingsInner push()
public SiteConfig withPush(com.microsoft.azure.management.appservice.implementation.PushSettingsInner push)
push
- the push value to setpublic ApiDefinitionInfo apiDefinition()
public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition)
apiDefinition
- the apiDefinition value to setpublic String autoSwapSlotName()
public SiteConfig withAutoSwapSlotName(String autoSwapSlotName)
autoSwapSlotName
- the autoSwapSlotName value to setpublic Boolean localMySqlEnabled()
public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled)
localMySqlEnabled
- the localMySqlEnabled value to setpublic Integer managedServiceIdentityId()
public SiteConfig withManagedServiceIdentityId(Integer managedServiceIdentityId)
managedServiceIdentityId
- the managedServiceIdentityId value to setpublic Integer xManagedServiceIdentityId()
public SiteConfig withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)
xManagedServiceIdentityId
- the xManagedServiceIdentityId value to setpublic List<IpSecurityRestriction> ipSecurityRestrictions()
public SiteConfig withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)
ipSecurityRestrictions
- the ipSecurityRestrictions value to setpublic List<IpSecurityRestriction> scmIpSecurityRestrictions()
public SiteConfig withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)
scmIpSecurityRestrictions
- the scmIpSecurityRestrictions value to setpublic Boolean scmIpSecurityRestrictionsUseMain()
public SiteConfig withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)
scmIpSecurityRestrictionsUseMain
- the scmIpSecurityRestrictionsUseMain value to setpublic Boolean http20Enabled()
public SiteConfig withHttp20Enabled(Boolean http20Enabled)
http20Enabled
- the http20Enabled value to setpublic SupportedTlsVersions minTlsVersion()
public SiteConfig withMinTlsVersion(SupportedTlsVersions minTlsVersion)
minTlsVersion
- the minTlsVersion value to setpublic FtpsState ftpsState()
public SiteConfig withFtpsState(FtpsState ftpsState)
ftpsState
- the ftpsState value to setpublic Integer reservedInstanceCount()
public SiteConfig withReservedInstanceCount(Integer reservedInstanceCount)
reservedInstanceCount
- the reservedInstanceCount value to setCopyright © 2019. All rights reserved.