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

We recommend using Azure Native.

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

azure.containerapp.App

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.

    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,
        });
    
        var exampleApp = new Azure.ContainerApp.App("exampleApp", new()
        {
            ContainerAppEnvironmentId = exampleEnvironment.Id,
            ResourceGroupName = exampleResourceGroup.Name,
            RevisionMode = "Single",
            Template = new Azure.ContainerApp.Inputs.AppTemplateArgs
            {
                Containers = new[]
                {
                    new Azure.ContainerApp.Inputs.AppTemplateContainerArgs
                    {
                        Name = "examplecontainerapp",
                        Image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
                        Cpu = 0.25,
                        Memory = "0.5Gi",
                    },
                },
            },
        });
    
    });
    
    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
    		}
    		exampleEnvironment, err := containerapp.NewEnvironment(ctx, "exampleEnvironment", &containerapp.EnvironmentArgs{
    			Location:                exampleResourceGroup.Location,
    			ResourceGroupName:       exampleResourceGroup.Name,
    			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerapp.NewApp(ctx, "exampleApp", &containerapp.AppArgs{
    			ContainerAppEnvironmentId: exampleEnvironment.ID(),
    			ResourceGroupName:         exampleResourceGroup.Name,
    			RevisionMode:              pulumi.String("Single"),
    			Template: &containerapp.AppTemplateArgs{
    				Containers: containerapp.AppTemplateContainerArray{
    					&containerapp.AppTemplateContainerArgs{
    						Name:   pulumi.String("examplecontainerapp"),
    						Image:  pulumi.String("mcr.microsoft.com/azuredocs/containerapps-helloworld:latest"),
    						Cpu:    pulumi.Float64(0.25),
    						Memory: pulumi.String("0.5Gi"),
    					},
    				},
    			},
    		})
    		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 com.pulumi.azure.containerapp.App;
    import com.pulumi.azure.containerapp.AppArgs;
    import com.pulumi.azure.containerapp.inputs.AppTemplateArgs;
    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());
    
            var exampleApp = new App("exampleApp", AppArgs.builder()        
                .containerAppEnvironmentId(exampleEnvironment.id())
                .resourceGroupName(exampleResourceGroup.name())
                .revisionMode("Single")
                .template(AppTemplateArgs.builder()
                    .containers(AppTemplateContainerArgs.builder()
                        .name("examplecontainerapp")
                        .image("mcr.microsoft.com/azuredocs/containerapps-helloworld:latest")
                        .cpu(0.25)
                        .memory("0.5Gi")
                        .build())
                    .build())
                .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)
    example_app = azure.containerapp.App("exampleApp",
        container_app_environment_id=example_environment.id,
        resource_group_name=example_resource_group.name,
        revision_mode="Single",
        template=azure.containerapp.AppTemplateArgs(
            containers=[azure.containerapp.AppTemplateContainerArgs(
                name="examplecontainerapp",
                image="mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
                cpu=0.25,
                memory="0.5Gi",
            )],
        ))
    
    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,
    });
    const exampleApp = new azure.containerapp.App("exampleApp", {
        containerAppEnvironmentId: exampleEnvironment.id,
        resourceGroupName: exampleResourceGroup.name,
        revisionMode: "Single",
        template: {
            containers: [{
                name: "examplecontainerapp",
                image: "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
                cpu: 0.25,
                memory: "0.5Gi",
            }],
        },
    });
    
    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}
      exampleApp:
        type: azure:containerapp:App
        properties:
          containerAppEnvironmentId: ${exampleEnvironment.id}
          resourceGroupName: ${exampleResourceGroup.name}
          revisionMode: Single
          template:
            containers:
              - name: examplecontainerapp
                image: mcr.microsoft.com/azuredocs/containerapps-helloworld:latest
                cpu: 0.25
                memory: 0.5Gi
    

    Create App Resource

    new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
    @overload
    def App(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            container_app_environment_id: Optional[str] = None,
            dapr: Optional[AppDaprArgs] = None,
            identity: Optional[AppIdentityArgs] = None,
            ingress: Optional[AppIngressArgs] = None,
            name: Optional[str] = None,
            registries: Optional[Sequence[AppRegistryArgs]] = None,
            resource_group_name: Optional[str] = None,
            revision_mode: Optional[str] = None,
            secrets: Optional[Sequence[AppSecretArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            template: Optional[AppTemplateArgs] = None)
    @overload
    def App(resource_name: str,
            args: AppArgs,
            opts: Optional[ResourceOptions] = None)
    func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
    public App(string name, AppArgs args, CustomResourceOptions? opts = null)
    public App(String name, AppArgs args)
    public App(String name, AppArgs args, CustomResourceOptions options)
    
    type: azure:containerapp:App
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AppArgs
    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 AppArgs
    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 AppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    App 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 App resource accepts the following input properties:

    ContainerAppEnvironmentId string

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    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.

    RevisionMode string

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    Template AppTemplate

    A template block as detailed below.

    Dapr AppDapr

    A dapr block as detailed below.

    Identity AppIdentity

    An identity block as detailed below.

    Ingress AppIngress

    An ingress block as detailed below.

    Name string

    The name for this Container App. Changing this forces a new resource to be created.

    Registries List<AppRegistry>

    A registry block as detailed below.

    Secrets List<AppSecret>

    One or more secret block as detailed below.

    Tags Dictionary<string, string>

    A mapping of tags to assign to the Container App.

    ContainerAppEnvironmentId string

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    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.

    RevisionMode string

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    Template AppTemplateArgs

    A template block as detailed below.

    Dapr AppDaprArgs

    A dapr block as detailed below.

    Identity AppIdentityArgs

    An identity block as detailed below.

    Ingress AppIngressArgs

    An ingress block as detailed below.

    Name string

    The name for this Container App. Changing this forces a new resource to be created.

    Registries []AppRegistryArgs

    A registry block as detailed below.

    Secrets []AppSecretArgs

    One or more secret block as detailed below.

    Tags map[string]string

    A mapping of tags to assign to the Container App.

    containerAppEnvironmentId String

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    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.

    revisionMode String

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    template AppTemplate

    A template block as detailed below.

    dapr AppDapr

    A dapr block as detailed below.

    identity AppIdentity

    An identity block as detailed below.

    ingress AppIngress

    An ingress block as detailed below.

    name String

    The name for this Container App. Changing this forces a new resource to be created.

    registries List<AppRegistry>

    A registry block as detailed below.

    secrets List<AppSecret>

    One or more secret block as detailed below.

    tags Map<String,String>

    A mapping of tags to assign to the Container App.

    containerAppEnvironmentId string

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    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.

    revisionMode string

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    template AppTemplate

    A template block as detailed below.

    dapr AppDapr

    A dapr block as detailed below.

    identity AppIdentity

    An identity block as detailed below.

    ingress AppIngress

    An ingress block as detailed below.

    name string

    The name for this Container App. Changing this forces a new resource to be created.

    registries AppRegistry[]

    A registry block as detailed below.

    secrets AppSecret[]

    One or more secret block as detailed below.

    tags {[key: string]: string}

    A mapping of tags to assign to the Container App.

    container_app_environment_id str

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    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.

    revision_mode str

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    template AppTemplateArgs

    A template block as detailed below.

    dapr AppDaprArgs

    A dapr block as detailed below.

    identity AppIdentityArgs

    An identity block as detailed below.

    ingress AppIngressArgs

    An ingress block as detailed below.

    name str

    The name for this Container App. Changing this forces a new resource to be created.

    registries Sequence[AppRegistryArgs]

    A registry block as detailed below.

    secrets Sequence[AppSecretArgs]

    One or more secret block as detailed below.

    tags Mapping[str, str]

    A mapping of tags to assign to the Container App.

    containerAppEnvironmentId String

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    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.

    revisionMode String

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    template Property Map

    A template block as detailed below.

    dapr Property Map

    A dapr block as detailed below.

    identity Property Map

    An identity block as detailed below.

    ingress Property Map

    An ingress block as detailed below.

    name String

    The name for this Container App. Changing this forces a new resource to be created.

    registries List<Property Map>

    A registry block as detailed below.

    secrets List<Property Map>

    One or more secret block as detailed below.

    tags Map<String>

    A mapping of tags to assign to the Container App.

    Outputs

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

    CustomDomainVerificationId string

    The ID of the Custom Domain Verification for this Container App.

    Id string

    The provider-assigned unique ID for this managed resource.

    LatestRevisionFqdn string

    The FQDN of the Latest Revision of the Container App.

    LatestRevisionName string

    The name of the latest Container Revision.

    Location string

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    OutboundIpAddresses List<string>

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    CustomDomainVerificationId string

    The ID of the Custom Domain Verification for this Container App.

    Id string

    The provider-assigned unique ID for this managed resource.

    LatestRevisionFqdn string

    The FQDN of the Latest Revision of the Container App.

    LatestRevisionName string

    The name of the latest Container Revision.

    Location string

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    OutboundIpAddresses []string

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    customDomainVerificationId String

    The ID of the Custom Domain Verification for this Container App.

    id String

    The provider-assigned unique ID for this managed resource.

    latestRevisionFqdn String

    The FQDN of the Latest Revision of the Container App.

    latestRevisionName String

    The name of the latest Container Revision.

    location String

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    outboundIpAddresses List<String>

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    customDomainVerificationId string

    The ID of the Custom Domain Verification for this Container App.

    id string

    The provider-assigned unique ID for this managed resource.

    latestRevisionFqdn string

    The FQDN of the Latest Revision of the Container App.

    latestRevisionName string

    The name of the latest Container Revision.

    location string

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    outboundIpAddresses string[]

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    custom_domain_verification_id str

    The ID of the Custom Domain Verification for this Container App.

    id str

    The provider-assigned unique ID for this managed resource.

    latest_revision_fqdn str

    The FQDN of the Latest Revision of the Container App.

    latest_revision_name str

    The name of the latest Container Revision.

    location str

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    outbound_ip_addresses Sequence[str]

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    customDomainVerificationId String

    The ID of the Custom Domain Verification for this Container App.

    id String

    The provider-assigned unique ID for this managed resource.

    latestRevisionFqdn String

    The FQDN of the Latest Revision of the Container App.

    latestRevisionName String

    The name of the latest Container Revision.

    location String

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    outboundIpAddresses List<String>

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    Look up Existing App Resource

    Get an existing App 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?: AppState, opts?: CustomResourceOptions): App
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_app_environment_id: Optional[str] = None,
            custom_domain_verification_id: Optional[str] = None,
            dapr: Optional[AppDaprArgs] = None,
            identity: Optional[AppIdentityArgs] = None,
            ingress: Optional[AppIngressArgs] = None,
            latest_revision_fqdn: Optional[str] = None,
            latest_revision_name: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            outbound_ip_addresses: Optional[Sequence[str]] = None,
            registries: Optional[Sequence[AppRegistryArgs]] = None,
            resource_group_name: Optional[str] = None,
            revision_mode: Optional[str] = None,
            secrets: Optional[Sequence[AppSecretArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            template: Optional[AppTemplateArgs] = None) -> App
    func GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)
    public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)
    public static App get(String name, Output<String> id, AppState 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:
    ContainerAppEnvironmentId string

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    CustomDomainVerificationId string

    The ID of the Custom Domain Verification for this Container App.

    Dapr AppDapr

    A dapr block as detailed below.

    Identity AppIdentity

    An identity block as detailed below.

    Ingress AppIngress

    An ingress block as detailed below.

    LatestRevisionFqdn string

    The FQDN of the Latest Revision of the Container App.

    LatestRevisionName string

    The name of the latest Container Revision.

    Location string

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    Name string

    The name for this Container App. Changing this forces a new resource to be created.

    OutboundIpAddresses List<string>

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    Registries List<AppRegistry>

    A registry block as detailed below.

    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.

    RevisionMode string

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    Secrets List<AppSecret>

    One or more secret block as detailed below.

    Tags Dictionary<string, string>

    A mapping of tags to assign to the Container App.

    Template AppTemplate

    A template block as detailed below.

    ContainerAppEnvironmentId string

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    CustomDomainVerificationId string

    The ID of the Custom Domain Verification for this Container App.

    Dapr AppDaprArgs

    A dapr block as detailed below.

    Identity AppIdentityArgs

    An identity block as detailed below.

    Ingress AppIngressArgs

    An ingress block as detailed below.

    LatestRevisionFqdn string

    The FQDN of the Latest Revision of the Container App.

    LatestRevisionName string

    The name of the latest Container Revision.

    Location string

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    Name string

    The name for this Container App. Changing this forces a new resource to be created.

    OutboundIpAddresses []string

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    Registries []AppRegistryArgs

    A registry block as detailed below.

    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.

    RevisionMode string

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    Secrets []AppSecretArgs

    One or more secret block as detailed below.

    Tags map[string]string

    A mapping of tags to assign to the Container App.

    Template AppTemplateArgs

    A template block as detailed below.

    containerAppEnvironmentId String

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    customDomainVerificationId String

    The ID of the Custom Domain Verification for this Container App.

    dapr AppDapr

    A dapr block as detailed below.

    identity AppIdentity

    An identity block as detailed below.

    ingress AppIngress

    An ingress block as detailed below.

    latestRevisionFqdn String

    The FQDN of the Latest Revision of the Container App.

    latestRevisionName String

    The name of the latest Container Revision.

    location String

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    name String

    The name for this Container App. Changing this forces a new resource to be created.

    outboundIpAddresses List<String>

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    registries List<AppRegistry>

    A registry block as detailed below.

    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.

    revisionMode String

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    secrets List<AppSecret>

    One or more secret block as detailed below.

    tags Map<String,String>

    A mapping of tags to assign to the Container App.

    template AppTemplate

    A template block as detailed below.

    containerAppEnvironmentId string

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    customDomainVerificationId string

    The ID of the Custom Domain Verification for this Container App.

    dapr AppDapr

    A dapr block as detailed below.

    identity AppIdentity

    An identity block as detailed below.

    ingress AppIngress

    An ingress block as detailed below.

    latestRevisionFqdn string

    The FQDN of the Latest Revision of the Container App.

    latestRevisionName string

    The name of the latest Container Revision.

    location string

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    name string

    The name for this Container App. Changing this forces a new resource to be created.

    outboundIpAddresses string[]

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    registries AppRegistry[]

    A registry block as detailed below.

    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.

    revisionMode string

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    secrets AppSecret[]

    One or more secret block as detailed below.

    tags {[key: string]: string}

    A mapping of tags to assign to the Container App.

    template AppTemplate

    A template block as detailed below.

    container_app_environment_id str

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    custom_domain_verification_id str

    The ID of the Custom Domain Verification for this Container App.

    dapr AppDaprArgs

    A dapr block as detailed below.

    identity AppIdentityArgs

    An identity block as detailed below.

    ingress AppIngressArgs

    An ingress block as detailed below.

    latest_revision_fqdn str

    The FQDN of the Latest Revision of the Container App.

    latest_revision_name str

    The name of the latest Container Revision.

    location str

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    name str

    The name for this Container App. Changing this forces a new resource to be created.

    outbound_ip_addresses Sequence[str]

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    registries Sequence[AppRegistryArgs]

    A registry block as detailed below.

    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.

    revision_mode str

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    secrets Sequence[AppSecretArgs]

    One or more secret block as detailed below.

    tags Mapping[str, str]

    A mapping of tags to assign to the Container App.

    template AppTemplateArgs

    A template block as detailed below.

    containerAppEnvironmentId String

    The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.

    customDomainVerificationId String

    The ID of the Custom Domain Verification for this Container App.

    dapr Property Map

    A dapr block as detailed below.

    identity Property Map

    An identity block as detailed below.

    ingress Property Map

    An ingress block as detailed below.

    latestRevisionFqdn String

    The FQDN of the Latest Revision of the Container App.

    latestRevisionName String

    The name of the latest Container Revision.

    location String

    The location this Container App is deployed in. This is the same as the Environment in which it is deployed.

    name String

    The name for this Container App. Changing this forces a new resource to be created.

    outboundIpAddresses List<String>

    A list of the Public IP Addresses which the Container App uses for outbound network access.

    registries List<Property Map>

    A registry block as detailed below.

    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.

    revisionMode String

    The revisions operational mode for the Container App. Possible values include Single and Multiple. In Single mode, a single revision is in operation at any given time. In Multiple mode, more than one revision can be active at a time and can be configured with load distribution via the traffic_weight block in the ingress configuration.

    secrets List<Property Map>

    One or more secret block as detailed below.

    tags Map<String>

    A mapping of tags to assign to the Container App.

    template Property Map

    A template block as detailed below.

    Supporting Types

    AppDapr, AppDaprArgs

    AppId string

    The Dapr Application Identifier.

    AppPort int

    The port which the application is listening on. This is the same as the ingress port.

    AppProtocol string

    The protocol for the app. Possible values include http and grpc. Defaults to http.

    AppId string

    The Dapr Application Identifier.

    AppPort int

    The port which the application is listening on. This is the same as the ingress port.

    AppProtocol string

    The protocol for the app. Possible values include http and grpc. Defaults to http.

    appId String

    The Dapr Application Identifier.

    appPort Integer

    The port which the application is listening on. This is the same as the ingress port.

    appProtocol String

    The protocol for the app. Possible values include http and grpc. Defaults to http.

    appId string

    The Dapr Application Identifier.

    appPort number

    The port which the application is listening on. This is the same as the ingress port.

    appProtocol string

    The protocol for the app. Possible values include http and grpc. Defaults to http.

    app_id str

    The Dapr Application Identifier.

    app_port int

    The port which the application is listening on. This is the same as the ingress port.

    app_protocol str

    The protocol for the app. Possible values include http and grpc. Defaults to http.

    appId String

    The Dapr Application Identifier.

    appPort Number

    The port which the application is listening on. This is the same as the ingress port.

    appProtocol String

    The protocol for the app. Possible values include http and grpc. Defaults to http.

    AppIdentity, AppIdentityArgs

    Type string

    The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).

    IdentityIds List<string>

    A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    PrincipalId string
    TenantId string
    Type string

    The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).

    IdentityIds []string

    A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    PrincipalId string
    TenantId string
    type String

    The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).

    identityIds List<String>

    A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    principalId String
    tenantId String
    type string

    The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).

    identityIds string[]

    A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    principalId string
    tenantId string
    type str

    The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).

    identity_ids Sequence[str]

    A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    principal_id str
    tenant_id str
    type String

    The type of managed identity to assign. Possible values are SystemAssigned, UserAssigned, and SystemAssigned, UserAssigned (to enable both).

    identityIds List<String>

    A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    principalId String
    tenantId String

    AppIngress, AppIngressArgs

    TargetPort int

    The target port on the container for the Ingress traffic.

    TrafficWeights List<AppIngressTrafficWeight>

    A traffic_weight block as detailed below.

    Note: traffic_weight can only be specified when revision_mode is set to Multiple.

    AllowInsecureConnections bool

    Should this ingress allow insecure connections?

    CustomDomain AppIngressCustomDomain

    One or more custom_domain block as detailed below.

    ExternalEnabled bool

    Is this an external Ingress.

    Fqdn string

    The FQDN of the ingress.

    Transport string

    The transport method for the Ingress. Possible values include auto, http, and http2. Defaults to auto

    TargetPort int

    The target port on the container for the Ingress traffic.

    TrafficWeights []AppIngressTrafficWeight

    A traffic_weight block as detailed below.

    Note: traffic_weight can only be specified when revision_mode is set to Multiple.

    AllowInsecureConnections bool

    Should this ingress allow insecure connections?

    CustomDomain AppIngressCustomDomain

    One or more custom_domain block as detailed below.

    ExternalEnabled bool

    Is this an external Ingress.

    Fqdn string

    The FQDN of the ingress.

    Transport string

    The transport method for the Ingress. Possible values include auto, http, and http2. Defaults to auto

    targetPort Integer

    The target port on the container for the Ingress traffic.

    trafficWeights List<AppIngressTrafficWeight>

    A traffic_weight block as detailed below.

    Note: traffic_weight can only be specified when revision_mode is set to Multiple.

    allowInsecureConnections Boolean

    Should this ingress allow insecure connections?

    customDomain AppIngressCustomDomain

    One or more custom_domain block as detailed below.

    externalEnabled Boolean

    Is this an external Ingress.

    fqdn String

    The FQDN of the ingress.

    transport String

    The transport method for the Ingress. Possible values include auto, http, and http2. Defaults to auto

    targetPort number

    The target port on the container for the Ingress traffic.

    trafficWeights AppIngressTrafficWeight[]

    A traffic_weight block as detailed below.

    Note: traffic_weight can only be specified when revision_mode is set to Multiple.

    allowInsecureConnections boolean

    Should this ingress allow insecure connections?

    customDomain AppIngressCustomDomain

    One or more custom_domain block as detailed below.

    externalEnabled boolean

    Is this an external Ingress.

    fqdn string

    The FQDN of the ingress.

    transport string

    The transport method for the Ingress. Possible values include auto, http, and http2. Defaults to auto

    target_port int

    The target port on the container for the Ingress traffic.

    traffic_weights Sequence[AppIngressTrafficWeight]

    A traffic_weight block as detailed below.

    Note: traffic_weight can only be specified when revision_mode is set to Multiple.

    allow_insecure_connections bool

    Should this ingress allow insecure connections?

    custom_domain AppIngressCustomDomain

    One or more custom_domain block as detailed below.

    external_enabled bool

    Is this an external Ingress.

    fqdn str

    The FQDN of the ingress.

    transport str

    The transport method for the Ingress. Possible values include auto, http, and http2. Defaults to auto

    targetPort Number

    The target port on the container for the Ingress traffic.

    trafficWeights List<Property Map>

    A traffic_weight block as detailed below.

    Note: traffic_weight can only be specified when revision_mode is set to Multiple.

    allowInsecureConnections Boolean

    Should this ingress allow insecure connections?

    customDomain Property Map

    One or more custom_domain block as detailed below.

    externalEnabled Boolean

    Is this an external Ingress.

    fqdn String

    The FQDN of the ingress.

    transport String

    The transport method for the Ingress. Possible values include auto, http, and http2. Defaults to auto

    AppIngressCustomDomain, AppIngressCustomDomainArgs

    CertificateId string

    The ID of the Container App Environment Certificate.

    Name string

    The hostname of the Certificate. Must be the CN or a named SAN in the certificate.

    CertificateBindingType string

    The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.

    CertificateId string

    The ID of the Container App Environment Certificate.

    Name string

    The hostname of the Certificate. Must be the CN or a named SAN in the certificate.

    CertificateBindingType string

    The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.

    certificateId String

    The ID of the Container App Environment Certificate.

    name String

    The hostname of the Certificate. Must be the CN or a named SAN in the certificate.

    certificateBindingType String

    The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.

    certificateId string

    The ID of the Container App Environment Certificate.

    name string

    The hostname of the Certificate. Must be the CN or a named SAN in the certificate.

    certificateBindingType string

    The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.

    certificate_id str

    The ID of the Container App Environment Certificate.

    name str

    The hostname of the Certificate. Must be the CN or a named SAN in the certificate.

    certificate_binding_type str

    The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.

    certificateId String

    The ID of the Container App Environment Certificate.

    name String

    The hostname of the Certificate. Must be the CN or a named SAN in the certificate.

    certificateBindingType String

    The Binding type. Possible values include Disabled and SniEnabled. Defaults to Disabled.

    AppIngressTrafficWeight, AppIngressTrafficWeightArgs

    Percentage int

    The percentage of traffic which should be sent this revision.

    Note: The cumulative values for weight must equal 100 exactly and explicitly, no default weights are assumed.

    Label string

    The label to apply to the revision as a name prefix for routing traffic.

    LatestRevision bool

    This traffic Weight relates to the latest stable Container Revision.

    RevisionSuffix string

    The suffix string to which this traffic_weight applies.

    Percentage int

    The percentage of traffic which should be sent this revision.

    Note: The cumulative values for weight must equal 100 exactly and explicitly, no default weights are assumed.

    Label string

    The label to apply to the revision as a name prefix for routing traffic.

    LatestRevision bool

    This traffic Weight relates to the latest stable Container Revision.

    RevisionSuffix string

    The suffix string to which this traffic_weight applies.

    percentage Integer

    The percentage of traffic which should be sent this revision.

    Note: The cumulative values for weight must equal 100 exactly and explicitly, no default weights are assumed.

    label String

    The label to apply to the revision as a name prefix for routing traffic.

    latestRevision Boolean

    This traffic Weight relates to the latest stable Container Revision.

    revisionSuffix String

    The suffix string to which this traffic_weight applies.

    percentage number

    The percentage of traffic which should be sent this revision.

    Note: The cumulative values for weight must equal 100 exactly and explicitly, no default weights are assumed.

    label string

    The label to apply to the revision as a name prefix for routing traffic.

    latestRevision boolean

    This traffic Weight relates to the latest stable Container Revision.

    revisionSuffix string

    The suffix string to which this traffic_weight applies.

    percentage int

    The percentage of traffic which should be sent this revision.

    Note: The cumulative values for weight must equal 100 exactly and explicitly, no default weights are assumed.

    label str

    The label to apply to the revision as a name prefix for routing traffic.

    latest_revision bool

    This traffic Weight relates to the latest stable Container Revision.

    revision_suffix str

    The suffix string to which this traffic_weight applies.

    percentage Number

    The percentage of traffic which should be sent this revision.

    Note: The cumulative values for weight must equal 100 exactly and explicitly, no default weights are assumed.

    label String

    The label to apply to the revision as a name prefix for routing traffic.

    latestRevision Boolean

    This traffic Weight relates to the latest stable Container Revision.

    revisionSuffix String

    The suffix string to which this traffic_weight applies.

    AppRegistry, AppRegistryArgs

    Server string

    The hostname for the Container Registry.

    The authentication details must also be supplied, identity and username/password_secret_name are mutually exclusive.

    Identity string

    Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.

    PasswordSecretName string

    The name of the Secret Reference containing the password value for this user on the Container Registry, username must also be supplied.

    Username string

    The username to use for this Container Registry, password_secret_name must also be supplied..

    Server string

    The hostname for the Container Registry.

    The authentication details must also be supplied, identity and username/password_secret_name are mutually exclusive.

    Identity string

    Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.

    PasswordSecretName string

    The name of the Secret Reference containing the password value for this user on the Container Registry, username must also be supplied.

    Username string

    The username to use for this Container Registry, password_secret_name must also be supplied..

    server String

    The hostname for the Container Registry.

    The authentication details must also be supplied, identity and username/password_secret_name are mutually exclusive.

    identity String

    Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.

    passwordSecretName String

    The name of the Secret Reference containing the password value for this user on the Container Registry, username must also be supplied.

    username String

    The username to use for this Container Registry, password_secret_name must also be supplied..

    server string

    The hostname for the Container Registry.

    The authentication details must also be supplied, identity and username/password_secret_name are mutually exclusive.

    identity string

    Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.

    passwordSecretName string

    The name of the Secret Reference containing the password value for this user on the Container Registry, username must also be supplied.

    username string

    The username to use for this Container Registry, password_secret_name must also be supplied..

    server str

    The hostname for the Container Registry.

    The authentication details must also be supplied, identity and username/password_secret_name are mutually exclusive.

    identity str

    Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.

    password_secret_name str

    The name of the Secret Reference containing the password value for this user on the Container Registry, username must also be supplied.

    username str

    The username to use for this Container Registry, password_secret_name must also be supplied..

    server String

    The hostname for the Container Registry.

    The authentication details must also be supplied, identity and username/password_secret_name are mutually exclusive.

    identity String

    Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.

    passwordSecretName String

    The name of the Secret Reference containing the password value for this user on the Container Registry, username must also be supplied.

    username String

    The username to use for this Container Registry, password_secret_name must also be supplied..

    AppSecret, AppSecretArgs

    Name string

    The Secret name.

    Value string

    The value for this secret.

    !> Note: Secrets cannot be removed from the service once added, attempting to do so will result in an error. Their values may be zeroed, i.e. set to "", but the named secret must persist. This is due to a technical limitation on the service which causes the service to become unmanageable. See this issue for more details.

    Name string

    The Secret name.

    Value string

    The value for this secret.

    !> Note: Secrets cannot be removed from the service once added, attempting to do so will result in an error. Their values may be zeroed, i.e. set to "", but the named secret must persist. This is due to a technical limitation on the service which causes the service to become unmanageable. See this issue for more details.

    name String

    The Secret name.

    value String

    The value for this secret.

    !> Note: Secrets cannot be removed from the service once added, attempting to do so will result in an error. Their values may be zeroed, i.e. set to "", but the named secret must persist. This is due to a technical limitation on the service which causes the service to become unmanageable. See this issue for more details.

    name string

    The Secret name.

    value string

    The value for this secret.

    !> Note: Secrets cannot be removed from the service once added, attempting to do so will result in an error. Their values may be zeroed, i.e. set to "", but the named secret must persist. This is due to a technical limitation on the service which causes the service to become unmanageable. See this issue for more details.

    name str

    The Secret name.

    value str

    The value for this secret.

    !> Note: Secrets cannot be removed from the service once added, attempting to do so will result in an error. Their values may be zeroed, i.e. set to "", but the named secret must persist. This is due to a technical limitation on the service which causes the service to become unmanageable. See this issue for more details.

    name String

    The Secret name.

    value String

    The value for this secret.

    !> Note: Secrets cannot be removed from the service once added, attempting to do so will result in an error. Their values may be zeroed, i.e. set to "", but the named secret must persist. This is due to a technical limitation on the service which causes the service to become unmanageable. See this issue for more details.

    AppTemplate, AppTemplateArgs

    Containers List<AppTemplateContainer>

    One or more container blocks as detailed below.

    MaxReplicas int

    The maximum number of replicas for this container.

    MinReplicas int

    The minimum number of replicas for this container.

    RevisionSuffix string

    The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.

    Volumes List<AppTemplateVolume>

    A volume block as detailed below.

    Containers []AppTemplateContainer

    One or more container blocks as detailed below.

    MaxReplicas int

    The maximum number of replicas for this container.

    MinReplicas int

    The minimum number of replicas for this container.

    RevisionSuffix string

    The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.

    Volumes []AppTemplateVolume

    A volume block as detailed below.

    containers List<AppTemplateContainer>

    One or more container blocks as detailed below.

    maxReplicas Integer

    The maximum number of replicas for this container.

    minReplicas Integer

    The minimum number of replicas for this container.

    revisionSuffix String

    The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.

    volumes List<AppTemplateVolume>

    A volume block as detailed below.

    containers AppTemplateContainer[]

    One or more container blocks as detailed below.

    maxReplicas number

    The maximum number of replicas for this container.

    minReplicas number

    The minimum number of replicas for this container.

    revisionSuffix string

    The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.

    volumes AppTemplateVolume[]

    A volume block as detailed below.

    containers Sequence[AppTemplateContainer]

    One or more container blocks as detailed below.

    max_replicas int

    The maximum number of replicas for this container.

    min_replicas int

    The minimum number of replicas for this container.

    revision_suffix str

    The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.

    volumes Sequence[AppTemplateVolume]

    A volume block as detailed below.

    containers List<Property Map>

    One or more container blocks as detailed below.

    maxReplicas Number

    The maximum number of replicas for this container.

    minReplicas Number

    The minimum number of replicas for this container.

    revisionSuffix String

    The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.

    volumes List<Property Map>

    A volume block as detailed below.

    AppTemplateContainer, AppTemplateContainerArgs

    Cpu double

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    Image string

    The image to use to create the container.

    Memory string

    The amount of memory to allocate to the container. Possible values include 0.5Gi, 1.0Gi, 1.5Gi, 2.0Gi, 2.5Gi, 3.0Gi, 3.5Gi, and 4.0Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    Name string

    The name of the container

    Args List<string>

    A list of extra arguments to pass to the container.

    Commands List<string>

    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.

    Envs List<AppTemplateContainerEnv>

    One or more env blocks as detailed below.

    EphemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    LivenessProbes List<AppTemplateContainerLivenessProbe>

    A liveness_probe block as detailed below.

    ReadinessProbes List<AppTemplateContainerReadinessProbe>

    A readiness_probe block as detailed below.

    StartupProbes List<AppTemplateContainerStartupProbe>

    A startup_probe block as detailed below.

    VolumeMounts List<AppTemplateContainerVolumeMount>

    A volume_mounts block as detailed below.

    Cpu float64

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    Image string

    The image to use to create the container.

    Memory string

    The amount of memory to allocate to the container. Possible values include 0.5Gi, 1.0Gi, 1.5Gi, 2.0Gi, 2.5Gi, 3.0Gi, 3.5Gi, and 4.0Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    Name string

    The name of the container

    Args []string

    A list of extra arguments to pass to the container.

    Commands []string

    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.

    Envs []AppTemplateContainerEnv

    One or more env blocks as detailed below.

    EphemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    LivenessProbes []AppTemplateContainerLivenessProbe

    A liveness_probe block as detailed below.

    ReadinessProbes []AppTemplateContainerReadinessProbe

    A readiness_probe block as detailed below.

    StartupProbes []AppTemplateContainerStartupProbe

    A startup_probe block as detailed below.

    VolumeMounts []AppTemplateContainerVolumeMount

    A volume_mounts block as detailed below.

    cpu Double

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image String

    The image to use to create the container.

    memory String

    The amount of memory to allocate to the container. Possible values include 0.5Gi, 1.0Gi, 1.5Gi, 2.0Gi, 2.5Gi, 3.0Gi, 3.5Gi, and 4.0Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name String

    The name of the container

    args List<String>

    A list of extra arguments to pass to the container.

    commands List<String>

    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.

    envs List<AppTemplateContainerEnv>

    One or more env blocks as detailed below.

    ephemeralStorage String

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    livenessProbes List<AppTemplateContainerLivenessProbe>

    A liveness_probe block as detailed below.

    readinessProbes List<AppTemplateContainerReadinessProbe>

    A readiness_probe block as detailed below.

    startupProbes List<AppTemplateContainerStartupProbe>

    A startup_probe block as detailed below.

    volumeMounts List<AppTemplateContainerVolumeMount>

    A volume_mounts block as detailed below.

    cpu number

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image string

    The image to use to create the container.

    memory string

    The amount of memory to allocate to the container. Possible values include 0.5Gi, 1.0Gi, 1.5Gi, 2.0Gi, 2.5Gi, 3.0Gi, 3.5Gi, and 4.0Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name string

    The name of the container

    args string[]

    A list of extra arguments to pass to the container.

    commands string[]

    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.

    envs AppTemplateContainerEnv[]

    One or more env blocks as detailed below.

    ephemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    livenessProbes AppTemplateContainerLivenessProbe[]

    A liveness_probe block as detailed below.

    readinessProbes AppTemplateContainerReadinessProbe[]

    A readiness_probe block as detailed below.

    startupProbes AppTemplateContainerStartupProbe[]

    A startup_probe block as detailed below.

    volumeMounts AppTemplateContainerVolumeMount[]

    A volume_mounts block as detailed below.

    cpu float

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image str

    The image to use to create the container.

    memory str

    The amount of memory to allocate to the container. Possible values include 0.5Gi, 1.0Gi, 1.5Gi, 2.0Gi, 2.5Gi, 3.0Gi, 3.5Gi, and 4.0Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name str

    The name of the container

    args Sequence[str]

    A list of extra arguments to pass to the container.

    commands Sequence[str]

    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.

    envs Sequence[AppTemplateContainerEnv]

    One or more env blocks as detailed below.

    ephemeral_storage str

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    liveness_probes Sequence[AppTemplateContainerLivenessProbe]

    A liveness_probe block as detailed below.

    readiness_probes Sequence[AppTemplateContainerReadinessProbe]

    A readiness_probe block as detailed below.

    startup_probes Sequence[AppTemplateContainerStartupProbe]

    A startup_probe block as detailed below.

    volume_mounts Sequence[AppTemplateContainerVolumeMount]

    A volume_mounts block as detailed below.

    cpu Number

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image String

    The image to use to create the container.

    memory String

    The amount of memory to allocate to the container. Possible values include 0.5Gi, 1.0Gi, 1.5Gi, 2.0Gi, 2.5Gi, 3.0Gi, 3.5Gi, and 4.0Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name String

    The name of the container

    args List<String>

    A list of extra arguments to pass to the container.

    commands List<String>

    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.

    envs List<Property Map>

    One or more env blocks as detailed below.

    ephemeralStorage String

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    livenessProbes List<Property Map>

    A liveness_probe block as detailed below.

    readinessProbes List<Property Map>

    A readiness_probe block as detailed below.

    startupProbes List<Property Map>

    A startup_probe block as detailed below.

    volumeMounts List<Property Map>

    A volume_mounts block as detailed below.

    AppTemplateContainerEnv, AppTemplateContainerEnvArgs

    Name string

    The name of the environment variable for the container.

    SecretName string

    The name of the secret that contains the value for this environment variable.

    Value string

    The value for this environment variable.

    NOTE: This value is ignored if secret_name is used

    Name string

    The name of the environment variable for the container.

    SecretName string

    The name of the secret that contains the value for this environment variable.

    Value string

    The value for this environment variable.

    NOTE: This value is ignored if secret_name is used

    name String

    The name of the environment variable for the container.

    secretName String

    The name of the secret that contains the value for this environment variable.

    value String

    The value for this environment variable.

    NOTE: This value is ignored if secret_name is used

    name string

    The name of the environment variable for the container.

    secretName string

    The name of the secret that contains the value for this environment variable.

    value string

    The value for this environment variable.

    NOTE: This value is ignored if secret_name is used

    name str

    The name of the environment variable for the container.

    secret_name str

    The name of the secret that contains the value for this environment variable.

    value str

    The value for this environment variable.

    NOTE: This value is ignored if secret_name is used

    name String

    The name of the environment variable for the container.

    secretName String

    The name of the secret that contains the value for this environment variable.

    value String

    The value for this environment variable.

    NOTE: This value is ignored if secret_name is used

    AppTemplateContainerLivenessProbe, AppTemplateContainerLivenessProbeArgs

    Port int

    The port number on which to connect. Possible values are between 1 and 65535.

    Transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    FailureCountThreshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    Headers List<AppTemplateContainerLivenessProbeHeader>

    A header block as detailed below.

    Host string

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    InitialDelay int

    The time in seconds to wait after the container has started before the probe is started.

    IntervalSeconds int

    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.

    Path string

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    TerminationGracePeriodSeconds int

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    Timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    Port int

    The port number on which to connect. Possible values are between 1 and 65535.

    Transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    FailureCountThreshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    Headers []AppTemplateContainerLivenessProbeHeader

    A header block as detailed below.

    Host string

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    InitialDelay int

    The time in seconds to wait after the container has started before the probe is started.

    IntervalSeconds int

    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.

    Path string

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    TerminationGracePeriodSeconds int

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    Timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port Integer

    The port number on which to connect. Possible values are between 1 and 65535.

    transport String

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold Integer

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers List<AppTemplateContainerLivenessProbeHeader>

    A header block as detailed below.

    host String

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    initialDelay Integer

    The time in seconds to wait after the container has started before the probe is started.

    intervalSeconds Integer

    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.

    path String

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    terminationGracePeriodSeconds Integer

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout Integer

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port number

    The port number on which to connect. Possible values are between 1 and 65535.

    transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold number

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers AppTemplateContainerLivenessProbeHeader[]

    A header block as detailed below.

    host string

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    initialDelay number

    The time in seconds to wait after the container has started before the probe is started.

    intervalSeconds number

    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.

    path string

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    terminationGracePeriodSeconds number

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout number

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port int

    The port number on which to connect. Possible values are between 1 and 65535.

    transport str

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failure_count_threshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers Sequence[AppTemplateContainerLivenessProbeHeader]

    A header block as detailed below.

    host str

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    initial_delay int

    The time in seconds to wait after the container has started before the probe is started.

    interval_seconds int

    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.

    path str

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    termination_grace_period_seconds int

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port Number

    The port number on which to connect. Possible values are between 1 and 65535.

    transport String

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold Number

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers List<Property Map>

    A header block as detailed below.

    host String

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    initialDelay Number

    The time in seconds to wait after the container has started before the probe is started.

    intervalSeconds Number

    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.

    path String

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    terminationGracePeriodSeconds Number

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout Number

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    AppTemplateContainerLivenessProbeHeader, AppTemplateContainerLivenessProbeHeaderArgs

    Name string

    The HTTP Header Name.

    Value string

    The HTTP Header value.

    Name string

    The HTTP Header Name.

    Value string

    The HTTP Header value.

    name String

    The HTTP Header Name.

    value String

    The HTTP Header value.

    name string

    The HTTP Header Name.

    value string

    The HTTP Header value.

    name str

    The HTTP Header Name.

    value str

    The HTTP Header value.

    name String

    The HTTP Header Name.

    value String

    The HTTP Header value.

    AppTemplateContainerReadinessProbe, AppTemplateContainerReadinessProbeArgs

    Port int

    The port number on which to connect. Possible values are between 1 and 65535.

    Transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    FailureCountThreshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    Headers List<AppTemplateContainerReadinessProbeHeader>

    A header block as detailed below.

    Host string

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    IntervalSeconds int

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    Path string

    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.

    SuccessCountThreshold int

    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.

    Timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    Port int

    The port number on which to connect. Possible values are between 1 and 65535.

    Transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    FailureCountThreshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    Headers []AppTemplateContainerReadinessProbeHeader

    A header block as detailed below.

    Host string

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    IntervalSeconds int

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    Path string

    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.

    SuccessCountThreshold int

    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.

    Timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port Integer

    The port number on which to connect. Possible values are between 1 and 65535.

    transport String

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold Integer

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers List<AppTemplateContainerReadinessProbeHeader>

    A header block as detailed below.

    host String

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    intervalSeconds Integer

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path String

    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.

    successCountThreshold Integer

    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.

    timeout Integer

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port number

    The port number on which to connect. Possible values are between 1 and 65535.

    transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold number

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers AppTemplateContainerReadinessProbeHeader[]

    A header block as detailed below.

    host string

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    intervalSeconds number

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path string

    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.

    successCountThreshold number

    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.

    timeout number

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port int

    The port number on which to connect. Possible values are between 1 and 65535.

    transport str

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failure_count_threshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers Sequence[AppTemplateContainerReadinessProbeHeader]

    A header block as detailed below.

    host str

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    interval_seconds int

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path str

    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.

    success_count_threshold int

    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.

    timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port Number

    The port number on which to connect. Possible values are between 1 and 65535.

    transport String

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold Number

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers List<Property Map>

    A header block as detailed below.

    host String

    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    intervalSeconds Number

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path String

    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.

    successCountThreshold Number

    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.

    timeout Number

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    AppTemplateContainerReadinessProbeHeader, AppTemplateContainerReadinessProbeHeaderArgs

    Name string

    The HTTP Header Name.

    Value string

    The HTTP Header value.

    Name string

    The HTTP Header Name.

    Value string

    The HTTP Header value.

    name String

    The HTTP Header Name.

    value String

    The HTTP Header value.

    name string

    The HTTP Header Name.

    value string

    The HTTP Header value.

    name str

    The HTTP Header Name.

    value str

    The HTTP Header value.

    name String

    The HTTP Header Name.

    value String

    The HTTP Header value.

    AppTemplateContainerStartupProbe, AppTemplateContainerStartupProbeArgs

    Port int

    The port number on which to connect. Possible values are between 1 and 65535.

    Transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    FailureCountThreshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    Headers List<AppTemplateContainerStartupProbeHeader>

    A header block as detailed below.

    Host string

    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    IntervalSeconds int

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    Path string

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    TerminationGracePeriodSeconds int

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    Timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    Port int

    The port number on which to connect. Possible values are between 1 and 65535.

    Transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    FailureCountThreshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    Headers []AppTemplateContainerStartupProbeHeader

    A header block as detailed below.

    Host string

    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    IntervalSeconds int

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    Path string

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    TerminationGracePeriodSeconds int

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    Timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port Integer

    The port number on which to connect. Possible values are between 1 and 65535.

    transport String

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold Integer

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers List<AppTemplateContainerStartupProbeHeader>

    A header block as detailed below.

    host String

    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    intervalSeconds Integer

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path String

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    terminationGracePeriodSeconds Integer

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout Integer

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port number

    The port number on which to connect. Possible values are between 1 and 65535.

    transport string

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold number

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers AppTemplateContainerStartupProbeHeader[]

    A header block as detailed below.

    host string

    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    intervalSeconds number

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path string

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    terminationGracePeriodSeconds number

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout number

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port int

    The port number on which to connect. Possible values are between 1 and 65535.

    transport str

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failure_count_threshold int

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers Sequence[AppTemplateContainerStartupProbeHeader]

    A header block as detailed below.

    host str

    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    interval_seconds int

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path str

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    termination_grace_period_seconds int

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout int

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    port Number

    The port number on which to connect. Possible values are between 1 and 65535.

    transport String

    Type of probe. Possible values are TCP, HTTP, and HTTPS.

    failureCountThreshold Number

    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.

    headers List<Property Map>

    A header block as detailed below.

    host String

    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.

    intervalSeconds Number

    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10

    path String

    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.

    terminationGracePeriodSeconds Number

    The time in seconds after the container is sent the termination signal before the process if forcibly killed.

    timeout Number

    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    AppTemplateContainerStartupProbeHeader, AppTemplateContainerStartupProbeHeaderArgs

    Name string

    The HTTP Header Name.

    Value string

    The HTTP Header value.

    Name string

    The HTTP Header Name.

    Value string

    The HTTP Header value.

    name String

    The HTTP Header Name.

    value String

    The HTTP Header value.

    name string

    The HTTP Header Name.

    value string

    The HTTP Header value.

    name str

    The HTTP Header Name.

    value str

    The HTTP Header value.

    name String

    The HTTP Header Name.

    value String

    The HTTP Header value.

    AppTemplateContainerVolumeMount, AppTemplateContainerVolumeMountArgs

    Name string

    The name of the Volume to be mounted in the container.

    Path string

    The path in the container at which to mount this volume.

    Name string

    The name of the Volume to be mounted in the container.

    Path string

    The path in the container at which to mount this volume.

    name String

    The name of the Volume to be mounted in the container.

    path String

    The path in the container at which to mount this volume.

    name string

    The name of the Volume to be mounted in the container.

    path string

    The path in the container at which to mount this volume.

    name str

    The name of the Volume to be mounted in the container.

    path str

    The path in the container at which to mount this volume.

    name String

    The name of the Volume to be mounted in the container.

    path String

    The path in the container at which to mount this volume.

    AppTemplateVolume, AppTemplateVolumeArgs

    Name string

    The name of the volume.

    StorageName string

    The name of the AzureFile storage.

    StorageType string

    The type of storage volume. Possible values include AzureFile and EmptyDir. Defaults to EmptyDir.

    Name string

    The name of the volume.

    StorageName string

    The name of the AzureFile storage.

    StorageType string

    The type of storage volume. Possible values include AzureFile and EmptyDir. Defaults to EmptyDir.

    name String

    The name of the volume.

    storageName String

    The name of the AzureFile storage.

    storageType String

    The type of storage volume. Possible values include AzureFile and EmptyDir. Defaults to EmptyDir.

    name string

    The name of the volume.

    storageName string

    The name of the AzureFile storage.

    storageType string

    The type of storage volume. Possible values include AzureFile and EmptyDir. Defaults to EmptyDir.

    name str

    The name of the volume.

    storage_name str

    The name of the AzureFile storage.

    storage_type str

    The type of storage volume. Possible values include AzureFile and EmptyDir. Defaults to EmptyDir.

    name String

    The name of the volume.

    storageName String

    The name of the AzureFile storage.

    storageType String

    The type of storage volume. Possible values include AzureFile and EmptyDir. Defaults to EmptyDir.

    Import

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

     $ pulumi import azure:containerapp/app:App example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/containerApps/myContainerApp"
    

    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