Class SiteConfig
- java.lang.Object
-
- com.microsoft.azure.management.appservice.SiteConfig
-
public class SiteConfig extends Object
Configuration of an App Service app.
-
-
Constructor Summary
Constructors Constructor Description SiteConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanalwaysOn()Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>.ApiDefinitionInfoapiDefinition()Get information about the formal API definition for the app.StringappCommandLine()Get app command line to launch.List<NameValuePair>appSettings()Get application settings.BooleanautoHealEnabled()Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.AutoHealRulesautoHealRules()Get auto Heal rules.StringautoSwapSlotName()Get auto-swap slot name.Map<String,AzureStorageInfoValue>azureStorageAccounts()Get user-provided Azure storage accounts.List<ConnStringInfo>connectionStrings()Get connection strings.CorsSettingscors()Get cross-Origin Resource Sharing (CORS) settings.List<String>defaultDocuments()Get default documents.BooleandetailedErrorLoggingEnabled()Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.StringdocumentRoot()Get document root.Experimentsexperiments()Get this is work around for polymorphic types.FtpsStateftpsState()Get state of FTP / FTPS service.List<HandlerMapping>handlerMappings()Get handler mappings.Booleanhttp20Enabled()Get http20Enabled: configures a web site to allow clients to connect over http2.0.BooleanhttpLoggingEnabled()Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.List<IpSecurityRestriction>ipSecurityRestrictions()Get iP security restrictions for main.StringjavaContainer()Get java container.StringjavaContainerVersion()Get java container version.StringjavaVersion()Get java version.SiteLimitslimits()Get site limits.StringlinuxFxVersion()Get linux App Framework and version.SiteLoadBalancingloadBalancing()Get site load balancing.BooleanlocalMySqlEnabled()Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>.IntegerlogsDirectorySizeLimit()Get hTTP logs directory size limit.SiteMachineKeymachineKey()Get site MachineKey.ManagedPipelineModemanagedPipelineMode()Get managed pipeline mode.IntegermanagedServiceIdentityId()Get managed Service Identity Id.SupportedTlsVersionsminTlsVersion()Get minTlsVersion: configures the minimum version of TLS required for SSL requests.StringnetFrameworkVersion()Get .NET Framework version.StringnodeVersion()Get version of Node.js.IntegernumberOfWorkers()Get number of workers.StringphpVersion()Get version of PHP.StringpublishingUsername()Get publishing user name.com.microsoft.azure.management.appservice.implementation.PushSettingsInnerpush()Get push endpoint settings.StringpythonVersion()Get version of Python.BooleanremoteDebuggingEnabled()Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.StringremoteDebuggingVersion()Get remote debugging version.BooleanrequestTracingEnabled()Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.org.joda.time.DateTimerequestTracingExpirationTime()Get request tracing expiration time.IntegerreservedInstanceCount()Get number of reserved instances.List<IpSecurityRestriction>scmIpSecurityRestrictions()Get iP security restrictions for scm.BooleanscmIpSecurityRestrictionsUseMain()Get iP security restrictions for scm to use main.ScmTypescmType()Get sCM type.StringtracingOptions()Get tracing options.Booleanuse32BitWorkerProcess()Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.List<VirtualApplication>virtualApplications()Get virtual applications.StringvnetName()Get virtual Network name.BooleanwebSocketsEnabled()Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.StringwindowsFxVersion()Get xenon App Framework and version.SiteConfigwithAlwaysOn(Boolean alwaysOn)Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>.SiteConfigwithApiDefinition(ApiDefinitionInfo apiDefinition)Set information about the formal API definition for the app.SiteConfigwithAppCommandLine(String appCommandLine)Set app command line to launch.SiteConfigwithAppSettings(List<NameValuePair> appSettings)Set application settings.SiteConfigwithAutoHealEnabled(Boolean autoHealEnabled)Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.SiteConfigwithAutoHealRules(AutoHealRules autoHealRules)Set auto Heal rules.SiteConfigwithAutoSwapSlotName(String autoSwapSlotName)Set auto-swap slot name.SiteConfigwithAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)Set user-provided Azure storage accounts.SiteConfigwithConnectionStrings(List<ConnStringInfo> connectionStrings)Set connection strings.SiteConfigwithCors(CorsSettings cors)Set cross-Origin Resource Sharing (CORS) settings.SiteConfigwithDefaultDocuments(List<String> defaultDocuments)Set default documents.SiteConfigwithDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.SiteConfigwithDocumentRoot(String documentRoot)Set document root.SiteConfigwithExperiments(Experiments experiments)Set this is work around for polymorphic types.SiteConfigwithFtpsState(FtpsState ftpsState)Set state of FTP / FTPS service.SiteConfigwithHandlerMappings(List<HandlerMapping> handlerMappings)Set handler mappings.SiteConfigwithHttp20Enabled(Boolean http20Enabled)Set http20Enabled: configures a web site to allow clients to connect over http2.0.SiteConfigwithHttpLoggingEnabled(Boolean httpLoggingEnabled)Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.SiteConfigwithIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)Set iP security restrictions for main.SiteConfigwithJavaContainer(String javaContainer)Set java container.SiteConfigwithJavaContainerVersion(String javaContainerVersion)Set java container version.SiteConfigwithJavaVersion(String javaVersion)Set java version.SiteConfigwithLimits(SiteLimits limits)Set site limits.SiteConfigwithLinuxFxVersion(String linuxFxVersion)Set linux App Framework and version.SiteConfigwithLoadBalancing(SiteLoadBalancing loadBalancing)Set site load balancing.SiteConfigwithLocalMySqlEnabled(Boolean localMySqlEnabled)Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>.SiteConfigwithLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)Set hTTP logs directory size limit.SiteConfigwithManagedPipelineMode(ManagedPipelineMode managedPipelineMode)Set managed pipeline mode.SiteConfigwithManagedServiceIdentityId(Integer managedServiceIdentityId)Set managed Service Identity Id.SiteConfigwithMinTlsVersion(SupportedTlsVersions minTlsVersion)Set minTlsVersion: configures the minimum version of TLS required for SSL requests.SiteConfigwithNetFrameworkVersion(String netFrameworkVersion)Set .NET Framework version.SiteConfigwithNodeVersion(String nodeVersion)Set version of Node.js.SiteConfigwithNumberOfWorkers(Integer numberOfWorkers)Set number of workers.SiteConfigwithPhpVersion(String phpVersion)Set version of PHP.SiteConfigwithPublishingUsername(String publishingUsername)Set publishing user name.SiteConfigwithPush(com.microsoft.azure.management.appservice.implementation.PushSettingsInner push)Set push endpoint settings.SiteConfigwithPythonVersion(String pythonVersion)Set version of Python.SiteConfigwithRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.SiteConfigwithRemoteDebuggingVersion(String remoteDebuggingVersion)Set remote debugging version.SiteConfigwithRequestTracingEnabled(Boolean requestTracingEnabled)Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.SiteConfigwithRequestTracingExpirationTime(org.joda.time.DateTime requestTracingExpirationTime)Set request tracing expiration time.SiteConfigwithReservedInstanceCount(Integer reservedInstanceCount)Set number of reserved instances.SiteConfigwithScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)Set iP security restrictions for scm.SiteConfigwithScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)Set iP security restrictions for scm to use main.SiteConfigwithScmType(ScmType scmType)Set sCM type.SiteConfigwithTracingOptions(String tracingOptions)Set tracing options.SiteConfigwithUse32BitWorkerProcess(Boolean use32BitWorkerProcess)Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.SiteConfigwithVirtualApplications(List<VirtualApplication> virtualApplications)Set virtual applications.SiteConfigwithVnetName(String vnetName)Set virtual Network name.SiteConfigwithWebSocketsEnabled(Boolean webSocketsEnabled)Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.SiteConfigwithWindowsFxVersion(String windowsFxVersion)Set xenon App Framework and version.SiteConfigwithXManagedServiceIdentityId(Integer xManagedServiceIdentityId)Set explicit Managed Service Identity Id.IntegerxManagedServiceIdentityId()Get explicit Managed Service Identity Id.
-
-
-
Method Detail
-
numberOfWorkers
public Integer numberOfWorkers()
Get number of workers.- Returns:
- the numberOfWorkers value
-
withNumberOfWorkers
public SiteConfig withNumberOfWorkers(Integer numberOfWorkers)
Set number of workers.- Parameters:
numberOfWorkers- the numberOfWorkers value to set- Returns:
- the SiteConfig object itself.
-
defaultDocuments
public List<String> defaultDocuments()
Get default documents.- Returns:
- the defaultDocuments value
-
withDefaultDocuments
public SiteConfig withDefaultDocuments(List<String> defaultDocuments)
Set default documents.- Parameters:
defaultDocuments- the defaultDocuments value to set- Returns:
- the SiteConfig object itself.
-
netFrameworkVersion
public String netFrameworkVersion()
Get .NET Framework version.- Returns:
- the netFrameworkVersion value
-
withNetFrameworkVersion
public SiteConfig withNetFrameworkVersion(String netFrameworkVersion)
Set .NET Framework version.- Parameters:
netFrameworkVersion- the netFrameworkVersion value to set- Returns:
- the SiteConfig object itself.
-
phpVersion
public String phpVersion()
Get version of PHP.- Returns:
- the phpVersion value
-
withPhpVersion
public SiteConfig withPhpVersion(String phpVersion)
Set version of PHP.- Parameters:
phpVersion- the phpVersion value to set- Returns:
- the SiteConfig object itself.
-
pythonVersion
public String pythonVersion()
Get version of Python.- Returns:
- the pythonVersion value
-
withPythonVersion
public SiteConfig withPythonVersion(String pythonVersion)
Set version of Python.- Parameters:
pythonVersion- the pythonVersion value to set- Returns:
- the SiteConfig object itself.
-
nodeVersion
public String nodeVersion()
Get version of Node.js.- Returns:
- the nodeVersion value
-
withNodeVersion
public SiteConfig withNodeVersion(String nodeVersion)
Set version of Node.js.- Parameters:
nodeVersion- the nodeVersion value to set- Returns:
- the SiteConfig object itself.
-
linuxFxVersion
public String linuxFxVersion()
Get linux App Framework and version.- Returns:
- the linuxFxVersion value
-
withLinuxFxVersion
public SiteConfig withLinuxFxVersion(String linuxFxVersion)
Set linux App Framework and version.- Parameters:
linuxFxVersion- the linuxFxVersion value to set- Returns:
- the SiteConfig object itself.
-
windowsFxVersion
public String windowsFxVersion()
Get xenon App Framework and version.- Returns:
- the windowsFxVersion value
-
withWindowsFxVersion
public SiteConfig withWindowsFxVersion(String windowsFxVersion)
Set xenon App Framework and version.- Parameters:
windowsFxVersion- the windowsFxVersion value to set- Returns:
- the SiteConfig object itself.
-
requestTracingEnabled
public Boolean requestTracingEnabled()
Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.- Returns:
- the requestTracingEnabled value
-
withRequestTracingEnabled
public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled)
Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.- Parameters:
requestTracingEnabled- the requestTracingEnabled value to set- Returns:
- the SiteConfig object itself.
-
requestTracingExpirationTime
public org.joda.time.DateTime requestTracingExpirationTime()
Get request tracing expiration time.- Returns:
- the requestTracingExpirationTime value
-
withRequestTracingExpirationTime
public SiteConfig withRequestTracingExpirationTime(org.joda.time.DateTime requestTracingExpirationTime)
Set request tracing expiration time.- Parameters:
requestTracingExpirationTime- the requestTracingExpirationTime value to set- Returns:
- the SiteConfig object itself.
-
remoteDebuggingEnabled
public Boolean remoteDebuggingEnabled()
Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.- Returns:
- the remoteDebuggingEnabled value
-
withRemoteDebuggingEnabled
public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled)
Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.- Parameters:
remoteDebuggingEnabled- the remoteDebuggingEnabled value to set- Returns:
- the SiteConfig object itself.
-
remoteDebuggingVersion
public String remoteDebuggingVersion()
Get remote debugging version.- Returns:
- the remoteDebuggingVersion value
-
withRemoteDebuggingVersion
public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion)
Set remote debugging version.- Parameters:
remoteDebuggingVersion- the remoteDebuggingVersion value to set- Returns:
- the SiteConfig object itself.
-
httpLoggingEnabled
public Boolean httpLoggingEnabled()
Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.- Returns:
- the httpLoggingEnabled value
-
withHttpLoggingEnabled
public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled)
Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.- Parameters:
httpLoggingEnabled- the httpLoggingEnabled value to set- Returns:
- the SiteConfig object itself.
-
logsDirectorySizeLimit
public Integer logsDirectorySizeLimit()
Get hTTP logs directory size limit.- Returns:
- the logsDirectorySizeLimit value
-
withLogsDirectorySizeLimit
public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit)
Set hTTP logs directory size limit.- Parameters:
logsDirectorySizeLimit- the logsDirectorySizeLimit value to set- Returns:
- the SiteConfig object itself.
-
detailedErrorLoggingEnabled
public Boolean detailedErrorLoggingEnabled()
Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.- Returns:
- the detailedErrorLoggingEnabled value
-
withDetailedErrorLoggingEnabled
public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEnabled)
Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.- Parameters:
detailedErrorLoggingEnabled- the detailedErrorLoggingEnabled value to set- Returns:
- the SiteConfig object itself.
-
publishingUsername
public String publishingUsername()
Get publishing user name.- Returns:
- the publishingUsername value
-
withPublishingUsername
public SiteConfig withPublishingUsername(String publishingUsername)
Set publishing user name.- Parameters:
publishingUsername- the publishingUsername value to set- Returns:
- the SiteConfig object itself.
-
appSettings
public List<NameValuePair> appSettings()
Get application settings.- Returns:
- the appSettings value
-
withAppSettings
public SiteConfig withAppSettings(List<NameValuePair> appSettings)
Set application settings.- Parameters:
appSettings- the appSettings value to set- Returns:
- the SiteConfig object itself.
-
azureStorageAccounts
public Map<String,AzureStorageInfoValue> azureStorageAccounts()
Get user-provided Azure storage accounts.- Returns:
- the azureStorageAccounts value
-
withAzureStorageAccounts
public SiteConfig withAzureStorageAccounts(Map<String,AzureStorageInfoValue> azureStorageAccounts)
Set user-provided Azure storage accounts.- Parameters:
azureStorageAccounts- the azureStorageAccounts value to set- Returns:
- the SiteConfig object itself.
-
connectionStrings
public List<ConnStringInfo> connectionStrings()
Get connection strings.- Returns:
- the connectionStrings value
-
withConnectionStrings
public SiteConfig withConnectionStrings(List<ConnStringInfo> connectionStrings)
Set connection strings.- Parameters:
connectionStrings- the connectionStrings value to set- Returns:
- the SiteConfig object itself.
-
machineKey
public SiteMachineKey machineKey()
Get site MachineKey.- Returns:
- the machineKey value
-
handlerMappings
public List<HandlerMapping> handlerMappings()
Get handler mappings.- Returns:
- the handlerMappings value
-
withHandlerMappings
public SiteConfig withHandlerMappings(List<HandlerMapping> handlerMappings)
Set handler mappings.- Parameters:
handlerMappings- the handlerMappings value to set- Returns:
- the SiteConfig object itself.
-
documentRoot
public String documentRoot()
Get document root.- Returns:
- the documentRoot value
-
withDocumentRoot
public SiteConfig withDocumentRoot(String documentRoot)
Set document root.- Parameters:
documentRoot- the documentRoot value to set- Returns:
- the SiteConfig object itself.
-
scmType
public ScmType scmType()
Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'.- Returns:
- the scmType value
-
withScmType
public SiteConfig withScmType(ScmType scmType)
Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'.- Parameters:
scmType- the scmType value to set- Returns:
- the SiteConfig object itself.
-
use32BitWorkerProcess
public Boolean use32BitWorkerProcess()
Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.- Returns:
- the use32BitWorkerProcess value
-
withUse32BitWorkerProcess
public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess)
Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.- Parameters:
use32BitWorkerProcess- the use32BitWorkerProcess value to set- Returns:
- the SiteConfig object itself.
-
webSocketsEnabled
public Boolean webSocketsEnabled()
Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.- Returns:
- the webSocketsEnabled value
-
withWebSocketsEnabled
public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled)
Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.- Parameters:
webSocketsEnabled- the webSocketsEnabled value to set- Returns:
- the SiteConfig object itself.
-
alwaysOn
public Boolean alwaysOn()
Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>.- Returns:
- the alwaysOn value
-
withAlwaysOn
public SiteConfig withAlwaysOn(Boolean alwaysOn)
Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>.- Parameters:
alwaysOn- the alwaysOn value to set- Returns:
- the SiteConfig object itself.
-
javaVersion
public String javaVersion()
Get java version.- Returns:
- the javaVersion value
-
withJavaVersion
public SiteConfig withJavaVersion(String javaVersion)
Set java version.- Parameters:
javaVersion- the javaVersion value to set- Returns:
- the SiteConfig object itself.
-
javaContainer
public String javaContainer()
Get java container.- Returns:
- the javaContainer value
-
withJavaContainer
public SiteConfig withJavaContainer(String javaContainer)
Set java container.- Parameters:
javaContainer- the javaContainer value to set- Returns:
- the SiteConfig object itself.
-
javaContainerVersion
public String javaContainerVersion()
Get java container version.- Returns:
- the javaContainerVersion value
-
withJavaContainerVersion
public SiteConfig withJavaContainerVersion(String javaContainerVersion)
Set java container version.- Parameters:
javaContainerVersion- the javaContainerVersion value to set- Returns:
- the SiteConfig object itself.
-
appCommandLine
public String appCommandLine()
Get app command line to launch.- Returns:
- the appCommandLine value
-
withAppCommandLine
public SiteConfig withAppCommandLine(String appCommandLine)
Set app command line to launch.- Parameters:
appCommandLine- the appCommandLine value to set- Returns:
- the SiteConfig object itself.
-
managedPipelineMode
public ManagedPipelineMode managedPipelineMode()
Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'.- Returns:
- the managedPipelineMode value
-
withManagedPipelineMode
public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)
Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'.- Parameters:
managedPipelineMode- the managedPipelineMode value to set- Returns:
- the SiteConfig object itself.
-
virtualApplications
public List<VirtualApplication> virtualApplications()
Get virtual applications.- Returns:
- the virtualApplications value
-
withVirtualApplications
public SiteConfig withVirtualApplications(List<VirtualApplication> virtualApplications)
Set virtual applications.- Parameters:
virtualApplications- the virtualApplications value to set- Returns:
- the SiteConfig object itself.
-
loadBalancing
public SiteLoadBalancing loadBalancing()
Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'.- Returns:
- the loadBalancing value
-
withLoadBalancing
public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing)
Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'.- Parameters:
loadBalancing- the loadBalancing value to set- Returns:
- the SiteConfig object itself.
-
experiments
public Experiments experiments()
Get this is work around for polymorphic types.- Returns:
- the experiments value
-
withExperiments
public SiteConfig withExperiments(Experiments experiments)
Set this is work around for polymorphic types.- Parameters:
experiments- the experiments value to set- Returns:
- the SiteConfig object itself.
-
limits
public SiteLimits limits()
Get site limits.- Returns:
- the limits value
-
withLimits
public SiteConfig withLimits(SiteLimits limits)
Set site limits.- Parameters:
limits- the limits value to set- Returns:
- the SiteConfig object itself.
-
autoHealEnabled
public Boolean autoHealEnabled()
Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.- Returns:
- the autoHealEnabled value
-
withAutoHealEnabled
public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled)
Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.- Parameters:
autoHealEnabled- the autoHealEnabled value to set- Returns:
- the SiteConfig object itself.
-
autoHealRules
public AutoHealRules autoHealRules()
Get auto Heal rules.- Returns:
- the autoHealRules value
-
withAutoHealRules
public SiteConfig withAutoHealRules(AutoHealRules autoHealRules)
Set auto Heal rules.- Parameters:
autoHealRules- the autoHealRules value to set- Returns:
- the SiteConfig object itself.
-
tracingOptions
public String tracingOptions()
Get tracing options.- Returns:
- the tracingOptions value
-
withTracingOptions
public SiteConfig withTracingOptions(String tracingOptions)
Set tracing options.- Parameters:
tracingOptions- the tracingOptions value to set- Returns:
- the SiteConfig object itself.
-
vnetName
public String vnetName()
Get virtual Network name.- Returns:
- the vnetName value
-
withVnetName
public SiteConfig withVnetName(String vnetName)
Set virtual Network name.- Parameters:
vnetName- the vnetName value to set- Returns:
- the SiteConfig object itself.
-
cors
public CorsSettings cors()
Get cross-Origin Resource Sharing (CORS) settings.- Returns:
- the cors value
-
withCors
public SiteConfig withCors(CorsSettings cors)
Set cross-Origin Resource Sharing (CORS) settings.- Parameters:
cors- the cors value to set- Returns:
- the SiteConfig object itself.
-
push
public com.microsoft.azure.management.appservice.implementation.PushSettingsInner push()
Get push endpoint settings.- Returns:
- the push value
-
withPush
public SiteConfig withPush(com.microsoft.azure.management.appservice.implementation.PushSettingsInner push)
Set push endpoint settings.- Parameters:
push- the push value to set- Returns:
- the SiteConfig object itself.
-
apiDefinition
public ApiDefinitionInfo apiDefinition()
Get information about the formal API definition for the app.- Returns:
- the apiDefinition value
-
withApiDefinition
public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition)
Set information about the formal API definition for the app.- Parameters:
apiDefinition- the apiDefinition value to set- Returns:
- the SiteConfig object itself.
-
autoSwapSlotName
public String autoSwapSlotName()
Get auto-swap slot name.- Returns:
- the autoSwapSlotName value
-
withAutoSwapSlotName
public SiteConfig withAutoSwapSlotName(String autoSwapSlotName)
Set auto-swap slot name.- Parameters:
autoSwapSlotName- the autoSwapSlotName value to set- Returns:
- the SiteConfig object itself.
-
localMySqlEnabled
public Boolean localMySqlEnabled()
Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>.- Returns:
- the localMySqlEnabled value
-
withLocalMySqlEnabled
public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled)
Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>.- Parameters:
localMySqlEnabled- the localMySqlEnabled value to set- Returns:
- the SiteConfig object itself.
-
managedServiceIdentityId
public Integer managedServiceIdentityId()
Get managed Service Identity Id.- Returns:
- the managedServiceIdentityId value
-
withManagedServiceIdentityId
public SiteConfig withManagedServiceIdentityId(Integer managedServiceIdentityId)
Set managed Service Identity Id.- Parameters:
managedServiceIdentityId- the managedServiceIdentityId value to set- Returns:
- the SiteConfig object itself.
-
xManagedServiceIdentityId
public Integer xManagedServiceIdentityId()
Get explicit Managed Service Identity Id.- Returns:
- the xManagedServiceIdentityId value
-
withXManagedServiceIdentityId
public SiteConfig withXManagedServiceIdentityId(Integer xManagedServiceIdentityId)
Set explicit Managed Service Identity Id.- Parameters:
xManagedServiceIdentityId- the xManagedServiceIdentityId value to set- Returns:
- the SiteConfig object itself.
-
ipSecurityRestrictions
public List<IpSecurityRestriction> ipSecurityRestrictions()
Get iP security restrictions for main.- Returns:
- the ipSecurityRestrictions value
-
withIpSecurityRestrictions
public SiteConfig withIpSecurityRestrictions(List<IpSecurityRestriction> ipSecurityRestrictions)
Set iP security restrictions for main.- Parameters:
ipSecurityRestrictions- the ipSecurityRestrictions value to set- Returns:
- the SiteConfig object itself.
-
scmIpSecurityRestrictions
public List<IpSecurityRestriction> scmIpSecurityRestrictions()
Get iP security restrictions for scm.- Returns:
- the scmIpSecurityRestrictions value
-
withScmIpSecurityRestrictions
public SiteConfig withScmIpSecurityRestrictions(List<IpSecurityRestriction> scmIpSecurityRestrictions)
Set iP security restrictions for scm.- Parameters:
scmIpSecurityRestrictions- the scmIpSecurityRestrictions value to set- Returns:
- the SiteConfig object itself.
-
scmIpSecurityRestrictionsUseMain
public Boolean scmIpSecurityRestrictionsUseMain()
Get iP security restrictions for scm to use main.- Returns:
- the scmIpSecurityRestrictionsUseMain value
-
withScmIpSecurityRestrictionsUseMain
public SiteConfig withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain)
Set iP security restrictions for scm to use main.- Parameters:
scmIpSecurityRestrictionsUseMain- the scmIpSecurityRestrictionsUseMain value to set- Returns:
- the SiteConfig object itself.
-
http20Enabled
public Boolean http20Enabled()
Get http20Enabled: configures a web site to allow clients to connect over http2.0.- Returns:
- the http20Enabled value
-
withHttp20Enabled
public SiteConfig withHttp20Enabled(Boolean http20Enabled)
Set http20Enabled: configures a web site to allow clients to connect over http2.0.- Parameters:
http20Enabled- the http20Enabled value to set- Returns:
- the SiteConfig object itself.
-
minTlsVersion
public SupportedTlsVersions minTlsVersion()
Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'.- Returns:
- the minTlsVersion value
-
withMinTlsVersion
public SiteConfig withMinTlsVersion(SupportedTlsVersions minTlsVersion)
Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'.- Parameters:
minTlsVersion- the minTlsVersion value to set- Returns:
- the SiteConfig object itself.
-
ftpsState
public FtpsState ftpsState()
Get state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'.- Returns:
- the ftpsState value
-
withFtpsState
public SiteConfig withFtpsState(FtpsState ftpsState)
Set state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'.- Parameters:
ftpsState- the ftpsState value to set- Returns:
- the SiteConfig object itself.
-
reservedInstanceCount
public Integer reservedInstanceCount()
Get number of reserved instances. This setting only applies to the Consumption Plan.- Returns:
- the reservedInstanceCount value
-
withReservedInstanceCount
public SiteConfig withReservedInstanceCount(Integer reservedInstanceCount)
Set number of reserved instances. This setting only applies to the Consumption Plan.- Parameters:
reservedInstanceCount- the reservedInstanceCount value to set- Returns:
- the SiteConfig object itself.
-
-