Class SiteConfigResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.SiteConfigResourceInner
Web app configuration ARM resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.alwaysOn()
Get the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.Get the apiDefinition property: Information about the formal API definition for the app.Get the apiManagementConfig property: Azure API management settings linked to the app.Get the appCommandLine property: App command line to launch.Get the appSettings property: Application settings.Get the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.Get the autoHealRules property: Auto Heal rules.Get the autoSwapSlotName property: Auto-swap slot name.Get the azureStorageAccounts property: List of Azure Storage Accounts.Get the connectionStrings property: Connection strings.cors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.Get the defaultDocuments property: Default documents.Get the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.Get the documentRoot property: Document root.Get the experiments property: This is work around for polymorphic types.Get the ftpsState property: State of FTP / FTPS service.Get the functionAppScaleLimit property: Maximum number of workers that a site can scale out to.Get the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled.Get the handlerMappings property: Handler mappings.Get the healthCheckPath property: Health check path.Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.Get the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.Get the ipSecurityRestrictions property: IP security restrictions for main.Get the javaContainer property: Java container.Get the javaContainerVersion property: Java container version.Get the javaVersion property: Java version.Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.limits()
Get the limits property: Site limits.Get the linuxFxVersion property: Linux App Framework and version.Get the loadBalancing property: Site load balancing.Get the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.Get the logsDirectorySizeLimit property: HTTP logs directory size limit.Get the machineKey property: Site MachineKey.Get the managedPipelineMode property: Managed pipeline mode.Get the managedServiceIdentityId property: Managed Service Identity Id.Get the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.Get the netFrameworkVersion property: .NET Framework version.Get the nodeVersion property: Version of Node.js.Get the numberOfWorkers property: Number of workers.Get the phpVersion property: Version of PHP.Get the powerShellVersion property: Version of PowerShell.Get the preWarmedInstanceCount property: Number of preWarmed instances.Get the publicNetworkAccess property: Property to allow or block all public traffic.Get the publishingUsername property: Publishing user name.push()
Get the push property: Push endpoint settings.Get the pythonVersion property: Version of Python.Get the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.Get the remoteDebuggingVersion property: Remote debugging version.Get the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.Get the requestTracingExpirationTime property: Request tracing expiration time.Get the scmIpSecurityRestrictions property: IP security restrictions for scm.Get the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.Get the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.scmType()
Get the scmType property: SCM type.Get the tracingOptions property: Tracing options.Get the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.void
validate()
Validates the instance.Get the virtualApplications property: Virtual applications.vnetName()
Get the vnetName property: Virtual Network name.Get the vnetPrivatePortsCount property: The number of private ports assigned to this app.Get the vnetRouteAllEnabled property: Virtual Network Route All enabled.Get the websiteTimeZone property: Sets the time zone a site uses for generating timestamps.Get the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.Get the windowsFxVersion property: Xenon App Framework and version.withAcrUseManagedIdentityCreds
(Boolean acrUseManagedIdentityCreds) Set the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.withAcrUserManagedIdentityId
(String acrUserManagedIdentityId) Set the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.withAlwaysOn
(Boolean alwaysOn) Set the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.withApiDefinition
(ApiDefinitionInfo apiDefinition) Set the apiDefinition property: Information about the formal API definition for the app.withApiManagementConfig
(ApiManagementConfig apiManagementConfig) Set the apiManagementConfig property: Azure API management settings linked to the app.withAppCommandLine
(String appCommandLine) Set the appCommandLine property: App command line to launch.withAppSettings
(List<NameValuePair> appSettings) Set the appSettings property: Application settings.withAutoHealEnabled
(Boolean autoHealEnabled) Set the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.withAutoHealRules
(AutoHealRules autoHealRules) Set the autoHealRules property: Auto Heal rules.withAutoSwapSlotName
(String autoSwapSlotName) Set the autoSwapSlotName property: Auto-swap slot name.withAzureStorageAccounts
(Map<String, AzureStorageInfoValue> azureStorageAccounts) Set the azureStorageAccounts property: List of Azure Storage Accounts.withConnectionStrings
(List<ConnStringInfo> connectionStrings) Set the connectionStrings property: Connection strings.withCors
(CorsSettings cors) Set the cors property: Cross-Origin Resource Sharing (CORS) settings.withDefaultDocuments
(List<String> defaultDocuments) Set the defaultDocuments property: Default documents.withDetailedErrorLoggingEnabled
(Boolean detailedErrorLoggingEnabled) Set the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.withDocumentRoot
(String documentRoot) Set the documentRoot property: Document root.withExperiments
(Experiments experiments) Set the experiments property: This is work around for polymorphic types.withFtpsState
(FtpsState ftpsState) Set the ftpsState property: State of FTP / FTPS service.withFunctionAppScaleLimit
(Integer functionAppScaleLimit) Set the functionAppScaleLimit property: Maximum number of workers that a site can scale out to.withFunctionsRuntimeScaleMonitoringEnabled
(Boolean functionsRuntimeScaleMonitoringEnabled) Set the functionsRuntimeScaleMonitoringEnabled property: Gets or sets a value indicating whether functions runtime scale monitoring is enabled.withHandlerMappings
(List<HandlerMapping> handlerMappings) Set the handlerMappings property: Handler mappings.withHealthCheckPath
(String healthCheckPath) Set the healthCheckPath property: Health check path.withHttp20Enabled
(Boolean http20Enabled) Set the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.withHttpLoggingEnabled
(Boolean httpLoggingEnabled) Set the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.withIpSecurityRestrictions
(List<IpSecurityRestriction> ipSecurityRestrictions) Set the ipSecurityRestrictions property: IP security restrictions for main.withJavaContainer
(String javaContainer) Set the javaContainer property: Java container.withJavaContainerVersion
(String javaContainerVersion) Set the javaContainerVersion property: Java container version.withJavaVersion
(String javaVersion) Set the javaVersion property: Java version.withKeyVaultReferenceIdentity
(String keyVaultReferenceIdentity) Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.Set the kind property: Kind of resource.withLimits
(SiteLimits limits) Set the limits property: Site limits.withLinuxFxVersion
(String linuxFxVersion) Set the linuxFxVersion property: Linux App Framework and version.withLoadBalancing
(SiteLoadBalancing loadBalancing) Set the loadBalancing property: Site load balancing.withLocalMySqlEnabled
(Boolean localMySqlEnabled) Set the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.withLogsDirectorySizeLimit
(Integer logsDirectorySizeLimit) Set the logsDirectorySizeLimit property: HTTP logs directory size limit.withManagedPipelineMode
(ManagedPipelineMode managedPipelineMode) Set the managedPipelineMode property: Managed pipeline mode.withManagedServiceIdentityId
(Integer managedServiceIdentityId) Set the managedServiceIdentityId property: Managed Service Identity Id.withMinimumElasticInstanceCount
(Integer minimumElasticInstanceCount) Set the minimumElasticInstanceCount property: Number of minimum instance count for a site This setting only applies to the Elastic Plans.withMinTlsVersion
(SupportedTlsVersions minTlsVersion) Set the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.withNetFrameworkVersion
(String netFrameworkVersion) Set the netFrameworkVersion property: .NET Framework version.withNodeVersion
(String nodeVersion) Set the nodeVersion property: Version of Node.js.withNumberOfWorkers
(Integer numberOfWorkers) Set the numberOfWorkers property: Number of workers.withPhpVersion
(String phpVersion) Set the phpVersion property: Version of PHP.withPowerShellVersion
(String powerShellVersion) Set the powerShellVersion property: Version of PowerShell.withPreWarmedInstanceCount
(Integer preWarmedInstanceCount) Set the preWarmedInstanceCount property: Number of preWarmed instances.withPublicNetworkAccess
(String publicNetworkAccess) Set the publicNetworkAccess property: Property to allow or block all public traffic.withPublishingUsername
(String publishingUsername) Set the publishingUsername property: Publishing user name.withPush
(PushSettingsInner push) Set the push property: Push endpoint settings.withPythonVersion
(String pythonVersion) Set the pythonVersion property: Version of Python.withRemoteDebuggingEnabled
(Boolean remoteDebuggingEnabled) Set the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.withRemoteDebuggingVersion
(String remoteDebuggingVersion) Set the remoteDebuggingVersion property: Remote debugging version.withRequestTracingEnabled
(Boolean requestTracingEnabled) Set the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.withRequestTracingExpirationTime
(OffsetDateTime requestTracingExpirationTime) Set the requestTracingExpirationTime property: Request tracing expiration time.withScmIpSecurityRestrictions
(List<IpSecurityRestriction> scmIpSecurityRestrictions) Set the scmIpSecurityRestrictions property: IP security restrictions for scm.withScmIpSecurityRestrictionsUseMain
(Boolean scmIpSecurityRestrictionsUseMain) Set the scmIpSecurityRestrictionsUseMain property: IP security restrictions for scm to use main.withScmMinTlsVersion
(SupportedTlsVersions scmMinTlsVersion) Set the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.withScmType
(ScmType scmType) Set the scmType property: SCM type.withTracingOptions
(String tracingOptions) Set the tracingOptions property: Tracing options.withUse32BitWorkerProcess
(Boolean use32BitWorkerProcess) Set the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.withVirtualApplications
(List<VirtualApplication> virtualApplications) Set the virtualApplications property: Virtual applications.withVnetName
(String vnetName) Set the vnetName property: Virtual Network name.withVnetPrivatePortsCount
(Integer vnetPrivatePortsCount) Set the vnetPrivatePortsCount property: The number of private ports assigned to this app.withVnetRouteAllEnabled
(Boolean vnetRouteAllEnabled) Set the vnetRouteAllEnabled property: Virtual Network Route All enabled.withWebsiteTimeZone
(String websiteTimeZone) Set the websiteTimeZone property: Sets the time zone a site uses for generating timestamps.withWebSocketsEnabled
(Boolean webSocketsEnabled) Set the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.withWindowsFxVersion
(String windowsFxVersion) Set the windowsFxVersion property: Xenon App Framework and version.withXManagedServiceIdentityId
(Integer xManagedServiceIdentityId) Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SiteConfigResourceInner
public SiteConfigResourceInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
numberOfWorkers
Get the numberOfWorkers property: Number of workers.- Returns:
- the numberOfWorkers value.
-
withNumberOfWorkers
Set the numberOfWorkers property: Number of workers.- Parameters:
numberOfWorkers
- the numberOfWorkers value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
defaultDocuments
Get the defaultDocuments property: Default documents.- Returns:
- the defaultDocuments value.
-
withDefaultDocuments
Set the defaultDocuments property: Default documents.- Parameters:
defaultDocuments
- the defaultDocuments value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
netFrameworkVersion
Get the netFrameworkVersion property: .NET Framework version.- Returns:
- the netFrameworkVersion value.
-
withNetFrameworkVersion
Set the netFrameworkVersion property: .NET Framework version.- Parameters:
netFrameworkVersion
- the netFrameworkVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
phpVersion
Get the phpVersion property: Version of PHP.- Returns:
- the phpVersion value.
-
withPhpVersion
Set the phpVersion property: Version of PHP.- Parameters:
phpVersion
- the phpVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
pythonVersion
Get the pythonVersion property: Version of Python.- Returns:
- the pythonVersion value.
-
withPythonVersion
Set the pythonVersion property: Version of Python.- Parameters:
pythonVersion
- the pythonVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
nodeVersion
Get the nodeVersion property: Version of Node.js.- Returns:
- the nodeVersion value.
-
withNodeVersion
Set the nodeVersion property: Version of Node.js.- Parameters:
nodeVersion
- the nodeVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
powerShellVersion
Get the powerShellVersion property: Version of PowerShell.- Returns:
- the powerShellVersion value.
-
withPowerShellVersion
Set the powerShellVersion property: Version of PowerShell.- Parameters:
powerShellVersion
- the powerShellVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
linuxFxVersion
Get the linuxFxVersion property: Linux App Framework and version.- Returns:
- the linuxFxVersion value.
-
withLinuxFxVersion
Set the linuxFxVersion property: Linux App Framework and version.- Parameters:
linuxFxVersion
- the linuxFxVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
windowsFxVersion
Get the windowsFxVersion property: Xenon App Framework and version.- Returns:
- the windowsFxVersion value.
-
withWindowsFxVersion
Set the windowsFxVersion property: Xenon App Framework and version.- Parameters:
windowsFxVersion
- the windowsFxVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
requestTracingEnabled
Get the requestTracingEnabled property: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.- Returns:
- the requestTracingEnabled value.
-
withRequestTracingEnabled
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
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
Get the remoteDebuggingEnabled property: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.- Returns:
- the remoteDebuggingEnabled value.
-
withRemoteDebuggingEnabled
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
Get the remoteDebuggingVersion property: Remote debugging version.- Returns:
- the remoteDebuggingVersion value.
-
withRemoteDebuggingVersion
Set the remoteDebuggingVersion property: Remote debugging version.- Parameters:
remoteDebuggingVersion
- the remoteDebuggingVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
httpLoggingEnabled
Get the httpLoggingEnabled property: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.- Returns:
- the httpLoggingEnabled value.
-
withHttpLoggingEnabled
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
Get the acrUseManagedIdentityCreds property: Flag to use Managed Identity Creds for ACR pull.- Returns:
- the acrUseManagedIdentityCreds value.
-
withAcrUseManagedIdentityCreds
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
Get the acrUserManagedIdentityId property: If using user managed identity, the user managed identity ClientId.- Returns:
- the acrUserManagedIdentityId value.
-
withAcrUserManagedIdentityId
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
Get the logsDirectorySizeLimit property: HTTP logs directory size limit.- Returns:
- the logsDirectorySizeLimit value.
-
withLogsDirectorySizeLimit
Set the logsDirectorySizeLimit property: HTTP logs directory size limit.- Parameters:
logsDirectorySizeLimit
- the logsDirectorySizeLimit value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
detailedErrorLoggingEnabled
Get the detailedErrorLoggingEnabled property: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.- Returns:
- the detailedErrorLoggingEnabled value.
-
withDetailedErrorLoggingEnabled
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
Get the publishingUsername property: Publishing user name.- Returns:
- the publishingUsername value.
-
withPublishingUsername
Set the publishingUsername property: Publishing user name.- Parameters:
publishingUsername
- the publishingUsername value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
appSettings
Get the appSettings property: Application settings.- Returns:
- the appSettings value.
-
withAppSettings
Set the appSettings property: Application settings.- Parameters:
appSettings
- the appSettings value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
connectionStrings
Get the connectionStrings property: Connection strings.- Returns:
- the connectionStrings value.
-
withConnectionStrings
Set the connectionStrings property: Connection strings.- Parameters:
connectionStrings
- the connectionStrings value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
machineKey
Get the machineKey property: Site MachineKey.- Returns:
- the machineKey value.
-
handlerMappings
Get the handlerMappings property: Handler mappings.- Returns:
- the handlerMappings value.
-
withHandlerMappings
Set the handlerMappings property: Handler mappings.- Parameters:
handlerMappings
- the handlerMappings value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
documentRoot
Get the documentRoot property: Document root.- Returns:
- the documentRoot value.
-
withDocumentRoot
Set the documentRoot property: Document root.- Parameters:
documentRoot
- the documentRoot value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
scmType
Get the scmType property: SCM type.- Returns:
- the scmType value.
-
withScmType
Set the scmType property: SCM type.- Parameters:
scmType
- the scmType value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
use32BitWorkerProcess
Get the use32BitWorkerProcess property: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.- Returns:
- the use32BitWorkerProcess value.
-
withUse32BitWorkerProcess
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
Get the webSocketsEnabled property: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.- Returns:
- the webSocketsEnabled value.
-
withWebSocketsEnabled
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
Get the alwaysOn property: <code>true</code> if Always On is enabled; otherwise, <code>false</code>.- Returns:
- the alwaysOn value.
-
withAlwaysOn
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
Get the javaVersion property: Java version.- Returns:
- the javaVersion value.
-
withJavaVersion
Set the javaVersion property: Java version.- Parameters:
javaVersion
- the javaVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
javaContainer
Get the javaContainer property: Java container.- Returns:
- the javaContainer value.
-
withJavaContainer
Set the javaContainer property: Java container.- Parameters:
javaContainer
- the javaContainer value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
javaContainerVersion
Get the javaContainerVersion property: Java container version.- Returns:
- the javaContainerVersion value.
-
withJavaContainerVersion
Set the javaContainerVersion property: Java container version.- Parameters:
javaContainerVersion
- the javaContainerVersion value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
appCommandLine
Get the appCommandLine property: App command line to launch.- Returns:
- the appCommandLine value.
-
withAppCommandLine
Set the appCommandLine property: App command line to launch.- Parameters:
appCommandLine
- the appCommandLine value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
managedPipelineMode
Get the managedPipelineMode property: Managed pipeline mode.- Returns:
- the managedPipelineMode value.
-
withManagedPipelineMode
Set the managedPipelineMode property: Managed pipeline mode.- Parameters:
managedPipelineMode
- the managedPipelineMode value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
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
Get the loadBalancing property: Site load balancing.- Returns:
- the loadBalancing value.
-
withLoadBalancing
Set the loadBalancing property: Site load balancing.- Parameters:
loadBalancing
- the loadBalancing value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
experiments
Get the experiments property: This is work around for polymorphic types.- Returns:
- the experiments value.
-
withExperiments
Set the experiments property: This is work around for polymorphic types.- Parameters:
experiments
- the experiments value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
limits
Get the limits property: Site limits.- Returns:
- the limits value.
-
withLimits
Set the limits property: Site limits.- Parameters:
limits
- the limits value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
autoHealEnabled
Get the autoHealEnabled property: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.- Returns:
- the autoHealEnabled value.
-
withAutoHealEnabled
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
Get the autoHealRules property: Auto Heal rules.- Returns:
- the autoHealRules value.
-
withAutoHealRules
Set the autoHealRules property: Auto Heal rules.- Parameters:
autoHealRules
- the autoHealRules value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
tracingOptions
Get the tracingOptions property: Tracing options.- Returns:
- the tracingOptions value.
-
withTracingOptions
Set the tracingOptions property: Tracing options.- Parameters:
tracingOptions
- the tracingOptions value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
vnetName
Get the vnetName property: Virtual Network name.- Returns:
- the vnetName value.
-
withVnetName
Set the vnetName property: Virtual Network name.- Parameters:
vnetName
- the vnetName value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
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
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
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
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
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.- Returns:
- the cors value.
-
withCors
Set the cors property: Cross-Origin Resource Sharing (CORS) settings.- Parameters:
cors
- the cors value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
push
Get the push property: Push endpoint settings.- Returns:
- the push value.
-
withPush
Set the push property: Push endpoint settings.- Parameters:
push
- the push value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
apiDefinition
Get the apiDefinition property: Information about the formal API definition for the app.- Returns:
- the apiDefinition value.
-
withApiDefinition
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
Get the apiManagementConfig property: Azure API management settings linked to the app.- Returns:
- the apiManagementConfig value.
-
withApiManagementConfig
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
Get the autoSwapSlotName property: Auto-swap slot name.- Returns:
- the autoSwapSlotName value.
-
withAutoSwapSlotName
Set the autoSwapSlotName property: Auto-swap slot name.- Parameters:
autoSwapSlotName
- the autoSwapSlotName value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
localMySqlEnabled
Get the localMySqlEnabled property: <code>true</code> to enable local MySQL; otherwise, <code>false</code>.- Returns:
- the localMySqlEnabled value.
-
withLocalMySqlEnabled
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
Get the managedServiceIdentityId property: Managed Service Identity Id.- Returns:
- the managedServiceIdentityId value.
-
withManagedServiceIdentityId
Set the managedServiceIdentityId property: Managed Service Identity Id.- Parameters:
managedServiceIdentityId
- the managedServiceIdentityId value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
xManagedServiceIdentityId
Get the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.- Returns:
- the xManagedServiceIdentityId value.
-
withXManagedServiceIdentityId
Set the xManagedServiceIdentityId property: Explicit Managed Service Identity Id.- Parameters:
xManagedServiceIdentityId
- the xManagedServiceIdentityId value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
keyVaultReferenceIdentity
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.- Returns:
- the keyVaultReferenceIdentity value.
-
withKeyVaultReferenceIdentity
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
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
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
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
Get the http20Enabled property: Http20Enabled: configures a web site to allow clients to connect over http2.0.- Returns:
- the http20Enabled value.
-
withHttp20Enabled
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
Get the minTlsVersion property: MinTlsVersion: configures the minimum version of TLS required for SSL requests.- Returns:
- the minTlsVersion value.
-
withMinTlsVersion
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
Get the scmMinTlsVersion property: ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.- Returns:
- the scmMinTlsVersion value.
-
withScmMinTlsVersion
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
Get the ftpsState property: State of FTP / FTPS service.- Returns:
- the ftpsState value.
-
withFtpsState
Set the ftpsState property: State of FTP / FTPS service.- Parameters:
ftpsState
- the ftpsState value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
preWarmedInstanceCount
Get the preWarmedInstanceCount property: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.- Returns:
- the preWarmedInstanceCount value.
-
withPreWarmedInstanceCount
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
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
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
Get the healthCheckPath property: Health check path.- Returns:
- the healthCheckPath value.
-
withHealthCheckPath
Set the healthCheckPath property: Health check path.- Parameters:
healthCheckPath
- the healthCheckPath value to set.- Returns:
- the SiteConfigResourceInner object itself.
-
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
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
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
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
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
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
Get the publicNetworkAccess property: Property to allow or block all public traffic.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
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:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-