SiteConfigInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. SiteConfigInner
- com.
Implements
public final class SiteConfigInner
implements JsonSerializable<SiteConfigInner>
Configuration of an App Service app.
Constructor Summary
Constructor | Description |
---|---|
SiteConfigInner() |
Creates an instance of Site |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
acrUseManagedIdentityCreds()
Get the acr |
String |
acrUserManagedIdentityId()
Get the acr |
Boolean |
alwaysOn()
Get the always |
Api |
apiDefinition()
Get the api |
Api |
apiManagementConfig()
Get the api |
String |
appCommandLine()
Get the app |
List<Name |
appSettings()
Get the app |
Boolean |
autoHealEnabled()
Get the auto |
Auto |
autoHealRules()
Get the auto |
String |
autoSwapSlotName()
Get the auto |
Map<String,Azure |
azureStorageAccounts()
Get the azure |
List<Conn |
connectionStrings()
Get the connection |
Cors |
cors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings. |
List<String> |
defaultDocuments()
Get the default |
Boolean |
detailedErrorLoggingEnabled()
Get the detailed |
String |
documentRoot()
Get the document |
Integer |
elasticWebAppScaleLimit()
Get the elastic |
Experiments |
experiments()
Get the experiments property: This is work around for polymorphic types. |
static
Site |
fromJson(JsonReader jsonReader)
Reads an instance of Site |
Ftps |
ftpsState()
Get the ftps |
Integer |
functionAppScaleLimit()
Get the function |
Boolean |
functionsRuntimeScaleMonitoringEnabled()
Get the functions |
List<Handler |
handlerMappings()
Get the handler |
String |
healthCheckPath()
Get the health |
Boolean |
http20Enabled()
Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0. |
Boolean |
httpLoggingEnabled()
Get the http |
List<Ip |
ipSecurityRestrictions()
Get the ip |
Default |
ipSecurityRestrictionsDefaultAction()
Get the ip |
String |
javaContainer()
Get the java |
String |
javaContainerVersion()
Get the java |
String |
javaVersion()
Get the java |
String |
keyVaultReferenceIdentity()
Get the key |
Site |
limits()
Get the limits property: Site limits. |
String |
linuxFxVersion()
Get the linux |
Site |
loadBalancing()
Get the load |
Boolean |
localMySqlEnabled()
Get the local |
Integer |
logsDirectorySizeLimit()
Get the logs |
Site |
machineKey()
Get the machine |
Managed |
managedPipelineMode()
Get the managed |
Integer |
managedServiceIdentityId()
Get the managed |
List<Name |
metadata()
Get the metadata property: Application metadata. |
Tls |
minTlsCipherSuite()
Get the min |
Supported |
minTlsVersion()
Get the min |
Integer |
minimumElasticInstanceCount()
Get the minimum |
String |
netFrameworkVersion()
Get the net |
String |
nodeVersion()
Get the node |
Integer |
numberOfWorkers()
Get the number |
String |
phpVersion()
Get the php |
String |
powerShellVersion()
Get the power |
Integer |
preWarmedInstanceCount()
Get the pre |
String |
publicNetworkAccess()
Get the public |
String |
publishingUsername()
Get the publishing |
Push |
push()
Get the push property: Push endpoint settings. |
String |
pythonVersion()
Get the python |
Boolean |
remoteDebuggingEnabled()
Get the remote |
String |
remoteDebuggingVersion()
Get the remote |
Boolean |
requestTracingEnabled()
Get the request |
Offset |
requestTracingExpirationTime()
Get the request |
List<Ip |
scmIpSecurityRestrictions()
Get the scm |
Default |
scmIpSecurityRestrictionsDefaultAction()
Get the scm |
Boolean |
scmIpSecurityRestrictionsUseMain()
Get the scm |
Supported |
scmMinTlsVersion()
Get the scm |
Scm |
scmType()
Get the scm |
Json |
toJson(JsonWriter jsonWriter) |
String |
tracingOptions()
Get the tracing |
Boolean |
use32BitWorkerProcess()
Get the use32Bit |
void |
validate()
Validates the instance. |
List<Virtual |
virtualApplications()
Get the virtual |
String |
vnetName()
Get the vnet |
Integer |
vnetPrivatePortsCount()
Get the vnet |
Boolean |
vnetRouteAllEnabled()
Get the vnet |
Boolean |
webSocketsEnabled()
Get the web |
String |
websiteTimeZone()
Get the website |
String |
windowsFxVersion()
Get the windows |
Site |
withAcrUseManagedIdentityCreds(Boolean acrUseManagedIdentityCreds)
Set the acr |
Site |
withAcrUserManagedIdentityId(String acrUserManagedIdentityId)
Set the acr |
Site |
withAlwaysOn(Boolean alwaysOn)
Set the always |
Site |
withApiDefinition(ApiDefinitionInfo apiDefinition)
Set the api |
Site |
withApiManagementConfig(ApiManagementConfig apiManagementConfig)
Set the api |
Site |
withAppCommandLine(String appCommandLine)
Set the app |
Site |
withAppSettings(List<NameValuePair> appSettings)
Set the app |
Site |
withAutoHealEnabled(Boolean autoHealEnabled)
Set the auto |
Site |
withAutoHealRules(AutoHealRules autoHealRules)
Set the auto |
Site |
withAutoSwapSlotName(String autoSwapSlotName)
Set the auto |
Site |
withAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)
Set the azure |
Site |
withConnectionStrings(List<ConnStringInfo> connectionStrings)
Set the connection |
Site |
withCors(CorsSettings cors)
Set the cors property: Cross-Origin Resource Sharing (CORS) settings. |
Site |
withDefaultDocuments(List<String> defaultDocuments)
Set the default |
Site |
withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)
Set the detailed |
Site |
withDocumentRoot(String documentRoot)
Set the document |
Site |
withElasticWebAppScaleLimit(Integer elasticWebAppScaleLimit)
Set the elastic |
Site |
withExperiments(Experiments experiments)
Set the experiments property: This is work around for polymorphic types. |
Site |
withFtpsState(FtpsState ftpsState)
Set the ftps |
Site |
withFunctionAppScaleLimit(Integer functionAppScaleLimit)
Set the function |
Site |
withFunctionsRuntimeScaleMonitoringEnabled(Boolean functionsRuntimeScaleMonitoringEnabled)
Set the functions |
Site |
withHandlerMappings(List<HandlerMapping> handlerMappings)
Set the handler |
Site |
withHealthCheckPath(String healthCheckPath)
Set the health |
Site |
withHttp20Enabled(Boolean http20Enabled)
Set the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0. |
Site |
withHttpLoggingEnabled(Boolean httpLoggingEnabled)
Set the http |
Site |
withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)
Set the ip |
Site |
withIpSecurityRestrictionsDefaultAction(DefaultAction ipSecurityRestrictionsDefaultAction)
Set the ip |
Site |
withJavaContainer(String javaContainer)
Set the java |
Site |
withJavaContainerVersion(String javaContainerVersion)
Set the java |
Site |
withJavaVersion(String javaVersion)
Set the java |
Site |
withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
Set the key |
Site |
withLimits(SiteLimits limits)
Set the limits property: Site limits. |
Site |
withLinuxFxVersion(String linuxFxVersion)
Set the linux |
Site |
withLoadBalancing(SiteLoadBalancing loadBalancing)
Set the load |
Site |
withLocalMySqlEnabled(Boolean localMySqlEnabled)
Set the local |
Site |
withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
Set the logs |
Site |
withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Set the managed |
Site |
withManagedServiceIdentityId(Integer managedServiceIdentityId)
Set the managed |
Site |
withMetadata(List<NameValuePair> metadata)
Set the metadata property: Application metadata. |
Site |
withMinTlsCipherSuite(TlsCipherSuites minTlsCipherSuite)
Set the min |
Site |
withMinTlsVersion(SupportedTlsVersions minTlsVersion)
Set the min |
Site |
withMinimumElasticInstanceCount(Integer minimumElasticInstanceCount)
Set the minimum |
Site |
withNetFrameworkVersion(String netFrameworkVersion)
Set the net |
Site |
withNodeVersion(String nodeVersion)
Set the node |
Site |
withNumberOfWorkers(Integer numberOfWorkers)
Set the number |
Site |
withPhpVersion(String phpVersion)
Set the php |
Site |
withPowerShellVersion(String powerShellVersion)
Set the power |
Site |
withPreWarmedInstanceCount(Integer preWarmedInstanceCount)
Set the pre |
Site |
withPublicNetworkAccess(String publicNetworkAccess)
Set the public |
Site |
withPublishingUsername(String publishingUsername)
Set the publishing |
Site |
withPush(PushSettingsInner push)
Set the push property: Push endpoint settings. |
Site |
withPythonVersion(String pythonVersion)
Set the python |
Site |
withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)
Set the remote |
Site |
withRemoteDebuggingVersion(String remoteDebuggingVersion)
Set the remote |
Site |
withRequestTracingEnabled(Boolean requestTracingEnabled)
Set the request |
Site |
withRequestTracingExpirationTime(OffsetDateTime requestTracingExpirationTime)
Set the request |
Site |
withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)
Set the scm |
Site |
withScmIpSecurityRestrictionsDefaultAction(DefaultAction scmIpSecurityRestrictionsDefaultAction)
Set the scm |
Site |
withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)
Set the scm |
Site |
withScmMinTlsVersion(SupportedTlsVersions scmMinTlsVersion)
Set the scm |
Site |
withScmType(ScmType scmType)
Set the scm |
Site |
withTracingOptions(String tracingOptions)
Set the tracing |
Site |
withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)
Set the use32Bit |
Site |
withVirtualApplications(List<VirtualApplication> virtualApplications)
Set the virtual |
Site |
withVnetName(String vnetName)
Set the vnet |
Site |
withVnetPrivatePortsCount(Integer vnetPrivatePortsCount)
Set the vnet |
Site |
withVnetRouteAllEnabled(Boolean vnetRouteAllEnabled)
Set the vnet |
Site |
withWebSocketsEnabled(Boolean webSocketsEnabled)
Set the web |
Site |
withWebsiteTimeZone(String websiteTimeZone)
Set the website |
Site |
withWindowsFxVersion(String windowsFxVersion)
Set the windows |
Site |
withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)
Set the x |
Integer |
xManagedServiceIdentityId()
Get the x |
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:
acrUserManagedIdentityId
public String acrUserManagedIdentityId()
Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.
Returns:
alwaysOn
public Boolean alwaysOn()
Get the alwaysOn property: true
if Always On is enabled; otherwise, false
.
Returns:
apiDefinition
public ApiDefinitionInfo apiDefinition()
Get the apiDefinition property: Information about the formal API definition for the app.
Returns:
apiManagementConfig
public ApiManagementConfig apiManagementConfig()
Get the apiManagementConfig property: Azure API management settings linked to the app.
Returns:
appCommandLine
public String appCommandLine()
Get the appCommandLine property: App command line to launch.
Returns:
appSettings
public List
Get the appSettings property: Application settings.
Returns:
autoHealEnabled
public Boolean autoHealEnabled()
Get the autoHealEnabled property: true
if Auto Heal is enabled; otherwise, false
.
Returns:
autoHealRules
public AutoHealRules autoHealRules()
Get the autoHealRules property: Auto Heal rules.
Returns:
autoSwapSlotName
public String autoSwapSlotName()
Get the autoSwapSlotName property: Auto-swap slot name.
Returns:
azureStorageAccounts
public Map
Get the azureStorageAccounts property: List of Azure Storage Accounts.
Returns:
connectionStrings
public List
Get the connectionStrings property: Connection strings.
Returns:
cors
public CorsSettings cors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.
Returns:
defaultDocuments
public List
Get the defaultDocuments property: Default documents.
Returns:
detailedErrorLoggingEnabled
public Boolean detailedErrorLoggingEnabled()
Get the detailedErrorLoggingEnabled property: true
if detailed error logging is enabled; otherwise, false
.
Returns:
documentRoot
public String documentRoot()
Get the documentRoot property: Document root.
Returns:
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:
experiments
public Experiments experiments()
Get the experiments property: This is work around for polymorphic types.
Returns:
fromJson
public static SiteConfigInner fromJson(JsonReader jsonReader)
Reads an instance of SiteConfigInner from the JsonReader.
Parameters:
Returns:
Throws:
ftpsState
public FtpsState ftpsState()
Get the ftpsState property: State of FTP / FTPS service.
Returns:
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:
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:
handlerMappings
public List
Get the handlerMappings property: Handler mappings.
Returns:
healthCheckPath
public String healthCheckPath()
Get the healthCheckPath property: Health check path.
Returns:
http20Enabled
public Boolean http20Enabled()
Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.
Returns:
httpLoggingEnabled
public Boolean httpLoggingEnabled()
Get the httpLoggingEnabled property: true
if HTTP logging is enabled; otherwise, false
.
Returns:
ipSecurityRestrictions
public List
Get the ipSecurityRestrictions property: IP security restrictions for main.
Returns:
ipSecurityRestrictionsDefaultAction
public DefaultAction ipSecurityRestrictionsDefaultAction()
Get the ipSecurityRestrictionsDefaultAction property: Default action for main access restriction if no rules are matched.
Returns:
javaContainer
public String javaContainer()
Get the javaContainer property: Java container.
Returns:
javaContainerVersion
public String javaContainerVersion()
Get the javaContainerVersion property: Java container version.
Returns:
javaVersion
public String javaVersion()
Get the javaVersion property: Java version.
Returns:
keyVaultReferenceIdentity
public String keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
Returns:
limits
public SiteLimits limits()
Get the limits property: Site limits.
Returns:
linuxFxVersion
public String linuxFxVersion()
Get the linuxFxVersion property: Linux App Framework and version.
Returns:
loadBalancing
public SiteLoadBalancing loadBalancing()
Get the loadBalancing property: Site load balancing.
Returns:
localMySqlEnabled
public Boolean localMySqlEnabled()
Get the localMySqlEnabled property: true
to enable local MySQL; otherwise, false
.
Returns:
logsDirectorySizeLimit
public Integer logsDirectorySizeLimit()
Get the logsDirectorySizeLimit property: HTTP logs directory size limit.
Returns:
machineKey
public SiteMachineKey machineKey()
Get the machineKey property: Site MachineKey.
Returns:
managedPipelineMode
public ManagedPipelineMode managedPipelineMode()
Get the managedPipelineMode property: Managed pipeline mode.
Returns:
managedServiceIdentityId
public Integer managedServiceIdentityId()
Get the managedServiceIdentityId property: Managed Service Identity Id.
Returns:
metadata
public List
Get the metadata property: Application metadata. This property cannot be retrieved, since it may contain secrets.
Returns:
minTlsCipherSuite
public TlsCipherSuites minTlsCipherSuite()
Get the minTlsCipherSuite property: The minimum strength TLS cipher suite allowed for an application.
Returns:
minTlsVersion
public SupportedTlsVersions minTlsVersion()
Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.
Returns:
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:
netFrameworkVersion
public String netFrameworkVersion()
Get the netFrameworkVersion property: .NET Framework version.
Returns:
nodeVersion
public String nodeVersion()
Get the nodeVersion property: Version of Node.js.
Returns:
numberOfWorkers
public Integer numberOfWorkers()
Get the numberOfWorkers property: Number of workers.
Returns:
phpVersion
public String phpVersion()
Get the phpVersion property: Version of PHP.
Returns:
powerShellVersion
public String powerShellVersion()
Get the powerShellVersion property: Version of PowerShell.
Returns:
preWarmedInstanceCount
public Integer preWarmedInstanceCount()
Get the preWarmedInstanceCount property: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.
Returns:
publicNetworkAccess
public String publicNetworkAccess()
Get the publicNetworkAccess property: Property to allow or block all public traffic.
Returns:
publishingUsername
public String publishingUsername()
Get the publishingUsername property: Publishing user name.
Returns:
push
public PushSettingsInner push()
Get the push property: Push endpoint settings.
Returns:
pythonVersion
public String pythonVersion()
Get the pythonVersion property: Version of Python.
Returns:
remoteDebuggingEnabled
public Boolean remoteDebuggingEnabled()
Get the remoteDebuggingEnabled property: true
if remote debugging is enabled; otherwise, false
.
Returns:
remoteDebuggingVersion
public String remoteDebuggingVersion()
Get the remoteDebuggingVersion property: Remote debugging version.
Returns:
requestTracingEnabled
public Boolean requestTracingEnabled()
Get the requestTracingEnabled property: true
if request tracing is enabled; otherwise, false
.
Returns:
requestTracingExpirationTime
public OffsetDateTime requestTracingExpirationTime()
Get the requestTracingExpirationTime property: Request tracing expiration time.
Returns:
scmIpSecurityRestrictions
public List
Get the scmIpSecurityRestrictions property: IP security restrictions for scm.
Returns:
scmIpSecurityRestrictionsDefaultAction
public DefaultAction scmIpSecurityRestrictionsDefaultAction()
Get the scmIpSecurityRestrictionsDefaultAction property: Default action for scm access restriction if no rules are matched.
Returns:
scmIpSecurityRestrictionsUseMain
public Boolean scmIpSecurityRestrictionsUseMain()
Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.
Returns:
scmMinTlsVersion
public SupportedTlsVersions scmMinTlsVersion()
Get the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.
Returns:
scmType
public ScmType scmType()
Get the scmType property: SCM type.
Returns:
toJson
tracingOptions
public String tracingOptions()
Get the tracingOptions property: Tracing options.
Returns:
use32BitWorkerProcess
public Boolean use32BitWorkerProcess()
Get the use32BitWorkerProcess property: true
to use 32-bit worker process; otherwise, false
.
Returns:
validate
public void validate()
Validates the instance.
virtualApplications
public List
Get the virtualApplications property: Virtual applications.
Returns:
vnetName
public String vnetName()
Get the vnetName property: Virtual Network name.
Returns:
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:
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:
webSocketsEnabled
public Boolean webSocketsEnabled()
Get the webSocketsEnabled property: true
if WebSocket is enabled; otherwise, false
.
Returns:
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:
windowsFxVersion
public String windowsFxVersion()
Get the windowsFxVersion property: Xenon App Framework and version.
Returns:
withAcrUseManagedIdentityCreds
public SiteConfigInner withAcrUseManagedIdentityCreds(Boolean acrUseManagedIdentityCreds)
Set the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.
Parameters:
Returns:
withAcrUserManagedIdentityId
public SiteConfigInner withAcrUserManagedIdentityId(String acrUserManagedIdentityId)
Set the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.
Parameters:
Returns:
withAlwaysOn
public SiteConfigInner withAlwaysOn(Boolean alwaysOn)
Set the alwaysOn property: true
if Always On is enabled; otherwise, false
.
Parameters:
Returns:
withApiDefinition
public SiteConfigInner withApiDefinition(ApiDefinitionInfo apiDefinition)
Set the apiDefinition property: Information about the formal API definition for the app.
Parameters:
Returns:
withApiManagementConfig
public SiteConfigInner withApiManagementConfig(ApiManagementConfig apiManagementConfig)
Set the apiManagementConfig property: Azure API management settings linked to the app.
Parameters:
Returns:
withAppCommandLine
public SiteConfigInner withAppCommandLine(String appCommandLine)
Set the appCommandLine property: App command line to launch.
Parameters:
Returns:
withAppSettings
public SiteConfigInner withAppSettings(List
Set the appSettings property: Application settings.
Parameters:
Returns:
withAutoHealEnabled
public SiteConfigInner withAutoHealEnabled(Boolean autoHealEnabled)
Set the autoHealEnabled property: true
if Auto Heal is enabled; otherwise, false
.
Parameters:
Returns:
withAutoHealRules
public SiteConfigInner withAutoHealRules(AutoHealRules autoHealRules)
Set the autoHealRules property: Auto Heal rules.
Parameters:
Returns:
withAutoSwapSlotName
public SiteConfigInner withAutoSwapSlotName(String autoSwapSlotName)
Set the autoSwapSlotName property: Auto-swap slot name.
Parameters:
Returns:
withAzureStorageAccounts
public SiteConfigInner withAzureStorageAccounts(Map
Set the azureStorageAccounts property: List of Azure Storage Accounts.
Parameters:
Returns:
withConnectionStrings
public SiteConfigInner withConnectionStrings(List
Set the connectionStrings property: Connection strings.
Parameters:
Returns:
withCors
public SiteConfigInner withCors(CorsSettings cors)
Set the cors property: Cross-Origin Resource Sharing (CORS) settings.
Parameters:
Returns:
withDefaultDocuments
public SiteConfigInner withDefaultDocuments(List
Set the defaultDocuments property: Default documents.
Parameters:
Returns:
withDetailedErrorLoggingEnabled
public SiteConfigInner withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)
Set the detailedErrorLoggingEnabled property: true
if detailed error logging is enabled; otherwise, false
.
Parameters:
Returns:
withDocumentRoot
public SiteConfigInner withDocumentRoot(String documentRoot)
Set the documentRoot property: Document root.
Parameters:
Returns:
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:
Returns:
withExperiments
public SiteConfigInner withExperiments(Experiments experiments)
Set the experiments property: This is work around for polymorphic types.
Parameters:
Returns:
withFtpsState
public SiteConfigInner withFtpsState(FtpsState ftpsState)
Set the ftpsState property: State of FTP / FTPS service.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withHandlerMappings
public SiteConfigInner withHandlerMappings(List
Set the handlerMappings property: Handler mappings.
Parameters:
Returns:
withHealthCheckPath
public SiteConfigInner withHealthCheckPath(String healthCheckPath)
Set the healthCheckPath property: Health check path.
Parameters:
Returns:
withHttp20Enabled
public SiteConfigInner withHttp20Enabled(Boolean http20Enabled)
Set the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.
Parameters:
Returns:
withHttpLoggingEnabled
public SiteConfigInner withHttpLoggingEnabled(Boolean httpLoggingEnabled)
Set the httpLoggingEnabled property: true
if HTTP logging is enabled; otherwise, false
.
Parameters:
Returns:
withIpSecurityRestrictions
public SiteConfigInner withIpSecurityRestrictions(List
Set the ipSecurityRestrictions property: IP security restrictions for main.
Parameters:
Returns:
withIpSecurityRestrictionsDefaultAction
public SiteConfigInner withIpSecurityRestrictionsDefaultAction(DefaultAction ipSecurityRestrictionsDefaultAction)
Set the ipSecurityRestrictionsDefaultAction property: Default action for main access restriction if no rules are matched.
Parameters:
Returns:
withJavaContainer
public SiteConfigInner withJavaContainer(String javaContainer)
Set the javaContainer property: Java container.
Parameters:
Returns:
withJavaContainerVersion
public SiteConfigInner withJavaContainerVersion(String javaContainerVersion)
Set the javaContainerVersion property: Java container version.
Parameters:
Returns:
withJavaVersion
public SiteConfigInner withJavaVersion(String javaVersion)
Set the javaVersion property: Java version.
Parameters:
Returns:
withKeyVaultReferenceIdentity
public SiteConfigInner withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
Parameters:
Returns:
withLimits
public SiteConfigInner withLimits(SiteLimits limits)
Set the limits property: Site limits.
Parameters:
Returns:
withLinuxFxVersion
public SiteConfigInner withLinuxFxVersion(String linuxFxVersion)
Set the linuxFxVersion property: Linux App Framework and version.
Parameters:
Returns:
withLoadBalancing
public SiteConfigInner withLoadBalancing(SiteLoadBalancing loadBalancing)
Set the loadBalancing property: Site load balancing.
Parameters:
Returns:
withLocalMySqlEnabled
public SiteConfigInner withLocalMySqlEnabled(Boolean localMySqlEnabled)
Set the localMySqlEnabled property: true
to enable local MySQL; otherwise, false
.
Parameters:
Returns:
withLogsDirectorySizeLimit
public SiteConfigInner withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
Set the logsDirectorySizeLimit property: HTTP logs directory size limit.
Parameters:
Returns:
withManagedPipelineMode
public SiteConfigInner withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Set the managedPipelineMode property: Managed pipeline mode.
Parameters:
Returns:
withManagedServiceIdentityId
public SiteConfigInner withManagedServiceIdentityId(Integer managedServiceIdentityId)
Set the managedServiceIdentityId property: Managed Service Identity Id.
Parameters:
Returns:
withMetadata
public SiteConfigInner withMetadata(List
Set the metadata property: Application metadata. This property cannot be retrieved, since it may contain secrets.
Parameters:
Returns:
withMinTlsCipherSuite
public SiteConfigInner withMinTlsCipherSuite(TlsCipherSuites minTlsCipherSuite)
Set the minTlsCipherSuite property: The minimum strength TLS cipher suite allowed for an application.
Parameters:
Returns:
withMinTlsVersion
public SiteConfigInner withMinTlsVersion(SupportedTlsVersions minTlsVersion)
Set the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.
Parameters:
Returns:
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:
Returns:
withNetFrameworkVersion
public SiteConfigInner withNetFrameworkVersion(String netFrameworkVersion)
Set the netFrameworkVersion property: .NET Framework version.
Parameters:
Returns:
withNodeVersion
public SiteConfigInner withNodeVersion(String nodeVersion)
Set the nodeVersion property: Version of Node.js.
Parameters:
Returns:
withNumberOfWorkers
public SiteConfigInner withNumberOfWorkers(Integer numberOfWorkers)
Set the numberOfWorkers property: Number of workers.
Parameters:
Returns:
withPhpVersion
public SiteConfigInner withPhpVersion(String phpVersion)
Set the phpVersion property: Version of PHP.
Parameters:
Returns:
withPowerShellVersion
public SiteConfigInner withPowerShellVersion(String powerShellVersion)
Set the powerShellVersion property: Version of PowerShell.
Parameters:
Returns:
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:
Returns:
withPublicNetworkAccess
public SiteConfigInner withPublicNetworkAccess(String publicNetworkAccess)
Set the publicNetworkAccess property: Property to allow or block all public traffic.
Parameters:
Returns:
withPublishingUsername
public SiteConfigInner withPublishingUsername(String publishingUsername)
Set the publishingUsername property: Publishing user name.
Parameters:
Returns:
withPush
public SiteConfigInner withPush(PushSettingsInner push)
Set the push property: Push endpoint settings.
Parameters:
Returns:
withPythonVersion
public SiteConfigInner withPythonVersion(String pythonVersion)
Set the pythonVersion property: Version of Python.
Parameters:
Returns:
withRemoteDebuggingEnabled
public SiteConfigInner withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)
Set the remoteDebuggingEnabled property: true
if remote debugging is enabled; otherwise, false
.
Parameters:
Returns:
withRemoteDebuggingVersion
public SiteConfigInner withRemoteDebuggingVersion(String remoteDebuggingVersion)
Set the remoteDebuggingVersion property: Remote debugging version.
Parameters:
Returns:
withRequestTracingEnabled
public SiteConfigInner withRequestTracingEnabled(Boolean requestTracingEnabled)
Set the requestTracingEnabled property: true
if request tracing is enabled; otherwise, false
.
Parameters:
Returns:
withRequestTracingExpirationTime
public SiteConfigInner withRequestTracingExpirationTime(OffsetDateTime requestTracingExpirationTime)
Set the requestTracingExpirationTime property: Request tracing expiration time.
Parameters:
Returns:
withScmIpSecurityRestrictions
public SiteConfigInner withScmIpSecurityRestrictions(List
Set the scmIpSecurityRestrictions property: IP security restrictions for scm.
Parameters:
Returns:
withScmIpSecurityRestrictionsDefaultAction
public SiteConfigInner withScmIpSecurityRestrictionsDefaultAction(DefaultAction scmIpSecurityRestrictionsDefaultAction)
Set the scmIpSecurityRestrictionsDefaultAction property: Default action for scm access restriction if no rules are matched.
Parameters:
Returns:
withScmIpSecurityRestrictionsUseMain
public SiteConfigInner withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)
Set the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.
Parameters:
Returns:
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:
Returns:
withScmType
public SiteConfigInner withScmType(ScmType scmType)
Set the scmType property: SCM type.
Parameters:
Returns:
withTracingOptions
public SiteConfigInner withTracingOptions(String tracingOptions)
Set the tracingOptions property: Tracing options.
Parameters:
Returns:
withUse32BitWorkerProcess
public SiteConfigInner withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)
Set the use32BitWorkerProcess property: true
to use 32-bit worker process; otherwise, false
.
Parameters:
Returns:
withVirtualApplications
public SiteConfigInner withVirtualApplications(List
Set the virtualApplications property: Virtual applications.
Parameters:
Returns:
withVnetName
public SiteConfigInner withVnetName(String vnetName)
Set the vnetName property: Virtual Network name.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withWebSocketsEnabled
public SiteConfigInner withWebSocketsEnabled(Boolean webSocketsEnabled)
Set the webSocketsEnabled property: true
if WebSocket is enabled; otherwise, false
.
Parameters:
Returns:
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:
Returns:
withWindowsFxVersion
public SiteConfigInner withWindowsFxVersion(String windowsFxVersion)
Set the windowsFxVersion property: Xenon App Framework and version.
Parameters:
Returns:
withXManagedServiceIdentityId
public SiteConfigInner withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)
Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.
Parameters:
Returns:
xManagedServiceIdentityId
public Integer xManagedServiceIdentityId()
Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.
Returns:
Applies to
Azure SDK for Java