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

We recommend using Azure Native.

Azure Classic v5.80.0 published on Monday, Jun 10, 2024 by Pulumi

azure.containerapp.App

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.80.0 published on Monday, Jun 10, 2024 by Pulumi

    Manages a Container App.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
        name: "acctest-01",
        location: example.location,
        resourceGroupName: example.name,
        sku: "PerGB2018",
        retentionInDays: 30,
    });
    const exampleEnvironment = new azure.containerapp.Environment("example", {
        name: "Example-Environment",
        location: example.location,
        resourceGroupName: example.name,
        logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
    });
    const exampleApp = new azure.containerapp.App("example", {
        name: "example-app",
        containerAppEnvironmentId: exampleEnvironment.id,
        resourceGroupName: example.name,
        revisionMode: "Single",
        template: {
            containers: [{
                name: "examplecontainerapp",
                image: "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
                cpu: 0.25,
                memory: "0.5Gi",
            }],
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
        name="acctest-01",
        location=example.location,
        resource_group_name=example.name,
        sku="PerGB2018",
        retention_in_days=30)
    example_environment = azure.containerapp.Environment("example",
        name="Example-Environment",
        location=example.location,
        resource_group_name=example.name,
        log_analytics_workspace_id=example_analytics_workspace.id)
    example_app = azure.containerapp.App("example",
        name="example-app",
        container_app_environment_id=example_environment.id,
        resource_group_name=example.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",
            )],
        ))
    
    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 {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
    			Name:              pulumi.String("acctest-01"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku:               pulumi.String("PerGB2018"),
    			RetentionInDays:   pulumi.Int(30),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEnvironment, err := containerapp.NewEnvironment(ctx, "example", &containerapp.EnvironmentArgs{
    			Name:                    pulumi.String("Example-Environment"),
    			Location:                example.Location,
    			ResourceGroupName:       example.Name,
    			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerapp.NewApp(ctx, "example", &containerapp.AppArgs{
    			Name:                      pulumi.String("example-app"),
    			ContainerAppEnvironmentId: exampleEnvironment.ID(),
    			ResourceGroupName:         example.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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
        {
            Name = "acctest-01",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = "PerGB2018",
            RetentionInDays = 30,
        });
    
        var exampleEnvironment = new Azure.ContainerApp.Environment("example", new()
        {
            Name = "Example-Environment",
            Location = example.Location,
            ResourceGroupName = example.Name,
            LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
        });
    
        var exampleApp = new Azure.ContainerApp.App("example", new()
        {
            Name = "example-app",
            ContainerAppEnvironmentId = exampleEnvironment.Id,
            ResourceGroupName = example.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 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()
                .name("acctest-01")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku("PerGB2018")
                .retentionInDays(30)
                .build());
    
            var exampleEnvironment = new Environment("exampleEnvironment", EnvironmentArgs.builder()
                .name("Example-Environment")
                .location(example.location())
                .resourceGroupName(example.name())
                .logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
                .build());
    
            var exampleApp = new App("exampleApp", AppArgs.builder()
                .name("example-app")
                .containerAppEnvironmentId(exampleEnvironment.id())
                .resourceGroupName(example.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());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        name: example
        properties:
          name: acctest-01
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku: PerGB2018
          retentionInDays: 30
      exampleEnvironment:
        type: azure:containerapp:Environment
        name: example
        properties:
          name: Example-Environment
          location: ${example.location}
          resourceGroupName: ${example.name}
          logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
      exampleApp:
        type: azure:containerapp:App
        name: example
        properties:
          name: example-app
          containerAppEnvironmentId: ${exampleEnvironment.id}
          resourceGroupName: ${example.name}
          revisionMode: Single
          template:
            containers:
              - name: examplecontainerapp
                image: mcr.microsoft.com/azuredocs/containerapps-helloworld:latest
                cpu: 0.25
                memory: 0.5Gi
    

    Create App Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
    @overload
    def App(resource_name: str,
            args: AppArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def App(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            container_app_environment_id: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            revision_mode: Optional[str] = None,
            template: Optional[AppTemplateArgs] = None,
            dapr: Optional[AppDaprArgs] = None,
            identity: Optional[AppIdentityArgs] = None,
            ingress: Optional[AppIngressArgs] = None,
            name: Optional[str] = None,
            registries: Optional[Sequence[AppRegistryArgs]] = None,
            secrets: Optional[Sequence[AppSecretArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            workload_profile_name: Optional[str] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var appResource = new Azure.ContainerApp.App("appResource", new()
    {
        ContainerAppEnvironmentId = "string",
        ResourceGroupName = "string",
        RevisionMode = "string",
        Template = new Azure.ContainerApp.Inputs.AppTemplateArgs
        {
            Containers = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateContainerArgs
                {
                    Cpu = 0,
                    Image = "string",
                    Memory = "string",
                    Name = "string",
                    Args = new[]
                    {
                        "string",
                    },
                    Commands = new[]
                    {
                        "string",
                    },
                    Envs = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateContainerEnvArgs
                        {
                            Name = "string",
                            SecretName = "string",
                            Value = "string",
                        },
                    },
                    EphemeralStorage = "string",
                    LivenessProbes = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateContainerLivenessProbeArgs
                        {
                            Port = 0,
                            Transport = "string",
                            FailureCountThreshold = 0,
                            Headers = new[]
                            {
                                new Azure.ContainerApp.Inputs.AppTemplateContainerLivenessProbeHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                            Host = "string",
                            InitialDelay = 0,
                            IntervalSeconds = 0,
                            Path = "string",
                            TerminationGracePeriodSeconds = 0,
                            Timeout = 0,
                        },
                    },
                    ReadinessProbes = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateContainerReadinessProbeArgs
                        {
                            Port = 0,
                            Transport = "string",
                            FailureCountThreshold = 0,
                            Headers = new[]
                            {
                                new Azure.ContainerApp.Inputs.AppTemplateContainerReadinessProbeHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                            Host = "string",
                            IntervalSeconds = 0,
                            Path = "string",
                            SuccessCountThreshold = 0,
                            Timeout = 0,
                        },
                    },
                    StartupProbes = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateContainerStartupProbeArgs
                        {
                            Port = 0,
                            Transport = "string",
                            FailureCountThreshold = 0,
                            Headers = new[]
                            {
                                new Azure.ContainerApp.Inputs.AppTemplateContainerStartupProbeHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                            Host = "string",
                            IntervalSeconds = 0,
                            Path = "string",
                            TerminationGracePeriodSeconds = 0,
                            Timeout = 0,
                        },
                    },
                    VolumeMounts = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateContainerVolumeMountArgs
                        {
                            Name = "string",
                            Path = "string",
                        },
                    },
                },
            },
            AzureQueueScaleRules = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateAzureQueueScaleRuleArgs
                {
                    Authentications = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateAzureQueueScaleRuleAuthenticationArgs
                        {
                            SecretName = "string",
                            TriggerParameter = "string",
                        },
                    },
                    Name = "string",
                    QueueLength = 0,
                    QueueName = "string",
                },
            },
            CustomScaleRules = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateCustomScaleRuleArgs
                {
                    CustomRuleType = "string",
                    Metadata = 
                    {
                        { "string", "string" },
                    },
                    Name = "string",
                    Authentications = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateCustomScaleRuleAuthenticationArgs
                        {
                            SecretName = "string",
                            TriggerParameter = "string",
                        },
                    },
                },
            },
            HttpScaleRules = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateHttpScaleRuleArgs
                {
                    ConcurrentRequests = "string",
                    Name = "string",
                    Authentications = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateHttpScaleRuleAuthenticationArgs
                        {
                            SecretName = "string",
                            TriggerParameter = "string",
                        },
                    },
                },
            },
            InitContainers = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateInitContainerArgs
                {
                    Image = "string",
                    Name = "string",
                    Args = new[]
                    {
                        "string",
                    },
                    Commands = new[]
                    {
                        "string",
                    },
                    Cpu = 0,
                    Envs = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateInitContainerEnvArgs
                        {
                            Name = "string",
                            SecretName = "string",
                            Value = "string",
                        },
                    },
                    EphemeralStorage = "string",
                    Memory = "string",
                    VolumeMounts = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateInitContainerVolumeMountArgs
                        {
                            Name = "string",
                            Path = "string",
                        },
                    },
                },
            },
            MaxReplicas = 0,
            MinReplicas = 0,
            RevisionSuffix = "string",
            TcpScaleRules = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateTcpScaleRuleArgs
                {
                    ConcurrentRequests = "string",
                    Name = "string",
                    Authentications = new[]
                    {
                        new Azure.ContainerApp.Inputs.AppTemplateTcpScaleRuleAuthenticationArgs
                        {
                            SecretName = "string",
                            TriggerParameter = "string",
                        },
                    },
                },
            },
            Volumes = new[]
            {
                new Azure.ContainerApp.Inputs.AppTemplateVolumeArgs
                {
                    Name = "string",
                    StorageName = "string",
                    StorageType = "string",
                },
            },
        },
        Dapr = new Azure.ContainerApp.Inputs.AppDaprArgs
        {
            AppId = "string",
            AppPort = 0,
            AppProtocol = "string",
        },
        Identity = new Azure.ContainerApp.Inputs.AppIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
        Ingress = new Azure.ContainerApp.Inputs.AppIngressArgs
        {
            TargetPort = 0,
            TrafficWeights = new[]
            {
                new Azure.ContainerApp.Inputs.AppIngressTrafficWeightArgs
                {
                    Percentage = 0,
                    Label = "string",
                    LatestRevision = false,
                    RevisionSuffix = "string",
                },
            },
            AllowInsecureConnections = false,
            ExposedPort = 0,
            ExternalEnabled = false,
            Fqdn = "string",
            IpSecurityRestrictions = new[]
            {
                new Azure.ContainerApp.Inputs.AppIngressIpSecurityRestrictionArgs
                {
                    Action = "string",
                    IpAddressRange = "string",
                    Name = "string",
                    Description = "string",
                },
            },
            Transport = "string",
        },
        Name = "string",
        Registries = new[]
        {
            new Azure.ContainerApp.Inputs.AppRegistryArgs
            {
                Server = "string",
                Identity = "string",
                PasswordSecretName = "string",
                Username = "string",
            },
        },
        Secrets = new[]
        {
            new Azure.ContainerApp.Inputs.AppSecretArgs
            {
                Name = "string",
                Identity = "string",
                KeyVaultSecretId = "string",
                Value = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        WorkloadProfileName = "string",
    });
    
    example, err := containerapp.NewApp(ctx, "appResource", &containerapp.AppArgs{
    	ContainerAppEnvironmentId: pulumi.String("string"),
    	ResourceGroupName:         pulumi.String("string"),
    	RevisionMode:              pulumi.String("string"),
    	Template: &containerapp.AppTemplateArgs{
    		Containers: containerapp.AppTemplateContainerArray{
    			&containerapp.AppTemplateContainerArgs{
    				Cpu:    pulumi.Float64(0),
    				Image:  pulumi.String("string"),
    				Memory: pulumi.String("string"),
    				Name:   pulumi.String("string"),
    				Args: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Commands: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Envs: containerapp.AppTemplateContainerEnvArray{
    					&containerapp.AppTemplateContainerEnvArgs{
    						Name:       pulumi.String("string"),
    						SecretName: pulumi.String("string"),
    						Value:      pulumi.String("string"),
    					},
    				},
    				EphemeralStorage: pulumi.String("string"),
    				LivenessProbes: containerapp.AppTemplateContainerLivenessProbeArray{
    					&containerapp.AppTemplateContainerLivenessProbeArgs{
    						Port:                  pulumi.Int(0),
    						Transport:             pulumi.String("string"),
    						FailureCountThreshold: pulumi.Int(0),
    						Headers: containerapp.AppTemplateContainerLivenessProbeHeaderArray{
    							&containerapp.AppTemplateContainerLivenessProbeHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Host:                          pulumi.String("string"),
    						InitialDelay:                  pulumi.Int(0),
    						IntervalSeconds:               pulumi.Int(0),
    						Path:                          pulumi.String("string"),
    						TerminationGracePeriodSeconds: pulumi.Int(0),
    						Timeout:                       pulumi.Int(0),
    					},
    				},
    				ReadinessProbes: containerapp.AppTemplateContainerReadinessProbeArray{
    					&containerapp.AppTemplateContainerReadinessProbeArgs{
    						Port:                  pulumi.Int(0),
    						Transport:             pulumi.String("string"),
    						FailureCountThreshold: pulumi.Int(0),
    						Headers: containerapp.AppTemplateContainerReadinessProbeHeaderArray{
    							&containerapp.AppTemplateContainerReadinessProbeHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Host:                  pulumi.String("string"),
    						IntervalSeconds:       pulumi.Int(0),
    						Path:                  pulumi.String("string"),
    						SuccessCountThreshold: pulumi.Int(0),
    						Timeout:               pulumi.Int(0),
    					},
    				},
    				StartupProbes: containerapp.AppTemplateContainerStartupProbeArray{
    					&containerapp.AppTemplateContainerStartupProbeArgs{
    						Port:                  pulumi.Int(0),
    						Transport:             pulumi.String("string"),
    						FailureCountThreshold: pulumi.Int(0),
    						Headers: containerapp.AppTemplateContainerStartupProbeHeaderArray{
    							&containerapp.AppTemplateContainerStartupProbeHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Host:                          pulumi.String("string"),
    						IntervalSeconds:               pulumi.Int(0),
    						Path:                          pulumi.String("string"),
    						TerminationGracePeriodSeconds: pulumi.Int(0),
    						Timeout:                       pulumi.Int(0),
    					},
    				},
    				VolumeMounts: containerapp.AppTemplateContainerVolumeMountArray{
    					&containerapp.AppTemplateContainerVolumeMountArgs{
    						Name: pulumi.String("string"),
    						Path: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		AzureQueueScaleRules: containerapp.AppTemplateAzureQueueScaleRuleArray{
    			&containerapp.AppTemplateAzureQueueScaleRuleArgs{
    				Authentications: containerapp.AppTemplateAzureQueueScaleRuleAuthenticationArray{
    					&containerapp.AppTemplateAzureQueueScaleRuleAuthenticationArgs{
    						SecretName:       pulumi.String("string"),
    						TriggerParameter: pulumi.String("string"),
    					},
    				},
    				Name:        pulumi.String("string"),
    				QueueLength: pulumi.Int(0),
    				QueueName:   pulumi.String("string"),
    			},
    		},
    		CustomScaleRules: containerapp.AppTemplateCustomScaleRuleArray{
    			&containerapp.AppTemplateCustomScaleRuleArgs{
    				CustomRuleType: pulumi.String("string"),
    				Metadata: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				Name: pulumi.String("string"),
    				Authentications: containerapp.AppTemplateCustomScaleRuleAuthenticationArray{
    					&containerapp.AppTemplateCustomScaleRuleAuthenticationArgs{
    						SecretName:       pulumi.String("string"),
    						TriggerParameter: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		HttpScaleRules: containerapp.AppTemplateHttpScaleRuleArray{
    			&containerapp.AppTemplateHttpScaleRuleArgs{
    				ConcurrentRequests: pulumi.String("string"),
    				Name:               pulumi.String("string"),
    				Authentications: containerapp.AppTemplateHttpScaleRuleAuthenticationArray{
    					&containerapp.AppTemplateHttpScaleRuleAuthenticationArgs{
    						SecretName:       pulumi.String("string"),
    						TriggerParameter: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		InitContainers: containerapp.AppTemplateInitContainerArray{
    			&containerapp.AppTemplateInitContainerArgs{
    				Image: pulumi.String("string"),
    				Name:  pulumi.String("string"),
    				Args: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Commands: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Cpu: pulumi.Float64(0),
    				Envs: containerapp.AppTemplateInitContainerEnvArray{
    					&containerapp.AppTemplateInitContainerEnvArgs{
    						Name:       pulumi.String("string"),
    						SecretName: pulumi.String("string"),
    						Value:      pulumi.String("string"),
    					},
    				},
    				EphemeralStorage: pulumi.String("string"),
    				Memory:           pulumi.String("string"),
    				VolumeMounts: containerapp.AppTemplateInitContainerVolumeMountArray{
    					&containerapp.AppTemplateInitContainerVolumeMountArgs{
    						Name: pulumi.String("string"),
    						Path: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		MaxReplicas:    pulumi.Int(0),
    		MinReplicas:    pulumi.Int(0),
    		RevisionSuffix: pulumi.String("string"),
    		TcpScaleRules: containerapp.AppTemplateTcpScaleRuleArray{
    			&containerapp.AppTemplateTcpScaleRuleArgs{
    				ConcurrentRequests: pulumi.String("string"),
    				Name:               pulumi.String("string"),
    				Authentications: containerapp.AppTemplateTcpScaleRuleAuthenticationArray{
    					&containerapp.AppTemplateTcpScaleRuleAuthenticationArgs{
    						SecretName:       pulumi.String("string"),
    						TriggerParameter: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		Volumes: containerapp.AppTemplateVolumeArray{
    			&containerapp.AppTemplateVolumeArgs{
    				Name:        pulumi.String("string"),
    				StorageName: pulumi.String("string"),
    				StorageType: pulumi.String("string"),
    			},
    		},
    	},
    	Dapr: &containerapp.AppDaprArgs{
    		AppId:       pulumi.String("string"),
    		AppPort:     pulumi.Int(0),
    		AppProtocol: pulumi.String("string"),
    	},
    	Identity: &containerapp.AppIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	Ingress: &containerapp.AppIngressArgs{
    		TargetPort: pulumi.Int(0),
    		TrafficWeights: containerapp.AppIngressTrafficWeightArray{
    			&containerapp.AppIngressTrafficWeightArgs{
    				Percentage:     pulumi.Int(0),
    				Label:          pulumi.String("string"),
    				LatestRevision: pulumi.Bool(false),
    				RevisionSuffix: pulumi.String("string"),
    			},
    		},
    		AllowInsecureConnections: pulumi.Bool(false),
    		ExposedPort:              pulumi.Int(0),
    		ExternalEnabled:          pulumi.Bool(false),
    		Fqdn:                     pulumi.String("string"),
    		IpSecurityRestrictions: containerapp.AppIngressIpSecurityRestrictionArray{
    			&containerapp.AppIngressIpSecurityRestrictionArgs{
    				Action:         pulumi.String("string"),
    				IpAddressRange: pulumi.String("string"),
    				Name:           pulumi.String("string"),
    				Description:    pulumi.String("string"),
    			},
    		},
    		Transport: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Registries: containerapp.AppRegistryArray{
    		&containerapp.AppRegistryArgs{
    			Server:             pulumi.String("string"),
    			Identity:           pulumi.String("string"),
    			PasswordSecretName: pulumi.String("string"),
    			Username:           pulumi.String("string"),
    		},
    	},
    	Secrets: containerapp.AppSecretArray{
    		&containerapp.AppSecretArgs{
    			Name:             pulumi.String("string"),
    			Identity:         pulumi.String("string"),
    			KeyVaultSecretId: pulumi.String("string"),
    			Value:            pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	WorkloadProfileName: pulumi.String("string"),
    })
    
    var appResource = new App("appResource", AppArgs.builder()
        .containerAppEnvironmentId("string")
        .resourceGroupName("string")
        .revisionMode("string")
        .template(AppTemplateArgs.builder()
            .containers(AppTemplateContainerArgs.builder()
                .cpu(0)
                .image("string")
                .memory("string")
                .name("string")
                .args("string")
                .commands("string")
                .envs(AppTemplateContainerEnvArgs.builder()
                    .name("string")
                    .secretName("string")
                    .value("string")
                    .build())
                .ephemeralStorage("string")
                .livenessProbes(AppTemplateContainerLivenessProbeArgs.builder()
                    .port(0)
                    .transport("string")
                    .failureCountThreshold(0)
                    .headers(AppTemplateContainerLivenessProbeHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .host("string")
                    .initialDelay(0)
                    .intervalSeconds(0)
                    .path("string")
                    .terminationGracePeriodSeconds(0)
                    .timeout(0)
                    .build())
                .readinessProbes(AppTemplateContainerReadinessProbeArgs.builder()
                    .port(0)
                    .transport("string")
                    .failureCountThreshold(0)
                    .headers(AppTemplateContainerReadinessProbeHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .host("string")
                    .intervalSeconds(0)
                    .path("string")
                    .successCountThreshold(0)
                    .timeout(0)
                    .build())
                .startupProbes(AppTemplateContainerStartupProbeArgs.builder()
                    .port(0)
                    .transport("string")
                    .failureCountThreshold(0)
                    .headers(AppTemplateContainerStartupProbeHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .host("string")
                    .intervalSeconds(0)
                    .path("string")
                    .terminationGracePeriodSeconds(0)
                    .timeout(0)
                    .build())
                .volumeMounts(AppTemplateContainerVolumeMountArgs.builder()
                    .name("string")
                    .path("string")
                    .build())
                .build())
            .azureQueueScaleRules(AppTemplateAzureQueueScaleRuleArgs.builder()
                .authentications(AppTemplateAzureQueueScaleRuleAuthenticationArgs.builder()
                    .secretName("string")
                    .triggerParameter("string")
                    .build())
                .name("string")
                .queueLength(0)
                .queueName("string")
                .build())
            .customScaleRules(AppTemplateCustomScaleRuleArgs.builder()
                .customRuleType("string")
                .metadata(Map.of("string", "string"))
                .name("string")
                .authentications(AppTemplateCustomScaleRuleAuthenticationArgs.builder()
                    .secretName("string")
                    .triggerParameter("string")
                    .build())
                .build())
            .httpScaleRules(AppTemplateHttpScaleRuleArgs.builder()
                .concurrentRequests("string")
                .name("string")
                .authentications(AppTemplateHttpScaleRuleAuthenticationArgs.builder()
                    .secretName("string")
                    .triggerParameter("string")
                    .build())
                .build())
            .initContainers(AppTemplateInitContainerArgs.builder()
                .image("string")
                .name("string")
                .args("string")
                .commands("string")
                .cpu(0)
                .envs(AppTemplateInitContainerEnvArgs.builder()
                    .name("string")
                    .secretName("string")
                    .value("string")
                    .build())
                .ephemeralStorage("string")
                .memory("string")
                .volumeMounts(AppTemplateInitContainerVolumeMountArgs.builder()
                    .name("string")
                    .path("string")
                    .build())
                .build())
            .maxReplicas(0)
            .minReplicas(0)
            .revisionSuffix("string")
            .tcpScaleRules(AppTemplateTcpScaleRuleArgs.builder()
                .concurrentRequests("string")
                .name("string")
                .authentications(AppTemplateTcpScaleRuleAuthenticationArgs.builder()
                    .secretName("string")
                    .triggerParameter("string")
                    .build())
                .build())
            .volumes(AppTemplateVolumeArgs.builder()
                .name("string")
                .storageName("string")
                .storageType("string")
                .build())
            .build())
        .dapr(AppDaprArgs.builder()
            .appId("string")
            .appPort(0)
            .appProtocol("string")
            .build())
        .identity(AppIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .ingress(AppIngressArgs.builder()
            .targetPort(0)
            .trafficWeights(AppIngressTrafficWeightArgs.builder()
                .percentage(0)
                .label("string")
                .latestRevision(false)
                .revisionSuffix("string")
                .build())
            .allowInsecureConnections(false)
            .exposedPort(0)
            .externalEnabled(false)
            .fqdn("string")
            .ipSecurityRestrictions(AppIngressIpSecurityRestrictionArgs.builder()
                .action("string")
                .ipAddressRange("string")
                .name("string")
                .description("string")
                .build())
            .transport("string")
            .build())
        .name("string")
        .registries(AppRegistryArgs.builder()
            .server("string")
            .identity("string")
            .passwordSecretName("string")
            .username("string")
            .build())
        .secrets(AppSecretArgs.builder()
            .name("string")
            .identity("string")
            .keyVaultSecretId("string")
            .value("string")
            .build())
        .tags(Map.of("string", "string"))
        .workloadProfileName("string")
        .build());
    
    app_resource = azure.containerapp.App("appResource",
        container_app_environment_id="string",
        resource_group_name="string",
        revision_mode="string",
        template=azure.containerapp.AppTemplateArgs(
            containers=[azure.containerapp.AppTemplateContainerArgs(
                cpu=0,
                image="string",
                memory="string",
                name="string",
                args=["string"],
                commands=["string"],
                envs=[azure.containerapp.AppTemplateContainerEnvArgs(
                    name="string",
                    secret_name="string",
                    value="string",
                )],
                ephemeral_storage="string",
                liveness_probes=[azure.containerapp.AppTemplateContainerLivenessProbeArgs(
                    port=0,
                    transport="string",
                    failure_count_threshold=0,
                    headers=[azure.containerapp.AppTemplateContainerLivenessProbeHeaderArgs(
                        name="string",
                        value="string",
                    )],
                    host="string",
                    initial_delay=0,
                    interval_seconds=0,
                    path="string",
                    termination_grace_period_seconds=0,
                    timeout=0,
                )],
                readiness_probes=[azure.containerapp.AppTemplateContainerReadinessProbeArgs(
                    port=0,
                    transport="string",
                    failure_count_threshold=0,
                    headers=[azure.containerapp.AppTemplateContainerReadinessProbeHeaderArgs(
                        name="string",
                        value="string",
                    )],
                    host="string",
                    interval_seconds=0,
                    path="string",
                    success_count_threshold=0,
                    timeout=0,
                )],
                startup_probes=[azure.containerapp.AppTemplateContainerStartupProbeArgs(
                    port=0,
                    transport="string",
                    failure_count_threshold=0,
                    headers=[azure.containerapp.AppTemplateContainerStartupProbeHeaderArgs(
                        name="string",
                        value="string",
                    )],
                    host="string",
                    interval_seconds=0,
                    path="string",
                    termination_grace_period_seconds=0,
                    timeout=0,
                )],
                volume_mounts=[azure.containerapp.AppTemplateContainerVolumeMountArgs(
                    name="string",
                    path="string",
                )],
            )],
            azure_queue_scale_rules=[azure.containerapp.AppTemplateAzureQueueScaleRuleArgs(
                authentications=[azure.containerapp.AppTemplateAzureQueueScaleRuleAuthenticationArgs(
                    secret_name="string",
                    trigger_parameter="string",
                )],
                name="string",
                queue_length=0,
                queue_name="string",
            )],
            custom_scale_rules=[azure.containerapp.AppTemplateCustomScaleRuleArgs(
                custom_rule_type="string",
                metadata={
                    "string": "string",
                },
                name="string",
                authentications=[azure.containerapp.AppTemplateCustomScaleRuleAuthenticationArgs(
                    secret_name="string",
                    trigger_parameter="string",
                )],
            )],
            http_scale_rules=[azure.containerapp.AppTemplateHttpScaleRuleArgs(
                concurrent_requests="string",
                name="string",
                authentications=[azure.containerapp.AppTemplateHttpScaleRuleAuthenticationArgs(
                    secret_name="string",
                    trigger_parameter="string",
                )],
            )],
            init_containers=[azure.containerapp.AppTemplateInitContainerArgs(
                image="string",
                name="string",
                args=["string"],
                commands=["string"],
                cpu=0,
                envs=[azure.containerapp.AppTemplateInitContainerEnvArgs(
                    name="string",
                    secret_name="string",
                    value="string",
                )],
                ephemeral_storage="string",
                memory="string",
                volume_mounts=[azure.containerapp.AppTemplateInitContainerVolumeMountArgs(
                    name="string",
                    path="string",
                )],
            )],
            max_replicas=0,
            min_replicas=0,
            revision_suffix="string",
            tcp_scale_rules=[azure.containerapp.AppTemplateTcpScaleRuleArgs(
                concurrent_requests="string",
                name="string",
                authentications=[azure.containerapp.AppTemplateTcpScaleRuleAuthenticationArgs(
                    secret_name="string",
                    trigger_parameter="string",
                )],
            )],
            volumes=[azure.containerapp.AppTemplateVolumeArgs(
                name="string",
                storage_name="string",
                storage_type="string",
            )],
        ),
        dapr=azure.containerapp.AppDaprArgs(
            app_id="string",
            app_port=0,
            app_protocol="string",
        ),
        identity=azure.containerapp.AppIdentityArgs(
            type="string",
            identity_ids=["string"],
            principal_id="string",
            tenant_id="string",
        ),
        ingress=azure.containerapp.AppIngressArgs(
            target_port=0,
            traffic_weights=[azure.containerapp.AppIngressTrafficWeightArgs(
                percentage=0,
                label="string",
                latest_revision=False,
                revision_suffix="string",
            )],
            allow_insecure_connections=False,
            exposed_port=0,
            external_enabled=False,
            fqdn="string",
            ip_security_restrictions=[azure.containerapp.AppIngressIpSecurityRestrictionArgs(
                action="string",
                ip_address_range="string",
                name="string",
                description="string",
            )],
            transport="string",
        ),
        name="string",
        registries=[azure.containerapp.AppRegistryArgs(
            server="string",
            identity="string",
            password_secret_name="string",
            username="string",
        )],
        secrets=[azure.containerapp.AppSecretArgs(
            name="string",
            identity="string",
            key_vault_secret_id="string",
            value="string",
        )],
        tags={
            "string": "string",
        },
        workload_profile_name="string")
    
    const appResource = new azure.containerapp.App("appResource", {
        containerAppEnvironmentId: "string",
        resourceGroupName: "string",
        revisionMode: "string",
        template: {
            containers: [{
                cpu: 0,
                image: "string",
                memory: "string",
                name: "string",
                args: ["string"],
                commands: ["string"],
                envs: [{
                    name: "string",
                    secretName: "string",
                    value: "string",
                }],
                ephemeralStorage: "string",
                livenessProbes: [{
                    port: 0,
                    transport: "string",
                    failureCountThreshold: 0,
                    headers: [{
                        name: "string",
                        value: "string",
                    }],
                    host: "string",
                    initialDelay: 0,
                    intervalSeconds: 0,
                    path: "string",
                    terminationGracePeriodSeconds: 0,
                    timeout: 0,
                }],
                readinessProbes: [{
                    port: 0,
                    transport: "string",
                    failureCountThreshold: 0,
                    headers: [{
                        name: "string",
                        value: "string",
                    }],
                    host: "string",
                    intervalSeconds: 0,
                    path: "string",
                    successCountThreshold: 0,
                    timeout: 0,
                }],
                startupProbes: [{
                    port: 0,
                    transport: "string",
                    failureCountThreshold: 0,
                    headers: [{
                        name: "string",
                        value: "string",
                    }],
                    host: "string",
                    intervalSeconds: 0,
                    path: "string",
                    terminationGracePeriodSeconds: 0,
                    timeout: 0,
                }],
                volumeMounts: [{
                    name: "string",
                    path: "string",
                }],
            }],
            azureQueueScaleRules: [{
                authentications: [{
                    secretName: "string",
                    triggerParameter: "string",
                }],
                name: "string",
                queueLength: 0,
                queueName: "string",
            }],
            customScaleRules: [{
                customRuleType: "string",
                metadata: {
                    string: "string",
                },
                name: "string",
                authentications: [{
                    secretName: "string",
                    triggerParameter: "string",
                }],
            }],
            httpScaleRules: [{
                concurrentRequests: "string",
                name: "string",
                authentications: [{
                    secretName: "string",
                    triggerParameter: "string",
                }],
            }],
            initContainers: [{
                image: "string",
                name: "string",
                args: ["string"],
                commands: ["string"],
                cpu: 0,
                envs: [{
                    name: "string",
                    secretName: "string",
                    value: "string",
                }],
                ephemeralStorage: "string",
                memory: "string",
                volumeMounts: [{
                    name: "string",
                    path: "string",
                }],
            }],
            maxReplicas: 0,
            minReplicas: 0,
            revisionSuffix: "string",
            tcpScaleRules: [{
                concurrentRequests: "string",
                name: "string",
                authentications: [{
                    secretName: "string",
                    triggerParameter: "string",
                }],
            }],
            volumes: [{
                name: "string",
                storageName: "string",
                storageType: "string",
            }],
        },
        dapr: {
            appId: "string",
            appPort: 0,
            appProtocol: "string",
        },
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
        ingress: {
            targetPort: 0,
            trafficWeights: [{
                percentage: 0,
                label: "string",
                latestRevision: false,
                revisionSuffix: "string",
            }],
            allowInsecureConnections: false,
            exposedPort: 0,
            externalEnabled: false,
            fqdn: "string",
            ipSecurityRestrictions: [{
                action: "string",
                ipAddressRange: "string",
                name: "string",
                description: "string",
            }],
            transport: "string",
        },
        name: "string",
        registries: [{
            server: "string",
            identity: "string",
            passwordSecretName: "string",
            username: "string",
        }],
        secrets: [{
            name: "string",
            identity: "string",
            keyVaultSecretId: "string",
            value: "string",
        }],
        tags: {
            string: "string",
        },
        workloadProfileName: "string",
    });
    
    type: azure:containerapp:App
    properties:
        containerAppEnvironmentId: string
        dapr:
            appId: string
            appPort: 0
            appProtocol: string
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        ingress:
            allowInsecureConnections: false
            exposedPort: 0
            externalEnabled: false
            fqdn: string
            ipSecurityRestrictions:
                - action: string
                  description: string
                  ipAddressRange: string
                  name: string
            targetPort: 0
            trafficWeights:
                - label: string
                  latestRevision: false
                  percentage: 0
                  revisionSuffix: string
            transport: string
        name: string
        registries:
            - identity: string
              passwordSecretName: string
              server: string
              username: string
        resourceGroupName: string
        revisionMode: string
        secrets:
            - identity: string
              keyVaultSecretId: string
              name: string
              value: string
        tags:
            string: string
        template:
            azureQueueScaleRules:
                - authentications:
                    - secretName: string
                      triggerParameter: string
                  name: string
                  queueLength: 0
                  queueName: string
            containers:
                - args:
                    - string
                  commands:
                    - string
                  cpu: 0
                  envs:
                    - name: string
                      secretName: string
                      value: string
                  ephemeralStorage: string
                  image: string
                  livenessProbes:
                    - failureCountThreshold: 0
                      headers:
                        - name: string
                          value: string
                      host: string
                      initialDelay: 0
                      intervalSeconds: 0
                      path: string
                      port: 0
                      terminationGracePeriodSeconds: 0
                      timeout: 0
                      transport: string
                  memory: string
                  name: string
                  readinessProbes:
                    - failureCountThreshold: 0
                      headers:
                        - name: string
                          value: string
                      host: string
                      intervalSeconds: 0
                      path: string
                      port: 0
                      successCountThreshold: 0
                      timeout: 0
                      transport: string
                  startupProbes:
                    - failureCountThreshold: 0
                      headers:
                        - name: string
                          value: string
                      host: string
                      intervalSeconds: 0
                      path: string
                      port: 0
                      terminationGracePeriodSeconds: 0
                      timeout: 0
                      transport: string
                  volumeMounts:
                    - name: string
                      path: string
            customScaleRules:
                - authentications:
                    - secretName: string
                      triggerParameter: string
                  customRuleType: string
                  metadata:
                    string: string
                  name: string
            httpScaleRules:
                - authentications:
                    - secretName: string
                      triggerParameter: string
                  concurrentRequests: string
                  name: string
            initContainers:
                - args:
                    - string
                  commands:
                    - string
                  cpu: 0
                  envs:
                    - name: string
                      secretName: string
                      value: string
                  ephemeralStorage: string
                  image: string
                  memory: string
                  name: string
                  volumeMounts:
                    - name: string
                      path: string
            maxReplicas: 0
            minReplicas: 0
            revisionSuffix: string
            tcpScaleRules:
                - authentications:
                    - secretName: string
                      triggerParameter: string
                  concurrentRequests: string
                  name: string
            volumes:
                - name: string
                  storageName: string
                  storageType: string
        workloadProfileName: string
    

    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.
    WorkloadProfileName string

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    WorkloadProfileName string

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workloadProfileName String

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workloadProfileName string

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workload_profile_name str

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workloadProfileName String

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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,
            workload_profile_name: Optional[str] = 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.
    WorkloadProfileName string

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    WorkloadProfileName string

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workloadProfileName String

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workloadProfileName string

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workload_profile_name str

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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.
    workloadProfileName String

    The name of the Workload Profile in the Container App Environment to place this Container App.

    Note: Omit this value to use the default Consumption Workload Profile.

    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>
    One or more traffic_weight blocks as detailed below.
    AllowInsecureConnections bool
    Should this ingress allow insecure connections?
    CustomDomain AppIngressCustomDomain
    One or more custom_domain block as detailed below.

    Deprecated: This property is deprecated in favour of the new azure.containerapp.CustomDomain resource and will become computed only in a future release.

    ExposedPort int

    The exposed port on the container for the Ingress traffic.

    Note: exposed_port can only be specified when transport is set to tcp.

    ExternalEnabled bool
    Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
    Fqdn string
    The FQDN of the ingress.
    IpSecurityRestrictions List<AppIngressIpSecurityRestriction>
    One or more ip_security_restriction blocks for IP-filtering rules as defined below.
    Transport string
    The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
    TargetPort int
    The target port on the container for the Ingress traffic.
    TrafficWeights []AppIngressTrafficWeight
    One or more traffic_weight blocks as detailed below.
    AllowInsecureConnections bool
    Should this ingress allow insecure connections?
    CustomDomain AppIngressCustomDomain
    One or more custom_domain block as detailed below.

    Deprecated: This property is deprecated in favour of the new azure.containerapp.CustomDomain resource and will become computed only in a future release.

    ExposedPort int

    The exposed port on the container for the Ingress traffic.

    Note: exposed_port can only be specified when transport is set to tcp.

    ExternalEnabled bool
    Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
    Fqdn string
    The FQDN of the ingress.
    IpSecurityRestrictions []AppIngressIpSecurityRestriction
    One or more ip_security_restriction blocks for IP-filtering rules as defined below.
    Transport string
    The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
    targetPort Integer
    The target port on the container for the Ingress traffic.
    trafficWeights List<AppIngressTrafficWeight>
    One or more traffic_weight blocks as detailed below.
    allowInsecureConnections Boolean
    Should this ingress allow insecure connections?
    customDomain AppIngressCustomDomain
    One or more custom_domain block as detailed below.

    Deprecated: This property is deprecated in favour of the new azure.containerapp.CustomDomain resource and will become computed only in a future release.

    exposedPort Integer

    The exposed port on the container for the Ingress traffic.

    Note: exposed_port can only be specified when transport is set to tcp.

    externalEnabled Boolean
    Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
    fqdn String
    The FQDN of the ingress.
    ipSecurityRestrictions List<AppIngressIpSecurityRestriction>
    One or more ip_security_restriction blocks for IP-filtering rules as defined below.
    transport String
    The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
    targetPort number
    The target port on the container for the Ingress traffic.
    trafficWeights AppIngressTrafficWeight[]
    One or more traffic_weight blocks as detailed below.
    allowInsecureConnections boolean
    Should this ingress allow insecure connections?
    customDomain AppIngressCustomDomain
    One or more custom_domain block as detailed below.

    Deprecated: This property is deprecated in favour of the new azure.containerapp.CustomDomain resource and will become computed only in a future release.

    exposedPort number

    The exposed port on the container for the Ingress traffic.

    Note: exposed_port can only be specified when transport is set to tcp.

    externalEnabled boolean
    Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
    fqdn string
    The FQDN of the ingress.
    ipSecurityRestrictions AppIngressIpSecurityRestriction[]
    One or more ip_security_restriction blocks for IP-filtering rules as defined below.
    transport string
    The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
    target_port int
    The target port on the container for the Ingress traffic.
    traffic_weights Sequence[AppIngressTrafficWeight]
    One or more traffic_weight blocks as detailed below.
    allow_insecure_connections bool
    Should this ingress allow insecure connections?
    custom_domain AppIngressCustomDomain
    One or more custom_domain block as detailed below.

    Deprecated: This property is deprecated in favour of the new azure.containerapp.CustomDomain resource and will become computed only in a future release.

    exposed_port int

    The exposed port on the container for the Ingress traffic.

    Note: exposed_port can only be specified when transport is set to tcp.

    external_enabled bool
    Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
    fqdn str
    The FQDN of the ingress.
    ip_security_restrictions Sequence[AppIngressIpSecurityRestriction]
    One or more ip_security_restriction blocks for IP-filtering rules as defined below.
    transport str
    The transport method for the Ingress. Possible values are auto, http, http2 and tcp. Defaults to auto.
    targetPort Number
    The target port on the container for the Ingress traffic.
    trafficWeights List<Property Map>
    One or more traffic_weight blocks as detailed below.
    allowInsecureConnections Boolean
    Should this ingress allow insecure connections?
    customDomain Property Map
    One or more custom_domain block as detailed below.

    Deprecated: This property is deprecated in favour of the new azure.containerapp.CustomDomain resource and will become computed only in a future release.

    exposedPort Number

    The exposed port on the container for the Ingress traffic.

    Note: exposed_port can only be specified when transport is set to tcp.

    externalEnabled Boolean
    Are connections to this Ingress from outside the Container App Environment enabled? Defaults to false.
    fqdn String
    The FQDN of the ingress.
    ipSecurityRestrictions List<Property Map>
    One or more ip_security_restriction blocks for IP-filtering rules as defined below.
    transport String
    The transport method for the Ingress. Possible values are auto, http, http2 and tcp. 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.

    AppIngressIpSecurityRestriction, AppIngressIpSecurityRestrictionArgs

    Action string

    The IP-filter action. Allow or Deny.

    NOTE: The action types in an all ip_security_restriction blocks must be the same for the ingress, mixing Allow and Deny rules is not currently supported by the service.

    IpAddressRange string
    The incoming IP address or range of IP addresses (in CIDR notation).
    Name string
    Name for the IP restriction rule.
    Description string
    Describe the IP restriction rule that is being sent to the container-app.
    Action string

    The IP-filter action. Allow or Deny.

    NOTE: The action types in an all ip_security_restriction blocks must be the same for the ingress, mixing Allow and Deny rules is not currently supported by the service.

    IpAddressRange string
    The incoming IP address or range of IP addresses (in CIDR notation).
    Name string
    Name for the IP restriction rule.
    Description string
    Describe the IP restriction rule that is being sent to the container-app.
    action String

    The IP-filter action. Allow or Deny.

    NOTE: The action types in an all ip_security_restriction blocks must be the same for the ingress, mixing Allow and Deny rules is not currently supported by the service.

    ipAddressRange String
    The incoming IP address or range of IP addresses (in CIDR notation).
    name String
    Name for the IP restriction rule.
    description String
    Describe the IP restriction rule that is being sent to the container-app.
    action string

    The IP-filter action. Allow or Deny.

    NOTE: The action types in an all ip_security_restriction blocks must be the same for the ingress, mixing Allow and Deny rules is not currently supported by the service.

    ipAddressRange string
    The incoming IP address or range of IP addresses (in CIDR notation).
    name string
    Name for the IP restriction rule.
    description string
    Describe the IP restriction rule that is being sent to the container-app.
    action str

    The IP-filter action. Allow or Deny.

    NOTE: The action types in an all ip_security_restriction blocks must be the same for the ingress, mixing Allow and Deny rules is not currently supported by the service.

    ip_address_range str
    The incoming IP address or range of IP addresses (in CIDR notation).
    name str
    Name for the IP restriction rule.
    description str
    Describe the IP restriction rule that is being sent to the container-app.
    action String

    The IP-filter action. Allow or Deny.

    NOTE: The action types in an all ip_security_restriction blocks must be the same for the ingress, mixing Allow and Deny rules is not currently supported by the service.

    ipAddressRange String
    The incoming IP address or range of IP addresses (in CIDR notation).
    name String
    Name for the IP restriction rule.
    description String
    Describe the IP restriction rule that is being sent to the container-app.

    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 applies to the latest stable Container Revision. At most only one traffic_weight block can have the latest_revision set to true.
    RevisionSuffix string

    The suffix string to which this traffic_weight applies.

    Note: latest_revision conflicts with revision_suffix, which means you shall either set latest_revision to true or specify revision_suffix. Especially for creation, there shall only be one traffic_weight, with the latest_revision set to true, and leave the revision_suffix empty.

    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 applies to the latest stable Container Revision. At most only one traffic_weight block can have the latest_revision set to true.
    RevisionSuffix string

    The suffix string to which this traffic_weight applies.

    Note: latest_revision conflicts with revision_suffix, which means you shall either set latest_revision to true or specify revision_suffix. Especially for creation, there shall only be one traffic_weight, with the latest_revision set to true, and leave the revision_suffix empty.

    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 applies to the latest stable Container Revision. At most only one traffic_weight block can have the latest_revision set to true.
    revisionSuffix String

    The suffix string to which this traffic_weight applies.

    Note: latest_revision conflicts with revision_suffix, which means you shall either set latest_revision to true or specify revision_suffix. Especially for creation, there shall only be one traffic_weight, with the latest_revision set to true, and leave the revision_suffix empty.

    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 applies to the latest stable Container Revision. At most only one traffic_weight block can have the latest_revision set to true.
    revisionSuffix string

    The suffix string to which this traffic_weight applies.

    Note: latest_revision conflicts with revision_suffix, which means you shall either set latest_revision to true or specify revision_suffix. Especially for creation, there shall only be one traffic_weight, with the latest_revision set to true, and leave the revision_suffix empty.

    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 applies to the latest stable Container Revision. At most only one traffic_weight block can have the latest_revision set to true.
    revision_suffix str

    The suffix string to which this traffic_weight applies.

    Note: latest_revision conflicts with revision_suffix, which means you shall either set latest_revision to true or specify revision_suffix. Especially for creation, there shall only be one traffic_weight, with the latest_revision set to true, and leave the revision_suffix empty.

    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 applies to the latest stable Container Revision. At most only one traffic_weight block can have the latest_revision set to true.
    revisionSuffix String

    The suffix string to which this traffic_weight applies.

    Note: latest_revision conflicts with revision_suffix, which means you shall either set latest_revision to true or specify revision_suffix. Especially for creation, there shall only be one traffic_weight, with the latest_revision set to true, and leave the revision_suffix empty.

    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.

    Note: The Resource ID must be of a User Assigned Managed identity defined in an identity block.

    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.

    Note: The Resource ID must be of a User Assigned Managed identity defined in an identity block.

    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.

    Note: The Resource ID must be of a User Assigned Managed identity defined in an identity block.

    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.

    Note: The Resource ID must be of a User Assigned Managed identity defined in an identity block.

    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.

    Note: The Resource ID must be of a User Assigned Managed identity defined in an identity block.

    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.

    Note: The Resource ID must be of a User Assigned Managed identity defined in an identity block.

    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.
    Identity string

    The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or System for the System Assigned Identity.

    !> Note: identity must be used together with key_vault_secret_id

    KeyVaultSecretId string

    The ID of a Key Vault secret. This can be a versioned or version-less ID.

    !> Note: When using key_vault_secret_id, ignore_changes should be used to ignore any changes to value.

    Value string

    The value for this secret.

    !> Note: value will be ignored if key_vault_secret_id and identity are provided.

    Name string
    The secret name.
    Identity string

    The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or System for the System Assigned Identity.

    !> Note: identity must be used together with key_vault_secret_id

    KeyVaultSecretId string

    The ID of a Key Vault secret. This can be a versioned or version-less ID.

    !> Note: When using key_vault_secret_id, ignore_changes should be used to ignore any changes to value.

    Value string

    The value for this secret.

    !> Note: value will be ignored if key_vault_secret_id and identity are provided.

    name String
    The secret name.
    identity String

    The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or System for the System Assigned Identity.

    !> Note: identity must be used together with key_vault_secret_id

    keyVaultSecretId String

    The ID of a Key Vault secret. This can be a versioned or version-less ID.

    !> Note: When using key_vault_secret_id, ignore_changes should be used to ignore any changes to value.

    value String

    The value for this secret.

    !> Note: value will be ignored if key_vault_secret_id and identity are provided.

    name string
    The secret name.
    identity string

    The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or System for the System Assigned Identity.

    !> Note: identity must be used together with key_vault_secret_id

    keyVaultSecretId string

    The ID of a Key Vault secret. This can be a versioned or version-less ID.

    !> Note: When using key_vault_secret_id, ignore_changes should be used to ignore any changes to value.

    value string

    The value for this secret.

    !> Note: value will be ignored if key_vault_secret_id and identity are provided.

    name str
    The secret name.
    identity str

    The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or System for the System Assigned Identity.

    !> Note: identity must be used together with key_vault_secret_id

    key_vault_secret_id str

    The ID of a Key Vault secret. This can be a versioned or version-less ID.

    !> Note: When using key_vault_secret_id, ignore_changes should be used to ignore any changes to value.

    value str

    The value for this secret.

    !> Note: value will be ignored if key_vault_secret_id and identity are provided.

    name String
    The secret name.
    identity String

    The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or System for the System Assigned Identity.

    !> Note: identity must be used together with key_vault_secret_id

    keyVaultSecretId String

    The ID of a Key Vault secret. This can be a versioned or version-less ID.

    !> Note: When using key_vault_secret_id, ignore_changes should be used to ignore any changes to value.

    value String

    The value for this secret.

    !> Note: value will be ignored if key_vault_secret_id and identity are provided.

    AppTemplate, AppTemplateArgs

    Containers List<AppTemplateContainer>
    One or more container blocks as detailed below.
    AzureQueueScaleRules List<AppTemplateAzureQueueScaleRule>
    One or more azure_queue_scale_rule blocks as defined below.
    CustomScaleRules List<AppTemplateCustomScaleRule>
    One or more custom_scale_rule blocks as defined below.
    HttpScaleRules List<AppTemplateHttpScaleRule>
    One or more http_scale_rule blocks as defined below.
    InitContainers List<AppTemplateInitContainer>
    The definition of an init container that is part of the group as documented in the init_container block 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.
    TcpScaleRules List<AppTemplateTcpScaleRule>
    One or more tcp_scale_rule blocks as defined below.
    Volumes List<AppTemplateVolume>
    A volume block as detailed below.
    Containers []AppTemplateContainer
    One or more container blocks as detailed below.
    AzureQueueScaleRules []AppTemplateAzureQueueScaleRule
    One or more azure_queue_scale_rule blocks as defined below.
    CustomScaleRules []AppTemplateCustomScaleRule
    One or more custom_scale_rule blocks as defined below.
    HttpScaleRules []AppTemplateHttpScaleRule
    One or more http_scale_rule blocks as defined below.
    InitContainers []AppTemplateInitContainer
    The definition of an init container that is part of the group as documented in the init_container block 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.
    TcpScaleRules []AppTemplateTcpScaleRule
    One or more tcp_scale_rule blocks as defined below.
    Volumes []AppTemplateVolume
    A volume block as detailed below.
    containers List<AppTemplateContainer>
    One or more container blocks as detailed below.
    azureQueueScaleRules List<AppTemplateAzureQueueScaleRule>
    One or more azure_queue_scale_rule blocks as defined below.
    customScaleRules List<AppTemplateCustomScaleRule>
    One or more custom_scale_rule blocks as defined below.
    httpScaleRules List<AppTemplateHttpScaleRule>
    One or more http_scale_rule blocks as defined below.
    initContainers List<AppTemplateInitContainer>
    The definition of an init container that is part of the group as documented in the init_container block 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.
    tcpScaleRules List<AppTemplateTcpScaleRule>
    One or more tcp_scale_rule blocks as defined below.
    volumes List<AppTemplateVolume>
    A volume block as detailed below.
    containers AppTemplateContainer[]
    One or more container blocks as detailed below.
    azureQueueScaleRules AppTemplateAzureQueueScaleRule[]
    One or more azure_queue_scale_rule blocks as defined below.
    customScaleRules AppTemplateCustomScaleRule[]
    One or more custom_scale_rule blocks as defined below.
    httpScaleRules AppTemplateHttpScaleRule[]
    One or more http_scale_rule blocks as defined below.
    initContainers AppTemplateInitContainer[]
    The definition of an init container that is part of the group as documented in the init_container block 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.
    tcpScaleRules AppTemplateTcpScaleRule[]
    One or more tcp_scale_rule blocks as defined below.
    volumes AppTemplateVolume[]
    A volume block as detailed below.
    containers Sequence[AppTemplateContainer]
    One or more container blocks as detailed below.
    azure_queue_scale_rules Sequence[AppTemplateAzureQueueScaleRule]
    One or more azure_queue_scale_rule blocks as defined below.
    custom_scale_rules Sequence[AppTemplateCustomScaleRule]
    One or more custom_scale_rule blocks as defined below.
    http_scale_rules Sequence[AppTemplateHttpScaleRule]
    One or more http_scale_rule blocks as defined below.
    init_containers Sequence[AppTemplateInitContainer]
    The definition of an init container that is part of the group as documented in the init_container block 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.
    tcp_scale_rules Sequence[AppTemplateTcpScaleRule]
    One or more tcp_scale_rule blocks as defined below.
    volumes Sequence[AppTemplateVolume]
    A volume block as detailed below.
    containers List<Property Map>
    One or more container blocks as detailed below.
    azureQueueScaleRules List<Property Map>
    One or more azure_queue_scale_rule blocks as defined below.
    customScaleRules List<Property Map>
    One or more custom_scale_rule blocks as defined below.
    httpScaleRules List<Property Map>
    One or more http_scale_rule blocks as defined below.
    initContainers List<Property Map>
    The definition of an init container that is part of the group as documented in the init_container block 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.
    tcpScaleRules List<Property Map>
    One or more tcp_scale_rule blocks as defined below.
    volumes List<Property Map>
    A volume block as detailed below.

    AppTemplateAzureQueueScaleRule, AppTemplateAzureQueueScaleRuleArgs

    Authentications List<AppTemplateAzureQueueScaleRuleAuthentication>
    One or more authentication blocks as defined below.
    Name string
    The name of the Scaling Rule
    QueueLength int
    The value of the length of the queue to trigger scaling actions.
    QueueName string
    The name of the Azure Queue
    Authentications []AppTemplateAzureQueueScaleRuleAuthentication
    One or more authentication blocks as defined below.
    Name string
    The name of the Scaling Rule
    QueueLength int
    The value of the length of the queue to trigger scaling actions.
    QueueName string
    The name of the Azure Queue
    authentications List<AppTemplateAzureQueueScaleRuleAuthentication>
    One or more authentication blocks as defined below.
    name String
    The name of the Scaling Rule
    queueLength Integer
    The value of the length of the queue to trigger scaling actions.
    queueName String
    The name of the Azure Queue
    authentications AppTemplateAzureQueueScaleRuleAuthentication[]
    One or more authentication blocks as defined below.
    name string
    The name of the Scaling Rule
    queueLength number
    The value of the length of the queue to trigger scaling actions.
    queueName string
    The name of the Azure Queue
    authentications Sequence[AppTemplateAzureQueueScaleRuleAuthentication]
    One or more authentication blocks as defined below.
    name str
    The name of the Scaling Rule
    queue_length int
    The value of the length of the queue to trigger scaling actions.
    queue_name str
    The name of the Azure Queue
    authentications List<Property Map>
    One or more authentication blocks as defined below.
    name String
    The name of the Scaling Rule
    queueLength Number
    The value of the length of the queue to trigger scaling actions.
    queueName String
    The name of the Azure Queue

    AppTemplateAzureQueueScaleRuleAuthentication, AppTemplateAzureQueueScaleRuleAuthenticationArgs

    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secret_name str
    The name of the Container App Secret to use for this Scale Rule Authentication.
    trigger_parameter str
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.

    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. When there's a workload profile specified, there's no such constraint.

    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 are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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. When there's a workload profile specified, there's no such constraint.

    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 are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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. When there's a workload profile specified, there's no such constraint.

    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 are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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. When there's a workload profile specified, there's no such constraint.

    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 are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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. When there's a workload profile specified, there's no such constraint.

    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 are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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. When there's a workload profile specified, there's no such constraint.

    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 are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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.

    AppTemplateCustomScaleRule, AppTemplateCustomScaleRuleArgs

    CustomRuleType string
    The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
    Metadata Dictionary<string, string>
    A map of string key-value pairs to configure the Custom Scale Rule.
    Name string
    The name of the Scaling Rule
    Authentications List<AppTemplateCustomScaleRuleAuthentication>
    Zero or more authentication blocks as defined below.
    CustomRuleType string
    The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
    Metadata map[string]string
    A map of string key-value pairs to configure the Custom Scale Rule.
    Name string
    The name of the Scaling Rule
    Authentications []AppTemplateCustomScaleRuleAuthentication
    Zero or more authentication blocks as defined below.
    customRuleType String
    The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
    metadata Map<String,String>
    A map of string key-value pairs to configure the Custom Scale Rule.
    name String
    The name of the Scaling Rule
    authentications List<AppTemplateCustomScaleRuleAuthentication>
    Zero or more authentication blocks as defined below.
    customRuleType string
    The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
    metadata {[key: string]: string}
    A map of string key-value pairs to configure the Custom Scale Rule.
    name string
    The name of the Scaling Rule
    authentications AppTemplateCustomScaleRuleAuthentication[]
    Zero or more authentication blocks as defined below.
    custom_rule_type str
    The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
    metadata Mapping[str, str]
    A map of string key-value pairs to configure the Custom Scale Rule.
    name str
    The name of the Scaling Rule
    authentications Sequence[AppTemplateCustomScaleRuleAuthentication]
    Zero or more authentication blocks as defined below.
    customRuleType String
    The Custom rule type. Possible values include: activemq, artemis-queue, kafka, pulsar, aws-cloudwatch, aws-dynamodb, aws-dynamodb-streams, aws-kinesis-stream, aws-sqs-queue, azure-app-insights, azure-blob, azure-data-explorer, azure-eventhub, azure-log-analytics, azure-monitor, azure-pipelines, azure-servicebus, azure-queue, cassandra, cpu, cron, datadog, elasticsearch, external, external-push, gcp-stackdriver, gcp-storage, gcp-pubsub, graphite, http, huawei-cloudeye, ibmmq, influxdb, kubernetes-workload, liiklus, memory, metrics-api, mongodb, mssql, mysql, nats-jetstream, stan, tcp, new-relic, openstack-metric, openstack-swift, postgresql, predictkube, prometheus, rabbitmq, redis, redis-cluster, redis-sentinel, redis-streams, redis-cluster-streams, redis-sentinel-streams, selenium-grid,solace-event-queue, and github-runner.
    metadata Map<String>
    A map of string key-value pairs to configure the Custom Scale Rule.
    name String
    The name of the Scaling Rule
    authentications List<Property Map>
    Zero or more authentication blocks as defined below.

    AppTemplateCustomScaleRuleAuthentication, AppTemplateCustomScaleRuleAuthenticationArgs

    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secret_name str
    The name of the Container App Secret to use for this Scale Rule Authentication.
    trigger_parameter str
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.

    AppTemplateHttpScaleRule, AppTemplateHttpScaleRuleArgs

    ConcurrentRequests string
    The number of concurrent requests to trigger scaling.
    Name string
    The name of the Scaling Rule
    Authentications List<AppTemplateHttpScaleRuleAuthentication>
    Zero or more authentication blocks as defined below.
    ConcurrentRequests string
    The number of concurrent requests to trigger scaling.
    Name string
    The name of the Scaling Rule
    Authentications []AppTemplateHttpScaleRuleAuthentication
    Zero or more authentication blocks as defined below.
    concurrentRequests String
    The number of concurrent requests to trigger scaling.
    name String
    The name of the Scaling Rule
    authentications List<AppTemplateHttpScaleRuleAuthentication>
    Zero or more authentication blocks as defined below.
    concurrentRequests string
    The number of concurrent requests to trigger scaling.
    name string
    The name of the Scaling Rule
    authentications AppTemplateHttpScaleRuleAuthentication[]
    Zero or more authentication blocks as defined below.
    concurrent_requests str
    The number of concurrent requests to trigger scaling.
    name str
    The name of the Scaling Rule
    authentications Sequence[AppTemplateHttpScaleRuleAuthentication]
    Zero or more authentication blocks as defined below.
    concurrentRequests String
    The number of concurrent requests to trigger scaling.
    name String
    The name of the Scaling Rule
    authentications List<Property Map>
    Zero or more authentication blocks as defined below.

    AppTemplateHttpScaleRuleAuthentication, AppTemplateHttpScaleRuleAuthenticationArgs

    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secret_name str
    The name of the Container App Secret to use for this Scale Rule Authentication.
    trigger_parameter str
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.

    AppTemplateInitContainer, AppTemplateInitContainerArgs

    Image string
    The image to use to create the container.
    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.
    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. When there's a workload profile specified, there's no such constraint.

    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

    Envs List<AppTemplateInitContainerEnv>
    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.

    Memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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

    VolumeMounts List<AppTemplateInitContainerVolumeMount>
    A volume_mounts block as detailed below.
    Image string
    The image to use to create the container.
    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.
    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. When there's a workload profile specified, there's no such constraint.

    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

    Envs []AppTemplateInitContainerEnv
    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.

    Memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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

    VolumeMounts []AppTemplateInitContainerVolumeMount
    A volume_mounts block as detailed below.
    image String
    The image to use to create the container.
    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.
    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. When there's a workload profile specified, there's no such constraint.

    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

    envs List<AppTemplateInitContainerEnv>
    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.

    memory String

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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

    volumeMounts List<AppTemplateInitContainerVolumeMount>
    A volume_mounts block as detailed below.
    image string
    The image to use to create the container.
    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.
    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. When there's a workload profile specified, there's no such constraint.

    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

    envs AppTemplateInitContainerEnv[]
    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.

    memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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

    volumeMounts AppTemplateInitContainerVolumeMount[]
    A volume_mounts block as detailed below.
    image str
    The image to use to create the container.
    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.
    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. When there's a workload profile specified, there's no such constraint.

    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

    envs Sequence[AppTemplateInitContainerEnv]
    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.

    memory str

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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

    volume_mounts Sequence[AppTemplateInitContainerVolumeMount]
    A volume_mounts block as detailed below.
    image String
    The image to use to create the container.
    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.
    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. When there's a workload profile specified, there's no such constraint.

    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

    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.

    memory String

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi. When there's a workload profile specified, there's no such constraint.

    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

    volumeMounts List<Property Map>
    A volume_mounts block as detailed below.

    AppTemplateInitContainerEnv, AppTemplateInitContainerEnvArgs

    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

    AppTemplateInitContainerVolumeMount, AppTemplateInitContainerVolumeMountArgs

    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.

    AppTemplateTcpScaleRule, AppTemplateTcpScaleRuleArgs

    ConcurrentRequests string
    The number of concurrent requests to trigger scaling.
    Name string
    The name of the Scaling Rule
    Authentications List<AppTemplateTcpScaleRuleAuthentication>
    Zero or more authentication blocks as defined below.
    ConcurrentRequests string
    The number of concurrent requests to trigger scaling.
    Name string
    The name of the Scaling Rule
    Authentications []AppTemplateTcpScaleRuleAuthentication
    Zero or more authentication blocks as defined below.
    concurrentRequests String
    The number of concurrent requests to trigger scaling.
    name String
    The name of the Scaling Rule
    authentications List<AppTemplateTcpScaleRuleAuthentication>
    Zero or more authentication blocks as defined below.
    concurrentRequests string
    The number of concurrent requests to trigger scaling.
    name string
    The name of the Scaling Rule
    authentications AppTemplateTcpScaleRuleAuthentication[]
    Zero or more authentication blocks as defined below.
    concurrent_requests str
    The number of concurrent requests to trigger scaling.
    name str
    The name of the Scaling Rule
    authentications Sequence[AppTemplateTcpScaleRuleAuthentication]
    Zero or more authentication blocks as defined below.
    concurrentRequests String
    The number of concurrent requests to trigger scaling.
    name String
    The name of the Scaling Rule
    authentications List<Property Map>
    Zero or more authentication blocks as defined below.

    AppTemplateTcpScaleRuleAuthentication, AppTemplateTcpScaleRuleAuthenticationArgs

    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    SecretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    TriggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName string
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter string
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secret_name str
    The name of the Container App Secret to use for this Scale Rule Authentication.
    trigger_parameter str
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.
    secretName String
    The name of the Container App Secret to use for this Scale Rule Authentication.
    triggerParameter String
    The Trigger Parameter name to use the supply the value retrieved from the secret_name.

    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 are AzureFile, EmptyDir and Secret. 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 are AzureFile, EmptyDir and Secret. 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 are AzureFile, EmptyDir and Secret. 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 are AzureFile, EmptyDir and Secret. 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 are AzureFile, EmptyDir and Secret. 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 are AzureFile, EmptyDir and Secret. 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"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.80.0 published on Monday, Jun 10, 2024 by Pulumi