Class SiteConfigInner


  • public final class SiteConfigInner
    extends Object
    Configuration of an App Service app.
    • Constructor Detail

      • SiteConfigInner

        public SiteConfigInner()
    • Method Detail

      • numberOfWorkers

        public Integer numberOfWorkers()
        Get the numberOfWorkers property: Number of workers.
        Returns:
        the numberOfWorkers value.
      • 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.
      • defaultDocuments

        public List<String> defaultDocuments()
        Get the defaultDocuments property: Default documents.
        Returns:
        the defaultDocuments value.
      • withDefaultDocuments

        public SiteConfigInner withDefaultDocuments​(List<String> defaultDocuments)
        Set the defaultDocuments property: Default documents.
        Parameters:
        defaultDocuments - the defaultDocuments value to set.
        Returns:
        the SiteConfigInner object itself.
      • netFrameworkVersion

        public String netFrameworkVersion()
        Get the netFrameworkVersion property: .NET Framework version.
        Returns:
        the netFrameworkVersion value.
      • 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.
      • phpVersion

        public String phpVersion()
        Get the phpVersion property: Version of PHP.
        Returns:
        the phpVersion value.
      • 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.
      • pythonVersion

        public String pythonVersion()
        Get the pythonVersion property: Version of Python.
        Returns:
        the pythonVersion value.
      • 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.
      • nodeVersion

        public String nodeVersion()
        Get the nodeVersion property: Version of Node.js.
        Returns:
        the nodeVersion value.
      • 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.
      • powerShellVersion

        public String powerShellVersion()
        Get the powerShellVersion property: Version of PowerShell.
        Returns:
        the powerShellVersion value.
      • 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.
      • linuxFxVersion

        public String linuxFxVersion()
        Get the linuxFxVersion property: Linux App Framework and version.
        Returns:
        the linuxFxVersion value.
      • 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.
      • windowsFxVersion

        public String windowsFxVersion()
        Get the windowsFxVersion property: Xenon App Framework and version.
        Returns:
        the windowsFxVersion value.
      • 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.
      • requestTracingEnabled

        public Boolean requestTracingEnabled()
        Get the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
        Returns:
        the requestTracingEnabled value.
      • withRequestTracingEnabled

        public SiteConfigInner withRequestTracingEnabled​(Boolean requestTracingEnabled)
        Set the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
        Parameters:
        requestTracingEnabled - the requestTracingEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • requestTracingExpirationTime

        public OffsetDateTime requestTracingExpirationTime()
        Get the requestTracingExpirationTime property: Request tracing expiration time.
        Returns:
        the requestTracingExpirationTime value.
      • 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.
      • remoteDebuggingEnabled

        public Boolean remoteDebuggingEnabled()
        Get the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
        Returns:
        the remoteDebuggingEnabled value.
      • withRemoteDebuggingEnabled

        public SiteConfigInner withRemoteDebuggingEnabled​(Boolean remoteDebuggingEnabled)
        Set the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
        Parameters:
        remoteDebuggingEnabled - the remoteDebuggingEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • remoteDebuggingVersion

        public String remoteDebuggingVersion()
        Get the remoteDebuggingVersion property: Remote debugging version.
        Returns:
        the remoteDebuggingVersion value.
      • 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.
      • httpLoggingEnabled

        public Boolean httpLoggingEnabled()
        Get the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
        Returns:
        the httpLoggingEnabled value.
      • withHttpLoggingEnabled

        public SiteConfigInner withHttpLoggingEnabled​(Boolean httpLoggingEnabled)
        Set the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
        Parameters:
        httpLoggingEnabled - the httpLoggingEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • acrUseManagedIdentityCreds

        public Boolean acrUseManagedIdentityCreds()
        Get the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.
        Returns:
        the acrUseManagedIdentityCreds 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.
      • acrUserManagedIdentityId

        public String acrUserManagedIdentityId()
        Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.
        Returns:
        the acrUserManagedIdentityId value.
      • 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.
      • logsDirectorySizeLimit

        public Integer logsDirectorySizeLimit()
        Get the logsDirectorySizeLimit property: HTTP logs directory size limit.
        Returns:
        the logsDirectorySizeLimit value.
      • 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.
      • detailedErrorLoggingEnabled

        public Boolean detailedErrorLoggingEnabled()
        Get the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
        Returns:
        the detailedErrorLoggingEnabled value.
      • withDetailedErrorLoggingEnabled

        public SiteConfigInner withDetailedErrorLoggingEnabled​(Boolean detailedErrorLoggingEnabled)
        Set the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
        Parameters:
        detailedErrorLoggingEnabled - the detailedErrorLoggingEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • publishingUsername

        public String publishingUsername()
        Get the publishingUsername property: Publishing user name.
        Returns:
        the publishingUsername value.
      • 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.
      • appSettings

        public List<NameValuePair> appSettings()
        Get the appSettings property: Application settings.
        Returns:
        the appSettings value.
      • withAppSettings

        public SiteConfigInner withAppSettings​(List<NameValuePair> appSettings)
        Set the appSettings property: Application settings.
        Parameters:
        appSettings - the appSettings value to set.
        Returns:
        the SiteConfigInner object itself.
      • connectionStrings

        public List<ConnStringInfo> connectionStrings()
        Get the connectionStrings property: Connection strings.
        Returns:
        the connectionStrings value.
      • withConnectionStrings

        public SiteConfigInner withConnectionStrings​(List<ConnStringInfo> connectionStrings)
        Set the connectionStrings property: Connection strings.
        Parameters:
        connectionStrings - the connectionStrings value to set.
        Returns:
        the SiteConfigInner object itself.
      • machineKey

        public SiteMachineKey machineKey()
        Get the machineKey property: Site MachineKey.
        Returns:
        the machineKey value.
      • handlerMappings

        public List<HandlerMapping> handlerMappings()
        Get the handlerMappings property: Handler mappings.
        Returns:
        the handlerMappings value.
      • withHandlerMappings

        public SiteConfigInner withHandlerMappings​(List<HandlerMapping> handlerMappings)
        Set the handlerMappings property: Handler mappings.
        Parameters:
        handlerMappings - the handlerMappings value to set.
        Returns:
        the SiteConfigInner object itself.
      • documentRoot

        public String documentRoot()
        Get the documentRoot property: Document root.
        Returns:
        the documentRoot value.
      • withDocumentRoot

        public SiteConfigInner withDocumentRoot​(String documentRoot)
        Set the documentRoot property: Document root.
        Parameters:
        documentRoot - the documentRoot value to set.
        Returns:
        the SiteConfigInner object itself.
      • scmType

        public ScmType scmType()
        Get the scmType property: SCM type.
        Returns:
        the scmType value.
      • withScmType

        public SiteConfigInner withScmType​(ScmType scmType)
        Set the scmType property: SCM type.
        Parameters:
        scmType - the scmType value to set.
        Returns:
        the SiteConfigInner object itself.
      • use32BitWorkerProcess

        public Boolean use32BitWorkerProcess()
        Get the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
        Returns:
        the use32BitWorkerProcess value.
      • withUse32BitWorkerProcess

        public SiteConfigInner withUse32BitWorkerProcess​(Boolean use32BitWorkerProcess)
        Set the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
        Parameters:
        use32BitWorkerProcess - the use32BitWorkerProcess value to set.
        Returns:
        the SiteConfigInner object itself.
      • webSocketsEnabled

        public Boolean webSocketsEnabled()
        Get the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
        Returns:
        the webSocketsEnabled value.
      • withWebSocketsEnabled

        public SiteConfigInner withWebSocketsEnabled​(Boolean webSocketsEnabled)
        Set the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
        Parameters:
        webSocketsEnabled - the webSocketsEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • alwaysOn

        public Boolean alwaysOn()
        Get the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.
        Returns:
        the alwaysOn value.
      • withAlwaysOn

        public SiteConfigInner withAlwaysOn​(Boolean alwaysOn)
        Set the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.
        Parameters:
        alwaysOn - the alwaysOn value to set.
        Returns:
        the SiteConfigInner object itself.
      • javaVersion

        public String javaVersion()
        Get the javaVersion property: Java version.
        Returns:
        the javaVersion value.
      • withJavaVersion

        public SiteConfigInner withJavaVersion​(String javaVersion)
        Set the javaVersion property: Java version.
        Parameters:
        javaVersion - the javaVersion value to set.
        Returns:
        the SiteConfigInner object itself.
      • javaContainer

        public String javaContainer()
        Get the javaContainer property: Java container.
        Returns:
        the javaContainer value.
      • withJavaContainer

        public SiteConfigInner withJavaContainer​(String javaContainer)
        Set the javaContainer property: Java container.
        Parameters:
        javaContainer - the javaContainer value to set.
        Returns:
        the SiteConfigInner object itself.
      • javaContainerVersion

        public String javaContainerVersion()
        Get the javaContainerVersion property: Java container version.
        Returns:
        the javaContainerVersion value.
      • 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.
      • appCommandLine

        public String appCommandLine()
        Get the appCommandLine property: App command line to launch.
        Returns:
        the appCommandLine value.
      • 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.
      • managedPipelineMode

        public ManagedPipelineMode managedPipelineMode()
        Get the managedPipelineMode property: Managed pipeline mode.
        Returns:
        the managedPipelineMode value.
      • 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.
      • virtualApplications

        public List<VirtualApplication> virtualApplications()
        Get the virtualApplications property: Virtual applications.
        Returns:
        the virtualApplications value.
      • withVirtualApplications

        public SiteConfigInner withVirtualApplications​(List<VirtualApplication> virtualApplications)
        Set the virtualApplications property: Virtual applications.
        Parameters:
        virtualApplications - the virtualApplications value to set.
        Returns:
        the SiteConfigInner object itself.
      • loadBalancing

        public SiteLoadBalancing loadBalancing()
        Get the loadBalancing property: Site load balancing.
        Returns:
        the loadBalancing value.
      • 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.
      • experiments

        public Experiments experiments()
        Get the experiments property: This is work around for polymorphic types.
        Returns:
        the experiments value.
      • 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.
      • limits

        public SiteLimits limits()
        Get the limits property: Site limits.
        Returns:
        the limits value.
      • withLimits

        public SiteConfigInner withLimits​(SiteLimits limits)
        Set the limits property: Site limits.
        Parameters:
        limits - the limits value to set.
        Returns:
        the SiteConfigInner object itself.
      • autoHealEnabled

        public Boolean autoHealEnabled()
        Get the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
        Returns:
        the autoHealEnabled value.
      • withAutoHealEnabled

        public SiteConfigInner withAutoHealEnabled​(Boolean autoHealEnabled)
        Set the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
        Parameters:
        autoHealEnabled - the autoHealEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • autoHealRules

        public AutoHealRules autoHealRules()
        Get the autoHealRules property: Auto Heal rules.
        Returns:
        the autoHealRules value.
      • 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.
      • tracingOptions

        public String tracingOptions()
        Get the tracingOptions property: Tracing options.
        Returns:
        the tracingOptions value.
      • withTracingOptions

        public SiteConfigInner withTracingOptions​(String tracingOptions)
        Set the tracingOptions property: Tracing options.
        Parameters:
        tracingOptions - the tracingOptions value to set.
        Returns:
        the SiteConfigInner object itself.
      • vnetName

        public String vnetName()
        Get the vnetName property: Virtual Network name.
        Returns:
        the vnetName value.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • cors

        public CorsSettings cors()
        Get the cors property: Cross-Origin Resource Sharing (CORS) settings.
        Returns:
        the cors value.
      • 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.
      • push

        public PushSettingsInner push()
        Get the push property: Push endpoint settings.
        Returns:
        the push value.
      • 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.
      • apiDefinition

        public ApiDefinitionInfo apiDefinition()
        Get the apiDefinition property: Information about the formal API definition for the app.
        Returns:
        the apiDefinition value.
      • 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.
      • apiManagementConfig

        public ApiManagementConfig apiManagementConfig()
        Get the apiManagementConfig property: Azure API management settings linked to the app.
        Returns:
        the apiManagementConfig value.
      • 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.
      • autoSwapSlotName

        public String autoSwapSlotName()
        Get the autoSwapSlotName property: Auto-swap slot name.
        Returns:
        the autoSwapSlotName value.
      • 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.
      • localMySqlEnabled

        public Boolean localMySqlEnabled()
        Get the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.
        Returns:
        the localMySqlEnabled value.
      • withLocalMySqlEnabled

        public SiteConfigInner withLocalMySqlEnabled​(Boolean localMySqlEnabled)
        Set the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.
        Parameters:
        localMySqlEnabled - the localMySqlEnabled value to set.
        Returns:
        the SiteConfigInner object itself.
      • managedServiceIdentityId

        public Integer managedServiceIdentityId()
        Get the managedServiceIdentityId property: Managed Service Identity Id.
        Returns:
        the managedServiceIdentityId value.
      • 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.
      • xManagedServiceIdentityId

        public Integer xManagedServiceIdentityId()
        Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.
        Returns:
        the xManagedServiceIdentityId value.
      • 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.
      • keyVaultReferenceIdentity

        public String keyVaultReferenceIdentity()
        Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
        Returns:
        the keyVaultReferenceIdentity value.
      • 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.
      • ipSecurityRestrictions

        public List<IpSecurityRestriction> ipSecurityRestrictions()
        Get the ipSecurityRestrictions property: IP security restrictions for main.
        Returns:
        the ipSecurityRestrictions value.
      • withIpSecurityRestrictions

        public SiteConfigInner withIpSecurityRestrictions​(List<IpSecurityRestriction> ipSecurityRestrictions)
        Set the ipSecurityRestrictions property: IP security restrictions for main.
        Parameters:
        ipSecurityRestrictions - the ipSecurityRestrictions value to set.
        Returns:
        the SiteConfigInner object itself.
      • scmIpSecurityRestrictions

        public List<IpSecurityRestriction> scmIpSecurityRestrictions()
        Get the scmIpSecurityRestrictions property: IP security restrictions for scm.
        Returns:
        the scmIpSecurityRestrictions value.
      • withScmIpSecurityRestrictions

        public SiteConfigInner withScmIpSecurityRestrictions​(List<IpSecurityRestriction> scmIpSecurityRestrictions)
        Set the scmIpSecurityRestrictions property: IP security restrictions for scm.
        Parameters:
        scmIpSecurityRestrictions - the scmIpSecurityRestrictions value to set.
        Returns:
        the SiteConfigInner object itself.
      • scmIpSecurityRestrictionsUseMain

        public Boolean scmIpSecurityRestrictionsUseMain()
        Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.
        Returns:
        the scmIpSecurityRestrictionsUseMain value.
      • 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.
      • 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.
      • 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.
      • minTlsVersion

        public SupportedTlsVersions minTlsVersion()
        Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.
        Returns:
        the minTlsVersion value.
      • 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.
      • 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.
      • 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.
      • ftpsState

        public FtpsState ftpsState()
        Get the ftpsState property: State of FTP / FTPS service.
        Returns:
        the ftpsState value.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • healthCheckPath

        public String healthCheckPath()
        Get the healthCheckPath property: Health check path.
        Returns:
        the healthCheckPath value.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • azureStorageAccounts

        public Map<String,​AzureStorageInfoValue> azureStorageAccounts()
        Get the azureStorageAccounts property: List of Azure Storage Accounts.
        Returns:
        the azureStorageAccounts value.
      • withAzureStorageAccounts

        public SiteConfigInner withAzureStorageAccounts​(Map<String,​AzureStorageInfoValue> azureStorageAccounts)
        Set the azureStorageAccounts property: List of Azure Storage Accounts.
        Parameters:
        azureStorageAccounts - the azureStorageAccounts value to set.
        Returns:
        the SiteConfigInner object itself.
      • publicNetworkAccess

        public String publicNetworkAccess()
        Get the publicNetworkAccess property: Property to allow or block all public traffic.
        Returns:
        the publicNetworkAccess value.
      • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.