Site interface
A web app, a mobile app backend, or an API app.
- Extends
Properties
availability |
Management information availability state for the app. NOTE: This property will not be serialized. It can only be populated by the server. |
client |
|
client |
|
client |
client certificate authentication comma-separated exclusion paths |
cloning |
If specified during app creation, the app is cloned from a source app. |
container |
Size of the function container. |
daily |
Maximum allowed daily memory-time quota (applicable on dynamic apps only). |
default |
Default hostname of the app. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
enabled |
|
enabled |
Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames. NOTE: This property will not be serialized. It can only be populated by the server. |
geo |
GeoDistributions for this site |
hosting |
App Service Environment to use for the app. |
host |
Hostnames associated with the app. NOTE: This property will not be serialized. It can only be populated by the server. |
host |
|
host |
Hostname SSL states are used to manage the SSL bindings for app's hostnames. |
https |
HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests |
hyperV | Hyper-V sandbox. |
identity | Managed service identity. |
in |
Specifies an operation id if this site has a pending operation. NOTE: This property will not be serialized. It can only be populated by the server. |
is |
|
is |
Obsolete: Hyper-V sandbox. |
last |
Last time the app was modified, in UTC. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
max |
Maximum number of workers. This only applies to Functions container. NOTE: This property will not be serialized. It can only be populated by the server. |
outbound |
List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
possible |
List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
redundancy |
Site redundancy mode |
repository |
Name of the repository site. NOTE: This property will not be serialized. It can only be populated by the server. |
reserved |
|
resource |
Name of the resource group the app belongs to. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
scm |
|
server |
Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". |
site |
Configuration of the app. |
slot |
Status of the last deployment slot swap operation. NOTE: This property will not be serialized. It can only be populated by the server. |
state | Current state of the app. NOTE: This property will not be serialized. It can only be populated by the server. |
suspended |
App suspended till in case memory-time quota is exceeded. NOTE: This property will not be serialized. It can only be populated by the server. |
target |
Specifies which deployment slot this app will swap into. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
traffic |
Azure Traffic Manager hostnames associated with the app. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
usage |
State indicating whether the app has exceeded its quota usage. Read-only. NOTE: This property will not be serialized. It can only be populated by the server. |
Inherited Properties
id | Resource Id. NOTE: This property will not be serialized. It can only be populated by the server. |
kind | Kind of resource. |
location | Resource Location. |
name | Resource Name. NOTE: This property will not be serialized. It can only be populated by the server. |
tags | Resource tags. |
type | Resource type. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
availabilityState
Management information availability state for the app. NOTE: This property will not be serialized. It can only be populated by the server.
availabilityState?: SiteAvailabilityState
Property Value
clientAffinityEnabled
true
to enable client affinity; false
to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true
.
clientAffinityEnabled?: boolean
Property Value
boolean
clientCertEnabled
true
to enable client certificate authentication (TLS mutual authentication); otherwise, false
. Default is false
.
clientCertEnabled?: boolean
Property Value
boolean
clientCertExclusionPaths
client certificate authentication comma-separated exclusion paths
clientCertExclusionPaths?: string
Property Value
string
cloningInfo
If specified during app creation, the app is cloned from a source app.
cloningInfo?: CloningInfo
Property Value
containerSize
Size of the function container.
containerSize?: number
Property Value
number
dailyMemoryTimeQuota
Maximum allowed daily memory-time quota (applicable on dynamic apps only).
dailyMemoryTimeQuota?: number
Property Value
number
defaultHostName
Default hostname of the app. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
defaultHostName?: string
Property Value
string
enabled
true
if the app is enabled; otherwise, false
. Setting this value to false disables the app (takes the app offline).
enabled?: boolean
Property Value
boolean
enabledHostNames
Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames. NOTE: This property will not be serialized. It can only be populated by the server.
enabledHostNames?: string[]
Property Value
string[]
geoDistributions
GeoDistributions for this site
geoDistributions?: GeoDistribution[]
Property Value
hostingEnvironmentProfile
App Service Environment to use for the app.
hostingEnvironmentProfile?: HostingEnvironmentProfile
Property Value
hostNames
Hostnames associated with the app. NOTE: This property will not be serialized. It can only be populated by the server.
hostNames?: string[]
Property Value
string[]
hostNamesDisabled
true
to disable the public hostnames of the app; otherwise, false
.
If true
, the app is only accessible via API management process.
hostNamesDisabled?: boolean
Property Value
boolean
hostNameSslStates
Hostname SSL states are used to manage the SSL bindings for app's hostnames.
hostNameSslStates?: HostNameSslState[]
Property Value
httpsOnly
HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
httpsOnly?: boolean
Property Value
boolean
hyperV
Hyper-V sandbox.
hyperV?: boolean
Property Value
boolean
identity
inProgressOperationId
Specifies an operation id if this site has a pending operation. NOTE: This property will not be serialized. It can only be populated by the server.
inProgressOperationId?: string
Property Value
string
isDefaultContainer
true
if the app is a default container; otherwise, false
.
NOTE: This property will not be serialized. It can only be populated by the server.
isDefaultContainer?: boolean
Property Value
boolean
isXenon
Obsolete: Hyper-V sandbox.
isXenon?: boolean
Property Value
boolean
lastModifiedTimeUtc
Last time the app was modified, in UTC. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
lastModifiedTimeUtc?: Date
Property Value
Date
maxNumberOfWorkers
Maximum number of workers. This only applies to Functions container. NOTE: This property will not be serialized. It can only be populated by the server.
maxNumberOfWorkers?: number
Property Value
number
outboundIpAddresses
List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
outboundIpAddresses?: string
Property Value
string
possibleOutboundIpAddresses
List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
possibleOutboundIpAddresses?: string
Property Value
string
redundancyMode
repositorySiteName
Name of the repository site. NOTE: This property will not be serialized. It can only be populated by the server.
repositorySiteName?: string
Property Value
string
reserved
true
if reserved; otherwise, false
.
reserved?: boolean
Property Value
boolean
resourceGroup
Name of the resource group the app belongs to. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
resourceGroup?: string
Property Value
string
scmSiteAlsoStopped
true
to stop SCM (KUDU) site when the app is stopped; otherwise, false
. The default is false
.
scmSiteAlsoStopped?: boolean
Property Value
boolean
serverFarmId
Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
serverFarmId?: string
Property Value
string
siteConfig
slotSwapStatus
Status of the last deployment slot swap operation. NOTE: This property will not be serialized. It can only be populated by the server.
slotSwapStatus?: SlotSwapStatus
Property Value
state
Current state of the app. NOTE: This property will not be serialized. It can only be populated by the server.
state?: string
Property Value
string
suspendedTill
App suspended till in case memory-time quota is exceeded. NOTE: This property will not be serialized. It can only be populated by the server.
suspendedTill?: Date
Property Value
Date
targetSwapSlot
Specifies which deployment slot this app will swap into. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
targetSwapSlot?: string
Property Value
string
trafficManagerHostNames
Azure Traffic Manager hostnames associated with the app. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
trafficManagerHostNames?: string[]
Property Value
string[]
usageState
State indicating whether the app has exceeded its quota usage. Read-only. NOTE: This property will not be serialized. It can only be populated by the server.
usageState?: UsageState
Property Value
Inherited Property Details
id
Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.
id?: string
Property Value
string
Inherited From Resource.id
kind
location
name
Resource Name. NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
Inherited From Resource.name
tags
Resource tags.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
Inherited From Resource.tags
type
Resource type. NOTE: This property will not be serialized. It can only be populated by the server.
type?: string
Property Value
string
Inherited From Resource.type