Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The hostingEnvironments resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Web/hostingEnvironments resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Web/hostingEnvironments@2015-08-01' = {
kind: 'string'
location: 'string'
name: 'string'
properties: {
allowedMultiSizes: 'string'
allowedWorkerSizes: 'string'
apiManagementAccountId: 'string'
clusterSettings: [
{
name: 'string'
value: 'string'
}
]
databaseEdition: 'string'
databaseServiceObjective: 'string'
dnsSuffix: 'string'
environmentCapacities: [
{
availableCapacity: int
computeMode: 'string'
excludeFromCapacityAllocation: bool
isApplicableForAllComputeModes: bool
name: 'string'
siteMode: 'string'
totalCapacity: int
unit: 'string'
workerSize: 'string'
workerSizeId: int
}
]
environmentIsHealthy: bool
environmentStatus: 'string'
internalLoadBalancingMode: 'string'
ipsslAddressCount: int
lastAction: 'string'
lastActionResult: 'string'
location: 'string'
maximumNumberOfMachines: int
multiRoleCount: int
multiSize: 'string'
name: 'string'
networkAccessControlList: [
{
action: 'string'
description: 'string'
order: int
remoteSubnet: 'string'
}
]
provisioningState: 'string'
resourceGroup: 'string'
status: 'string'
subscriptionId: 'string'
suspended: bool
upgradeDomains: int
vipMappings: [
{
internalHttpPort: int
internalHttpsPort: int
inUse: bool
virtualIP: 'string'
}
]
virtualNetwork: {
id: 'string'
name: 'string'
subnet: 'string'
type: 'string'
}
vnetName: 'string'
vnetResourceGroupName: 'string'
vnetSubnetName: 'string'
workerPools: [
{
id: 'string'
kind: 'string'
location: 'string'
name: 'string'
properties: {
computeMode: 'string'
instanceNames: [
'string'
]
workerCount: int
workerSize: 'string'
workerSizeId: int
}
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
tags: {
{customized property}: 'string'
}
type: 'string'
}
]
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Web/hostingEnvironments
Name | Description | Value |
---|---|---|
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | The resource name | string (required) |
properties | HostingEnvironmentProperties | |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
HostingEnvironmentProperties
Name | Description | Value |
---|---|---|
allowedMultiSizes | List of comma separated strings describing which VM sizes are allowed for front-ends | string |
allowedWorkerSizes | List of comma separated strings describing which VM sizes are allowed for workers | string |
apiManagementAccountId | Api Management Account associated with this Hosting Environment | string |
clusterSettings | Custom settings for changing the behavior of the hosting environment | NameValuePair[] |
databaseEdition | Edition of the metadata database for the hostingEnvironment (App Service Environment) e.g. "Standard" | string |
databaseServiceObjective | Service objective of the metadata database for the hostingEnvironment (App Service Environment) e.g. "S0" | string |
dnsSuffix | DNS suffix of the hostingEnvironment (App Service Environment) | string |
environmentCapacities | Current total, used, and available worker capacities | StampCapacity[] |
environmentIsHealthy | True/false indicating whether the hostingEnvironment (App Service Environment) is healthy | bool |
environmentStatus | Detailed message about with results of the last check of the hostingEnvironment (App Service Environment) | string |
internalLoadBalancingMode | Specifies which endpoints to serve internally in the hostingEnvironment's (App Service Environment) VNET | 'None' 'Publishing' 'Web' |
ipsslAddressCount | Number of IP SSL addresses reserved for this hostingEnvironment (App Service Environment) | int |
lastAction | Last deployment action on this hostingEnvironment (App Service Environment) | string |
lastActionResult | Result of the last deployment action on this hostingEnvironment (App Service Environment) | string |
location | Location of the hostingEnvironment (App Service Environment), e.g. "West US" | string |
maximumNumberOfMachines | Maximum number of VMs in this hostingEnvironment (App Service Environment) | int |
multiRoleCount | Number of front-end instances | int |
multiSize | Front-end VM size, e.g. "Medium", "Large" | string |
name | Name of the hostingEnvironment (App Service Environment) | string |
networkAccessControlList | Access control list for controlling traffic to the hostingEnvironment (App Service Environment) | NetworkAccessControlEntry[] |
provisioningState | Provisioning state of the hostingEnvironment (App Service Environment) | 'Canceled' 'Deleting' 'Failed' 'InProgress' 'Succeeded' |
resourceGroup | Resource group of the hostingEnvironment (App Service Environment) | string |
status | Current status of the hostingEnvironment (App Service Environment) | 'Deleting' 'Preparing' 'Ready' 'Scaling' (required) |
subscriptionId | Subscription of the hostingEnvironment (App Service Environment) | string |
suspended | True/false indicating whether the hostingEnvironment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic) |
bool |
upgradeDomains | Number of upgrade domains of this hostingEnvironment (App Service Environment) | int |
vipMappings | Description of IP SSL mapping for this hostingEnvironment (App Service Environment) | VirtualIPMapping[] |
virtualNetwork | Description of the hostingEnvironment's (App Service Environment) virtual network | VirtualNetworkProfile |
vnetName | Name of the hostingEnvironment's (App Service Environment) virtual network | string |
vnetResourceGroupName | Resource group of the hostingEnvironment's (App Service Environment) virtual network | string |
vnetSubnetName | Subnet of the hostingEnvironment's (App Service Environment) virtual network | string |
workerPools | Description of worker pools with worker size ids, VM sizes, and number of workers in each pool | WorkerPool[] |
NameValuePair
Name | Description | Value |
---|---|---|
name | Pair name | string |
value | Pair value | string |
NetworkAccessControlEntry
Name | Description | Value |
---|---|---|
action | 'Deny' 'Permit' |
|
description | string | |
order | int | |
remoteSubnet | string |
ResourceTags
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
SkuDescription
Name | Description | Value |
---|---|---|
capacity | Current number of instances assigned to the resource | int |
family | Family code of the resource sku | string |
name | Name of the resource sku | string |
size | Size specifier of the resource sku | string |
tier | Service Tier of the resource sku | string |
StampCapacity
Name | Description | Value |
---|---|---|
availableCapacity | Available capacity (# of machines, bytes of storage etc...) | int |
computeMode | Shared/Dedicated workers | 'Dedicated' 'Dynamic' 'Shared' |
excludeFromCapacityAllocation | If true it includes basic sites Basic sites are not used for capacity allocation. |
bool |
isApplicableForAllComputeModes | Is capacity applicable for all sites? | bool |
name | Name of the stamp | string |
siteMode | Shared or Dedicated | string |
totalCapacity | Total capacity (# of machines, bytes of storage etc...) | int |
unit | Name of the unit | string |
workerSize | Size of the machines | 'Default' 'Large' 'Medium' 'Small' |
workerSizeId | Size Id of machines: 0 - Small 1 - Medium 2 - Large |
int |
VirtualIPMapping
Name | Description | Value |
---|---|---|
internalHttpPort | Internal HTTP port | int |
internalHttpsPort | Internal HTTPS port | int |
inUse | Is VIP mapping in use | bool |
virtualIP | Virtual IP address | string |
VirtualNetworkProfile
Name | Description | Value |
---|---|---|
id | Resource id of the virtual network | string |
name | Name of the virtual network (read-only) | string |
subnet | Subnet within the virtual network | string |
type | Resource type of the virtual network (read-only) | string |
WorkerPool
Name | Description | Value |
---|---|---|
id | Resource Id | string |
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | Resource Name | string |
properties | WorkerPoolProperties | |
sku | Describes a sku for a scalable resource | SkuDescription |
tags | Resource tags | ResourceTags |
type | Resource type | string |
WorkerPoolProperties
Name | Description | Value |
---|---|---|
computeMode | Shared or dedicated web app hosting | 'Dedicated' 'Dynamic' 'Shared' |
instanceNames | Names of all instances in the worker pool (read only) | string[] |
workerCount | Number of instances in the worker pool | int |
workerSize | VM size of the worker pool instances | string |
workerSizeId | Worker size id for referencing this worker pool | int |
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
App Service Environment | AVM Resource Module for App Service Environment |
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
App Service Environment with Hosting Plan and Azure WebApp | Creates an App Service Environment v2 with an ILB Address in a existing virtual network that will be privately availible. The App Service Environment will contain a Hosting Plan and a Azure Web App |
Create an App Service Environment v2 | Creates an App Service Environment v2 in your virtual network |
Create an AppServicePlan and App in an ASEv3 | Create an AppServicePlan and App in an ASEv3 |
ARM template resource definition
The hostingEnvironments resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Web/hostingEnvironments resource, add the following JSON to your template.
{
"type": "Microsoft.Web/hostingEnvironments",
"apiVersion": "2015-08-01",
"name": "string",
"kind": "string",
"location": "string",
"properties": {
"allowedMultiSizes": "string",
"allowedWorkerSizes": "string",
"apiManagementAccountId": "string",
"clusterSettings": [
{
"name": "string",
"value": "string"
}
],
"databaseEdition": "string",
"databaseServiceObjective": "string",
"dnsSuffix": "string",
"environmentCapacities": [
{
"availableCapacity": "int",
"computeMode": "string",
"excludeFromCapacityAllocation": "bool",
"isApplicableForAllComputeModes": "bool",
"name": "string",
"siteMode": "string",
"totalCapacity": "int",
"unit": "string",
"workerSize": "string",
"workerSizeId": "int"
}
],
"environmentIsHealthy": "bool",
"environmentStatus": "string",
"internalLoadBalancingMode": "string",
"ipsslAddressCount": "int",
"lastAction": "string",
"lastActionResult": "string",
"location": "string",
"maximumNumberOfMachines": "int",
"multiRoleCount": "int",
"multiSize": "string",
"name": "string",
"networkAccessControlList": [
{
"action": "string",
"description": "string",
"order": "int",
"remoteSubnet": "string"
}
],
"provisioningState": "string",
"resourceGroup": "string",
"status": "string",
"subscriptionId": "string",
"suspended": "bool",
"upgradeDomains": "int",
"vipMappings": [
{
"internalHttpPort": "int",
"internalHttpsPort": "int",
"inUse": "bool",
"virtualIP": "string"
}
],
"virtualNetwork": {
"id": "string",
"name": "string",
"subnet": "string",
"type": "string"
},
"vnetName": "string",
"vnetResourceGroupName": "string",
"vnetSubnetName": "string",
"workerPools": [
{
"id": "string",
"kind": "string",
"location": "string",
"name": "string",
"properties": {
"computeMode": "string",
"instanceNames": [ "string" ],
"workerCount": "int",
"workerSize": "string",
"workerSizeId": "int"
},
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"tags": {
"{customized property}": "string"
},
"type": "string"
}
]
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Web/hostingEnvironments
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2015-08-01' |
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | The resource name | string (required) |
properties | HostingEnvironmentProperties | |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Web/hostingEnvironments' |
HostingEnvironmentProperties
Name | Description | Value |
---|---|---|
allowedMultiSizes | List of comma separated strings describing which VM sizes are allowed for front-ends | string |
allowedWorkerSizes | List of comma separated strings describing which VM sizes are allowed for workers | string |
apiManagementAccountId | Api Management Account associated with this Hosting Environment | string |
clusterSettings | Custom settings for changing the behavior of the hosting environment | NameValuePair[] |
databaseEdition | Edition of the metadata database for the hostingEnvironment (App Service Environment) e.g. "Standard" | string |
databaseServiceObjective | Service objective of the metadata database for the hostingEnvironment (App Service Environment) e.g. "S0" | string |
dnsSuffix | DNS suffix of the hostingEnvironment (App Service Environment) | string |
environmentCapacities | Current total, used, and available worker capacities | StampCapacity[] |
environmentIsHealthy | True/false indicating whether the hostingEnvironment (App Service Environment) is healthy | bool |
environmentStatus | Detailed message about with results of the last check of the hostingEnvironment (App Service Environment) | string |
internalLoadBalancingMode | Specifies which endpoints to serve internally in the hostingEnvironment's (App Service Environment) VNET | 'None' 'Publishing' 'Web' |
ipsslAddressCount | Number of IP SSL addresses reserved for this hostingEnvironment (App Service Environment) | int |
lastAction | Last deployment action on this hostingEnvironment (App Service Environment) | string |
lastActionResult | Result of the last deployment action on this hostingEnvironment (App Service Environment) | string |
location | Location of the hostingEnvironment (App Service Environment), e.g. "West US" | string |
maximumNumberOfMachines | Maximum number of VMs in this hostingEnvironment (App Service Environment) | int |
multiRoleCount | Number of front-end instances | int |
multiSize | Front-end VM size, e.g. "Medium", "Large" | string |
name | Name of the hostingEnvironment (App Service Environment) | string |
networkAccessControlList | Access control list for controlling traffic to the hostingEnvironment (App Service Environment) | NetworkAccessControlEntry[] |
provisioningState | Provisioning state of the hostingEnvironment (App Service Environment) | 'Canceled' 'Deleting' 'Failed' 'InProgress' 'Succeeded' |
resourceGroup | Resource group of the hostingEnvironment (App Service Environment) | string |
status | Current status of the hostingEnvironment (App Service Environment) | 'Deleting' 'Preparing' 'Ready' 'Scaling' (required) |
subscriptionId | Subscription of the hostingEnvironment (App Service Environment) | string |
suspended | True/false indicating whether the hostingEnvironment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic) |
bool |
upgradeDomains | Number of upgrade domains of this hostingEnvironment (App Service Environment) | int |
vipMappings | Description of IP SSL mapping for this hostingEnvironment (App Service Environment) | VirtualIPMapping[] |
virtualNetwork | Description of the hostingEnvironment's (App Service Environment) virtual network | VirtualNetworkProfile |
vnetName | Name of the hostingEnvironment's (App Service Environment) virtual network | string |
vnetResourceGroupName | Resource group of the hostingEnvironment's (App Service Environment) virtual network | string |
vnetSubnetName | Subnet of the hostingEnvironment's (App Service Environment) virtual network | string |
workerPools | Description of worker pools with worker size ids, VM sizes, and number of workers in each pool | WorkerPool[] |
NameValuePair
Name | Description | Value |
---|---|---|
name | Pair name | string |
value | Pair value | string |
NetworkAccessControlEntry
Name | Description | Value |
---|---|---|
action | 'Deny' 'Permit' |
|
description | string | |
order | int | |
remoteSubnet | string |
ResourceTags
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
SkuDescription
Name | Description | Value |
---|---|---|
capacity | Current number of instances assigned to the resource | int |
family | Family code of the resource sku | string |
name | Name of the resource sku | string |
size | Size specifier of the resource sku | string |
tier | Service Tier of the resource sku | string |
StampCapacity
Name | Description | Value |
---|---|---|
availableCapacity | Available capacity (# of machines, bytes of storage etc...) | int |
computeMode | Shared/Dedicated workers | 'Dedicated' 'Dynamic' 'Shared' |
excludeFromCapacityAllocation | If true it includes basic sites Basic sites are not used for capacity allocation. |
bool |
isApplicableForAllComputeModes | Is capacity applicable for all sites? | bool |
name | Name of the stamp | string |
siteMode | Shared or Dedicated | string |
totalCapacity | Total capacity (# of machines, bytes of storage etc...) | int |
unit | Name of the unit | string |
workerSize | Size of the machines | 'Default' 'Large' 'Medium' 'Small' |
workerSizeId | Size Id of machines: 0 - Small 1 - Medium 2 - Large |
int |
VirtualIPMapping
Name | Description | Value |
---|---|---|
internalHttpPort | Internal HTTP port | int |
internalHttpsPort | Internal HTTPS port | int |
inUse | Is VIP mapping in use | bool |
virtualIP | Virtual IP address | string |
VirtualNetworkProfile
Name | Description | Value |
---|---|---|
id | Resource id of the virtual network | string |
name | Name of the virtual network (read-only) | string |
subnet | Subnet within the virtual network | string |
type | Resource type of the virtual network (read-only) | string |
WorkerPool
Name | Description | Value |
---|---|---|
id | Resource Id | string |
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | Resource Name | string |
properties | WorkerPoolProperties | |
sku | Describes a sku for a scalable resource | SkuDescription |
tags | Resource tags | ResourceTags |
type | Resource type | string |
WorkerPoolProperties
Name | Description | Value |
---|---|---|
computeMode | Shared or dedicated web app hosting | 'Dedicated' 'Dynamic' 'Shared' |
instanceNames | Names of all instances in the worker pool (read only) | string[] |
workerCount | Number of instances in the worker pool | int |
workerSize | VM size of the worker pool instances | string |
workerSizeId | Worker size id for referencing this worker pool | int |
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
App Service Environment with Azure SQL backend |
This template creates an App Service Environment with an Azure SQL backend along with private endpoints along with associated resources typically used in an private/isolated environment. |
App Service Environment with Hosting Plan and Azure WebApp |
Creates an App Service Environment v2 with an ILB Address in a existing virtual network that will be privately availible. The App Service Environment will contain a Hosting Plan and a Azure Web App |
Create an App Service Environment |
Creates an App Service Environment in your virtual network |
Create an App Service Environment v2 |
Creates an App Service Environment v2 in your virtual network |
Create an AppServicePlan and App in an ASEv3 |
Create an AppServicePlan and App in an ASEv3 |
Create App Service Environment v2 with an ILB Address |
Creates an App Service Environment v2 in your virtual network with a private internal load balancer address |
Create App Service Environment with an ILB Address |
Creates an App Service Environment in your virtual network with a private internal load balancer address |
Create Azure App Service Environment With An Web App Added |
Creates an Azure App Service Environment inside A Virtual Network Subnet. This template also adds a Azure Web App inside the App Service Environment. Template originally authored by Callum Brankin of PixelPin |
ILB App Service Environment with Azure Firewall |
Resource Manager templates and parameters demonstrating how to deploy App Service environment with Azure Firewall integration |
SSL certificate for an ILB ASE or an ILB ASE v2 |
Configures the default SSL certificate for an ILB ASE or an ILB ASE v2 |
Terraform (AzAPI provider) resource definition
The hostingEnvironments resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Web/hostingEnvironments resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/hostingEnvironments@2015-08-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
kind = "string"
properties = {
allowedMultiSizes = "string"
allowedWorkerSizes = "string"
apiManagementAccountId = "string"
clusterSettings = [
{
name = "string"
value = "string"
}
]
databaseEdition = "string"
databaseServiceObjective = "string"
dnsSuffix = "string"
environmentCapacities = [
{
availableCapacity = int
computeMode = "string"
excludeFromCapacityAllocation = bool
isApplicableForAllComputeModes = bool
name = "string"
siteMode = "string"
totalCapacity = int
unit = "string"
workerSize = "string"
workerSizeId = int
}
]
environmentIsHealthy = bool
environmentStatus = "string"
internalLoadBalancingMode = "string"
ipsslAddressCount = int
lastAction = "string"
lastActionResult = "string"
location = "string"
maximumNumberOfMachines = int
multiRoleCount = int
multiSize = "string"
name = "string"
networkAccessControlList = [
{
action = "string"
description = "string"
order = int
remoteSubnet = "string"
}
]
provisioningState = "string"
resourceGroup = "string"
status = "string"
subscriptionId = "string"
suspended = bool
upgradeDomains = int
vipMappings = [
{
internalHttpPort = int
internalHttpsPort = int
inUse = bool
virtualIP = "string"
}
]
virtualNetwork = {
id = "string"
name = "string"
subnet = "string"
type = "string"
}
vnetName = "string"
vnetResourceGroupName = "string"
vnetSubnetName = "string"
workerPools = [
{
id = "string"
kind = "string"
location = "string"
name = "string"
properties = {
computeMode = "string"
instanceNames = [
"string"
]
workerCount = int
workerSize = "string"
workerSizeId = int
}
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
tags = {
{customized property} = "string"
}
type = "string"
}
]
}
}
}
Property Values
Microsoft.Web/hostingEnvironments
Name | Description | Value |
---|---|---|
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | The resource name | string (required) |
properties | HostingEnvironmentProperties | |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Web/hostingEnvironments@2015-08-01" |
HostingEnvironmentProperties
Name | Description | Value |
---|---|---|
allowedMultiSizes | List of comma separated strings describing which VM sizes are allowed for front-ends | string |
allowedWorkerSizes | List of comma separated strings describing which VM sizes are allowed for workers | string |
apiManagementAccountId | Api Management Account associated with this Hosting Environment | string |
clusterSettings | Custom settings for changing the behavior of the hosting environment | NameValuePair[] |
databaseEdition | Edition of the metadata database for the hostingEnvironment (App Service Environment) e.g. "Standard" | string |
databaseServiceObjective | Service objective of the metadata database for the hostingEnvironment (App Service Environment) e.g. "S0" | string |
dnsSuffix | DNS suffix of the hostingEnvironment (App Service Environment) | string |
environmentCapacities | Current total, used, and available worker capacities | StampCapacity[] |
environmentIsHealthy | True/false indicating whether the hostingEnvironment (App Service Environment) is healthy | bool |
environmentStatus | Detailed message about with results of the last check of the hostingEnvironment (App Service Environment) | string |
internalLoadBalancingMode | Specifies which endpoints to serve internally in the hostingEnvironment's (App Service Environment) VNET | 'None' 'Publishing' 'Web' |
ipsslAddressCount | Number of IP SSL addresses reserved for this hostingEnvironment (App Service Environment) | int |
lastAction | Last deployment action on this hostingEnvironment (App Service Environment) | string |
lastActionResult | Result of the last deployment action on this hostingEnvironment (App Service Environment) | string |
location | Location of the hostingEnvironment (App Service Environment), e.g. "West US" | string |
maximumNumberOfMachines | Maximum number of VMs in this hostingEnvironment (App Service Environment) | int |
multiRoleCount | Number of front-end instances | int |
multiSize | Front-end VM size, e.g. "Medium", "Large" | string |
name | Name of the hostingEnvironment (App Service Environment) | string |
networkAccessControlList | Access control list for controlling traffic to the hostingEnvironment (App Service Environment) | NetworkAccessControlEntry[] |
provisioningState | Provisioning state of the hostingEnvironment (App Service Environment) | 'Canceled' 'Deleting' 'Failed' 'InProgress' 'Succeeded' |
resourceGroup | Resource group of the hostingEnvironment (App Service Environment) | string |
status | Current status of the hostingEnvironment (App Service Environment) | 'Deleting' 'Preparing' 'Ready' 'Scaling' (required) |
subscriptionId | Subscription of the hostingEnvironment (App Service Environment) | string |
suspended | True/false indicating whether the hostingEnvironment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic) |
bool |
upgradeDomains | Number of upgrade domains of this hostingEnvironment (App Service Environment) | int |
vipMappings | Description of IP SSL mapping for this hostingEnvironment (App Service Environment) | VirtualIPMapping[] |
virtualNetwork | Description of the hostingEnvironment's (App Service Environment) virtual network | VirtualNetworkProfile |
vnetName | Name of the hostingEnvironment's (App Service Environment) virtual network | string |
vnetResourceGroupName | Resource group of the hostingEnvironment's (App Service Environment) virtual network | string |
vnetSubnetName | Subnet of the hostingEnvironment's (App Service Environment) virtual network | string |
workerPools | Description of worker pools with worker size ids, VM sizes, and number of workers in each pool | WorkerPool[] |
NameValuePair
Name | Description | Value |
---|---|---|
name | Pair name | string |
value | Pair value | string |
NetworkAccessControlEntry
Name | Description | Value |
---|---|---|
action | 'Deny' 'Permit' |
|
description | string | |
order | int | |
remoteSubnet | string |
ResourceTags
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
SkuDescription
Name | Description | Value |
---|---|---|
capacity | Current number of instances assigned to the resource | int |
family | Family code of the resource sku | string |
name | Name of the resource sku | string |
size | Size specifier of the resource sku | string |
tier | Service Tier of the resource sku | string |
StampCapacity
Name | Description | Value |
---|---|---|
availableCapacity | Available capacity (# of machines, bytes of storage etc...) | int |
computeMode | Shared/Dedicated workers | 'Dedicated' 'Dynamic' 'Shared' |
excludeFromCapacityAllocation | If true it includes basic sites Basic sites are not used for capacity allocation. |
bool |
isApplicableForAllComputeModes | Is capacity applicable for all sites? | bool |
name | Name of the stamp | string |
siteMode | Shared or Dedicated | string |
totalCapacity | Total capacity (# of machines, bytes of storage etc...) | int |
unit | Name of the unit | string |
workerSize | Size of the machines | 'Default' 'Large' 'Medium' 'Small' |
workerSizeId | Size Id of machines: 0 - Small 1 - Medium 2 - Large |
int |
VirtualIPMapping
Name | Description | Value |
---|---|---|
internalHttpPort | Internal HTTP port | int |
internalHttpsPort | Internal HTTPS port | int |
inUse | Is VIP mapping in use | bool |
virtualIP | Virtual IP address | string |
VirtualNetworkProfile
Name | Description | Value |
---|---|---|
id | Resource id of the virtual network | string |
name | Name of the virtual network (read-only) | string |
subnet | Subnet within the virtual network | string |
type | Resource type of the virtual network (read-only) | string |
WorkerPool
Name | Description | Value |
---|---|---|
id | Resource Id | string |
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | Resource Name | string |
properties | WorkerPoolProperties | |
sku | Describes a sku for a scalable resource | SkuDescription |
tags | Resource tags | ResourceTags |
type | Resource type | string |
WorkerPoolProperties
Name | Description | Value |
---|---|---|
computeMode | Shared or dedicated web app hosting | 'Dedicated' 'Dynamic' 'Shared' |
instanceNames | Names of all instances in the worker pool (read only) | string[] |
workerCount | Number of instances in the worker pool | int |
workerSize | VM size of the worker pool instances | string |
workerSizeId | Worker size id for referencing this worker pool | int |
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
App Service Environment | AVM Resource Module for App Service Environment |