WebSiteBase Interface
Implements
public interface WebSiteBase
extends Resource, HasResourceGroup, HasInnerModel<SiteInner>
An immutable client-side representation of an Azure Web App or Function App.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
appServicePlanId()
Gets the resource ID of the app service plan. |
abstract
Site |
availabilityState()
Gets management information availability state for the web app. |
abstract boolean |
clientAffinityEnabled()
Check whether the client affinity is enabled when load balancing http request for multiple instances of the web app. |
abstract boolean |
clientCertEnabled()
Check whether the client certificate is enabled for the web app. |
abstract Set<String> |
clientCertExclusionPaths()
Get the client |
abstract
Cloning |
cloningInfo()
Gets information about whether the web app is cloned from another. |
abstract int |
containerSize()
Gets size of a function container. |
abstract int |
dailyMemoryTimeQuota()
Get the daily |
abstract String |
defaultHostname()
Gets default hostname of the web app. |
abstract boolean |
enabled()
Check whether the site is enabled. |
abstract Set<String> |
enabledHostNames()
Gets host names for the web app that are enabled. |
abstract
Hosting |
hostingEnvironmentProfile()
Get the hosting |
abstract
Map<String,Hostname |
hostnameSslStates()
Gets list of SSL states used to manage the SSL bindings for site's hostnames. |
abstract Set<String> |
hostnames()
Gets hostnames associated with web app. |
abstract boolean |
hostnamesDisabled()
Check whether the public hostnames are disabled for the web app. |
abstract boolean |
httpsOnly()
Check whether the web app is configured to accept only HTTPS requests. |
abstract boolean |
hyperV()
Get the hyperV property: Hyper-V sandbox. |
abstract
Managed |
identity()
Get the identity property: Managed service identity. |
abstract boolean |
isDefaultContainer()
Check whether site is a default container. |
abstract
Offset |
lastModifiedTime()
Gets last time web app was modified in UTC. |
abstract int |
maxNumberOfWorkers()
Get the max |
abstract
Operating |
operatingSystem()
Gets the operating system the web app is running on. |
abstract Set<String> |
outboundIPAddresses()
Gets list of IP addresses that this web app uses for outbound connections. |
abstract Set<String> |
possibleOutboundIpAddresses()
Get the possible |
abstract
Redundancy |
redundancyMode()
Get the redundancy |
abstract String |
repositorySiteName()
Gets name of repository site. |
abstract boolean |
scmSiteAlsoStopped()
Check whether to stop SCM (KUDU) site when the web app is stopped. |
abstract
Slot |
slotSwapStatus()
Get the slot |
abstract String |
state()
Gets state of the web app. |
abstract
Offset |
suspendedTill()
Get the suspended |
abstract String |
targetSwapSlot()
Gets which slot this app will swap into. |
abstract Set<String> |
trafficManagerHostNames()
Gets list of Azure Traffic manager host names associated with web app. |
abstract
Usage |
usageState()
Gets state indicating whether web app has exceeded its quota usage. |
Method Details
appServicePlanId
public abstract String appServicePlanId()
Gets the resource ID of the app service plan.
Returns:
availabilityState
public abstract SiteAvailabilityState availabilityState()
Gets management information availability state for the web app.
Returns:
clientAffinityEnabled
public abstract boolean clientAffinityEnabled()
Check whether the client affinity is enabled when load balancing http request for multiple instances of the web app.
Returns:
clientCertEnabled
public abstract boolean clientCertEnabled()
Check whether the client certificate is enabled for the web app.
Returns:
clientCertExclusionPaths
public abstract Set
Get the clientCertExclusionPaths property: client certificate authentication comma-separated exclusion paths.
Returns:
cloningInfo
public abstract CloningInfo cloningInfo()
Gets information about whether the web app is cloned from another.
Returns:
containerSize
public abstract int containerSize()
Gets size of a function container.
Returns:
dailyMemoryTimeQuota
public abstract int dailyMemoryTimeQuota()
Get the dailyMemoryTimeQuota property: Maximum allowed daily memory-time quota (applicable on dynamic apps only).
Returns:
defaultHostname
public abstract String defaultHostname()
Gets default hostname of the web app.
Returns:
enabled
public abstract boolean enabled()
Check whether the site is enabled.
Returns:
enabledHostNames
public abstract Set
Gets host names for the web app that are enabled.
Returns:
hostingEnvironmentProfile
public abstract HostingEnvironmentProfile hostingEnvironmentProfile()
Get the hostingEnvironmentProfile property: App Service Environment to use for the app.
Returns:
hostnameSslStates
public abstract Map
Gets list of SSL states used to manage the SSL bindings for site's hostnames.
Returns:
hostnames
public abstract Set
Gets hostnames associated with web app.
Returns:
hostnamesDisabled
public abstract boolean hostnamesDisabled()
Check whether the public hostnames are disabled for the web app.
Returns:
httpsOnly
public abstract boolean httpsOnly()
Check whether the web app is configured to accept only HTTPS requests.
Returns:
hyperV
public abstract boolean hyperV()
Get the hyperV property: Hyper-V sandbox.
Returns:
identity
public abstract ManagedServiceIdentity identity()
Get the identity property: Managed service identity.
Returns:
isDefaultContainer
public abstract boolean isDefaultContainer()
Check whether site is a default container.
Returns:
lastModifiedTime
public abstract OffsetDateTime lastModifiedTime()
Gets last time web app was modified in UTC.
Returns:
maxNumberOfWorkers
public abstract int maxNumberOfWorkers()
Get the maxNumberOfWorkers property: Maximum number of workers. This only applies to Functions container.
Returns:
operatingSystem
public abstract OperatingSystem operatingSystem()
Gets the operating system the web app is running on.
Returns:
outboundIPAddresses
public abstract Set
Gets list of IP addresses that this web app uses for outbound connections.
Returns:
possibleOutboundIpAddresses
public abstract Set
Get the possibleOutboundIpAddresses property: List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.
Returns:
redundancyMode
public abstract RedundancyMode redundancyMode()
Get the redundancyMode property: Site redundancy mode.
Returns:
repositorySiteName
public abstract String repositorySiteName()
Gets name of repository site.
Returns:
scmSiteAlsoStopped
public abstract boolean scmSiteAlsoStopped()
Check whether to stop SCM (KUDU) site when the web app is stopped.
Returns:
slotSwapStatus
public abstract SlotSwapStatus slotSwapStatus()
Get the slotSwapStatus property: Status of the last deployment slot swap operation.
Returns:
state
public abstract String state()
Gets state of the web app.
Returns:
suspendedTill
public abstract OffsetDateTime suspendedTill()
Get the suspendedTill property: App suspended till in case memory-time quota is exceeded.
Returns:
targetSwapSlot
public abstract String targetSwapSlot()
Gets which slot this app will swap into.
Returns:
trafficManagerHostNames
public abstract Set
Gets list of Azure Traffic manager host names associated with web app.
Returns:
usageState
public abstract UsageState usageState()
Gets state indicating whether web app has exceeded its quota usage.
Returns:
Applies to
Azure SDK for Java