IWebAppBase Interface

Definition

An immutable client-side representation of an Azure Web App or deployment slot.

public interface IWebAppBase : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.AppService.Fluent.IAppServiceManager,Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.AppService.Fluent.IAppServiceManager>
type IWebAppBase = interface
    interface IBeta
    interface IHasName
    interface IGroupableResource<IAppServiceManager, SiteInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasResourceGroup
    interface IHasManager<IAppServiceManager>
    interface IHasInner<SiteInner>
Public Interface IWebAppBase
Implements IBeta, IGroupableResource(Of IAppServiceManager, SiteInner), IHasInner(Of SiteInner), IHasManager(Of IAppServiceManager)
Derived
Implements

Remarks

(Beta: This functionality is in preview and as such is subject to change in non-backwards compatible ways in

future releases, including removal, regardless of any compatibility expectations set by the containing library

version number.).

Properties

AlwaysOn

Gets if the web app is always on.

AppServicePlanId

Gets The resource ID of the app service plan.

AutoSwapSlotName

Gets the auto swap slot name.

AvailabilityState

Gets management information availability state for the web app.

ClientAffinityEnabled

Gets if the client affinity is enabled when load balancing http request for multiple instances of the web app.

ClientCertEnabled

Gets if the client certificate is enabled for the web app.

CloningInfo

Gets information about whether the web app is cloned from another.

ContainerSize

Gets size of a function container.

DefaultDocuments

Gets the default documents.

DefaultHostName

Gets default hostname of the web app.

Enabled

Gets true if the site is enabled; otherwise, false.

EnabledHostNames

Gets host names for the web app that are enabled.

GatewaySiteName

Gets name of gateway app associated with web app.

HostNames

Gets hostnames associated with web app.

HostNamesDisabled

Gets if the public hostnames are disabled the web app. If set to true the app is only accessible via API Management process.

HostNameSslStates

Gets list of SSL states used to manage the SSL bindings for site's hostnames.

Inner (Inherited from IHasInner<T>)
IsDefaultContainer

Gets site is a default container.

IsPremiumApp

Gets whether web app is deployed as a premium app.

JavaContainer

Gets Java container.

JavaContainerVersion

Gets Java container version.

JavaVersion

Gets Java version.

LastModifiedTime

Gets Last time web app was modified in UTC.

LinuxFxVersion
ManagedPipelineMode

Gets managed pipeline mode.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
MicroService

Gets the micro-service name.

NetFrameworkVersion

Gets the .NET Framework version.

NodeVersion

Gets the version of Node.JS.

OperatingSystem

Gets the operating system the web app is running on.

OutboundIPAddresses

Gets list of IP addresses that this web app uses for outbound connections. Those can be used when configuring firewall rules for databases accessed by this web app.

PhpVersion

Gets the version of PHP.

PlatformArchitecture

Gets the architecture of the platform, either 32 bit (x86) or 64 bit (x64).

PythonVersion

Gets the version of Python.

RemoteDebuggingEnabled

Gets if the remote eebugging is enabled.

RemoteDebuggingVersion

Gets the remote debugging version.

RepositorySiteName

Gets name of repository site.

ScmSiteAlsoStopped

Gets whether to stop SCM (KUDU) site when the web app is stopped. Default is false.

State

Gets state of the web app.

TargetSwapSlot

Gets which slot this app will swap into.

TrafficManagerHostNames

Gets list of Azure Traffic manager host names associated with web app.

UsageState

Gets state indicating whether web app has exceeded its quota usage.

WebSocketsEnabled

Gets if web socket is enabled.

Methods

ApplySlotConfigurations(String)

Apply the slot (or sticky) configurations from the specified slot to the current one. This is useful for "Swap with Preview".

ApplySlotConfigurationsAsync(String, CancellationToken)

Apply the slot (or sticky) configurations from the specified slot to the current one. This is useful for "Swap with Preview".

Deploy()
GetAppSettings()
GetAppSettingsAsync(CancellationToken)
GetAuthenticationConfig()
GetAuthenticationConfigAsync(CancellationToken)
GetConnectionStrings()
GetConnectionStringsAsync(CancellationToken)
GetHostNameBindings()
GetHostNameBindingsAsync(CancellationToken)
GetPublishingProfile()
GetPublishingProfileAsync(CancellationToken)
GetSourceControl()
GetSourceControlAsync(CancellationToken)
ResetSlotConfigurations()

Reset the slot to its original configurations.

ResetSlotConfigurationsAsync(CancellationToken)

Reset the slot to its original configurations.

Restart()

Restarts the web app or deployment slot.

RestartAsync(CancellationToken)

Restarts the web app or deployment slot.

Start()

Starts the web app or deployment slot.

StartAsync(CancellationToken)

Starts the web app or deployment slot.

Stop()

Stops the web app or deployment slot.

StopAsync(CancellationToken)

Stops the web app or deployment slot.

Swap(String)

Swaps the app running in the current web app / slot with the app running in the specified slot.

SwapAsync(String, CancellationToken)

Swaps the app running in the current web app / slot with the app running in the specified slot.

VerifyDomainOwnership(String, String)

Verifies the ownership of the domain for a certificate order by verifying a hostname of the domain is bound to this web app.

VerifyDomainOwnershipAsync(String, String, CancellationToken)

Verifies the ownership of the domain for a certificate order by verifying a hostname of the domain is bound to this web app.

Applies to