Class SiteConfigResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.SiteConfigResourceInner
-
public final class SiteConfigResourceInner extends ProxyOnlyResource
Web app configuration ARM resource.
-
-
Constructor Summary
Constructors Constructor Description SiteConfigResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanacrUseManagedIdentityCreds()Get the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.StringacrUserManagedIdentityId()Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.BooleanalwaysOn()Get the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.ApiDefinitionInfoapiDefinition()Get the apiDefinition property: Information about the formal API definition for the app.ApiManagementConfigapiManagementConfig()Get the apiManagementConfig property: Azure API management settings linked to the app.StringappCommandLine()Get the appCommandLine property: App command line to launch.List<NameValuePair>appSettings()Get the appSettings property: Application settings.BooleanautoHealEnabled()Get the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.AutoHealRulesautoHealRules()Get the autoHealRules property: Auto Heal rules.StringautoSwapSlotName()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.CorsSettingscors()Get the cors property: Cross-Origin Resource Sharing (CORS) settings.List<String>defaultDocuments()Get the defaultDocuments property: Default documents.BooleandetailedErrorLoggingEnabled()Get the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.StringdocumentRoot()Get the documentRoot property: Document root.Experimentsexperiments()Get the experiments property: This is work around for polymorphic types.FtpsStateftpsState()Get the ftpsState property: State of FTP / FTPS service.IntegerfunctionAppScaleLimit()Get the functionAppScaleLimit property: Maximum number of workers that a site can scale out to.BooleanfunctionsRuntimeScaleMonitoringEnabled()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.StringhealthCheckPath()Get the healthCheckPath property: Health check path.Booleanhttp20Enabled()Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.BooleanhttpLoggingEnabled()Get the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.List<IpSecurityRestriction>ipSecurityRestrictions()Get the ipSecurityRestrictions property: IP security restrictions for main.StringjavaContainer()Get the javaContainer property: Java container.StringjavaContainerVersion()Get the javaContainerVersion property: Java container version.StringjavaVersion()Get the javaVersion property: Java version.StringkeyVaultReferenceIdentity()Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.SiteLimitslimits()Get the limits property: Site limits.StringlinuxFxVersion()Get the linuxFxVersion property: Linux App Framework and version.SiteLoadBalancingloadBalancing()Get the loadBalancing property: Site load balancing.BooleanlocalMySqlEnabled()Get the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.IntegerlogsDirectorySizeLimit()Get the logsDirectorySizeLimit property: HTTP logs directory size limit.SiteMachineKeymachineKey()Get the machineKey property: Site MachineKey.ManagedPipelineModemanagedPipelineMode()Get the managedPipelineMode property: Managed pipeline mode.IntegermanagedServiceIdentityId()Get the managedServiceIdentityId property: Managed Service Identity Id.IntegerminimumElasticInstanceCount()Get the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.SupportedTlsVersionsminTlsVersion()Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.StringnetFrameworkVersion()Get the netFrameworkVersion property: .NET Framework version.StringnodeVersion()Get the nodeVersion property: Version of Node.js.IntegernumberOfWorkers()Get the numberOfWorkers property: Number of workers.StringphpVersion()Get the phpVersion property: Version of PHP.StringpowerShellVersion()Get the powerShellVersion property: Version of PowerShell.IntegerpreWarmedInstanceCount()Get the preWarmedInstanceCount property: Number of preWarmed instances.StringpublicNetworkAccess()Get the publicNetworkAccess property: Property to allow or block all public traffic.StringpublishingUsername()Get the publishingUsername property: Publishing user name.PushSettingsInnerpush()Get the push property: Push endpoint settings.StringpythonVersion()Get the pythonVersion property: Version of Python.BooleanremoteDebuggingEnabled()Get the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.StringremoteDebuggingVersion()Get the remoteDebuggingVersion property: Remote debugging version.BooleanrequestTracingEnabled()Get the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.OffsetDateTimerequestTracingExpirationTime()Get the requestTracingExpirationTime property: Request tracing expiration time.List<IpSecurityRestriction>scmIpSecurityRestrictions()Get the scmIpSecurityRestrictions property: IP security restrictions for scm.BooleanscmIpSecurityRestrictionsUseMain()Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.SupportedTlsVersionsscmMinTlsVersion()Get the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.ScmTypescmType()Get the scmType property: SCM type.StringtracingOptions()Get the tracingOptions property: Tracing options.Booleanuse32BitWorkerProcess()Get the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.voidvalidate()Validates the instance.List<VirtualApplication>virtualApplications()Get the virtualApplications property: Virtual applications.StringvnetName()Get the vnetName property: Virtual Network name.IntegervnetPrivatePortsCount()Get the vnetPrivatePortsCount property: The number of private ports assigned to this app.BooleanvnetRouteAllEnabled()Get the vnetRouteAllEnabled property: Virtual Network Route All enabled.StringwebsiteTimeZone()Get the websiteTimeZone property: Sets the time zone a site uses for generating timestamps.BooleanwebSocketsEnabled()Get the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.StringwindowsFxVersion()Get the windowsFxVersion property: Xenon App Framework and version.SiteConfigResourceInnerwithAcrUseManagedIdentityCreds(Boolean acrUseManagedIdentityCreds)Set the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.SiteConfigResourceInnerwithAcrUserManagedIdentityId(String acrUserManagedIdentityId)Set the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.SiteConfigResourceInnerwithAlwaysOn(Boolean alwaysOn)Set the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithApiDefinition(ApiDefinitionInfo apiDefinition)Set the apiDefinition property: Information about the formal API definition for the app.SiteConfigResourceInnerwithApiManagementConfig(ApiManagementConfig apiManagementConfig)Set the apiManagementConfig property: Azure API management settings linked to the app.SiteConfigResourceInnerwithAppCommandLine(String appCommandLine)Set the appCommandLine property: App command line to launch.SiteConfigResourceInnerwithAppSettings(List<NameValuePair> appSettings)Set the appSettings property: Application settings.SiteConfigResourceInnerwithAutoHealEnabled(Boolean autoHealEnabled)Set the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithAutoHealRules(AutoHealRules autoHealRules)Set the autoHealRules property: Auto Heal rules.SiteConfigResourceInnerwithAutoSwapSlotName(String autoSwapSlotName)Set the autoSwapSlotName property: Auto-swap slot name.SiteConfigResourceInnerwithAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)Set the azureStorageAccounts property: List of Azure Storage Accounts.SiteConfigResourceInnerwithConnectionStrings(List<ConnStringInfo> connectionStrings)Set the connectionStrings property: Connection strings.SiteConfigResourceInnerwithCors(CorsSettings cors)Set the cors property: Cross-Origin Resource Sharing (CORS) settings.SiteConfigResourceInnerwithDefaultDocuments(List<String> defaultDocuments)Set the defaultDocuments property: Default documents.SiteConfigResourceInnerwithDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)Set the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithDocumentRoot(String documentRoot)Set the documentRoot property: Document root.SiteConfigResourceInnerwithExperiments(Experiments experiments)Set the experiments property: This is work around for polymorphic types.SiteConfigResourceInnerwithFtpsState(FtpsState ftpsState)Set the ftpsState property: State of FTP / FTPS service.SiteConfigResourceInnerwithFunctionAppScaleLimit(Integer functionAppScaleLimit)Set the functionAppScaleLimit property: Maximum number of workers that a site can scale out to.SiteConfigResourceInnerwithFunctionsRuntimeScaleMonitoringEnabled(Boolean functionsRuntimeScaleMonitoringEnabled)Set the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled.SiteConfigResourceInnerwithHandlerMappings(List<HandlerMapping> handlerMappings)Set the handlerMappings property: Handler mappings.SiteConfigResourceInnerwithHealthCheckPath(String healthCheckPath)Set the healthCheckPath property: Health check path.SiteConfigResourceInnerwithHttp20Enabled(Boolean http20Enabled)Set the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.SiteConfigResourceInnerwithHttpLoggingEnabled(Boolean httpLoggingEnabled)Set the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)Set the ipSecurityRestrictions property: IP security restrictions for main.SiteConfigResourceInnerwithJavaContainer(String javaContainer)Set the javaContainer property: Java container.SiteConfigResourceInnerwithJavaContainerVersion(String javaContainerVersion)Set the javaContainerVersion property: Java container version.SiteConfigResourceInnerwithJavaVersion(String javaVersion)Set the javaVersion property: Java version.SiteConfigResourceInnerwithKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.SiteConfigResourceInnerwithKind(String kind)Set the kind property: Kind of resource.SiteConfigResourceInnerwithLimits(SiteLimits limits)Set the limits property: Site limits.SiteConfigResourceInnerwithLinuxFxVersion(String linuxFxVersion)Set the linuxFxVersion property: Linux App Framework and version.SiteConfigResourceInnerwithLoadBalancing(SiteLoadBalancing loadBalancing)Set the loadBalancing property: Site load balancing.SiteConfigResourceInnerwithLocalMySqlEnabled(Boolean localMySqlEnabled)Set the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.SiteConfigResourceInnerwithLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)Set the logsDirectorySizeLimit property: HTTP logs directory size limit.SiteConfigResourceInnerwithManagedPipelineMode(ManagedPipelineMode managedPipelineMode)Set the managedPipelineMode property: Managed pipeline mode.SiteConfigResourceInnerwithManagedServiceIdentityId(Integer managedServiceIdentityId)Set the managedServiceIdentityId property: Managed Service Identity Id.SiteConfigResourceInnerwithMinimumElasticInstanceCount(Integer minimumElasticInstanceCount)Set the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.SiteConfigResourceInnerwithMinTlsVersion(SupportedTlsVersions minTlsVersion)Set the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.SiteConfigResourceInnerwithNetFrameworkVersion(String netFrameworkVersion)Set the netFrameworkVersion property: .NET Framework version.SiteConfigResourceInnerwithNodeVersion(String nodeVersion)Set the nodeVersion property: Version of Node.js.SiteConfigResourceInnerwithNumberOfWorkers(Integer numberOfWorkers)Set the numberOfWorkers property: Number of workers.SiteConfigResourceInnerwithPhpVersion(String phpVersion)Set the phpVersion property: Version of PHP.SiteConfigResourceInnerwithPowerShellVersion(String powerShellVersion)Set the powerShellVersion property: Version of PowerShell.SiteConfigResourceInnerwithPreWarmedInstanceCount(Integer preWarmedInstanceCount)Set the preWarmedInstanceCount property: Number of preWarmed instances.SiteConfigResourceInnerwithPublicNetworkAccess(String publicNetworkAccess)Set the publicNetworkAccess property: Property to allow or block all public traffic.SiteConfigResourceInnerwithPublishingUsername(String publishingUsername)Set the publishingUsername property: Publishing user name.SiteConfigResourceInnerwithPush(PushSettingsInner push)Set the push property: Push endpoint settings.SiteConfigResourceInnerwithPythonVersion(String pythonVersion)Set the pythonVersion property: Version of Python.SiteConfigResourceInnerwithRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)Set the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithRemoteDebuggingVersion(String remoteDebuggingVersion)Set the remoteDebuggingVersion property: Remote debugging version.SiteConfigResourceInnerwithRequestTracingEnabled(Boolean requestTracingEnabled)Set the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithRequestTracingExpirationTime(OffsetDateTime requestTracingExpirationTime)Set the requestTracingExpirationTime property: Request tracing expiration time.SiteConfigResourceInnerwithScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)Set the scmIpSecurityRestrictions property: IP security restrictions for scm.SiteConfigResourceInnerwithScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)Set the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.SiteConfigResourceInnerwithScmMinTlsVersion(SupportedTlsVersions scmMinTlsVersion)Set the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.SiteConfigResourceInnerwithScmType(ScmType scmType)Set the scmType property: SCM type.SiteConfigResourceInnerwithTracingOptions(String tracingOptions)Set the tracingOptions property: Tracing options.SiteConfigResourceInnerwithUse32BitWorkerProcess(Boolean use32BitWorkerProcess)Set the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.SiteConfigResourceInnerwithVirtualApplications(List<VirtualApplication> virtualApplications)Set the virtualApplications property: Virtual applications.SiteConfigResourceInnerwithVnetName(String vnetName)Set the vnetName property: Virtual Network name.SiteConfigResourceInnerwithVnetPrivatePortsCount(Integer vnetPrivatePortsCount)Set the vnetPrivatePortsCount property: The number of private ports assigned to this app.SiteConfigResourceInnerwithVnetRouteAllEnabled(Boolean vnetRouteAllEnabled)Set the vnetRouteAllEnabled property: Virtual Network Route All enabled.SiteConfigResourceInnerwithWebsiteTimeZone(String websiteTimeZone)Set the websiteTimeZone property: Sets the time zone a site uses for generating timestamps.SiteConfigResourceInnerwithWebSocketsEnabled(Boolean webSocketsEnabled)Set the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.SiteConfigResourceInnerwithWindowsFxVersion(String windowsFxVersion)Set the windowsFxVersion property: Xenon App Framework and version.SiteConfigResourceInnerwithXManagedServiceIdentityId(Integer xManagedServiceIdentityId)Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.IntegerxManagedServiceIdentityId()Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public SiteConfigResourceInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
numberOfWorkers
public Integer numberOfWorkers()
Get the numberOfWorkers property: Number of workers.- Returns:
- the numberOfWorkers value.
-
withNumberOfWorkers
public SiteConfigResourceInner withNumberOfWorkers(Integer numberOfWorkers)
Set the numberOfWorkers property: Number of workers.- Parameters:
numberOfWorkers- the numberOfWorkers value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
defaultDocuments
public List<String> defaultDocuments()
Get the defaultDocuments property: Default documents.- Returns:
- the defaultDocuments value.
-
withDefaultDocuments
public SiteConfigResourceInner withDefaultDocuments(List<String> defaultDocuments)
Set the defaultDocuments property: Default documents.- Parameters:
defaultDocuments- the defaultDocuments value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
netFrameworkVersion
public String netFrameworkVersion()
Get the netFrameworkVersion property: .NET Framework version.- Returns:
- the netFrameworkVersion value.
-
withNetFrameworkVersion
public SiteConfigResourceInner withNetFrameworkVersion(String netFrameworkVersion)
Set the netFrameworkVersion property: .NET Framework version.- Parameters:
netFrameworkVersion- the netFrameworkVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
phpVersion
public String phpVersion()
Get the phpVersion property: Version of PHP.- Returns:
- the phpVersion value.
-
withPhpVersion
public SiteConfigResourceInner withPhpVersion(String phpVersion)
Set the phpVersion property: Version of PHP.- Parameters:
phpVersion- the phpVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
pythonVersion
public String pythonVersion()
Get the pythonVersion property: Version of Python.- Returns:
- the pythonVersion value.
-
withPythonVersion
public SiteConfigResourceInner withPythonVersion(String pythonVersion)
Set the pythonVersion property: Version of Python.- Parameters:
pythonVersion- the pythonVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
nodeVersion
public String nodeVersion()
Get the nodeVersion property: Version of Node.js.- Returns:
- the nodeVersion value.
-
withNodeVersion
public SiteConfigResourceInner withNodeVersion(String nodeVersion)
Set the nodeVersion property: Version of Node.js.- Parameters:
nodeVersion- the nodeVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
powerShellVersion
public String powerShellVersion()
Get the powerShellVersion property: Version of PowerShell.- Returns:
- the powerShellVersion value.
-
withPowerShellVersion
public SiteConfigResourceInner withPowerShellVersion(String powerShellVersion)
Set the powerShellVersion property: Version of PowerShell.- Parameters:
powerShellVersion- the powerShellVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
linuxFxVersion
public String linuxFxVersion()
Get the linuxFxVersion property: Linux App Framework and version.- Returns:
- the linuxFxVersion value.
-
withLinuxFxVersion
public SiteConfigResourceInner withLinuxFxVersion(String linuxFxVersion)
Set the linuxFxVersion property: Linux App Framework and version.- Parameters:
linuxFxVersion- the linuxFxVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
windowsFxVersion
public String windowsFxVersion()
Get the windowsFxVersion property: Xenon App Framework and version.- Returns:
- the windowsFxVersion value.
-
withWindowsFxVersion
public SiteConfigResourceInner withWindowsFxVersion(String windowsFxVersion)
Set the windowsFxVersion property: Xenon App Framework and version.- Parameters:
windowsFxVersion- the windowsFxVersion value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
requestTracingExpirationTime
public OffsetDateTime requestTracingExpirationTime()
Get the requestTracingExpirationTime property: Request tracing expiration time.- Returns:
- the requestTracingExpirationTime value.
-
withRequestTracingExpirationTime
public SiteConfigResourceInner withRequestTracingExpirationTime(OffsetDateTime requestTracingExpirationTime)
Set the requestTracingExpirationTime property: Request tracing expiration time.- Parameters:
requestTracingExpirationTime- the requestTracingExpirationTime value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
remoteDebuggingVersion
public String remoteDebuggingVersion()
Get the remoteDebuggingVersion property: Remote debugging version.- Returns:
- the remoteDebuggingVersion value.
-
withRemoteDebuggingVersion
public SiteConfigResourceInner withRemoteDebuggingVersion(String remoteDebuggingVersion)
Set the remoteDebuggingVersion property: Remote debugging version.- Parameters:
remoteDebuggingVersion- the remoteDebuggingVersion value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
logsDirectorySizeLimit
public Integer logsDirectorySizeLimit()
Get the logsDirectorySizeLimit property: HTTP logs directory size limit.- Returns:
- the logsDirectorySizeLimit value.
-
withLogsDirectorySizeLimit
public SiteConfigResourceInner withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
Set the logsDirectorySizeLimit property: HTTP logs directory size limit.- Parameters:
logsDirectorySizeLimit- the logsDirectorySizeLimit value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
publishingUsername
public String publishingUsername()
Get the publishingUsername property: Publishing user name.- Returns:
- the publishingUsername value.
-
withPublishingUsername
public SiteConfigResourceInner withPublishingUsername(String publishingUsername)
Set the publishingUsername property: Publishing user name.- Parameters:
publishingUsername- the publishingUsername value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
appSettings
public List<NameValuePair> appSettings()
Get the appSettings property: Application settings.- Returns:
- the appSettings value.
-
withAppSettings
public SiteConfigResourceInner withAppSettings(List<NameValuePair> appSettings)
Set the appSettings property: Application settings.- Parameters:
appSettings- the appSettings value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
connectionStrings
public List<ConnStringInfo> connectionStrings()
Get the connectionStrings property: Connection strings.- Returns:
- the connectionStrings value.
-
withConnectionStrings
public SiteConfigResourceInner withConnectionStrings(List<ConnStringInfo> connectionStrings)
Set the connectionStrings property: Connection strings.- Parameters:
connectionStrings- the connectionStrings value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner withHandlerMappings(List<HandlerMapping> handlerMappings)
Set the handlerMappings property: Handler mappings.- Parameters:
handlerMappings- the handlerMappings value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
documentRoot
public String documentRoot()
Get the documentRoot property: Document root.- Returns:
- the documentRoot value.
-
withDocumentRoot
public SiteConfigResourceInner withDocumentRoot(String documentRoot)
Set the documentRoot property: Document root.- Parameters:
documentRoot- the documentRoot value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
scmType
public ScmType scmType()
Get the scmType property: SCM type.- Returns:
- the scmType value.
-
withScmType
public SiteConfigResourceInner withScmType(ScmType scmType)
Set the scmType property: SCM type.- Parameters:
scmType- the scmType value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
javaVersion
public String javaVersion()
Get the javaVersion property: Java version.- Returns:
- the javaVersion value.
-
withJavaVersion
public SiteConfigResourceInner withJavaVersion(String javaVersion)
Set the javaVersion property: Java version.- Parameters:
javaVersion- the javaVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
javaContainer
public String javaContainer()
Get the javaContainer property: Java container.- Returns:
- the javaContainer value.
-
withJavaContainer
public SiteConfigResourceInner withJavaContainer(String javaContainer)
Set the javaContainer property: Java container.- Parameters:
javaContainer- the javaContainer value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
javaContainerVersion
public String javaContainerVersion()
Get the javaContainerVersion property: Java container version.- Returns:
- the javaContainerVersion value.
-
withJavaContainerVersion
public SiteConfigResourceInner withJavaContainerVersion(String javaContainerVersion)
Set the javaContainerVersion property: Java container version.- Parameters:
javaContainerVersion- the javaContainerVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
appCommandLine
public String appCommandLine()
Get the appCommandLine property: App command line to launch.- Returns:
- the appCommandLine value.
-
withAppCommandLine
public SiteConfigResourceInner withAppCommandLine(String appCommandLine)
Set the appCommandLine property: App command line to launch.- Parameters:
appCommandLine- the appCommandLine value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
managedPipelineMode
public ManagedPipelineMode managedPipelineMode()
Get the managedPipelineMode property: Managed pipeline mode.- Returns:
- the managedPipelineMode value.
-
withManagedPipelineMode
public SiteConfigResourceInner withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Set the managedPipelineMode property: Managed pipeline mode.- Parameters:
managedPipelineMode- the managedPipelineMode value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
virtualApplications
public List<VirtualApplication> virtualApplications()
Get the virtualApplications property: Virtual applications.- Returns:
- the virtualApplications value.
-
withVirtualApplications
public SiteConfigResourceInner withVirtualApplications(List<VirtualApplication> virtualApplications)
Set the virtualApplications property: Virtual applications.- Parameters:
virtualApplications- the virtualApplications value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
loadBalancing
public SiteLoadBalancing loadBalancing()
Get the loadBalancing property: Site load balancing.- Returns:
- the loadBalancing value.
-
withLoadBalancing
public SiteConfigResourceInner withLoadBalancing(SiteLoadBalancing loadBalancing)
Set the loadBalancing property: Site load balancing.- Parameters:
loadBalancing- the loadBalancing value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
experiments
public Experiments experiments()
Get the experiments property: This is work around for polymorphic types.- Returns:
- the experiments value.
-
withExperiments
public SiteConfigResourceInner withExperiments(Experiments experiments)
Set the experiments property: This is work around for polymorphic types.- Parameters:
experiments- the experiments value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
limits
public SiteLimits limits()
Get the limits property: Site limits.- Returns:
- the limits value.
-
withLimits
public SiteConfigResourceInner withLimits(SiteLimits limits)
Set the limits property: Site limits.- Parameters:
limits- the limits value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
autoHealRules
public AutoHealRules autoHealRules()
Get the autoHealRules property: Auto Heal rules.- Returns:
- the autoHealRules value.
-
withAutoHealRules
public SiteConfigResourceInner withAutoHealRules(AutoHealRules autoHealRules)
Set the autoHealRules property: Auto Heal rules.- Parameters:
autoHealRules- the autoHealRules value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
tracingOptions
public String tracingOptions()
Get the tracingOptions property: Tracing options.- Returns:
- the tracingOptions value.
-
withTracingOptions
public SiteConfigResourceInner withTracingOptions(String tracingOptions)
Set the tracingOptions property: Tracing options.- Parameters:
tracingOptions- the tracingOptions value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
vnetName
public String vnetName()
Get the vnetName property: Virtual Network name.- Returns:
- the vnetName value.
-
withVnetName
public SiteConfigResourceInner withVnetName(String vnetName)
Set the vnetName property: Virtual Network name.- Parameters:
vnetName- the vnetName value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
cors
public CorsSettings cors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.- Returns:
- the cors value.
-
withCors
public SiteConfigResourceInner withCors(CorsSettings cors)
Set the cors property: Cross-Origin Resource Sharing (CORS) settings.- Parameters:
cors- the cors value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
push
public PushSettingsInner push()
Get the push property: Push endpoint settings.- Returns:
- the push value.
-
withPush
public SiteConfigResourceInner withPush(PushSettingsInner push)
Set the push property: Push endpoint settings.- Parameters:
push- the push value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
apiManagementConfig
public ApiManagementConfig apiManagementConfig()
Get the apiManagementConfig property: Azure API management settings linked to the app.- Returns:
- the apiManagementConfig value.
-
withApiManagementConfig
public SiteConfigResourceInner withApiManagementConfig(ApiManagementConfig apiManagementConfig)
Set the apiManagementConfig property: Azure API management settings linked to the app.- Parameters:
apiManagementConfig- the apiManagementConfig value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
autoSwapSlotName
public String autoSwapSlotName()
Get the autoSwapSlotName property: Auto-swap slot name.- Returns:
- the autoSwapSlotName value.
-
withAutoSwapSlotName
public SiteConfigResourceInner withAutoSwapSlotName(String autoSwapSlotName)
Set the autoSwapSlotName property: Auto-swap slot name.- Parameters:
autoSwapSlotName- the autoSwapSlotName value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
managedServiceIdentityId
public Integer managedServiceIdentityId()
Get the managedServiceIdentityId property: Managed Service Identity Id.- Returns:
- the managedServiceIdentityId value.
-
withManagedServiceIdentityId
public SiteConfigResourceInner withManagedServiceIdentityId(Integer managedServiceIdentityId)
Set the managedServiceIdentityId property: Managed Service Identity Id.- Parameters:
managedServiceIdentityId- the managedServiceIdentityId value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
xManagedServiceIdentityId
public Integer xManagedServiceIdentityId()
Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.- Returns:
- the xManagedServiceIdentityId value.
-
withXManagedServiceIdentityId
public SiteConfigResourceInner withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)
Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.- Parameters:
xManagedServiceIdentityId- the xManagedServiceIdentityId value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
keyVaultReferenceIdentity
public String keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.- Returns:
- the keyVaultReferenceIdentity value.
-
withKeyVaultReferenceIdentity
public SiteConfigResourceInner withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.- Parameters:
keyVaultReferenceIdentity- the keyVaultReferenceIdentity value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
ipSecurityRestrictions
public List<IpSecurityRestriction> ipSecurityRestrictions()
Get the ipSecurityRestrictions property: IP security restrictions for main.- Returns:
- the ipSecurityRestrictions value.
-
withIpSecurityRestrictions
public SiteConfigResourceInner withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)
Set the ipSecurityRestrictions property: IP security restrictions for main.- Parameters:
ipSecurityRestrictions- the ipSecurityRestrictions value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
scmIpSecurityRestrictions
public List<IpSecurityRestriction> scmIpSecurityRestrictions()
Get the scmIpSecurityRestrictions property: IP security restrictions for scm.- Returns:
- the scmIpSecurityRestrictions value.
-
withScmIpSecurityRestrictions
public SiteConfigResourceInner withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)
Set the scmIpSecurityRestrictions property: IP security restrictions for scm.- Parameters:
scmIpSecurityRestrictions- the scmIpSecurityRestrictions value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
scmIpSecurityRestrictionsUseMain
public Boolean scmIpSecurityRestrictionsUseMain()
Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.- Returns:
- the scmIpSecurityRestrictionsUseMain value.
-
withScmIpSecurityRestrictionsUseMain
public SiteConfigResourceInner withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)
Set the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.- Parameters:
scmIpSecurityRestrictionsUseMain- the scmIpSecurityRestrictionsUseMain value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
ftpsState
public FtpsState ftpsState()
Get the ftpsState property: State of FTP / FTPS service.- Returns:
- the ftpsState value.
-
withFtpsState
public SiteConfigResourceInner withFtpsState(FtpsState ftpsState)
Set the ftpsState property: State of FTP / FTPS service.- Parameters:
ftpsState- the ftpsState value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
healthCheckPath
public String healthCheckPath()
Get the healthCheckPath property: Health check path.- Returns:
- the healthCheckPath value.
-
withHealthCheckPath
public SiteConfigResourceInner withHealthCheckPath(String healthCheckPath)
Set the healthCheckPath property: Health check path.- Parameters:
healthCheckPath- the healthCheckPath value to set.- Returns:
- the SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner 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 SiteConfigResourceInner object itself.
-
azureStorageAccounts
public Map<String,AzureStorageInfoValue> azureStorageAccounts()
Get the azureStorageAccounts property: List of Azure Storage Accounts.- Returns:
- the azureStorageAccounts value.
-
withAzureStorageAccounts
public SiteConfigResourceInner withAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)
Set the azureStorageAccounts property: List of Azure Storage Accounts.- Parameters:
azureStorageAccounts- the azureStorageAccounts value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
publicNetworkAccess
public String publicNetworkAccess()
Get the publicNetworkAccess property: Property to allow or block all public traffic.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public SiteConfigResourceInner withPublicNetworkAccess(String publicNetworkAccess)
Set the publicNetworkAccess property: Property to allow or block all public traffic.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-