1. Packages
  2. Azure Classic
  3. API Docs
  4. containerapp
  5. Environment

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

azure.containerapp.Environment

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

    Manages a Container App Environment.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Sku = "PerGB2018",
            RetentionInDays = 30,
        });
    
        var exampleEnvironment = new Azure.ContainerApp.Environment("exampleEnvironment", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/containerapp"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/operationalinsights"
    	"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
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku:               pulumi.String("PerGB2018"),
    			RetentionInDays:   pulumi.Int(30),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerapp.NewEnvironment(ctx, "exampleEnvironment", &containerapp.EnvironmentArgs{
    			Location:                exampleResourceGroup.Location,
    			ResourceGroupName:       exampleResourceGroup.Name,
    			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
    import com.pulumi.azure.containerapp.Environment;
    import com.pulumi.azure.containerapp.EnvironmentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .sku("PerGB2018")
                .retentionInDays(30)
                .build());
    
            var exampleEnvironment = new Environment("exampleEnvironment", EnvironmentArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="PerGB2018",
        retention_in_days=30)
    example_environment = azure.containerapp.Environment("exampleEnvironment",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        log_analytics_workspace_id=example_analytics_workspace.id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "PerGB2018",
        retentionInDays: 30,
    });
    const exampleEnvironment = new azure.containerapp.Environment("exampleEnvironment", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku: PerGB2018
          retentionInDays: 30
      exampleEnvironment:
        type: azure:containerapp:Environment
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
    

    Create Environment Resource

    new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def Environment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    infrastructure_subnet_id: Optional[str] = None,
                    internal_load_balancer_enabled: Optional[bool] = None,
                    location: Optional[str] = None,
                    log_analytics_workspace_id: Optional[str] = None,
                    name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
    @overload
    def Environment(resource_name: str,
                    args: EnvironmentArgs,
                    opts: Optional[ResourceOptions] = 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:containerapp:Environment
    properties: # The arguments to resource properties.
    options: # 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.
    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.

    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

    The Environment resource accepts the following input properties:

    ResourceGroupName string

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    InfrastructureSubnetId string

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    InternalLoadBalancerEnabled bool

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    Location string

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    LogAnalyticsWorkspaceId string

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    Name string

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    Tags Dictionary<string, string>

    A mapping of tags to assign to the resource.

    ResourceGroupName string

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    InfrastructureSubnetId string

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    InternalLoadBalancerEnabled bool

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    Location string

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    LogAnalyticsWorkspaceId string

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    Name string

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    Tags map[string]string

    A mapping of tags to assign to the resource.

    resourceGroupName String

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    infrastructureSubnetId String

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internalLoadBalancerEnabled Boolean

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location String

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    logAnalyticsWorkspaceId String

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name String

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    tags Map<String,String>

    A mapping of tags to assign to the resource.

    resourceGroupName string

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    infrastructureSubnetId string

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internalLoadBalancerEnabled boolean

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location string

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    logAnalyticsWorkspaceId string

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name string

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    tags {[key: string]: string}

    A mapping of tags to assign to the resource.

    resource_group_name str

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    infrastructure_subnet_id str

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internal_load_balancer_enabled bool

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location str

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    log_analytics_workspace_id str

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name str

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    tags Mapping[str, str]

    A mapping of tags to assign to the resource.

    resourceGroupName String

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    infrastructureSubnetId String

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internalLoadBalancerEnabled Boolean

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location String

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    logAnalyticsWorkspaceId String

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name String

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    tags Map<String>

    A mapping of tags to assign to the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:

    DefaultDomain string

    The default, publicly resolvable, name of this Container App Environment.

    DockerBridgeCidr string

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    Id string

    The provider-assigned unique ID for this managed resource.

    PlatformReservedCidr string

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    PlatformReservedDnsIpAddress string

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    StaticIpAddress string

    The Static IP address of the Environment.

    DefaultDomain string

    The default, publicly resolvable, name of this Container App Environment.

    DockerBridgeCidr string

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    Id string

    The provider-assigned unique ID for this managed resource.

    PlatformReservedCidr string

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    PlatformReservedDnsIpAddress string

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    StaticIpAddress string

    The Static IP address of the Environment.

    defaultDomain String

    The default, publicly resolvable, name of this Container App Environment.

    dockerBridgeCidr String

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    id String

    The provider-assigned unique ID for this managed resource.

    platformReservedCidr String

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platformReservedDnsIpAddress String

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    staticIpAddress String

    The Static IP address of the Environment.

    defaultDomain string

    The default, publicly resolvable, name of this Container App Environment.

    dockerBridgeCidr string

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    id string

    The provider-assigned unique ID for this managed resource.

    platformReservedCidr string

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platformReservedDnsIpAddress string

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    staticIpAddress string

    The Static IP address of the Environment.

    default_domain str

    The default, publicly resolvable, name of this Container App Environment.

    docker_bridge_cidr str

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    id str

    The provider-assigned unique ID for this managed resource.

    platform_reserved_cidr str

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platform_reserved_dns_ip_address str

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    static_ip_address str

    The Static IP address of the Environment.

    defaultDomain String

    The default, publicly resolvable, name of this Container App Environment.

    dockerBridgeCidr String

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    id String

    The provider-assigned unique ID for this managed resource.

    platformReservedCidr String

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platformReservedDnsIpAddress String

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    staticIpAddress String

    The Static IP address of the 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,
            default_domain: Optional[str] = None,
            docker_bridge_cidr: Optional[str] = None,
            infrastructure_subnet_id: Optional[str] = None,
            internal_load_balancer_enabled: Optional[bool] = None,
            location: Optional[str] = None,
            log_analytics_workspace_id: Optional[str] = None,
            name: Optional[str] = None,
            platform_reserved_cidr: Optional[str] = None,
            platform_reserved_dns_ip_address: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            static_ip_address: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Environment
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    DefaultDomain string

    The default, publicly resolvable, name of this Container App Environment.

    DockerBridgeCidr string

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    InfrastructureSubnetId string

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    InternalLoadBalancerEnabled bool

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    Location string

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    LogAnalyticsWorkspaceId string

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    Name string

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    PlatformReservedCidr string

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    PlatformReservedDnsIpAddress string

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    ResourceGroupName string

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    StaticIpAddress string

    The Static IP address of the Environment.

    Tags Dictionary<string, string>

    A mapping of tags to assign to the resource.

    DefaultDomain string

    The default, publicly resolvable, name of this Container App Environment.

    DockerBridgeCidr string

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    InfrastructureSubnetId string

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    InternalLoadBalancerEnabled bool

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    Location string

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    LogAnalyticsWorkspaceId string

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    Name string

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    PlatformReservedCidr string

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    PlatformReservedDnsIpAddress string

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    ResourceGroupName string

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    StaticIpAddress string

    The Static IP address of the Environment.

    Tags map[string]string

    A mapping of tags to assign to the resource.

    defaultDomain String

    The default, publicly resolvable, name of this Container App Environment.

    dockerBridgeCidr String

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    infrastructureSubnetId String

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internalLoadBalancerEnabled Boolean

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location String

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    logAnalyticsWorkspaceId String

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name String

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    platformReservedCidr String

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platformReservedDnsIpAddress String

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    resourceGroupName String

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    staticIpAddress String

    The Static IP address of the Environment.

    tags Map<String,String>

    A mapping of tags to assign to the resource.

    defaultDomain string

    The default, publicly resolvable, name of this Container App Environment.

    dockerBridgeCidr string

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    infrastructureSubnetId string

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internalLoadBalancerEnabled boolean

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location string

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    logAnalyticsWorkspaceId string

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name string

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    platformReservedCidr string

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platformReservedDnsIpAddress string

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    resourceGroupName string

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    staticIpAddress string

    The Static IP address of the Environment.

    tags {[key: string]: string}

    A mapping of tags to assign to the resource.

    default_domain str

    The default, publicly resolvable, name of this Container App Environment.

    docker_bridge_cidr str

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    infrastructure_subnet_id str

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internal_load_balancer_enabled bool

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location str

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    log_analytics_workspace_id str

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name str

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    platform_reserved_cidr str

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platform_reserved_dns_ip_address str

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    resource_group_name str

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    static_ip_address str

    The Static IP address of the Environment.

    tags Mapping[str, str]

    A mapping of tags to assign to the resource.

    defaultDomain String

    The default, publicly resolvable, name of this Container App Environment.

    dockerBridgeCidr String

    The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.

    infrastructureSubnetId String

    The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created.

    NOTE: The Subnet must have a /21 or larger address space.

    internalLoadBalancerEnabled Boolean

    Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created.

    Note: can only be set to true if infrastructure_subnet_id is specified.

    location String

    Specifies the supported Azure location where the Container App Environment is to exist. Changing this forces a new resource to be created.

    logAnalyticsWorkspaceId String

    The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created.

    name String

    The name of the Container Apps Managed Environment. Changing this forces a new resource to be created.

    platformReservedCidr String

    The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.

    platformReservedDnsIpAddress String

    The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.

    resourceGroupName String

    The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.

    staticIpAddress String

    The Static IP address of the Environment.

    tags Map<String>

    A mapping of tags to assign to the resource.

    Import

    A Container App Environment can be imported using the resource id, e.g.

     $ pulumi import azure:containerapp/environment:Environment example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/managedEnvironments/myEnvironment"
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi