Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.implementation.PushSettingsInner; import com.fasterxml.jackson.annotation.JsonProperty;
Configuration of an App Service app.
/** * Configuration of an App Service app. */
public class SiteConfig {
Number of workers.
/** * Number of workers. */
@JsonProperty(value = "numberOfWorkers") private Integer numberOfWorkers;
Default documents.
/** * Default documents. */
@JsonProperty(value = "defaultDocuments") private List<String> defaultDocuments;
.NET Framework version.
/** * .NET Framework version. */
@JsonProperty(value = "netFrameworkVersion") private String netFrameworkVersion;
Version of PHP.
/** * Version of PHP. */
@JsonProperty(value = "phpVersion") private String phpVersion;
Version of Python.
/** * Version of Python. */
@JsonProperty(value = "pythonVersion") private String pythonVersion;
Version of Node.js.
/** * Version of Node.js. */
@JsonProperty(value = "nodeVersion") private String nodeVersion;
Linux App Framework and version.
/** * Linux App Framework and version. */
@JsonProperty(value = "linuxFxVersion") private String linuxFxVersion;
Xenon App Framework and version.
/** * Xenon App Framework and version. */
@JsonProperty(value = "windowsFxVersion") private String windowsFxVersion;
<code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if request tracing is enabled; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "requestTracingEnabled") private Boolean requestTracingEnabled;
Request tracing expiration time.
/** * Request tracing expiration time. */
@JsonProperty(value = "requestTracingExpirationTime") private DateTime requestTracingExpirationTime;
<code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if remote debugging is enabled; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "remoteDebuggingEnabled") private Boolean remoteDebuggingEnabled;
Remote debugging version.
/** * Remote debugging version. */
@JsonProperty(value = "remoteDebuggingVersion") private String remoteDebuggingVersion;
<code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if HTTP logging is enabled; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "httpLoggingEnabled") private Boolean httpLoggingEnabled;
HTTP logs directory size limit.
/** * HTTP logs directory size limit. */
@JsonProperty(value = "logsDirectorySizeLimit") private Integer logsDirectorySizeLimit;
<code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if detailed error logging is enabled; * otherwise, &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "detailedErrorLoggingEnabled") private Boolean detailedErrorLoggingEnabled;
Publishing user name.
/** * Publishing user name. */
@JsonProperty(value = "publishingUsername") private String publishingUsername;
Application settings.
/** * Application settings. */
@JsonProperty(value = "appSettings") private List<NameValuePair> appSettings;
Connection strings.
/** * Connection strings. */
@JsonProperty(value = "connectionStrings") private List<ConnStringInfo> connectionStrings;
Site MachineKey.
/** * Site MachineKey. */
@JsonProperty(value = "machineKey", access = JsonProperty.Access.WRITE_ONLY) private SiteMachineKey machineKey;
Handler mappings.
/** * Handler mappings. */
@JsonProperty(value = "handlerMappings") private List<HandlerMapping> handlerMappings;
Document root.
/** * Document root. */
@JsonProperty(value = "documentRoot") private String documentRoot;
SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'.
/** * SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', * 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', * 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'. */
@JsonProperty(value = "scmType") private ScmType scmType;
<code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; to use 32-bit worker process; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "use32BitWorkerProcess") private Boolean use32BitWorkerProcess;
<code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if WebSocket is enabled; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "webSocketsEnabled") private Boolean webSocketsEnabled;
<code>true</code> if Always On is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if Always On is enabled; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "alwaysOn") private Boolean alwaysOn;
Java version.
/** * Java version. */
@JsonProperty(value = "javaVersion") private String javaVersion;
Java container.
/** * Java container. */
@JsonProperty(value = "javaContainer") private String javaContainer;
Java container version.
/** * Java container version. */
@JsonProperty(value = "javaContainerVersion") private String javaContainerVersion;
App command line to launch.
/** * App command line to launch. */
@JsonProperty(value = "appCommandLine") private String appCommandLine;
Managed pipeline mode. Possible values include: 'Integrated', 'Classic'.
/** * Managed pipeline mode. Possible values include: 'Integrated', 'Classic'. */
@JsonProperty(value = "managedPipelineMode") private ManagedPipelineMode managedPipelineMode;
Virtual applications.
/** * Virtual applications. */
@JsonProperty(value = "virtualApplications") private List<VirtualApplication> virtualApplications;
Site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'.
/** * Site load balancing. Possible values include: 'WeightedRoundRobin', * 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', * 'RequestHash'. */
@JsonProperty(value = "loadBalancing") private SiteLoadBalancing loadBalancing;
This is work around for polymorphic types.
/** * This is work around for polymorphic types. */
@JsonProperty(value = "experiments") private Experiments experiments;
Site limits.
/** * Site limits. */
@JsonProperty(value = "limits") private SiteLimits limits;
<code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; if Auto Heal is enabled; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "autoHealEnabled") private Boolean autoHealEnabled;
Auto Heal rules.
/** * Auto Heal rules. */
@JsonProperty(value = "autoHealRules") private AutoHealRules autoHealRules;
Tracing options.
/** * Tracing options. */
@JsonProperty(value = "tracingOptions") private String tracingOptions;
Virtual Network name.
/** * Virtual Network name. */
@JsonProperty(value = "vnetName") private String vnetName;
Cross-Origin Resource Sharing (CORS) settings.
/** * Cross-Origin Resource Sharing (CORS) settings. */
@JsonProperty(value = "cors") private CorsSettings cors;
Push endpoint settings.
/** * Push endpoint settings. */
@JsonProperty(value = "push") private PushSettingsInner push;
Information about the formal API definition for the app.
/** * Information about the formal API definition for the app. */
@JsonProperty(value = "apiDefinition") private ApiDefinitionInfo apiDefinition;
Azure API management settings linked to the app.
/** * Azure API management settings linked to the app. */
@JsonProperty(value = "apiManagementConfig") private ApiManagementConfig apiManagementConfig;
Auto-swap slot name.
/** * Auto-swap slot name. */
@JsonProperty(value = "autoSwapSlotName") private String autoSwapSlotName;
<code>true</code> to enable local MySQL; otherwise, <code>false</code>.
/** * &lt;code&gt;true&lt;/code&gt; to enable local MySQL; otherwise, * &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "localMySqlEnabled") private Boolean localMySqlEnabled;
Managed Service Identity Id.
/** * Managed Service Identity Id. */
@JsonProperty(value = "managedServiceIdentityId") private Integer managedServiceIdentityId;
Explicit Managed Service Identity Id.
/** * Explicit Managed Service Identity Id. */
@JsonProperty(value = "xManagedServiceIdentityId") private Integer xManagedServiceIdentityId;
IP security restrictions for main.
/** * IP security restrictions for main. */
@JsonProperty(value = "ipSecurityRestrictions") private List<IpSecurityRestriction> ipSecurityRestrictions;
IP security restrictions for scm.
/** * IP security restrictions for scm. */
@JsonProperty(value = "scmIpSecurityRestrictions") private List<IpSecurityRestriction> scmIpSecurityRestrictions;
IP security restrictions for scm to use main.
/** * IP security restrictions for scm to use main. */
@JsonProperty(value = "scmIpSecurityRestrictionsUseMain") private Boolean scmIpSecurityRestrictionsUseMain;
Http20Enabled: configures a web site to allow clients to connect over http2.0.
/** * Http20Enabled: configures a web site to allow clients to connect over * http2.0. */
@JsonProperty(value = "http20Enabled") private Boolean http20Enabled;
MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'.
/** * MinTlsVersion: configures the minimum version of TLS required for SSL * requests. Possible values include: '1.0', '1.1', '1.2'. */
@JsonProperty(value = "minTlsVersion") private SupportedTlsVersions minTlsVersion;
State of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'.
/** * State of FTP / FTPS service. Possible values include: 'AllAllowed', * 'FtpsOnly', 'Disabled'. */
@JsonProperty(value = "ftpsState") private FtpsState ftpsState;
Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.
/** * Number of preWarmed instances. * This setting only applies to the Consumption and Elastic Plans. */
@JsonProperty(value = "preWarmedInstanceCount") private Integer preWarmedInstanceCount;
Health check path.
/** * Health check path. */
@JsonProperty(value = "healthCheckPath") private String healthCheckPath;
Get number of workers.
Returns:the numberOfWorkers value
/** * Get number of workers. * * @return the numberOfWorkers value */
public Integer numberOfWorkers() { return this.numberOfWorkers; }
Set number of workers.
Params:
  • numberOfWorkers – the numberOfWorkers value to set
Returns:the SiteConfig object itself.
/** * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfig object itself. */
public SiteConfig withNumberOfWorkers(Integer numberOfWorkers) { this.numberOfWorkers = numberOfWorkers; return this; }
Get default documents.
Returns:the defaultDocuments value
/** * Get default documents. * * @return the defaultDocuments value */
public List<String> defaultDocuments() { return this.defaultDocuments; }
Set default documents.
Params:
  • defaultDocuments – the defaultDocuments value to set
Returns:the SiteConfig object itself.
/** * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfig object itself. */
public SiteConfig withDefaultDocuments(List<String> defaultDocuments) { this.defaultDocuments = defaultDocuments; return this; }
Get .NET Framework version.
Returns:the netFrameworkVersion value
/** * Get .NET Framework version. * * @return the netFrameworkVersion value */
public String netFrameworkVersion() { return this.netFrameworkVersion; }
Set .NET Framework version.
Params:
  • netFrameworkVersion – the netFrameworkVersion value to set
Returns:the SiteConfig object itself.
/** * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withNetFrameworkVersion(String netFrameworkVersion) { this.netFrameworkVersion = netFrameworkVersion; return this; }
Get version of PHP.
Returns:the phpVersion value
/** * Get version of PHP. * * @return the phpVersion value */
public String phpVersion() { return this.phpVersion; }
Set version of PHP.
Params:
  • phpVersion – the phpVersion value to set
Returns:the SiteConfig object itself.
/** * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withPhpVersion(String phpVersion) { this.phpVersion = phpVersion; return this; }
Get version of Python.
Returns:the pythonVersion value
/** * Get version of Python. * * @return the pythonVersion value */
public String pythonVersion() { return this.pythonVersion; }
Set version of Python.
Params:
  • pythonVersion – the pythonVersion value to set
Returns:the SiteConfig object itself.
/** * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withPythonVersion(String pythonVersion) { this.pythonVersion = pythonVersion; return this; }
Get version of Node.js.
Returns:the nodeVersion value
/** * Get version of Node.js. * * @return the nodeVersion value */
public String nodeVersion() { return this.nodeVersion; }
Set version of Node.js.
Params:
  • nodeVersion – the nodeVersion value to set
Returns:the SiteConfig object itself.
/** * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withNodeVersion(String nodeVersion) { this.nodeVersion = nodeVersion; return this; }
Get linux App Framework and version.
Returns:the linuxFxVersion value
/** * Get linux App Framework and version. * * @return the linuxFxVersion value */
public String linuxFxVersion() { return this.linuxFxVersion; }
Set linux App Framework and version.
Params:
  • linuxFxVersion – the linuxFxVersion value to set
Returns:the SiteConfig object itself.
/** * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withLinuxFxVersion(String linuxFxVersion) { this.linuxFxVersion = linuxFxVersion; return this; }
Get xenon App Framework and version.
Returns:the windowsFxVersion value
/** * Get xenon App Framework and version. * * @return the windowsFxVersion value */
public String windowsFxVersion() { return this.windowsFxVersion; }
Set xenon App Framework and version.
Params:
  • windowsFxVersion – the windowsFxVersion value to set
Returns:the SiteConfig object itself.
/** * Set xenon App Framework and version. * * @param windowsFxVersion the windowsFxVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withWindowsFxVersion(String windowsFxVersion) { this.windowsFxVersion = windowsFxVersion; return this; }
Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
Returns:the requestTracingEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; if request tracing is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the requestTracingEnabled value */
public Boolean requestTracingEnabled() { return this.requestTracingEnabled; }
Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
Params:
  • requestTracingEnabled – the requestTracingEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if request tracing is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled) { this.requestTracingEnabled = requestTracingEnabled; return this; }
Get request tracing expiration time.
Returns:the requestTracingExpirationTime value
/** * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */
public DateTime requestTracingExpirationTime() { return this.requestTracingExpirationTime; }
Set request tracing expiration time.
Params:
  • requestTracingExpirationTime – the requestTracingExpirationTime value to set
Returns:the SiteConfig object itself.
/** * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfig object itself. */
public SiteConfig withRequestTracingExpirationTime(DateTime requestTracingExpirationTime) { this.requestTracingExpirationTime = requestTracingExpirationTime; return this; }
Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
Returns:the remoteDebuggingEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; if remote debugging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the remoteDebuggingEnabled value */
public Boolean remoteDebuggingEnabled() { return this.remoteDebuggingEnabled; }
Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
Params:
  • remoteDebuggingEnabled – the remoteDebuggingEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if remote debugging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled) { this.remoteDebuggingEnabled = remoteDebuggingEnabled; return this; }
Get remote debugging version.
Returns:the remoteDebuggingVersion value
/** * Get remote debugging version. * * @return the remoteDebuggingVersion value */
public String remoteDebuggingVersion() { return this.remoteDebuggingVersion; }
Set remote debugging version.
Params:
  • remoteDebuggingVersion – the remoteDebuggingVersion value to set
Returns:the SiteConfig object itself.
/** * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion) { this.remoteDebuggingVersion = remoteDebuggingVersion; return this; }
Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
Returns:the httpLoggingEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; if HTTP logging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the httpLoggingEnabled value */
public Boolean httpLoggingEnabled() { return this.httpLoggingEnabled; }
Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
Params:
  • httpLoggingEnabled – the httpLoggingEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if HTTP logging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled) { this.httpLoggingEnabled = httpLoggingEnabled; return this; }
Get hTTP logs directory size limit.
Returns:the logsDirectorySizeLimit value
/** * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */
public Integer logsDirectorySizeLimit() { return this.logsDirectorySizeLimit; }
Set hTTP logs directory size limit.
Params:
  • logsDirectorySizeLimit – the logsDirectorySizeLimit value to set
Returns:the SiteConfig object itself.
/** * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfig object itself. */
public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit) { this.logsDirectorySizeLimit = logsDirectorySizeLimit; return this; }
Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
Returns:the detailedErrorLoggingEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; if detailed error logging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the detailedErrorLoggingEnabled value */
public Boolean detailedErrorLoggingEnabled() { return this.detailedErrorLoggingEnabled; }
Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
Params:
  • detailedErrorLoggingEnabled – the detailedErrorLoggingEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if detailed error logging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled) { this.detailedErrorLoggingEnabled = detailedErrorLoggingEnabled; return this; }
Get publishing user name.
Returns:the publishingUsername value
/** * Get publishing user name. * * @return the publishingUsername value */
public String publishingUsername() { return this.publishingUsername; }
Set publishing user name.
Params:
  • publishingUsername – the publishingUsername value to set
Returns:the SiteConfig object itself.
/** * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfig object itself. */
public SiteConfig withPublishingUsername(String publishingUsername) { this.publishingUsername = publishingUsername; return this; }
Get application settings.
Returns:the appSettings value
/** * Get application settings. * * @return the appSettings value */
public List<NameValuePair> appSettings() { return this.appSettings; }
Set application settings.
Params:
  • appSettings – the appSettings value to set
Returns:the SiteConfig object itself.
/** * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfig object itself. */
public SiteConfig withAppSettings(List<NameValuePair> appSettings) { this.appSettings = appSettings; return this; }
Get connection strings.
Returns:the connectionStrings value
/** * Get connection strings. * * @return the connectionStrings value */
public List<ConnStringInfo> connectionStrings() { return this.connectionStrings; }
Set connection strings.
Params:
  • connectionStrings – the connectionStrings value to set
Returns:the SiteConfig object itself.
/** * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfig object itself. */
public SiteConfig withConnectionStrings(List<ConnStringInfo> connectionStrings) { this.connectionStrings = connectionStrings; return this; }
Get site MachineKey.
Returns:the machineKey value
/** * Get site MachineKey. * * @return the machineKey value */
public SiteMachineKey machineKey() { return this.machineKey; }
Get handler mappings.
Returns:the handlerMappings value
/** * Get handler mappings. * * @return the handlerMappings value */
public List<HandlerMapping> handlerMappings() { return this.handlerMappings; }
Set handler mappings.
Params:
  • handlerMappings – the handlerMappings value to set
Returns:the SiteConfig object itself.
/** * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfig object itself. */
public SiteConfig withHandlerMappings(List<HandlerMapping> handlerMappings) { this.handlerMappings = handlerMappings; return this; }
Get document root.
Returns:the documentRoot value
/** * Get document root. * * @return the documentRoot value */
public String documentRoot() { return this.documentRoot; }
Set document root.
Params:
  • documentRoot – the documentRoot value to set
Returns:the SiteConfig object itself.
/** * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfig object itself. */
public SiteConfig withDocumentRoot(String documentRoot) { this.documentRoot = documentRoot; return this; }
Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'.
Returns:the scmType value
/** * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'. * * @return the scmType value */
public ScmType scmType() { return this.scmType; }
Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'.
Params:
  • scmType – the scmType value to set
Returns:the SiteConfig object itself.
/** * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'. * * @param scmType the scmType value to set * @return the SiteConfig object itself. */
public SiteConfig withScmType(ScmType scmType) { this.scmType = scmType; return this; }
Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
Returns:the use32BitWorkerProcess value
/** * Get &lt;code&gt;true&lt;/code&gt; to use 32-bit worker process; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the use32BitWorkerProcess value */
public Boolean use32BitWorkerProcess() { return this.use32BitWorkerProcess; }
Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
Params:
  • use32BitWorkerProcess – the use32BitWorkerProcess value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; to use 32-bit worker process; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfig object itself. */
public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess) { this.use32BitWorkerProcess = use32BitWorkerProcess; return this; }
Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
Returns:the webSocketsEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; if WebSocket is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the webSocketsEnabled value */
public Boolean webSocketsEnabled() { return this.webSocketsEnabled; }
Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
Params:
  • webSocketsEnabled – the webSocketsEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if WebSocket is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled) { this.webSocketsEnabled = webSocketsEnabled; return this; }
Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>.
Returns:the alwaysOn value
/** * Get &lt;code&gt;true&lt;/code&gt; if Always On is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the alwaysOn value */
public Boolean alwaysOn() { return this.alwaysOn; }
Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>.
Params:
  • alwaysOn – the alwaysOn value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if Always On is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfig object itself. */
public SiteConfig withAlwaysOn(Boolean alwaysOn) { this.alwaysOn = alwaysOn; return this; }
Get java version.
Returns:the javaVersion value
/** * Get java version. * * @return the javaVersion value */
public String javaVersion() { return this.javaVersion; }
Set java version.
Params:
  • javaVersion – the javaVersion value to set
Returns:the SiteConfig object itself.
/** * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withJavaVersion(String javaVersion) { this.javaVersion = javaVersion; return this; }
Get java container.
Returns:the javaContainer value
/** * Get java container. * * @return the javaContainer value */
public String javaContainer() { return this.javaContainer; }
Set java container.
Params:
  • javaContainer – the javaContainer value to set
Returns:the SiteConfig object itself.
/** * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfig object itself. */
public SiteConfig withJavaContainer(String javaContainer) { this.javaContainer = javaContainer; return this; }
Get java container version.
Returns:the javaContainerVersion value
/** * Get java container version. * * @return the javaContainerVersion value */
public String javaContainerVersion() { return this.javaContainerVersion; }
Set java container version.
Params:
  • javaContainerVersion – the javaContainerVersion value to set
Returns:the SiteConfig object itself.
/** * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withJavaContainerVersion(String javaContainerVersion) { this.javaContainerVersion = javaContainerVersion; return this; }
Get app command line to launch.
Returns:the appCommandLine value
/** * Get app command line to launch. * * @return the appCommandLine value */
public String appCommandLine() { return this.appCommandLine; }
Set app command line to launch.
Params:
  • appCommandLine – the appCommandLine value to set
Returns:the SiteConfig object itself.
/** * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfig object itself. */
public SiteConfig withAppCommandLine(String appCommandLine) { this.appCommandLine = appCommandLine; return this; }
Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'.
Returns:the managedPipelineMode value
/** * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */
public ManagedPipelineMode managedPipelineMode() { return this.managedPipelineMode; }
Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'.
Params:
  • managedPipelineMode – the managedPipelineMode value to set
Returns:the SiteConfig object itself.
/** * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfig object itself. */
public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMode) { this.managedPipelineMode = managedPipelineMode; return this; }
Get virtual applications.
Returns:the virtualApplications value
/** * Get virtual applications. * * @return the virtualApplications value */
public List<VirtualApplication> virtualApplications() { return this.virtualApplications; }
Set virtual applications.
Params:
  • virtualApplications – the virtualApplications value to set
Returns:the SiteConfig object itself.
/** * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfig object itself. */
public SiteConfig withVirtualApplications(List<VirtualApplication> virtualApplications) { this.virtualApplications = virtualApplications; return this; }
Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'.
Returns:the loadBalancing value
/** * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */
public SiteLoadBalancing loadBalancing() { return this.loadBalancing; }
Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'.
Params:
  • loadBalancing – the loadBalancing value to set
Returns:the SiteConfig object itself.
/** * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfig object itself. */
public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { this.loadBalancing = loadBalancing; return this; }
Get this is work around for polymorphic types.
Returns:the experiments value
/** * Get this is work around for polymorphic types. * * @return the experiments value */
public Experiments experiments() { return this.experiments; }
Set this is work around for polymorphic types.
Params:
  • experiments – the experiments value to set
Returns:the SiteConfig object itself.
/** * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. */
public SiteConfig withExperiments(Experiments experiments) { this.experiments = experiments; return this; }
Get site limits.
Returns:the limits value
/** * Get site limits. * * @return the limits value */
public SiteLimits limits() { return this.limits; }
Set site limits.
Params:
  • limits – the limits value to set
Returns:the SiteConfig object itself.
/** * Set site limits. * * @param limits the limits value to set * @return the SiteConfig object itself. */
public SiteConfig withLimits(SiteLimits limits) { this.limits = limits; return this; }
Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
Returns:the autoHealEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; if Auto Heal is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the autoHealEnabled value */
public Boolean autoHealEnabled() { return this.autoHealEnabled; }
Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
Params:
  • autoHealEnabled – the autoHealEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if Auto Heal is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled) { this.autoHealEnabled = autoHealEnabled; return this; }
Get auto Heal rules.
Returns:the autoHealRules value
/** * Get auto Heal rules. * * @return the autoHealRules value */
public AutoHealRules autoHealRules() { return this.autoHealRules; }
Set auto Heal rules.
Params:
  • autoHealRules – the autoHealRules value to set
Returns:the SiteConfig object itself.
/** * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfig object itself. */
public SiteConfig withAutoHealRules(AutoHealRules autoHealRules) { this.autoHealRules = autoHealRules; return this; }
Get tracing options.
Returns:the tracingOptions value
/** * Get tracing options. * * @return the tracingOptions value */
public String tracingOptions() { return this.tracingOptions; }
Set tracing options.
Params:
  • tracingOptions – the tracingOptions value to set
Returns:the SiteConfig object itself.
/** * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfig object itself. */
public SiteConfig withTracingOptions(String tracingOptions) { this.tracingOptions = tracingOptions; return this; }
Get virtual Network name.
Returns:the vnetName value
/** * Get virtual Network name. * * @return the vnetName value */
public String vnetName() { return this.vnetName; }
Set virtual Network name.
Params:
  • vnetName – the vnetName value to set
Returns:the SiteConfig object itself.
/** * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfig object itself. */
public SiteConfig withVnetName(String vnetName) { this.vnetName = vnetName; return this; }
Get cross-Origin Resource Sharing (CORS) settings.
Returns:the cors value
/** * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */
public CorsSettings cors() { return this.cors; }
Set cross-Origin Resource Sharing (CORS) settings.
Params:
  • cors – the cors value to set
Returns:the SiteConfig object itself.
/** * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfig object itself. */
public SiteConfig withCors(CorsSettings cors) { this.cors = cors; return this; }
Get push endpoint settings.
Returns:the push value
/** * Get push endpoint settings. * * @return the push value */
public PushSettingsInner push() { return this.push; }
Set push endpoint settings.
Params:
  • push – the push value to set
Returns:the SiteConfig object itself.
/** * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfig object itself. */
public SiteConfig withPush(PushSettingsInner push) { this.push = push; return this; }
Get information about the formal API definition for the app.
Returns:the apiDefinition value
/** * Get information about the formal API definition for the app. * * @return the apiDefinition value */
public ApiDefinitionInfo apiDefinition() { return this.apiDefinition; }
Set information about the formal API definition for the app.
Params:
  • apiDefinition – the apiDefinition value to set
Returns:the SiteConfig object itself.
/** * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfig object itself. */
public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition) { this.apiDefinition = apiDefinition; return this; }
Get azure API management settings linked to the app.
Returns:the apiManagementConfig value
/** * Get azure API management settings linked to the app. * * @return the apiManagementConfig value */
public ApiManagementConfig apiManagementConfig() { return this.apiManagementConfig; }
Set azure API management settings linked to the app.
Params:
  • apiManagementConfig – the apiManagementConfig value to set
Returns:the SiteConfig object itself.
/** * Set azure API management settings linked to the app. * * @param apiManagementConfig the apiManagementConfig value to set * @return the SiteConfig object itself. */
public SiteConfig withApiManagementConfig(ApiManagementConfig apiManagementConfig) { this.apiManagementConfig = apiManagementConfig; return this; }
Get auto-swap slot name.
Returns:the autoSwapSlotName value
/** * Get auto-swap slot name. * * @return the autoSwapSlotName value */
public String autoSwapSlotName() { return this.autoSwapSlotName; }
Set auto-swap slot name.
Params:
  • autoSwapSlotName – the autoSwapSlotName value to set
Returns:the SiteConfig object itself.
/** * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfig object itself. */
public SiteConfig withAutoSwapSlotName(String autoSwapSlotName) { this.autoSwapSlotName = autoSwapSlotName; return this; }
Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>.
Returns:the localMySqlEnabled value
/** * Get &lt;code&gt;true&lt;/code&gt; to enable local MySQL; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the localMySqlEnabled value */
public Boolean localMySqlEnabled() { return this.localMySqlEnabled; }
Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>.
Params:
  • localMySqlEnabled – the localMySqlEnabled value to set
Returns:the SiteConfig object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; to enable local MySQL; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfig object itself. */
public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled) { this.localMySqlEnabled = localMySqlEnabled; return this; }
Get managed Service Identity Id.
Returns:the managedServiceIdentityId value
/** * Get managed Service Identity Id. * * @return the managedServiceIdentityId value */
public Integer managedServiceIdentityId() { return this.managedServiceIdentityId; }
Set managed Service Identity Id.
Params:
  • managedServiceIdentityId – the managedServiceIdentityId value to set
Returns:the SiteConfig object itself.
/** * Set managed Service Identity Id. * * @param managedServiceIdentityId the managedServiceIdentityId value to set * @return the SiteConfig object itself. */
public SiteConfig withManagedServiceIdentityId(Integer managedServiceIdentityId) { this.managedServiceIdentityId = managedServiceIdentityId; return this; }
Get explicit Managed Service Identity Id.
Returns:the xManagedServiceIdentityId value
/** * Get explicit Managed Service Identity Id. * * @return the xManagedServiceIdentityId value */
public Integer xManagedServiceIdentityId() { return this.xManagedServiceIdentityId; }
Set explicit Managed Service Identity Id.
Params:
  • xManagedServiceIdentityId – the xManagedServiceIdentityId value to set
Returns:the SiteConfig object itself.
/** * Set explicit Managed Service Identity Id. * * @param xManagedServiceIdentityId the xManagedServiceIdentityId value to set * @return the SiteConfig object itself. */
public SiteConfig withXManagedServiceIdentityId(Integer xManagedServiceIdentityId) { this.xManagedServiceIdentityId = xManagedServiceIdentityId; return this; }
Get iP security restrictions for main.
Returns:the ipSecurityRestrictions value
/** * Get iP security restrictions for main. * * @return the ipSecurityRestrictions value */
public List<IpSecurityRestriction> ipSecurityRestrictions() { return this.ipSecurityRestrictions; }
Set iP security restrictions for main.
Params:
  • ipSecurityRestrictions – the ipSecurityRestrictions value to set
Returns:the SiteConfig object itself.
/** * Set iP security restrictions for main. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfig object itself. */
public SiteConfig withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions) { this.ipSecurityRestrictions = ipSecurityRestrictions; return this; }
Get iP security restrictions for scm.
Returns:the scmIpSecurityRestrictions value
/** * Get iP security restrictions for scm. * * @return the scmIpSecurityRestrictions value */
public List<IpSecurityRestriction> scmIpSecurityRestrictions() { return this.scmIpSecurityRestrictions; }
Set iP security restrictions for scm.
Params:
  • scmIpSecurityRestrictions – the scmIpSecurityRestrictions value to set
Returns:the SiteConfig object itself.
/** * Set iP security restrictions for scm. * * @param scmIpSecurityRestrictions the scmIpSecurityRestrictions value to set * @return the SiteConfig object itself. */
public SiteConfig withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions) { this.scmIpSecurityRestrictions = scmIpSecurityRestrictions; return this; }
Get iP security restrictions for scm to use main.
Returns:the scmIpSecurityRestrictionsUseMain value
/** * Get iP security restrictions for scm to use main. * * @return the scmIpSecurityRestrictionsUseMain value */
public Boolean scmIpSecurityRestrictionsUseMain() { return this.scmIpSecurityRestrictionsUseMain; }
Set iP security restrictions for scm to use main.
Params:
  • scmIpSecurityRestrictionsUseMain – the scmIpSecurityRestrictionsUseMain value to set
Returns:the SiteConfig object itself.
/** * Set iP security restrictions for scm to use main. * * @param scmIpSecurityRestrictionsUseMain the scmIpSecurityRestrictionsUseMain value to set * @return the SiteConfig object itself. */
public SiteConfig withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain) { this.scmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain; return this; }
Get http20Enabled: configures a web site to allow clients to connect over http2.0.
Returns:the http20Enabled value
/** * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * * @return the http20Enabled value */
public Boolean http20Enabled() { return this.http20Enabled; }
Set http20Enabled: configures a web site to allow clients to connect over http2.0.
Params:
  • http20Enabled – the http20Enabled value to set
Returns:the SiteConfig object itself.
/** * Set http20Enabled: configures a web site to allow clients to connect over http2.0. * * @param http20Enabled the http20Enabled value to set * @return the SiteConfig object itself. */
public SiteConfig withHttp20Enabled(Boolean http20Enabled) { this.http20Enabled = http20Enabled; return this; }
Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'.
Returns:the minTlsVersion value
/** * Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @return the minTlsVersion value */
public SupportedTlsVersions minTlsVersion() { return this.minTlsVersion; }
Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'.
Params:
  • minTlsVersion – the minTlsVersion value to set
Returns:the SiteConfig object itself.
/** * Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @param minTlsVersion the minTlsVersion value to set * @return the SiteConfig object itself. */
public SiteConfig withMinTlsVersion(SupportedTlsVersions minTlsVersion) { this.minTlsVersion = minTlsVersion; return this; }
Get state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'.
Returns:the ftpsState value
/** * Get state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'. * * @return the ftpsState value */
public FtpsState ftpsState() { return this.ftpsState; }
Set state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'.
Params:
  • ftpsState – the ftpsState value to set
Returns:the SiteConfig object itself.
/** * Set state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'. * * @param ftpsState the ftpsState value to set * @return the SiteConfig object itself. */
public SiteConfig withFtpsState(FtpsState ftpsState) { this.ftpsState = ftpsState; return this; }
Get number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.
Returns:the preWarmedInstanceCount value
/** * Get number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans. * * @return the preWarmedInstanceCount value */
public Integer preWarmedInstanceCount() { return this.preWarmedInstanceCount; }
Set number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.
Params:
  • preWarmedInstanceCount – the preWarmedInstanceCount value to set
Returns:the SiteConfig object itself.
/** * Set number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans. * * @param preWarmedInstanceCount the preWarmedInstanceCount value to set * @return the SiteConfig object itself. */
public SiteConfig withPreWarmedInstanceCount(Integer preWarmedInstanceCount) { this.preWarmedInstanceCount = preWarmedInstanceCount; return this; }
Get health check path.
Returns:the healthCheckPath value
/** * Get health check path. * * @return the healthCheckPath value */
public String healthCheckPath() { return this.healthCheckPath; }
Set health check path.
Params:
  • healthCheckPath – the healthCheckPath value to set
Returns:the SiteConfig object itself.
/** * Set health check path. * * @param healthCheckPath the healthCheckPath value to set * @return the SiteConfig object itself. */
public SiteConfig withHealthCheckPath(String healthCheckPath) { this.healthCheckPath = healthCheckPath; return this; } }