SiteConfigInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.SiteConfigInner

Implements

public final class SiteConfigInner
implements JsonSerializable<SiteConfigInner>

Configuration of an App Service app.

Constructor Summary

Constructor Description
SiteConfigInner()

Creates an instance of SiteConfigInner class.

Method Summary

Modifier and Type Method and Description
Boolean acrUseManagedIdentityCreds()

Get the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.

String acrUserManagedIdentityId()

Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.

Boolean alwaysOn()

Get the alwaysOn property: true if Always On is enabled; otherwise, false.

ApiDefinitionInfo apiDefinition()

Get the apiDefinition property: Information about the formal API definition for the app.

ApiManagementConfig apiManagementConfig()

Get the apiManagementConfig property: Azure API management settings linked to the app.

String appCommandLine()

Get the appCommandLine property: App command line to launch.

List<NameValuePair> appSettings()

Get the appSettings property: Application settings.

Boolean autoHealEnabled()

Get the autoHealEnabled property: true if Auto Heal is enabled; otherwise, false.

AutoHealRules autoHealRules()

Get the autoHealRules property: Auto Heal rules.

String autoSwapSlotName()

Get the autoSwapSlotName property: Auto-swap slot name.

Map<String,AzureStorageInfoValue> azureStorageAccounts()

Get the azureStorageAccounts property: List of Azure Storage Accounts.

List<ConnStringInfo> connectionStrings()

Get the connectionStrings property: Connection strings.

CorsSettings cors()

Get the cors property: Cross-Origin Resource Sharing (CORS) settings.

List<String> defaultDocuments()

Get the defaultDocuments property: Default documents.

Boolean detailedErrorLoggingEnabled()

Get the detailedErrorLoggingEnabled property: true if detailed error logging is enabled; otherwise, false.

String documentRoot()

Get the documentRoot property: Document root.

Integer elasticWebAppScaleLimit()

Get the elasticWebAppScaleLimit property: Maximum number of workers that a site can scale out to.

Experiments experiments()

Get the experiments property: This is work around for polymorphic types.

static SiteConfigInner fromJson(JsonReader jsonReader)

Reads an instance of SiteConfigInner from the JsonReader.

FtpsState ftpsState()

Get the ftpsState property: State of FTP / FTPS service.

Integer functionAppScaleLimit()

Get the functionAppScaleLimit property: Maximum number of workers that a site can scale out to.

Boolean functionsRuntimeScaleMonitoringEnabled()

Get the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled.

List<HandlerMapping> handlerMappings()

Get the handlerMappings property: Handler mappings.

String healthCheckPath()

Get the healthCheckPath property: Health check path.

Boolean http20Enabled()

Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.

Boolean httpLoggingEnabled()

Get the httpLoggingEnabled property: true if HTTP logging is enabled; otherwise, false.

List<IpSecurityRestriction> ipSecurityRestrictions()

Get the ipSecurityRestrictions property: IP security restrictions for main.

DefaultAction ipSecurityRestrictionsDefaultAction()

Get the ipSecurityRestrictionsDefaultAction property: Default action for main access restriction if no rules are matched.

String javaContainer()

Get the javaContainer property: Java container.

String javaContainerVersion()

Get the javaContainerVersion property: Java container version.

String javaVersion()

Get the javaVersion property: Java version.

String keyVaultReferenceIdentity()

Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.

SiteLimits limits()

Get the limits property: Site limits.

String linuxFxVersion()

Get the linuxFxVersion property: Linux App Framework and version.

SiteLoadBalancing loadBalancing()

Get the loadBalancing property: Site load balancing.

Boolean localMySqlEnabled()

Get the localMySqlEnabled property: true to enable local MySQL; otherwise, false.

Integer logsDirectorySizeLimit()

Get the logsDirectorySizeLimit property: HTTP logs directory size limit.

SiteMachineKey machineKey()

Get the machineKey property: Site MachineKey.

ManagedPipelineMode managedPipelineMode()

Get the managedPipelineMode property: Managed pipeline mode.

Integer managedServiceIdentityId()

Get the managedServiceIdentityId property: Managed Service Identity Id.

List<NameValuePair> metadata()

Get the metadata property: Application metadata.

TlsCipherSuites minTlsCipherSuite()

Get the minTlsCipherSuite property: The minimum strength TLS cipher suite allowed for an application.

SupportedTlsVersions minTlsVersion()

Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.

Integer minimumElasticInstanceCount()

Get the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.

String netFrameworkVersion()

Get the netFrameworkVersion property: .NET Framework version.

String nodeVersion()

Get the nodeVersion property: Version of Node.js.

Integer numberOfWorkers()

Get the numberOfWorkers property: Number of workers.

String phpVersion()

Get the phpVersion property: Version of PHP.

String powerShellVersion()

Get the powerShellVersion property: Version of PowerShell.

Integer preWarmedInstanceCount()

Get the preWarmedInstanceCount property: Number of preWarmed instances.

String publicNetworkAccess()

Get the publicNetworkAccess property: Property to allow or block all public traffic.

String publishingUsername()

Get the publishingUsername property: Publishing user name.

PushSettingsInner push()

Get the push property: Push endpoint settings.

String pythonVersion()

Get the pythonVersion property: Version of Python.

Boolean remoteDebuggingEnabled()

Get the remoteDebuggingEnabled property: true if remote debugging is enabled; otherwise, false.

String remoteDebuggingVersion()

Get the remoteDebuggingVersion property: Remote debugging version.

Boolean requestTracingEnabled()

Get the requestTracingEnabled property: true if request tracing is enabled; otherwise, false.

OffsetDateTime requestTracingExpirationTime()

Get the requestTracingExpirationTime property: Request tracing expiration time.

List<IpSecurityRestriction> scmIpSecurityRestrictions()

Get the scmIpSecurityRestrictions property: IP security restrictions for scm.

DefaultAction scmIpSecurityRestrictionsDefaultAction()

Get the scmIpSecurityRestrictionsDefaultAction property: Default action for scm access restriction if no rules are matched.

Boolean scmIpSecurityRestrictionsUseMain()

Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.

SupportedTlsVersions scmMinTlsVersion()

Get the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.

ScmType scmType()

Get the scmType property: SCM type.

JsonWriter toJson(JsonWriter jsonWriter)
String tracingOptions()

Get the tracingOptions property: Tracing options.

Boolean use32BitWorkerProcess()

Get the use32BitWorkerProcess property: true to use 32-bit worker process; otherwise, false.

void validate()

Validates the instance.

List<VirtualApplication> virtualApplications()

Get the virtualApplications property: Virtual applications.

String vnetName()

Get the vnetName property: Virtual Network name.

Integer vnetPrivatePortsCount()

Get the vnetPrivatePortsCount property: The number of private ports assigned to this app.

Boolean vnetRouteAllEnabled()

Get the vnetRouteAllEnabled property: Virtual Network Route All enabled.

Boolean webSocketsEnabled()

Get the webSocketsEnabled property: true if WebSocket is enabled; otherwise, false.

String websiteTimeZone()

Get the websiteTimeZone property: Sets the time zone a site uses for generating timestamps.

String windowsFxVersion()

Get the windowsFxVersion property: Xenon App Framework and version.

SiteConfigInner withAcrUseManagedIdentityCreds(Boolean acrUseManagedIdentityCreds)

Set the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.

SiteConfigInner withAcrUserManagedIdentityId(String acrUserManagedIdentityId)

Set the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.

SiteConfigInner withAlwaysOn(Boolean alwaysOn)

Set the alwaysOn property: true if Always On is enabled; otherwise, false.

SiteConfigInner withApiDefinition(ApiDefinitionInfo apiDefinition)

Set the apiDefinition property: Information about the formal API definition for the app.

SiteConfigInner withApiManagementConfig(ApiManagementConfig apiManagementConfig)

Set the apiManagementConfig property: Azure API management settings linked to the app.

SiteConfigInner withAppCommandLine(String appCommandLine)

Set the appCommandLine property: App command line to launch.

SiteConfigInner withAppSettings(List<NameValuePair> appSettings)

Set the appSettings property: Application settings.

SiteConfigInner withAutoHealEnabled(Boolean autoHealEnabled)

Set the autoHealEnabled property: true if Auto Heal is enabled; otherwise, false.

SiteConfigInner withAutoHealRules(AutoHealRules autoHealRules)

Set the autoHealRules property: Auto Heal rules.

SiteConfigInner withAutoSwapSlotName(String autoSwapSlotName)

Set the autoSwapSlotName property: Auto-swap slot name.

SiteConfigInner withAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)

Set the azureStorageAccounts property: List of Azure Storage Accounts.

SiteConfigInner withConnectionStrings(List<ConnStringInfo> connectionStrings)

Set the connectionStrings property: Connection strings.

SiteConfigInner withCors(CorsSettings cors)

Set the cors property: Cross-Origin Resource Sharing (CORS) settings.

SiteConfigInner withDefaultDocuments(List<String> defaultDocuments)

Set the defaultDocuments property: Default documents.

SiteConfigInner withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)

Set the detailedErrorLoggingEnabled property: true if detailed error logging is enabled; otherwise, false.

SiteConfigInner withDocumentRoot(String documentRoot)

Set the documentRoot property: Document root.

SiteConfigInner withElasticWebAppScaleLimit(Integer elasticWebAppScaleLimit)

Set the elasticWebAppScaleLimit property: Maximum number of workers that a site can scale out to.

SiteConfigInner withExperiments(Experiments experiments)

Set the experiments property: This is work around for polymorphic types.

SiteConfigInner withFtpsState(FtpsState ftpsState)

Set the ftpsState property: State of FTP / FTPS service.

SiteConfigInner withFunctionAppScaleLimit(Integer functionAppScaleLimit)

Set the functionAppScaleLimit property: Maximum number of workers that a site can scale out to.

SiteConfigInner withFunctionsRuntimeScaleMonitoringEnabled(Boolean functionsRuntimeScaleMonitoringEnabled)

Set the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled.

SiteConfigInner withHandlerMappings(List<HandlerMapping> handlerMappings)

Set the handlerMappings property: Handler mappings.

SiteConfigInner withHealthCheckPath(String healthCheckPath)

Set the healthCheckPath property: Health check path.

SiteConfigInner withHttp20Enabled(Boolean http20Enabled)

Set the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.

SiteConfigInner withHttpLoggingEnabled(Boolean httpLoggingEnabled)

Set the httpLoggingEnabled property: true if HTTP logging is enabled; otherwise, false.

SiteConfigInner withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)

Set the ipSecurityRestrictions property: IP security restrictions for main.

SiteConfigInner withIpSecurityRestrictionsDefaultAction(DefaultAction ipSecurityRestrictionsDefaultAction)

Set the ipSecurityRestrictionsDefaultAction property: Default action for main access restriction if no rules are matched.

SiteConfigInner withJavaContainer(String javaContainer)

Set the javaContainer property: Java container.

SiteConfigInner withJavaContainerVersion(String javaContainerVersion)

Set the javaContainerVersion property: Java container version.

SiteConfigInner withJavaVersion(String javaVersion)

Set the javaVersion property: Java version.

SiteConfigInner withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)

Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.

SiteConfigInner withLimits(SiteLimits limits)

Set the limits property: Site limits.

SiteConfigInner withLinuxFxVersion(String linuxFxVersion)

Set the linuxFxVersion property: Linux App Framework and version.

SiteConfigInner withLoadBalancing(SiteLoadBalancing loadBalancing)

Set the loadBalancing property: Site load balancing.

SiteConfigInner withLocalMySqlEnabled(Boolean localMySqlEnabled)

Set the localMySqlEnabled property: true to enable local MySQL; otherwise, false.

SiteConfigInner withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)

Set the logsDirectorySizeLimit property: HTTP logs directory size limit.

SiteConfigInner withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Set the managedPipelineMode property: Managed pipeline mode.

SiteConfigInner withManagedServiceIdentityId(Integer managedServiceIdentityId)

Set the managedServiceIdentityId property: Managed Service Identity Id.

SiteConfigInner withMetadata(List<NameValuePair> metadata)

Set the metadata property: Application metadata.

SiteConfigInner withMinTlsCipherSuite(TlsCipherSuites minTlsCipherSuite)

Set the minTlsCipherSuite property: The minimum strength TLS cipher suite allowed for an application.

SiteConfigInner withMinTlsVersion(SupportedTlsVersions minTlsVersion)

Set the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.

SiteConfigInner withMinimumElasticInstanceCount(Integer minimumElasticInstanceCount)

Set the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.

SiteConfigInner withNetFrameworkVersion(String netFrameworkVersion)

Set the netFrameworkVersion property: .NET Framework version.

SiteConfigInner withNodeVersion(String nodeVersion)

Set the nodeVersion property: Version of Node.js.

SiteConfigInner withNumberOfWorkers(Integer numberOfWorkers)

Set the numberOfWorkers property: Number of workers.

SiteConfigInner withPhpVersion(String phpVersion)

Set the phpVersion property: Version of PHP.

SiteConfigInner withPowerShellVersion(String powerShellVersion)

Set the powerShellVersion property: Version of PowerShell.

SiteConfigInner withPreWarmedInstanceCount(Integer preWarmedInstanceCount)

Set the preWarmedInstanceCount property: Number of preWarmed instances.

SiteConfigInner withPublicNetworkAccess(String publicNetworkAccess)

Set the publicNetworkAccess property: Property to allow or block all public traffic.

SiteConfigInner withPublishingUsername(String publishingUsername)

Set the publishingUsername property: Publishing user name.

SiteConfigInner withPush(PushSettingsInner push)

Set the push property: Push endpoint settings.

SiteConfigInner withPythonVersion(String pythonVersion)

Set the pythonVersion property: Version of Python.

SiteConfigInner withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)

Set the remoteDebuggingEnabled property: true if remote debugging is enabled; otherwise, false.

SiteConfigInner withRemoteDebuggingVersion(String remoteDebuggingVersion)

Set the remoteDebuggingVersion property: Remote debugging version.

SiteConfigInner withRequestTracingEnabled(Boolean requestTracingEnabled)

Set the requestTracingEnabled property: true if request tracing is enabled; otherwise, false.

SiteConfigInner withRequestTracingExpirationTime(OffsetDateTime requestTracingExpirationTime)

Set the requestTracingExpirationTime property: Request tracing expiration time.

SiteConfigInner withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)

Set the scmIpSecurityRestrictions property: IP security restrictions for scm.

SiteConfigInner withScmIpSecurityRestrictionsDefaultAction(DefaultAction scmIpSecurityRestrictionsDefaultAction)

Set the scmIpSecurityRestrictionsDefaultAction property: Default action for scm access restriction if no rules are matched.

SiteConfigInner withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)

Set the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.

SiteConfigInner withScmMinTlsVersion(SupportedTlsVersions scmMinTlsVersion)

Set the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.

SiteConfigInner withScmType(ScmType scmType)

Set the scmType property: SCM type.

SiteConfigInner withTracingOptions(String tracingOptions)

Set the tracingOptions property: Tracing options.

SiteConfigInner withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)

Set the use32BitWorkerProcess property: true to use 32-bit worker process; otherwise, false.

SiteConfigInner withVirtualApplications(List<VirtualApplication> virtualApplications)

Set the virtualApplications property: Virtual applications.

SiteConfigInner withVnetName(String vnetName)

Set the vnetName property: Virtual Network name.

SiteConfigInner withVnetPrivatePortsCount(Integer vnetPrivatePortsCount)

Set the vnetPrivatePortsCount property: The number of private ports assigned to this app.

SiteConfigInner withVnetRouteAllEnabled(Boolean vnetRouteAllEnabled)

Set the vnetRouteAllEnabled property: Virtual Network Route All enabled.

SiteConfigInner withWebSocketsEnabled(Boolean webSocketsEnabled)

Set the webSocketsEnabled property: true if WebSocket is enabled; otherwise, false.

SiteConfigInner withWebsiteTimeZone(String websiteTimeZone)

Set the websiteTimeZone property: Sets the time zone a site uses for generating timestamps.

SiteConfigInner withWindowsFxVersion(String windowsFxVersion)

Set the windowsFxVersion property: Xenon App Framework and version.

SiteConfigInner withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)

Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.

Integer xManagedServiceIdentityId()

Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.

Methods inherited from java.lang.Object

Constructor Details

SiteConfigInner

public SiteConfigInner()

Creates an instance of SiteConfigInner class.

Method Details

acrUseManagedIdentityCreds

public Boolean acrUseManagedIdentityCreds()

Get the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.

Returns:

the acrUseManagedIdentityCreds value.

acrUserManagedIdentityId

public String acrUserManagedIdentityId()

Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.

Returns:

the acrUserManagedIdentityId value.

alwaysOn

public Boolean alwaysOn()

Get the alwaysOn property: true if Always On is enabled; otherwise, false.

Returns:

the alwaysOn value.

apiDefinition

public ApiDefinitionInfo apiDefinition()

Get the apiDefinition property: Information about the formal API definition for the app.

Returns:

the apiDefinition value.

apiManagementConfig

public ApiManagementConfig apiManagementConfig()

Get the apiManagementConfig property: Azure API management settings linked to the app.

Returns:

the apiManagementConfig value.

appCommandLine

public String appCommandLine()

Get the appCommandLine property: App command line to launch.

Returns:

the appCommandLine value.

appSettings

public List appSettings()

Get the appSettings property: Application settings.

Returns:

the appSettings value.

autoHealEnabled

public Boolean autoHealEnabled()

Get the autoHealEnabled property: true if Auto Heal is enabled; otherwise, false.

Returns:

the autoHealEnabled value.

autoHealRules

public AutoHealRules autoHealRules()

Get the autoHealRules property: Auto Heal rules.

Returns:

the autoHealRules value.

autoSwapSlotName

public String autoSwapSlotName()

Get the autoSwapSlotName property: Auto-swap slot name.

Returns:

the autoSwapSlotName value.

azureStorageAccounts

public Map azureStorageAccounts()

Get the azureStorageAccounts property: List of Azure Storage Accounts.

Returns:

the azureStorageAccounts value.

connectionStrings

public List connectionStrings()

Get the connectionStrings property: Connection strings.

Returns:

the connectionStrings value.

cors

public CorsSettings cors()

Get the cors property: Cross-Origin Resource Sharing (CORS) settings.

Returns:

the cors value.

defaultDocuments

public List defaultDocuments()

Get the defaultDocuments property: Default documents.

Returns:

the defaultDocuments value.

detailedErrorLoggingEnabled

public Boolean detailedErrorLoggingEnabled()

Get the detailedErrorLoggingEnabled property: true if detailed error logging is enabled; otherwise, false.

Returns:

the detailedErrorLoggingEnabled value.

documentRoot

public String documentRoot()

Get the documentRoot property: Document root.

Returns:

the documentRoot value.

elasticWebAppScaleLimit

public Integer elasticWebAppScaleLimit()

Get the elasticWebAppScaleLimit property: Maximum number of workers that a site can scale out to. This setting only applies to apps in plans where ElasticScaleEnabled is true.

Returns:

the elasticWebAppScaleLimit value.

experiments

public Experiments experiments()

Get the experiments property: This is work around for polymorphic types.

Returns:

the experiments value.

fromJson

public static SiteConfigInner fromJson(JsonReader jsonReader)

Reads an instance of SiteConfigInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SiteConfigInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SiteConfigInner.

ftpsState

public FtpsState ftpsState()

Get the ftpsState property: State of FTP / FTPS service.

Returns:

the ftpsState value.

functionAppScaleLimit

public Integer functionAppScaleLimit()

Get the functionAppScaleLimit property: Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium Plans.

Returns:

the functionAppScaleLimit value.

functionsRuntimeScaleMonitoringEnabled

public Boolean functionsRuntimeScaleMonitoringEnabled()

Get the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled, the ScaleController will not monitor event sources directly, but will instead call to the runtime to get scale status.

Returns:

the functionsRuntimeScaleMonitoringEnabled value.

handlerMappings

public List handlerMappings()

Get the handlerMappings property: Handler mappings.

Returns:

the handlerMappings value.

healthCheckPath

public String healthCheckPath()

Get the healthCheckPath property: Health check path.

Returns:

the healthCheckPath value.

http20Enabled

public Boolean http20Enabled()

Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.

Returns:

the http20Enabled value.

httpLoggingEnabled

public Boolean httpLoggingEnabled()

Get the httpLoggingEnabled property: true if HTTP logging is enabled; otherwise, false.

Returns:

the httpLoggingEnabled value.

ipSecurityRestrictions

public List ipSecurityRestrictions()

Get the ipSecurityRestrictions property: IP security restrictions for main.

Returns:

the ipSecurityRestrictions value.

ipSecurityRestrictionsDefaultAction

public DefaultAction ipSecurityRestrictionsDefaultAction()

Get the ipSecurityRestrictionsDefaultAction property: Default action for main access restriction if no rules are matched.

Returns:

the ipSecurityRestrictionsDefaultAction value.

javaContainer

public String javaContainer()

Get the javaContainer property: Java container.

Returns:

the javaContainer value.

javaContainerVersion

public String javaContainerVersion()

Get the javaContainerVersion property: Java container version.

Returns:

the javaContainerVersion value.

javaVersion

public String javaVersion()

Get the javaVersion property: Java version.

Returns:

the javaVersion value.

keyVaultReferenceIdentity

public String keyVaultReferenceIdentity()

Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.

Returns:

the keyVaultReferenceIdentity value.

limits

public SiteLimits limits()

Get the limits property: Site limits.

Returns:

the limits value.

linuxFxVersion

public String linuxFxVersion()

Get the linuxFxVersion property: Linux App Framework and version.

Returns:

the linuxFxVersion value.

loadBalancing

public SiteLoadBalancing loadBalancing()

Get the loadBalancing property: Site load balancing.

Returns:

the loadBalancing value.

localMySqlEnabled

public Boolean localMySqlEnabled()

Get the localMySqlEnabled property: true to enable local MySQL; otherwise, false.

Returns:

the localMySqlEnabled value.

logsDirectorySizeLimit

public Integer logsDirectorySizeLimit()

Get the logsDirectorySizeLimit property: HTTP logs directory size limit.

Returns:

the logsDirectorySizeLimit value.

machineKey

public SiteMachineKey machineKey()

Get the machineKey property: Site MachineKey.

Returns:

the machineKey value.

managedPipelineMode

public ManagedPipelineMode managedPipelineMode()

Get the managedPipelineMode property: Managed pipeline mode.

Returns:

the managedPipelineMode value.

managedServiceIdentityId

public Integer managedServiceIdentityId()

Get the managedServiceIdentityId property: Managed Service Identity Id.

Returns:

the managedServiceIdentityId value.

metadata

public List metadata()

Get the metadata property: Application metadata. This property cannot be retrieved, since it may contain secrets.

Returns:

the metadata value.

minTlsCipherSuite

public TlsCipherSuites minTlsCipherSuite()

Get the minTlsCipherSuite property: The minimum strength TLS cipher suite allowed for an application.

Returns:

the minTlsCipherSuite value.

minTlsVersion

public SupportedTlsVersions minTlsVersion()

Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.

Returns:

the minTlsVersion value.

minimumElasticInstanceCount

public Integer minimumElasticInstanceCount()

Get the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.

Returns:

the minimumElasticInstanceCount value.

netFrameworkVersion

public String netFrameworkVersion()

Get the netFrameworkVersion property: .NET Framework version.

Returns:

the netFrameworkVersion value.

nodeVersion

public String nodeVersion()

Get the nodeVersion property: Version of Node.js.

Returns:

the nodeVersion value.

numberOfWorkers

public Integer numberOfWorkers()

Get the numberOfWorkers property: Number of workers.

Returns:

the numberOfWorkers value.

phpVersion

public String phpVersion()

Get the phpVersion property: Version of PHP.

Returns:

the phpVersion value.

powerShellVersion

public String powerShellVersion()

Get the powerShellVersion property: Version of PowerShell.

Returns:

the powerShellVersion value.

preWarmedInstanceCount

public Integer preWarmedInstanceCount()

Get the preWarmedInstanceCount property: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.

Returns:

the preWarmedInstanceCount value.

publicNetworkAccess

public String publicNetworkAccess()

Get the publicNetworkAccess property: Property to allow or block all public traffic.

Returns:

the publicNetworkAccess value.

publishingUsername

public String publishingUsername()

Get the publishingUsername property: Publishing user name.

Returns:

the publishingUsername value.

push

public PushSettingsInner push()

Get the push property: Push endpoint settings.

Returns:

the push value.

pythonVersion

public String pythonVersion()

Get the pythonVersion property: Version of Python.

Returns:

the pythonVersion value.

remoteDebuggingEnabled

public Boolean remoteDebuggingEnabled()

Get the remoteDebuggingEnabled property: true if remote debugging is enabled; otherwise, false.

Returns:

the remoteDebuggingEnabled value.

remoteDebuggingVersion

public String remoteDebuggingVersion()

Get the remoteDebuggingVersion property: Remote debugging version.

Returns:

the remoteDebuggingVersion value.

requestTracingEnabled

public Boolean requestTracingEnabled()

Get the requestTracingEnabled property: true if request tracing is enabled; otherwise, false.

Returns:

the requestTracingEnabled value.

requestTracingExpirationTime

public OffsetDateTime requestTracingExpirationTime()

Get the requestTracingExpirationTime property: Request tracing expiration time.

Returns:

the requestTracingExpirationTime value.

scmIpSecurityRestrictions

public List scmIpSecurityRestrictions()

Get the scmIpSecurityRestrictions property: IP security restrictions for scm.

Returns:

the scmIpSecurityRestrictions value.

scmIpSecurityRestrictionsDefaultAction

public DefaultAction scmIpSecurityRestrictionsDefaultAction()

Get the scmIpSecurityRestrictionsDefaultAction property: Default action for scm access restriction if no rules are matched.

Returns:

the scmIpSecurityRestrictionsDefaultAction value.

scmIpSecurityRestrictionsUseMain

public Boolean scmIpSecurityRestrictionsUseMain()

Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.

Returns:

the scmIpSecurityRestrictionsUseMain value.

scmMinTlsVersion

public SupportedTlsVersions scmMinTlsVersion()

Get the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.

Returns:

the scmMinTlsVersion value.

scmType

public ScmType scmType()

Get the scmType property: SCM type.

Returns:

the scmType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tracingOptions

public String tracingOptions()

Get the tracingOptions property: Tracing options.

Returns:

the tracingOptions value.

use32BitWorkerProcess

public Boolean use32BitWorkerProcess()

Get the use32BitWorkerProcess property: true to use 32-bit worker process; otherwise, false.

Returns:

the use32BitWorkerProcess value.

validate

public void validate()

Validates the instance.

virtualApplications

public List virtualApplications()

Get the virtualApplications property: Virtual applications.

Returns:

the virtualApplications value.

vnetName

public String vnetName()

Get the vnetName property: Virtual Network name.

Returns:

the vnetName value.

vnetPrivatePortsCount

public Integer vnetPrivatePortsCount()

Get the vnetPrivatePortsCount property: The number of private ports assigned to this app. These will be assigned dynamically on runtime.

Returns:

the vnetPrivatePortsCount value.

vnetRouteAllEnabled

public Boolean vnetRouteAllEnabled()

Get the vnetRouteAllEnabled property: Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

Returns:

the vnetRouteAllEnabled value.

webSocketsEnabled

public Boolean webSocketsEnabled()

Get the webSocketsEnabled property: true if WebSocket is enabled; otherwise, false.

Returns:

the webSocketsEnabled value.

websiteTimeZone

public String websiteTimeZone()

Get the websiteTimeZone property: Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see https://en.wikipedia.org/wiki/List\_of\_tz\_database\_time\_zones). For Windows, expects one of the time zones listed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.

Returns:

the websiteTimeZone value.

windowsFxVersion

public String windowsFxVersion()

Get the windowsFxVersion property: Xenon App Framework and version.

Returns:

the windowsFxVersion value.

withAcrUseManagedIdentityCreds

public SiteConfigInner withAcrUseManagedIdentityCreds(Boolean acrUseManagedIdentityCreds)

Set the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.

Parameters:

acrUseManagedIdentityCreds - the acrUseManagedIdentityCreds value to set.

Returns:

the SiteConfigInner object itself.

withAcrUserManagedIdentityId

public SiteConfigInner withAcrUserManagedIdentityId(String acrUserManagedIdentityId)

Set the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.

Parameters:

acrUserManagedIdentityId - the acrUserManagedIdentityId value to set.

Returns:

the SiteConfigInner object itself.

withAlwaysOn

public SiteConfigInner withAlwaysOn(Boolean alwaysOn)

Set the alwaysOn property: true if Always On is enabled; otherwise, false.

Parameters:

alwaysOn - the alwaysOn value to set.

Returns:

the SiteConfigInner object itself.

withApiDefinition

public SiteConfigInner withApiDefinition(ApiDefinitionInfo apiDefinition)

Set the apiDefinition property: Information about the formal API definition for the app.

Parameters:

apiDefinition - the apiDefinition value to set.

Returns:

the SiteConfigInner object itself.

withApiManagementConfig

public SiteConfigInner withApiManagementConfig(ApiManagementConfig apiManagementConfig)

Set the apiManagementConfig property: Azure API management settings linked to the app.

Parameters:

apiManagementConfig - the apiManagementConfig value to set.

Returns:

the SiteConfigInner object itself.

withAppCommandLine

public SiteConfigInner withAppCommandLine(String appCommandLine)

Set the appCommandLine property: App command line to launch.

Parameters:

appCommandLine - the appCommandLine value to set.

Returns:

the SiteConfigInner object itself.

withAppSettings

public SiteConfigInner withAppSettings(List appSettings)

Set the appSettings property: Application settings.

Parameters:

appSettings - the appSettings value to set.

Returns:

the SiteConfigInner object itself.

withAutoHealEnabled

public SiteConfigInner withAutoHealEnabled(Boolean autoHealEnabled)

Set the autoHealEnabled property: true if Auto Heal is enabled; otherwise, false.

Parameters:

autoHealEnabled - the autoHealEnabled value to set.

Returns:

the SiteConfigInner object itself.

withAutoHealRules

public SiteConfigInner withAutoHealRules(AutoHealRules autoHealRules)

Set the autoHealRules property: Auto Heal rules.

Parameters:

autoHealRules - the autoHealRules value to set.

Returns:

the SiteConfigInner object itself.

withAutoSwapSlotName

public SiteConfigInner withAutoSwapSlotName(String autoSwapSlotName)

Set the autoSwapSlotName property: Auto-swap slot name.

Parameters:

autoSwapSlotName - the autoSwapSlotName value to set.

Returns:

the SiteConfigInner object itself.

withAzureStorageAccounts

public SiteConfigInner withAzureStorageAccounts(Map azureStorageAccounts)

Set the azureStorageAccounts property: List of Azure Storage Accounts.

Parameters:

azureStorageAccounts - the azureStorageAccounts value to set.

Returns:

the SiteConfigInner object itself.

withConnectionStrings

public SiteConfigInner withConnectionStrings(List connectionStrings)

Set the connectionStrings property: Connection strings.

Parameters:

connectionStrings - the connectionStrings value to set.

Returns:

the SiteConfigInner object itself.

withCors

public SiteConfigInner withCors(CorsSettings cors)

Set the cors property: Cross-Origin Resource Sharing (CORS) settings.

Parameters:

cors - the cors value to set.

Returns:

the SiteConfigInner object itself.

withDefaultDocuments

public SiteConfigInner withDefaultDocuments(List defaultDocuments)

Set the defaultDocuments property: Default documents.

Parameters:

defaultDocuments - the defaultDocuments value to set.

Returns:

the SiteConfigInner object itself.

withDetailedErrorLoggingEnabled

public SiteConfigInner withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)

Set the detailedErrorLoggingEnabled property: true if detailed error logging is enabled; otherwise, false.

Parameters:

detailedErrorLoggingEnabled - the detailedErrorLoggingEnabled value to set.

Returns:

the SiteConfigInner object itself.

withDocumentRoot

public SiteConfigInner withDocumentRoot(String documentRoot)

Set the documentRoot property: Document root.

Parameters:

documentRoot - the documentRoot value to set.

Returns:

the SiteConfigInner object itself.

withElasticWebAppScaleLimit

public SiteConfigInner withElasticWebAppScaleLimit(Integer elasticWebAppScaleLimit)

Set the elasticWebAppScaleLimit property: Maximum number of workers that a site can scale out to. This setting only applies to apps in plans where ElasticScaleEnabled is true.

Parameters:

elasticWebAppScaleLimit - the elasticWebAppScaleLimit value to set.

Returns:

the SiteConfigInner object itself.

withExperiments

public SiteConfigInner withExperiments(Experiments experiments)

Set the experiments property: This is work around for polymorphic types.

Parameters:

experiments - the experiments value to set.

Returns:

the SiteConfigInner object itself.

withFtpsState

public SiteConfigInner withFtpsState(FtpsState ftpsState)

Set the ftpsState property: State of FTP / FTPS service.

Parameters:

ftpsState - the ftpsState value to set.

Returns:

the SiteConfigInner object itself.

withFunctionAppScaleLimit

public SiteConfigInner withFunctionAppScaleLimit(Integer functionAppScaleLimit)

Set the functionAppScaleLimit property: Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium Plans.

Parameters:

functionAppScaleLimit - the functionAppScaleLimit value to set.

Returns:

the SiteConfigInner object itself.

withFunctionsRuntimeScaleMonitoringEnabled

public SiteConfigInner withFunctionsRuntimeScaleMonitoringEnabled(Boolean functionsRuntimeScaleMonitoringEnabled)

Set the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled, the ScaleController will not monitor event sources directly, but will instead call to the runtime to get scale status.

Parameters:

functionsRuntimeScaleMonitoringEnabled - the functionsRuntimeScaleMonitoringEnabled value to set.

Returns:

the SiteConfigInner object itself.

withHandlerMappings

public SiteConfigInner withHandlerMappings(List handlerMappings)

Set the handlerMappings property: Handler mappings.

Parameters:

handlerMappings - the handlerMappings value to set.

Returns:

the SiteConfigInner object itself.

withHealthCheckPath

public SiteConfigInner withHealthCheckPath(String healthCheckPath)

Set the healthCheckPath property: Health check path.

Parameters:

healthCheckPath - the healthCheckPath value to set.

Returns:

the SiteConfigInner object itself.

withHttp20Enabled

public SiteConfigInner withHttp20Enabled(Boolean http20Enabled)

Set the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.

Parameters:

http20Enabled - the http20Enabled value to set.

Returns:

the SiteConfigInner object itself.

withHttpLoggingEnabled

public SiteConfigInner withHttpLoggingEnabled(Boolean httpLoggingEnabled)

Set the httpLoggingEnabled property: true if HTTP logging is enabled; otherwise, false.

Parameters:

httpLoggingEnabled - the httpLoggingEnabled value to set.

Returns:

the SiteConfigInner object itself.

withIpSecurityRestrictions

public SiteConfigInner withIpSecurityRestrictions(List ipSecurityRestrictions)

Set the ipSecurityRestrictions property: IP security restrictions for main.

Parameters:

ipSecurityRestrictions - the ipSecurityRestrictions value to set.

Returns:

the SiteConfigInner object itself.

withIpSecurityRestrictionsDefaultAction

public SiteConfigInner withIpSecurityRestrictionsDefaultAction(DefaultAction ipSecurityRestrictionsDefaultAction)

Set the ipSecurityRestrictionsDefaultAction property: Default action for main access restriction if no rules are matched.

Parameters:

ipSecurityRestrictionsDefaultAction - the ipSecurityRestrictionsDefaultAction value to set.

Returns:

the SiteConfigInner object itself.

withJavaContainer

public SiteConfigInner withJavaContainer(String javaContainer)

Set the javaContainer property: Java container.

Parameters:

javaContainer - the javaContainer value to set.

Returns:

the SiteConfigInner object itself.

withJavaContainerVersion

public SiteConfigInner withJavaContainerVersion(String javaContainerVersion)

Set the javaContainerVersion property: Java container version.

Parameters:

javaContainerVersion - the javaContainerVersion value to set.

Returns:

the SiteConfigInner object itself.

withJavaVersion

public SiteConfigInner withJavaVersion(String javaVersion)

Set the javaVersion property: Java version.

Parameters:

javaVersion - the javaVersion value to set.

Returns:

the SiteConfigInner object itself.

withKeyVaultReferenceIdentity

public SiteConfigInner withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)

Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.

Parameters:

keyVaultReferenceIdentity - the keyVaultReferenceIdentity value to set.

Returns:

the SiteConfigInner object itself.

withLimits

public SiteConfigInner withLimits(SiteLimits limits)

Set the limits property: Site limits.

Parameters:

limits - the limits value to set.

Returns:

the SiteConfigInner object itself.

withLinuxFxVersion

public SiteConfigInner withLinuxFxVersion(String linuxFxVersion)

Set the linuxFxVersion property: Linux App Framework and version.

Parameters:

linuxFxVersion - the linuxFxVersion value to set.

Returns:

the SiteConfigInner object itself.

withLoadBalancing

public SiteConfigInner withLoadBalancing(SiteLoadBalancing loadBalancing)

Set the loadBalancing property: Site load balancing.

Parameters:

loadBalancing - the loadBalancing value to set.

Returns:

the SiteConfigInner object itself.

withLocalMySqlEnabled

public SiteConfigInner withLocalMySqlEnabled(Boolean localMySqlEnabled)

Set the localMySqlEnabled property: true to enable local MySQL; otherwise, false.

Parameters:

localMySqlEnabled - the localMySqlEnabled value to set.

Returns:

the SiteConfigInner object itself.

withLogsDirectorySizeLimit

public SiteConfigInner withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)

Set the logsDirectorySizeLimit property: HTTP logs directory size limit.

Parameters:

logsDirectorySizeLimit - the logsDirectorySizeLimit value to set.

Returns:

the SiteConfigInner object itself.

withManagedPipelineMode

public SiteConfigInner withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Set the managedPipelineMode property: Managed pipeline mode.

Parameters:

managedPipelineMode - the managedPipelineMode value to set.

Returns:

the SiteConfigInner object itself.

withManagedServiceIdentityId

public SiteConfigInner withManagedServiceIdentityId(Integer managedServiceIdentityId)

Set the managedServiceIdentityId property: Managed Service Identity Id.

Parameters:

managedServiceIdentityId - the managedServiceIdentityId value to set.

Returns:

the SiteConfigInner object itself.

withMetadata

public SiteConfigInner withMetadata(List metadata)

Set the metadata property: Application metadata. This property cannot be retrieved, since it may contain secrets.

Parameters:

metadata - the metadata value to set.

Returns:

the SiteConfigInner object itself.

withMinTlsCipherSuite

public SiteConfigInner withMinTlsCipherSuite(TlsCipherSuites minTlsCipherSuite)

Set the minTlsCipherSuite property: The minimum strength TLS cipher suite allowed for an application.

Parameters:

minTlsCipherSuite - the minTlsCipherSuite value to set.

Returns:

the SiteConfigInner object itself.

withMinTlsVersion

public SiteConfigInner withMinTlsVersion(SupportedTlsVersions minTlsVersion)

Set the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.

Parameters:

minTlsVersion - the minTlsVersion value to set.

Returns:

the SiteConfigInner object itself.

withMinimumElasticInstanceCount

public SiteConfigInner withMinimumElasticInstanceCount(Integer minimumElasticInstanceCount)

Set the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.

Parameters:

minimumElasticInstanceCount - the minimumElasticInstanceCount value to set.

Returns:

the SiteConfigInner object itself.

withNetFrameworkVersion

public SiteConfigInner withNetFrameworkVersion(String netFrameworkVersion)

Set the netFrameworkVersion property: .NET Framework version.

Parameters:

netFrameworkVersion - the netFrameworkVersion value to set.

Returns:

the SiteConfigInner object itself.

withNodeVersion

public SiteConfigInner withNodeVersion(String nodeVersion)

Set the nodeVersion property: Version of Node.js.

Parameters:

nodeVersion - the nodeVersion value to set.

Returns:

the SiteConfigInner object itself.

withNumberOfWorkers

public SiteConfigInner withNumberOfWorkers(Integer numberOfWorkers)

Set the numberOfWorkers property: Number of workers.

Parameters:

numberOfWorkers - the numberOfWorkers value to set.

Returns:

the SiteConfigInner object itself.

withPhpVersion

public SiteConfigInner withPhpVersion(String phpVersion)

Set the phpVersion property: Version of PHP.

Parameters:

phpVersion - the phpVersion value to set.

Returns:

the SiteConfigInner object itself.

withPowerShellVersion

public SiteConfigInner withPowerShellVersion(String powerShellVersion)

Set the powerShellVersion property: Version of PowerShell.

Parameters:

powerShellVersion - the powerShellVersion value to set.

Returns:

the SiteConfigInner object itself.

withPreWarmedInstanceCount

public SiteConfigInner withPreWarmedInstanceCount(Integer preWarmedInstanceCount)

Set the preWarmedInstanceCount property: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.

Parameters:

preWarmedInstanceCount - the preWarmedInstanceCount value to set.

Returns:

the SiteConfigInner object itself.

withPublicNetworkAccess

public SiteConfigInner withPublicNetworkAccess(String publicNetworkAccess)

Set the publicNetworkAccess property: Property to allow or block all public traffic.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the SiteConfigInner object itself.

withPublishingUsername

public SiteConfigInner withPublishingUsername(String publishingUsername)

Set the publishingUsername property: Publishing user name.

Parameters:

publishingUsername - the publishingUsername value to set.

Returns:

the SiteConfigInner object itself.

withPush

public SiteConfigInner withPush(PushSettingsInner push)

Set the push property: Push endpoint settings.

Parameters:

push - the push value to set.

Returns:

the SiteConfigInner object itself.

withPythonVersion

public SiteConfigInner withPythonVersion(String pythonVersion)

Set the pythonVersion property: Version of Python.

Parameters:

pythonVersion - the pythonVersion value to set.

Returns:

the SiteConfigInner object itself.

withRemoteDebuggingEnabled

public SiteConfigInner withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)

Set the remoteDebuggingEnabled property: true if remote debugging is enabled; otherwise, false.

Parameters:

remoteDebuggingEnabled - the remoteDebuggingEnabled value to set.

Returns:

the SiteConfigInner object itself.

withRemoteDebuggingVersion

public SiteConfigInner withRemoteDebuggingVersion(String remoteDebuggingVersion)

Set the remoteDebuggingVersion property: Remote debugging version.

Parameters:

remoteDebuggingVersion - the remoteDebuggingVersion value to set.

Returns:

the SiteConfigInner object itself.

withRequestTracingEnabled

public SiteConfigInner withRequestTracingEnabled(Boolean requestTracingEnabled)

Set the requestTracingEnabled property: true if request tracing is enabled; otherwise, false.

Parameters:

requestTracingEnabled - the requestTracingEnabled value to set.

Returns:

the SiteConfigInner object itself.

withRequestTracingExpirationTime

public SiteConfigInner withRequestTracingExpirationTime(OffsetDateTime requestTracingExpirationTime)

Set the requestTracingExpirationTime property: Request tracing expiration time.

Parameters:

requestTracingExpirationTime - the requestTracingExpirationTime value to set.

Returns:

the SiteConfigInner object itself.

withScmIpSecurityRestrictions

public SiteConfigInner withScmIpSecurityRestrictions(List scmIpSecurityRestrictions)

Set the scmIpSecurityRestrictions property: IP security restrictions for scm.

Parameters:

scmIpSecurityRestrictions - the scmIpSecurityRestrictions value to set.

Returns:

the SiteConfigInner object itself.

withScmIpSecurityRestrictionsDefaultAction

public SiteConfigInner withScmIpSecurityRestrictionsDefaultAction(DefaultAction scmIpSecurityRestrictionsDefaultAction)

Set the scmIpSecurityRestrictionsDefaultAction property: Default action for scm access restriction if no rules are matched.

Parameters:

scmIpSecurityRestrictionsDefaultAction - the scmIpSecurityRestrictionsDefaultAction value to set.

Returns:

the SiteConfigInner object itself.

withScmIpSecurityRestrictionsUseMain

public SiteConfigInner withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)

Set the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.

Parameters:

scmIpSecurityRestrictionsUseMain - the scmIpSecurityRestrictionsUseMain value to set.

Returns:

the SiteConfigInner object itself.

withScmMinTlsVersion

public SiteConfigInner withScmMinTlsVersion(SupportedTlsVersions scmMinTlsVersion)

Set the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.

Parameters:

scmMinTlsVersion - the scmMinTlsVersion value to set.

Returns:

the SiteConfigInner object itself.

withScmType

public SiteConfigInner withScmType(ScmType scmType)

Set the scmType property: SCM type.

Parameters:

scmType - the scmType value to set.

Returns:

the SiteConfigInner object itself.

withTracingOptions

public SiteConfigInner withTracingOptions(String tracingOptions)

Set the tracingOptions property: Tracing options.

Parameters:

tracingOptions - the tracingOptions value to set.

Returns:

the SiteConfigInner object itself.

withUse32BitWorkerProcess

public SiteConfigInner withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)

Set the use32BitWorkerProcess property: true to use 32-bit worker process; otherwise, false.

Parameters:

use32BitWorkerProcess - the use32BitWorkerProcess value to set.

Returns:

the SiteConfigInner object itself.

withVirtualApplications

public SiteConfigInner withVirtualApplications(List virtualApplications)

Set the virtualApplications property: Virtual applications.

Parameters:

virtualApplications - the virtualApplications value to set.

Returns:

the SiteConfigInner object itself.

withVnetName

public SiteConfigInner withVnetName(String vnetName)

Set the vnetName property: Virtual Network name.

Parameters:

vnetName - the vnetName value to set.

Returns:

the SiteConfigInner object itself.

withVnetPrivatePortsCount

public SiteConfigInner withVnetPrivatePortsCount(Integer vnetPrivatePortsCount)

Set the vnetPrivatePortsCount property: The number of private ports assigned to this app. These will be assigned dynamically on runtime.

Parameters:

vnetPrivatePortsCount - the vnetPrivatePortsCount value to set.

Returns:

the SiteConfigInner object itself.

withVnetRouteAllEnabled

public SiteConfigInner withVnetRouteAllEnabled(Boolean vnetRouteAllEnabled)

Set the vnetRouteAllEnabled property: Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

Parameters:

vnetRouteAllEnabled - the vnetRouteAllEnabled value to set.

Returns:

the SiteConfigInner object itself.

withWebSocketsEnabled

public SiteConfigInner withWebSocketsEnabled(Boolean webSocketsEnabled)

Set the webSocketsEnabled property: true if WebSocket is enabled; otherwise, false.

Parameters:

webSocketsEnabled - the webSocketsEnabled value to set.

Returns:

the SiteConfigInner object itself.

withWebsiteTimeZone

public SiteConfigInner withWebsiteTimeZone(String websiteTimeZone)

Set the websiteTimeZone property: Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see https://en.wikipedia.org/wiki/List\_of\_tz\_database\_time\_zones). For Windows, expects one of the time zones listed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.

Parameters:

websiteTimeZone - the websiteTimeZone value to set.

Returns:

the SiteConfigInner object itself.

withWindowsFxVersion

public SiteConfigInner withWindowsFxVersion(String windowsFxVersion)

Set the windowsFxVersion property: Xenon App Framework and version.

Parameters:

windowsFxVersion - the windowsFxVersion value to set.

Returns:

the SiteConfigInner object itself.

withXManagedServiceIdentityId

public SiteConfigInner withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)

Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.

Parameters:

xManagedServiceIdentityId - the xManagedServiceIdentityId value to set.

Returns:

the SiteConfigInner object itself.

xManagedServiceIdentityId

public Integer xManagedServiceIdentityId()

Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.

Returns:

the xManagedServiceIdentityId value.

Applies to