We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages an App Service Environment.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new Azure.Network.VirtualNetworkArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
AddressSpaces =
{
"10.0.0.0/16",
},
});
var ase = new Azure.Network.Subnet("ase", new Azure.Network.SubnetArgs
{
ResourceGroupName = exampleResourceGroup.Name,
VirtualNetworkName = exampleVirtualNetwork.Name,
AddressPrefixes =
{
"10.0.1.0/24",
},
});
var gateway = new Azure.Network.Subnet("gateway", new Azure.Network.SubnetArgs
{
ResourceGroupName = exampleResourceGroup.Name,
VirtualNetworkName = exampleVirtualNetwork.Name,
AddressPrefixes =
{
"10.0.2.0/24",
},
});
var exampleEnvironment = new Azure.AppService.Environment("exampleEnvironment", new Azure.AppService.EnvironmentArgs
{
SubnetId = ase.Id,
PricingTier = "I2",
FrontEndScaleFactor = 10,
InternalLoadBalancingMode = "Web, Publishing",
AllowedUserIpCidrs =
{
"11.22.33.44/32",
"55.66.77.0/24",
},
ClusterSettings =
{
new Azure.AppService.Inputs.EnvironmentClusterSettingArgs
{
Name = "DisableTls1.0",
Value = "1",
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appservice"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
AddressSpaces: pulumi.StringArray{
pulumi.String("10.0.0.0/16"),
},
})
if err != nil {
return err
}
ase, err := network.NewSubnet(ctx, "ase", &network.SubnetArgs{
ResourceGroupName: exampleResourceGroup.Name,
VirtualNetworkName: exampleVirtualNetwork.Name,
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.0.1.0/24"),
},
})
if err != nil {
return err
}
_, err = network.NewSubnet(ctx, "gateway", &network.SubnetArgs{
ResourceGroupName: exampleResourceGroup.Name,
VirtualNetworkName: exampleVirtualNetwork.Name,
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.0.2.0/24"),
},
})
if err != nil {
return err
}
_, err = appservice.NewEnvironment(ctx, "exampleEnvironment", &appservice.EnvironmentArgs{
SubnetId: ase.ID(),
PricingTier: pulumi.String("I2"),
FrontEndScaleFactor: pulumi.Int(10),
InternalLoadBalancingMode: pulumi.String("Web, Publishing"),
AllowedUserIpCidrs: pulumi.StringArray{
pulumi.String("11.22.33.44/32"),
pulumi.String("55.66.77.0/24"),
},
ClusterSettings: appservice.EnvironmentClusterSettingArray{
&appservice.EnvironmentClusterSettingArgs{
Name: pulumi.String("DisableTls1.0"),
Value: pulumi.String("1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
addressSpaces: ["10.0.0.0/16"],
});
const ase = new azure.network.Subnet("ase", {
resourceGroupName: exampleResourceGroup.name,
virtualNetworkName: exampleVirtualNetwork.name,
addressPrefixes: ["10.0.1.0/24"],
});
const gateway = new azure.network.Subnet("gateway", {
resourceGroupName: exampleResourceGroup.name,
virtualNetworkName: exampleVirtualNetwork.name,
addressPrefixes: ["10.0.2.0/24"],
});
const exampleEnvironment = new azure.appservice.Environment("exampleEnvironment", {
subnetId: ase.id,
pricingTier: "I2",
frontEndScaleFactor: 10,
internalLoadBalancingMode: "Web, Publishing",
allowedUserIpCidrs: [
"11.22.33.44/32",
"55.66.77.0/24",
],
clusterSettings: [{
name: "DisableTls1.0",
value: "1",
}],
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
address_spaces=["10.0.0.0/16"])
ase = azure.network.Subnet("ase",
resource_group_name=example_resource_group.name,
virtual_network_name=example_virtual_network.name,
address_prefixes=["10.0.1.0/24"])
gateway = azure.network.Subnet("gateway",
resource_group_name=example_resource_group.name,
virtual_network_name=example_virtual_network.name,
address_prefixes=["10.0.2.0/24"])
example_environment = azure.appservice.Environment("exampleEnvironment",
subnet_id=ase.id,
pricing_tier="I2",
front_end_scale_factor=10,
internal_load_balancing_mode="Web, Publishing",
allowed_user_ip_cidrs=[
"11.22.33.44/32",
"55.66.77.0/24",
],
cluster_settings=[azure.appservice.EnvironmentClusterSettingArgs(
name="DisableTls1.0",
value="1",
)])
Example coming soon!
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_id: Optional[str] = None,
allowed_user_ip_cidrs: Optional[Sequence[str]] = None,
cluster_settings: Optional[Sequence[EnvironmentClusterSettingArgs]] = None,
front_end_scale_factor: Optional[int] = None,
internal_load_balancing_mode: Optional[str] = None,
name: Optional[str] = None,
pricing_tier: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
user_whitelisted_ip_ranges: Optional[Sequence[str]] = None)func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: azure:appservice:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var environmentResource = new Azure.AppService.Environment("environmentResource", new()
{
SubnetId = "string",
AllowedUserIpCidrs = new[]
{
"string",
},
ClusterSettings = new[]
{
new Azure.AppService.Inputs.EnvironmentClusterSettingArgs
{
Name = "string",
Value = "string",
},
},
FrontEndScaleFactor = 0,
InternalLoadBalancingMode = "string",
Name = "string",
PricingTier = "string",
ResourceGroupName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := appservice.NewEnvironment(ctx, "environmentResource", &appservice.EnvironmentArgs{
SubnetId: pulumi.String("string"),
AllowedUserIpCidrs: pulumi.StringArray{
pulumi.String("string"),
},
ClusterSettings: appservice.EnvironmentClusterSettingArray{
&appservice.EnvironmentClusterSettingArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
FrontEndScaleFactor: pulumi.Int(0),
InternalLoadBalancingMode: pulumi.String("string"),
Name: pulumi.String("string"),
PricingTier: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var environmentResource = new Environment("environmentResource", EnvironmentArgs.builder()
.subnetId("string")
.allowedUserIpCidrs("string")
.clusterSettings(EnvironmentClusterSettingArgs.builder()
.name("string")
.value("string")
.build())
.frontEndScaleFactor(0)
.internalLoadBalancingMode("string")
.name("string")
.pricingTier("string")
.resourceGroupName("string")
.tags(Map.of("string", "string"))
.build());
environment_resource = azure.appservice.Environment("environmentResource",
subnet_id="string",
allowed_user_ip_cidrs=["string"],
cluster_settings=[{
"name": "string",
"value": "string",
}],
front_end_scale_factor=0,
internal_load_balancing_mode="string",
name="string",
pricing_tier="string",
resource_group_name="string",
tags={
"string": "string",
})
const environmentResource = new azure.appservice.Environment("environmentResource", {
subnetId: "string",
allowedUserIpCidrs: ["string"],
clusterSettings: [{
name: "string",
value: "string",
}],
frontEndScaleFactor: 0,
internalLoadBalancingMode: "string",
name: "string",
pricingTier: "string",
resourceGroupName: "string",
tags: {
string: "string",
},
});
type: azure:appservice:Environment
properties:
allowedUserIpCidrs:
- string
clusterSettings:
- name: string
value: string
frontEndScaleFactor: 0
internalLoadBalancingMode: string
name: string
pricingTier: string
resourceGroupName: string
subnetId: string
tags:
string: string
Environment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Environment resource accepts the following input properties:
- Subnet
Id string - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- Allowed
User List<string>Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- Cluster
Settings List<EnvironmentCluster Setting> - Zero or more
cluster_settingblocks as defined below. - Front
End intScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - Internal
Load stringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - Name string
- The name of the App Service Environment. Changing this forces a new resource to be created.
- Pricing
Tier string - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - Resource
Group stringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - Dictionary<string, string>
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- User
Whitelisted List<string>Ip Ranges
- Subnet
Id string - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- Allowed
User []stringIp Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- Cluster
Settings []EnvironmentCluster Setting Args - Zero or more
cluster_settingblocks as defined below. - Front
End intScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - Internal
Load stringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - Name string
- The name of the App Service Environment. Changing this forces a new resource to be created.
- Pricing
Tier string - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - Resource
Group stringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - map[string]string
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- User
Whitelisted []stringIp Ranges
- subnet
Id String - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- allowed
User List<String>Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster
Settings List<EnvironmentCluster Setting> - Zero or more
cluster_settingblocks as defined below. - front
End IntegerScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal
Load StringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - name String
- The name of the App Service Environment. Changing this forces a new resource to be created.
- pricing
Tier String - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource
Group StringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - Map<String,String>
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user
Whitelisted List<String>Ip Ranges
- subnet
Id string - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- allowed
User string[]Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster
Settings EnvironmentCluster Setting[] - Zero or more
cluster_settingblocks as defined below. - front
End numberScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal
Load stringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - name string
- The name of the App Service Environment. Changing this forces a new resource to be created.
- pricing
Tier string - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource
Group stringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - {[key: string]: string}
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user
Whitelisted string[]Ip Ranges
- subnet_
id str - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- allowed_
user_ Sequence[str]ip_ cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster_
settings Sequence[EnvironmentCluster Setting Args] - Zero or more
cluster_settingblocks as defined below. - front_
end_ intscale_ factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal_
load_ strbalancing_ mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - name str
- The name of the App Service Environment. Changing this forces a new resource to be created.
- pricing_
tier str - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource_
group_ strname - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - Mapping[str, str]
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user_
whitelisted_ Sequence[str]ip_ ranges
- subnet
Id String - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- allowed
User List<String>Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster
Settings List<Property Map> - Zero or more
cluster_settingblocks as defined below. - front
End NumberScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal
Load StringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - name String
- The name of the App Service Environment. Changing this forces a new resource to be created.
- pricing
Tier String - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource
Group StringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - Map<String>
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user
Whitelisted List<String>Ip Ranges
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Ip stringAddress - IP address of internal load balancer of the App Service Environment.
- Location string
- The location where the App Service Environment exists.
- Outbound
Ip List<string>Addresses - List of outbound IP addresses of the App Service Environment.
- Service
Ip stringAddress - IP address of service endpoint of the App Service Environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Ip stringAddress - IP address of internal load balancer of the App Service Environment.
- Location string
- The location where the App Service Environment exists.
- Outbound
Ip []stringAddresses - List of outbound IP addresses of the App Service Environment.
- Service
Ip stringAddress - IP address of service endpoint of the App Service Environment.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Ip StringAddress - IP address of internal load balancer of the App Service Environment.
- location String
- The location where the App Service Environment exists.
- outbound
Ip List<String>Addresses - List of outbound IP addresses of the App Service Environment.
- service
Ip StringAddress - IP address of service endpoint of the App Service Environment.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Ip stringAddress - IP address of internal load balancer of the App Service Environment.
- location string
- The location where the App Service Environment exists.
- outbound
Ip string[]Addresses - List of outbound IP addresses of the App Service Environment.
- service
Ip stringAddress - IP address of service endpoint of the App Service Environment.
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
ip_ straddress - IP address of internal load balancer of the App Service Environment.
- location str
- The location where the App Service Environment exists.
- outbound_
ip_ Sequence[str]addresses - List of outbound IP addresses of the App Service Environment.
- service_
ip_ straddress - IP address of service endpoint of the App Service Environment.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Ip StringAddress - IP address of internal load balancer of the App Service Environment.
- location String
- The location where the App Service Environment exists.
- outbound
Ip List<String>Addresses - List of outbound IP addresses of the App Service Environment.
- service
Ip StringAddress - IP address of service endpoint of the App Service Environment.
Look up Existing Environment Resource
Get an existing Environment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EnvironmentState, opts?: CustomResourceOptions): Environment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_user_ip_cidrs: Optional[Sequence[str]] = None,
cluster_settings: Optional[Sequence[EnvironmentClusterSettingArgs]] = None,
front_end_scale_factor: Optional[int] = None,
internal_ip_address: Optional[str] = None,
internal_load_balancing_mode: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
outbound_ip_addresses: Optional[Sequence[str]] = None,
pricing_tier: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_ip_address: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
user_whitelisted_ip_ranges: Optional[Sequence[str]] = None) -> Environmentfunc GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)public static Environment get(String name, Output<String> id, EnvironmentState state, CustomResourceOptions options)resources: _: type: azure:appservice:Environment get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allowed
User List<string>Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- Cluster
Settings List<EnvironmentCluster Setting> - Zero or more
cluster_settingblocks as defined below. - Front
End intScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - Internal
Ip stringAddress - IP address of internal load balancer of the App Service Environment.
- Internal
Load stringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - Location string
- The location where the App Service Environment exists.
- Name string
- The name of the App Service Environment. Changing this forces a new resource to be created.
- Outbound
Ip List<string>Addresses - List of outbound IP addresses of the App Service Environment.
- Pricing
Tier string - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - Resource
Group stringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - Service
Ip stringAddress - IP address of service endpoint of the App Service Environment.
- Subnet
Id string - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- User
Whitelisted List<string>Ip Ranges
- Allowed
User []stringIp Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- Cluster
Settings []EnvironmentCluster Setting Args - Zero or more
cluster_settingblocks as defined below. - Front
End intScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - Internal
Ip stringAddress - IP address of internal load balancer of the App Service Environment.
- Internal
Load stringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - Location string
- The location where the App Service Environment exists.
- Name string
- The name of the App Service Environment. Changing this forces a new resource to be created.
- Outbound
Ip []stringAddresses - List of outbound IP addresses of the App Service Environment.
- Pricing
Tier string - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - Resource
Group stringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - Service
Ip stringAddress - IP address of service endpoint of the App Service Environment.
- Subnet
Id string - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- User
Whitelisted []stringIp Ranges
- allowed
User List<String>Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster
Settings List<EnvironmentCluster Setting> - Zero or more
cluster_settingblocks as defined below. - front
End IntegerScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal
Ip StringAddress - IP address of internal load balancer of the App Service Environment.
- internal
Load StringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - location String
- The location where the App Service Environment exists.
- name String
- The name of the App Service Environment. Changing this forces a new resource to be created.
- outbound
Ip List<String>Addresses - List of outbound IP addresses of the App Service Environment.
- pricing
Tier String - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource
Group StringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - service
Ip StringAddress - IP address of service endpoint of the App Service Environment.
- subnet
Id String - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user
Whitelisted List<String>Ip Ranges
- allowed
User string[]Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster
Settings EnvironmentCluster Setting[] - Zero or more
cluster_settingblocks as defined below. - front
End numberScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal
Ip stringAddress - IP address of internal load balancer of the App Service Environment.
- internal
Load stringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - location string
- The location where the App Service Environment exists.
- name string
- The name of the App Service Environment. Changing this forces a new resource to be created.
- outbound
Ip string[]Addresses - List of outbound IP addresses of the App Service Environment.
- pricing
Tier string - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource
Group stringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - service
Ip stringAddress - IP address of service endpoint of the App Service Environment.
- subnet
Id string - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user
Whitelisted string[]Ip Ranges
- allowed_
user_ Sequence[str]ip_ cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster_
settings Sequence[EnvironmentCluster Setting Args] - Zero or more
cluster_settingblocks as defined below. - front_
end_ intscale_ factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal_
ip_ straddress - IP address of internal load balancer of the App Service Environment.
- internal_
load_ strbalancing_ mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - location str
- The location where the App Service Environment exists.
- name str
- The name of the App Service Environment. Changing this forces a new resource to be created.
- outbound_
ip_ Sequence[str]addresses - List of outbound IP addresses of the App Service Environment.
- pricing_
tier str - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource_
group_ strname - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - service_
ip_ straddress - IP address of service endpoint of the App Service Environment.
- subnet_
id str - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user_
whitelisted_ Sequence[str]ip_ ranges
- allowed
User List<String>Ip Cidrs - Allowed user added IP ranges on the ASE database. Use the addresses you want to set as the explicit egress address ranges.
- cluster
Settings List<Property Map> - Zero or more
cluster_settingblocks as defined below. - front
End NumberScale Factor - Scale factor for front end instances. Possible values are between
5and15. Defaults to15. - internal
Ip StringAddress - IP address of internal load balancer of the App Service Environment.
- internal
Load StringBalancing Mode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values are
None,Web,Publishingand combined value"Web, Publishing". Defaults toNone. - location String
- The location where the App Service Environment exists.
- name String
- The name of the App Service Environment. Changing this forces a new resource to be created.
- outbound
Ip List<String>Addresses - List of outbound IP addresses of the App Service Environment.
- pricing
Tier String - Pricing tier for the front end instances. Possible values are
I1,I2andI3. Defaults toI1. - resource
Group StringName - The name of the Resource Group where the App Service Environment exists. Defaults to the Resource Group of the Subnet (specified by
subnet_id). - service
Ip StringAddress - IP address of service endpoint of the App Service Environment.
- subnet
Id String - The ID of the Subnet which the App Service Environment should be connected to. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- user
Whitelisted List<String>Ip Ranges
Supporting Types
EnvironmentClusterSetting, EnvironmentClusterSettingArgs
Import
The App Service Environment can be imported using the resource id, e.g.
$ pulumi import azure:appservice/environment:Environment myAppServiceEnv /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Web/hostingEnvironments/myAppServiceEnv
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
