WebAppBase.UpdateStages.WithSiteConfigs<FluentT> Interface
Type Parameters
- FluentT
the type of the resource
public static interface WebAppBase.UpdateStages.WithSiteConfigs<FluentT>
The stage of the web app update allowing other configurations to be set. These configurations can be cloned when creating or swapping with a deployment slot.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update<FluentT> |
withAutoSwapSlotName(String slotName)
Specifies the slot name to auto-swap when a deployment is completed in this web app / deployment slot. |
abstract Update<FluentT> |
withDefaultDocument(String document)
Adds a default document. |
abstract Update<FluentT> |
withDefaultDocuments(List<String> documents)
Adds a list of default documents. |
abstract Update<FluentT> |
withFtpsState(FtpsState ftpsState)
Sets whether the web app supports certain type of FTP(S). |
abstract Update<FluentT> |
withHttp20Enabled(boolean http20Enabled)
Sets whether the web app accepts HTTP 2.0 traffic. |
abstract Update<FluentT> |
withHttpsOnly(boolean httpsOnly)
Sets whether the web app only accepts HTTPS traffic. |
abstract
With |
withJavaVersion(JavaVersion version)
Specifies the Java version. |
abstract Update<FluentT> |
withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Specifies the managed pipeline mode. |
abstract Update<FluentT> |
withMinTlsVersion(SupportedTlsVersions minTlsVersion)
Sets the minimum version of TLS required for SSL requests. |
abstract Update<FluentT> |
withNetFrameworkVersion(NetFrameworkVersion version)
Specifies the .NET Framework version. |
abstract Update<FluentT> |
withoutDefaultDocument(String document)
Removes a default document. |
abstract Update<FluentT> |
withoutJava()
Turn off Java support. |
abstract Update<FluentT> |
withoutPhp()
Turn off PHP support. |
abstract Update<FluentT> |
withoutPython()
Turn off Python support. |
abstract Update<FluentT> |
withPhpVersion(PhpVersion version)
Specifies the PHP version. |
abstract Update<FluentT> |
withPlatformArchitecture(PlatformArchitecture platform)
Specifies the platform architecture to use. |
abstract Update<FluentT> |
withPythonVersion(PythonVersion version)
Specifies the Python version. |
abstract Update<FluentT> |
withRemoteDebuggingDisabled()
Disables remote debugging. |
abstract Update<FluentT> |
withRemoteDebuggingEnabled(RemoteVisualStudioVersion remoteVisualStudioVersion)
Specifies the Visual Studio version for remote debugging. |
abstract Update<FluentT> |
withVirtualApplications(List<VirtualApplication> virtualApplications)
Sets the virtual applications in the web app. |
abstract Update<FluentT> |
withWebAppAlwaysOn(boolean alwaysOn)
Specifies if the VM powering the web app is always powered on. |
abstract Update<FluentT> |
withWebSocketsEnabled(boolean enabled)
Specifies if web sockets are enabled. |
Method Details
withAutoSwapSlotName
public abstract WebAppBase.Update<FluentT> withAutoSwapSlotName(String slotName)
Specifies the slot name to auto-swap when a deployment is completed in this web app / deployment slot.
Parameters:
Returns:
withDefaultDocument
public abstract WebAppBase.Update<FluentT> withDefaultDocument(String document)
Adds a default document.
Parameters:
Returns:
withDefaultDocuments
public abstract WebAppBase.Update<FluentT> withDefaultDocuments(List<String> documents)
Adds a list of default documents.
Parameters:
Returns:
withFtpsState
public abstract WebAppBase.Update<FluentT> withFtpsState(FtpsState ftpsState)
Sets whether the web app supports certain type of FTP(S).
Parameters:
Returns:
withHttp20Enabled
public abstract WebAppBase.Update<FluentT> withHttp20Enabled(boolean http20Enabled)
Sets whether the web app accepts HTTP 2.0 traffic.
Parameters:
Returns:
withHttpsOnly
public abstract WebAppBase.Update<FluentT> withHttpsOnly(boolean httpsOnly)
Sets whether the web app only accepts HTTPS traffic.
Parameters:
Returns:
withJavaVersion
public abstract WebAppBase.UpdateStages.WithWebContainer<FluentT> withJavaVersion(JavaVersion version)
Specifies the Java version.
Parameters:
Returns:
withManagedPipelineMode
public abstract WebAppBase.Update<FluentT> withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Specifies the managed pipeline mode.
Parameters:
Returns:
withMinTlsVersion
public abstract WebAppBase.Update<FluentT> withMinTlsVersion(SupportedTlsVersions minTlsVersion)
Sets the minimum version of TLS required for SSL requests.
Parameters:
Returns:
withNetFrameworkVersion
public abstract WebAppBase.Update<FluentT> withNetFrameworkVersion(NetFrameworkVersion version)
Specifies the .NET Framework version.
Parameters:
Returns:
withoutDefaultDocument
public abstract WebAppBase.Update<FluentT> withoutDefaultDocument(String document)
Removes a default document.
Parameters:
Returns:
withoutJava
public abstract WebAppBase.Update<FluentT> withoutJava()
Turn off Java support.
Returns:
withoutPhp
public abstract WebAppBase.Update<FluentT> withoutPhp()
Turn off PHP support.
Returns:
withoutPython
public abstract WebAppBase.Update<FluentT> withoutPython()
Turn off Python support.
Returns:
withPhpVersion
public abstract WebAppBase.Update<FluentT> withPhpVersion(PhpVersion version)
Specifies the PHP version.
Parameters:
Returns:
withPlatformArchitecture
public abstract WebAppBase.Update<FluentT> withPlatformArchitecture(PlatformArchitecture platform)
Specifies the platform architecture to use.
Parameters:
Returns:
withPythonVersion
public abstract WebAppBase.Update<FluentT> withPythonVersion(PythonVersion version)
Specifies the Python version.
Parameters:
Returns:
withRemoteDebuggingDisabled
public abstract WebAppBase.Update<FluentT> withRemoteDebuggingDisabled()
Disables remote debugging.
Returns:
withRemoteDebuggingEnabled
public abstract WebAppBase.Update<FluentT> withRemoteDebuggingEnabled(RemoteVisualStudioVersion remoteVisualStudioVersion)
Specifies the Visual Studio version for remote debugging.
Parameters:
Returns:
withVirtualApplications
public abstract WebAppBase.Update<FluentT> withVirtualApplications(List<VirtualApplication> virtualApplications)
Sets the virtual applications in the web app.
Parameters:
Returns:
withWebAppAlwaysOn
public abstract WebAppBase.Update<FluentT> withWebAppAlwaysOn(boolean alwaysOn)
Specifies if the VM powering the web app is always powered on.
Parameters:
Returns:
withWebSocketsEnabled
public abstract WebAppBase.Update<FluentT> withWebSocketsEnabled(boolean enabled)
Specifies if web sockets are enabled.
Parameters:
Returns: