WebApp

class WebApp : KotlinCustomResource

A web app, a mobile app backend, or an API app. API Version: 2020-12-01.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:web:WebApp myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}

Properties

Link copied to clipboard

Management information availability state for the app.

Link copied to clipboard

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.

Link copied to clipboard

true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.

Link copied to clipboard

client certificate authentication comma-separated exclusion paths

Link copied to clipboard
val clientCertMode: Output<String>?

This composes with ClientCertEnabled setting.

Link copied to clipboard
val containerSize: Output<Int>?

Size of the function container.

Link copied to clipboard

Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.

Link copied to clipboard

Maximum allowed daily memory-time quota (applicable on dynamic apps only).

Link copied to clipboard
val defaultHostName: Output<String>

Default hostname of the app. Read-only.

Link copied to clipboard
val enabled: Output<Boolean>?

true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).

Link copied to clipboard

Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.

Link copied to clipboard

App Service Environment to use for the app.

Link copied to clipboard
val hostNames: Output<List<String>>

Hostnames associated with the app.

Link copied to clipboard

true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.

Link copied to clipboard

Hostname SSL states are used to manage the SSL bindings for app's hostnames.

Link copied to clipboard
val httpsOnly: Output<Boolean>?

HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests

Link copied to clipboard
val hyperV: Output<Boolean>?

Hyper-V sandbox.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Managed service identity.

Link copied to clipboard

Specifies an operation id if this site has a pending operation.

Link copied to clipboard

true if the app is a default container; otherwise, false.

Link copied to clipboard
val isXenon: Output<Boolean>?

Obsolete: Hyper-V sandbox.

Link copied to clipboard

Identity to use for Key Vault Reference authentication.

Link copied to clipboard
val kind: Output<String>?

Kind of resource.

Link copied to clipboard

Last time the app was modified, in UTC. Read-only.

Link copied to clipboard
val location: Output<String>

Resource Location.

Link copied to clipboard
val maxNumberOfWorkers: Output<Int>

Maximum number of workers. This only applies to Functions container.

Link copied to clipboard
val name: Output<String>

Resource Name.

Link copied to clipboard

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.

Link copied to clipboard

List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val redundancyMode: Output<String>?

Site redundancy mode

Link copied to clipboard

Name of the repository site.

Link copied to clipboard
val reserved: Output<Boolean>?

true if reserved; otherwise, false.

Link copied to clipboard
val resourceGroup: Output<String>

Name of the resource group the app belongs to. Read-only.

Link copied to clipboard

true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.

Link copied to clipboard
val serverFarmId: Output<String>?

Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

Link copied to clipboard

Configuration of the app.

Link copied to clipboard

Status of the last deployment slot swap operation.

Link copied to clipboard
val state: Output<String>

Current state of the app.

Link copied to clipboard

Checks if Customer provided storage account is required

Link copied to clipboard
val suspendedTill: Output<String>

App suspended till in case memory-time quota is exceeded.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val targetSwapSlot: Output<String>

Specifies which deployment slot this app will swap into. Read-only.

Link copied to clipboard

Azure Traffic Manager hostnames associated with the app. Read-only.

Link copied to clipboard
val type: Output<String>

Resource type.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val usageState: Output<String>

State indicating whether the app has exceeded its quota usage. Read-only.

Link copied to clipboard

Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}