We recommend using Azure Native.
azure.containerapp.App
Explore with Pulumi AI
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/k8se/quickstart: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={
        "containers": [{
            "name": "examplecontainerapp",
            "image": "mcr.microsoft.com/k8se/quickstart:latest",
            "cpu": 0.25,
            "memory": "0.5Gi",
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerapp"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/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/k8se/quickstart: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/k8se/quickstart: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/k8se/quickstart: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/k8se/quickstart: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,
        template: Optional[AppTemplateArgs] = None,
        revision_mode: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        registries: Optional[Sequence[AppRegistryArgs]] = None,
        name: Optional[str] = None,
        max_inactive_revisions: Optional[int] = None,
        ingress: Optional[AppIngressArgs] = None,
        identity: Optional[AppIdentityArgs] = None,
        secrets: Optional[Sequence[AppSecretArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        dapr: Optional[AppDaprArgs] = 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)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.
Constructor example
The following reference example uses placeholder values for all input properties.
var appResource = new Azure.ContainerApp.App("appResource", new()
{
    ContainerAppEnvironmentId = "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",
                        InitialDelay = 0,
                        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",
                        InitialDelay = 0,
                        IntervalSeconds = 0,
                        Path = "string",
                        TerminationGracePeriodSeconds = 0,
                        Timeout = 0,
                    },
                },
                VolumeMounts = new[]
                {
                    new Azure.ContainerApp.Inputs.AppTemplateContainerVolumeMountArgs
                    {
                        Name = "string",
                        Path = "string",
                        SubPath = "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",
                        SubPath = "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",
                    },
                },
            },
        },
        TerminationGracePeriodSeconds = 0,
        Volumes = new[]
        {
            new Azure.ContainerApp.Inputs.AppTemplateVolumeArgs
            {
                Name = "string",
                StorageName = "string",
                StorageType = "string",
            },
        },
    },
    RevisionMode = "string",
    ResourceGroupName = "string",
    Registries = new[]
    {
        new Azure.ContainerApp.Inputs.AppRegistryArgs
        {
            Server = "string",
            Identity = "string",
            PasswordSecretName = "string",
            Username = "string",
        },
    },
    Name = "string",
    MaxInactiveRevisions = 0,
    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,
        ClientCertificateMode = "string",
        CustomDomains = new[]
        {
            new Azure.ContainerApp.Inputs.AppIngressCustomDomainArgs
            {
                CertificateBindingType = "string",
                CertificateId = "string",
                Name = "string",
            },
        },
        ExposedPort = 0,
        ExternalEnabled = false,
        Fqdn = "string",
        IpSecurityRestrictions = new[]
        {
            new Azure.ContainerApp.Inputs.AppIngressIpSecurityRestrictionArgs
            {
                Action = "string",
                IpAddressRange = "string",
                Name = "string",
                Description = "string",
            },
        },
        Transport = "string",
    },
    Identity = new Azure.ContainerApp.Inputs.AppIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Secrets = new[]
    {
        new Azure.ContainerApp.Inputs.AppSecretArgs
        {
            Name = "string",
            Identity = "string",
            KeyVaultSecretId = "string",
            Value = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    Dapr = new Azure.ContainerApp.Inputs.AppDaprArgs
    {
        AppId = "string",
        AppPort = 0,
        AppProtocol = "string",
    },
    WorkloadProfileName = "string",
});
example, err := containerapp.NewApp(ctx, "appResource", &containerapp.AppArgs{
	ContainerAppEnvironmentId: 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"),
						InitialDelay:          pulumi.Int(0),
						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"),
						InitialDelay:                  pulumi.Int(0),
						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"),
						SubPath: 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"),
						SubPath: 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"),
					},
				},
			},
		},
		TerminationGracePeriodSeconds: pulumi.Int(0),
		Volumes: containerapp.AppTemplateVolumeArray{
			&containerapp.AppTemplateVolumeArgs{
				Name:        pulumi.String("string"),
				StorageName: pulumi.String("string"),
				StorageType: pulumi.String("string"),
			},
		},
	},
	RevisionMode:      pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Registries: containerapp.AppRegistryArray{
		&containerapp.AppRegistryArgs{
			Server:             pulumi.String("string"),
			Identity:           pulumi.String("string"),
			PasswordSecretName: pulumi.String("string"),
			Username:           pulumi.String("string"),
		},
	},
	Name:                 pulumi.String("string"),
	MaxInactiveRevisions: pulumi.Int(0),
	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),
		ClientCertificateMode:    pulumi.String("string"),
		CustomDomains: containerapp.AppIngressCustomDomainArray{
			&containerapp.AppIngressCustomDomainArgs{
				CertificateBindingType: pulumi.String("string"),
				CertificateId:          pulumi.String("string"),
				Name:                   pulumi.String("string"),
			},
		},
		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"),
	},
	Identity: &containerapp.AppIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    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"),
	},
	Dapr: &containerapp.AppDaprArgs{
		AppId:       pulumi.String("string"),
		AppPort:     pulumi.Int(0),
		AppProtocol: pulumi.String("string"),
	},
	WorkloadProfileName: pulumi.String("string"),
})
var appResource = new App("appResource", AppArgs.builder()
    .containerAppEnvironmentId("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")
                .initialDelay(0)
                .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")
                .initialDelay(0)
                .intervalSeconds(0)
                .path("string")
                .terminationGracePeriodSeconds(0)
                .timeout(0)
                .build())
            .volumeMounts(AppTemplateContainerVolumeMountArgs.builder()
                .name("string")
                .path("string")
                .subPath("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")
                .subPath("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())
        .terminationGracePeriodSeconds(0)
        .volumes(AppTemplateVolumeArgs.builder()
            .name("string")
            .storageName("string")
            .storageType("string")
            .build())
        .build())
    .revisionMode("string")
    .resourceGroupName("string")
    .registries(AppRegistryArgs.builder()
        .server("string")
        .identity("string")
        .passwordSecretName("string")
        .username("string")
        .build())
    .name("string")
    .maxInactiveRevisions(0)
    .ingress(AppIngressArgs.builder()
        .targetPort(0)
        .trafficWeights(AppIngressTrafficWeightArgs.builder()
            .percentage(0)
            .label("string")
            .latestRevision(false)
            .revisionSuffix("string")
            .build())
        .allowInsecureConnections(false)
        .clientCertificateMode("string")
        .customDomains(AppIngressCustomDomainArgs.builder()
            .certificateBindingType("string")
            .certificateId("string")
            .name("string")
            .build())
        .exposedPort(0)
        .externalEnabled(false)
        .fqdn("string")
        .ipSecurityRestrictions(AppIngressIpSecurityRestrictionArgs.builder()
            .action("string")
            .ipAddressRange("string")
            .name("string")
            .description("string")
            .build())
        .transport("string")
        .build())
    .identity(AppIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .secrets(AppSecretArgs.builder()
        .name("string")
        .identity("string")
        .keyVaultSecretId("string")
        .value("string")
        .build())
    .tags(Map.of("string", "string"))
    .dapr(AppDaprArgs.builder()
        .appId("string")
        .appPort(0)
        .appProtocol("string")
        .build())
    .workloadProfileName("string")
    .build());
app_resource = azure.containerapp.App("appResource",
    container_app_environment_id="string",
    template={
        "containers": [{
            "cpu": 0,
            "image": "string",
            "memory": "string",
            "name": "string",
            "args": ["string"],
            "commands": ["string"],
            "envs": [{
                "name": "string",
                "secret_name": "string",
                "value": "string",
            }],
            "ephemeral_storage": "string",
            "liveness_probes": [{
                "port": 0,
                "transport": "string",
                "failure_count_threshold": 0,
                "headers": [{
                    "name": "string",
                    "value": "string",
                }],
                "host": "string",
                "initial_delay": 0,
                "interval_seconds": 0,
                "path": "string",
                "termination_grace_period_seconds": 0,
                "timeout": 0,
            }],
            "readiness_probes": [{
                "port": 0,
                "transport": "string",
                "failure_count_threshold": 0,
                "headers": [{
                    "name": "string",
                    "value": "string",
                }],
                "host": "string",
                "initial_delay": 0,
                "interval_seconds": 0,
                "path": "string",
                "success_count_threshold": 0,
                "timeout": 0,
            }],
            "startup_probes": [{
                "port": 0,
                "transport": "string",
                "failure_count_threshold": 0,
                "headers": [{
                    "name": "string",
                    "value": "string",
                }],
                "host": "string",
                "initial_delay": 0,
                "interval_seconds": 0,
                "path": "string",
                "termination_grace_period_seconds": 0,
                "timeout": 0,
            }],
            "volume_mounts": [{
                "name": "string",
                "path": "string",
                "sub_path": "string",
            }],
        }],
        "azure_queue_scale_rules": [{
            "authentications": [{
                "secret_name": "string",
                "trigger_parameter": "string",
            }],
            "name": "string",
            "queue_length": 0,
            "queue_name": "string",
        }],
        "custom_scale_rules": [{
            "custom_rule_type": "string",
            "metadata": {
                "string": "string",
            },
            "name": "string",
            "authentications": [{
                "secret_name": "string",
                "trigger_parameter": "string",
            }],
        }],
        "http_scale_rules": [{
            "concurrent_requests": "string",
            "name": "string",
            "authentications": [{
                "secret_name": "string",
                "trigger_parameter": "string",
            }],
        }],
        "init_containers": [{
            "image": "string",
            "name": "string",
            "args": ["string"],
            "commands": ["string"],
            "cpu": 0,
            "envs": [{
                "name": "string",
                "secret_name": "string",
                "value": "string",
            }],
            "ephemeral_storage": "string",
            "memory": "string",
            "volume_mounts": [{
                "name": "string",
                "path": "string",
                "sub_path": "string",
            }],
        }],
        "max_replicas": 0,
        "min_replicas": 0,
        "revision_suffix": "string",
        "tcp_scale_rules": [{
            "concurrent_requests": "string",
            "name": "string",
            "authentications": [{
                "secret_name": "string",
                "trigger_parameter": "string",
            }],
        }],
        "termination_grace_period_seconds": 0,
        "volumes": [{
            "name": "string",
            "storage_name": "string",
            "storage_type": "string",
        }],
    },
    revision_mode="string",
    resource_group_name="string",
    registries=[{
        "server": "string",
        "identity": "string",
        "password_secret_name": "string",
        "username": "string",
    }],
    name="string",
    max_inactive_revisions=0,
    ingress={
        "target_port": 0,
        "traffic_weights": [{
            "percentage": 0,
            "label": "string",
            "latest_revision": False,
            "revision_suffix": "string",
        }],
        "allow_insecure_connections": False,
        "client_certificate_mode": "string",
        "custom_domains": [{
            "certificate_binding_type": "string",
            "certificate_id": "string",
            "name": "string",
        }],
        "exposed_port": 0,
        "external_enabled": False,
        "fqdn": "string",
        "ip_security_restrictions": [{
            "action": "string",
            "ip_address_range": "string",
            "name": "string",
            "description": "string",
        }],
        "transport": "string",
    },
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    secrets=[{
        "name": "string",
        "identity": "string",
        "key_vault_secret_id": "string",
        "value": "string",
    }],
    tags={
        "string": "string",
    },
    dapr={
        "app_id": "string",
        "app_port": 0,
        "app_protocol": "string",
    },
    workload_profile_name="string")
const appResource = new azure.containerapp.App("appResource", {
    containerAppEnvironmentId: "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",
                initialDelay: 0,
                intervalSeconds: 0,
                path: "string",
                successCountThreshold: 0,
                timeout: 0,
            }],
            startupProbes: [{
                port: 0,
                transport: "string",
                failureCountThreshold: 0,
                headers: [{
                    name: "string",
                    value: "string",
                }],
                host: "string",
                initialDelay: 0,
                intervalSeconds: 0,
                path: "string",
                terminationGracePeriodSeconds: 0,
                timeout: 0,
            }],
            volumeMounts: [{
                name: "string",
                path: "string",
                subPath: "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",
                subPath: "string",
            }],
        }],
        maxReplicas: 0,
        minReplicas: 0,
        revisionSuffix: "string",
        tcpScaleRules: [{
            concurrentRequests: "string",
            name: "string",
            authentications: [{
                secretName: "string",
                triggerParameter: "string",
            }],
        }],
        terminationGracePeriodSeconds: 0,
        volumes: [{
            name: "string",
            storageName: "string",
            storageType: "string",
        }],
    },
    revisionMode: "string",
    resourceGroupName: "string",
    registries: [{
        server: "string",
        identity: "string",
        passwordSecretName: "string",
        username: "string",
    }],
    name: "string",
    maxInactiveRevisions: 0,
    ingress: {
        targetPort: 0,
        trafficWeights: [{
            percentage: 0,
            label: "string",
            latestRevision: false,
            revisionSuffix: "string",
        }],
        allowInsecureConnections: false,
        clientCertificateMode: "string",
        customDomains: [{
            certificateBindingType: "string",
            certificateId: "string",
            name: "string",
        }],
        exposedPort: 0,
        externalEnabled: false,
        fqdn: "string",
        ipSecurityRestrictions: [{
            action: "string",
            ipAddressRange: "string",
            name: "string",
            description: "string",
        }],
        transport: "string",
    },
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    secrets: [{
        name: "string",
        identity: "string",
        keyVaultSecretId: "string",
        value: "string",
    }],
    tags: {
        string: "string",
    },
    dapr: {
        appId: "string",
        appPort: 0,
        appProtocol: "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
        clientCertificateMode: string
        customDomains:
            - certificateBindingType: string
              certificateId: string
              name: string
        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
    maxInactiveRevisions: 0
    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
                  initialDelay: 0
                  intervalSeconds: 0
                  path: string
                  port: 0
                  successCountThreshold: 0
                  timeout: 0
                  transport: string
              startupProbes:
                - failureCountThreshold: 0
                  headers:
                    - name: string
                      value: string
                  host: string
                  initialDelay: 0
                  intervalSeconds: 0
                  path: string
                  port: 0
                  terminationGracePeriodSeconds: 0
                  timeout: 0
                  transport: string
              volumeMounts:
                - name: string
                  path: string
                  subPath: 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
                  subPath: string
        maxReplicas: 0
        minReplicas: 0
        revisionSuffix: string
        tcpScaleRules:
            - authentications:
                - secretName: string
                  triggerParameter: string
              concurrentRequests: string
              name: string
        terminationGracePeriodSeconds: 0
        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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The App resource accepts the following input properties:
- ContainerApp stringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- Template
AppTemplate 
- A templateblock as detailed below.
- Dapr
AppDapr 
- A daprblock as detailed below.
- Identity
AppIdentity 
- An identityblock as detailed below.
- Ingress
AppIngress 
- An ingressblock as detailed below.
- MaxInactive intRevisions 
- The maximum of inactive revisions allowed for this Container App.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Registries
List<AppRegistry> 
- A registryblock as detailed below.
- Secrets
List<AppSecret> 
- One or more secretblock as detailed below.
- Dictionary<string, string>
- A mapping of tags to assign to the Container App.
- WorkloadProfile stringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- ContainerApp stringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- Template
AppTemplate Args 
- A templateblock as detailed below.
- Dapr
AppDapr Args 
- A daprblock as detailed below.
- Identity
AppIdentity Args 
- An identityblock as detailed below.
- Ingress
AppIngress Args 
- An ingressblock as detailed below.
- MaxInactive intRevisions 
- The maximum of inactive revisions allowed for this Container App.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Registries
[]AppRegistry Args 
- A registryblock as detailed below.
- Secrets
[]AppSecret Args 
- One or more secretblock as detailed below.
- map[string]string
- A mapping of tags to assign to the Container App.
- WorkloadProfile stringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- containerApp StringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- template
AppTemplate 
- A templateblock as detailed below.
- dapr
AppDapr 
- A daprblock as detailed below.
- identity
AppIdentity 
- An identityblock as detailed below.
- ingress
AppIngress 
- An ingressblock as detailed below.
- maxInactive IntegerRevisions 
- The maximum of inactive revisions allowed for this Container App.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- registries
List<AppRegistry> 
- A registryblock as detailed below.
- secrets
List<AppSecret> 
- One or more secretblock as detailed below.
- Map<String,String>
- A mapping of tags to assign to the Container App.
- workloadProfile StringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- containerApp stringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resourceGroup stringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- template
AppTemplate 
- A templateblock as detailed below.
- dapr
AppDapr 
- A daprblock as detailed below.
- identity
AppIdentity 
- An identityblock as detailed below.
- ingress
AppIngress 
- An ingressblock as detailed below.
- maxInactive numberRevisions 
- The maximum of inactive revisions allowed for this Container App.
- name string
- The name for this Container App. Changing this forces a new resource to be created.
- registries
AppRegistry[] 
- A registryblock as detailed below.
- secrets
AppSecret[] 
- One or more secretblock as detailed below.
- {[key: string]: string}
- A mapping of tags to assign to the Container App.
- workloadProfile stringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- container_app_ strenvironment_ id 
- 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_ strname 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- template
AppTemplate Args 
- A templateblock as detailed below.
- dapr
AppDapr Args 
- A daprblock as detailed below.
- identity
AppIdentity Args 
- An identityblock as detailed below.
- ingress
AppIngress Args 
- An ingressblock as detailed below.
- max_inactive_ intrevisions 
- The maximum of inactive revisions allowed for this Container App.
- name str
- The name for this Container App. Changing this forces a new resource to be created.
- registries
Sequence[AppRegistry Args] 
- A registryblock as detailed below.
- secrets
Sequence[AppSecret Args] 
- One or more secretblock as detailed below.
- Mapping[str, str]
- A mapping of tags to assign to the Container App.
- workload_profile_ strname 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- containerApp StringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- template Property Map
- A templateblock as detailed below.
- dapr Property Map
- A daprblock as detailed below.
- identity Property Map
- An identityblock as detailed below.
- ingress Property Map
- An ingressblock as detailed below.
- maxInactive NumberRevisions 
- The maximum of inactive revisions allowed for this Container App.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- registries List<Property Map>
- A registryblock as detailed below.
- secrets List<Property Map>
- One or more secretblock as detailed below.
- Map<String>
- A mapping of tags to assign to the Container App.
- workloadProfile StringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- CustomDomain stringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestRevision stringFqdn 
- The FQDN of the Latest Revision of the Container App.
- LatestRevision stringName 
- 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.
- OutboundIp List<string>Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- CustomDomain stringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestRevision stringFqdn 
- The FQDN of the Latest Revision of the Container App.
- LatestRevision stringName 
- 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.
- OutboundIp []stringAddresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- customDomain StringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- id String
- The provider-assigned unique ID for this managed resource.
- latestRevision StringFqdn 
- The FQDN of the Latest Revision of the Container App.
- latestRevision StringName 
- 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.
- outboundIp List<String>Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- customDomain stringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- id string
- The provider-assigned unique ID for this managed resource.
- latestRevision stringFqdn 
- The FQDN of the Latest Revision of the Container App.
- latestRevision stringName 
- 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.
- outboundIp string[]Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- custom_domain_ strverification_ id 
- The ID of the Custom Domain Verification for this Container App.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_revision_ strfqdn 
- The FQDN of the Latest Revision of the Container App.
- latest_revision_ strname 
- 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_ Sequence[str]addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- customDomain StringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- id String
- The provider-assigned unique ID for this managed resource.
- latestRevision StringFqdn 
- The FQDN of the Latest Revision of the Container App.
- latestRevision StringName 
- 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.
- outboundIp List<String>Addresses 
- 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,
        max_inactive_revisions: Optional[int] = 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) -> Appfunc 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)resources:  _:    type: azure:containerapp:App    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ContainerApp stringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- CustomDomain stringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- Dapr
AppDapr 
- A daprblock as detailed below.
- Identity
AppIdentity 
- An identityblock as detailed below.
- Ingress
AppIngress 
- An ingressblock as detailed below.
- LatestRevision stringFqdn 
- The FQDN of the Latest Revision of the Container App.
- LatestRevision stringName 
- 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.
- MaxInactive intRevisions 
- The maximum of inactive revisions allowed for this Container App.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- OutboundIp List<string>Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- Registries
List<AppRegistry> 
- A registryblock as detailed below.
- ResourceGroup stringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- Secrets
List<AppSecret> 
- One or more secretblock as detailed below.
- Dictionary<string, string>
- A mapping of tags to assign to the Container App.
- Template
AppTemplate 
- A templateblock as detailed below.
- WorkloadProfile stringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- ContainerApp stringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- CustomDomain stringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- Dapr
AppDapr Args 
- A daprblock as detailed below.
- Identity
AppIdentity Args 
- An identityblock as detailed below.
- Ingress
AppIngress Args 
- An ingressblock as detailed below.
- LatestRevision stringFqdn 
- The FQDN of the Latest Revision of the Container App.
- LatestRevision stringName 
- 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.
- MaxInactive intRevisions 
- The maximum of inactive revisions allowed for this Container App.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- OutboundIp []stringAddresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- Registries
[]AppRegistry Args 
- A registryblock as detailed below.
- ResourceGroup stringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- Secrets
[]AppSecret Args 
- One or more secretblock as detailed below.
- map[string]string
- A mapping of tags to assign to the Container App.
- Template
AppTemplate Args 
- A templateblock as detailed below.
- WorkloadProfile stringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- containerApp StringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- customDomain StringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- dapr
AppDapr 
- A daprblock as detailed below.
- identity
AppIdentity 
- An identityblock as detailed below.
- ingress
AppIngress 
- An ingressblock as detailed below.
- latestRevision StringFqdn 
- The FQDN of the Latest Revision of the Container App.
- latestRevision StringName 
- 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.
- maxInactive IntegerRevisions 
- The maximum of inactive revisions allowed for this Container App.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- outboundIp List<String>Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries
List<AppRegistry> 
- A registryblock as detailed below.
- resourceGroup StringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- secrets
List<AppSecret> 
- One or more secretblock as detailed below.
- Map<String,String>
- A mapping of tags to assign to the Container App.
- template
AppTemplate 
- A templateblock as detailed below.
- workloadProfile StringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- containerApp stringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- customDomain stringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- dapr
AppDapr 
- A daprblock as detailed below.
- identity
AppIdentity 
- An identityblock as detailed below.
- ingress
AppIngress 
- An ingressblock as detailed below.
- latestRevision stringFqdn 
- The FQDN of the Latest Revision of the Container App.
- latestRevision stringName 
- 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.
- maxInactive numberRevisions 
- The maximum of inactive revisions allowed for this Container App.
- name string
- The name for this Container App. Changing this forces a new resource to be created.
- outboundIp string[]Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries
AppRegistry[] 
- A registryblock as detailed below.
- resourceGroup stringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- secrets
AppSecret[] 
- One or more secretblock as detailed below.
- {[key: string]: string}
- A mapping of tags to assign to the Container App.
- template
AppTemplate 
- A templateblock as detailed below.
- workloadProfile stringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- container_app_ strenvironment_ id 
- 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_ strverification_ id 
- The ID of the Custom Domain Verification for this Container App.
- dapr
AppDapr Args 
- A daprblock as detailed below.
- identity
AppIdentity Args 
- An identityblock as detailed below.
- ingress
AppIngress Args 
- An ingressblock as detailed below.
- latest_revision_ strfqdn 
- The FQDN of the Latest Revision of the Container App.
- latest_revision_ strname 
- 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.
- max_inactive_ intrevisions 
- The maximum of inactive revisions allowed for this Container App.
- name str
- The name for this Container App. Changing this forces a new resource to be created.
- outbound_ip_ Sequence[str]addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries
Sequence[AppRegistry Args] 
- A registryblock as detailed below.
- resource_group_ strname 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- secrets
Sequence[AppSecret Args] 
- One or more secretblock as detailed below.
- Mapping[str, str]
- A mapping of tags to assign to the Container App.
- template
AppTemplate Args 
- A templateblock as detailed below.
- workload_profile_ strname 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload Profile.
- containerApp StringEnvironment Id 
- The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- customDomain StringVerification Id 
- The ID of the Custom Domain Verification for this Container App.
- dapr Property Map
- A daprblock as detailed below.
- identity Property Map
- An identityblock as detailed below.
- ingress Property Map
- An ingressblock as detailed below.
- latestRevision StringFqdn 
- The FQDN of the Latest Revision of the Container App.
- latestRevision StringName 
- 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.
- maxInactive NumberRevisions 
- The maximum of inactive revisions allowed for this Container App.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- outboundIp List<String>Addresses 
- A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries List<Property Map>
- A registryblock as detailed below.
- resourceGroup StringName 
- 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 SingleandMultiple. InSinglemode, a single revision is in operation at any given time. InMultiplemode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weightblock in theingressconfiguration.
- secrets List<Property Map>
- One or more secretblock as detailed below.
- Map<String>
- A mapping of tags to assign to the Container App.
- template Property Map
- A templateblock as detailed below.
- workloadProfile StringName 
- The name of the Workload Profile in the Container App Environment to place this Container App. - Note: Omit this value to use the default - ConsumptionWorkload 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 ingressport.
- AppProtocol string
- The protocol for the app. Possible values include httpandgrpc. Defaults tohttp.
- AppId string
- The Dapr Application Identifier.
- AppPort int
- The port which the application is listening on. This is the same as the ingressport.
- AppProtocol string
- The protocol for the app. Possible values include httpandgrpc. Defaults tohttp.
- appId String
- The Dapr Application Identifier.
- appPort Integer
- The port which the application is listening on. This is the same as the ingressport.
- appProtocol String
- The protocol for the app. Possible values include httpandgrpc. Defaults tohttp.
- appId string
- The Dapr Application Identifier.
- appPort number
- The port which the application is listening on. This is the same as the ingressport.
- appProtocol string
- The protocol for the app. Possible values include httpandgrpc. Defaults tohttp.
- app_id str
- The Dapr Application Identifier.
- app_port int
- The port which the application is listening on. This is the same as the ingressport.
- app_protocol str
- The protocol for the app. Possible values include httpandgrpc. Defaults tohttp.
- appId String
- The Dapr Application Identifier.
- appPort Number
- The port which the application is listening on. This is the same as the ingressport.
- appProtocol String
- The protocol for the app. Possible values include httpandgrpc. Defaults tohttp.
AppIdentity, AppIdentityArgs    
- Type string
- The type of managed identity to assign. Possible values are SystemAssigned,UserAssigned, andSystemAssigned, UserAssigned(to enable both).
- IdentityIds List<string>
- A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when typeis set toUserAssignedorSystemAssigned, UserAssigned.
- PrincipalId string
- TenantId string
- Type string
- The type of managed identity to assign. Possible values are SystemAssigned,UserAssigned, andSystemAssigned, UserAssigned(to enable both).
- IdentityIds []string
- A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when typeis set toUserAssignedorSystemAssigned, UserAssigned.
- PrincipalId string
- TenantId string
- type String
- The type of managed identity to assign. Possible values are SystemAssigned,UserAssigned, andSystemAssigned, UserAssigned(to enable both).
- identityIds List<String>
- A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when typeis set toUserAssignedorSystemAssigned, UserAssigned.
- principalId String
- tenantId String
- type string
- The type of managed identity to assign. Possible values are SystemAssigned,UserAssigned, andSystemAssigned, UserAssigned(to enable both).
- identityIds string[]
- A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when typeis set toUserAssignedorSystemAssigned, UserAssigned.
- principalId string
- tenantId string
- type str
- The type of managed identity to assign. Possible values are SystemAssigned,UserAssigned, andSystemAssigned, 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 typeis set toUserAssignedorSystemAssigned, UserAssigned.
- principal_id str
- tenant_id str
- type String
- The type of managed identity to assign. Possible values are SystemAssigned,UserAssigned, andSystemAssigned, UserAssigned(to enable both).
- identityIds List<String>
- A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when typeis set toUserAssignedorSystemAssigned, UserAssigned.
- principalId String
- tenantId String
AppIngress, AppIngressArgs    
- TargetPort int
- The target port on the container for the Ingress traffic.
- TrafficWeights List<AppIngress Traffic Weight> 
- One or more traffic_weightblocks as detailed below.
- AllowInsecure boolConnections 
- Should this ingress allow insecure connections?
- ClientCertificate stringMode 
- The client certificate mode for the Ingress. Possible values are require,accept, andignore.
- CustomDomains List<AppIngress Custom Domain> 
- One or more custom_domainblock as detailed below.
- ExposedPort int
- The exposed port on the container for the Ingress traffic. - Note: - exposed_portcan only be specified when- transportis 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.
- IpSecurity List<AppRestrictions Ingress Ip Security Restriction> 
- One or more ip_security_restrictionblocks for IP-filtering rules as defined below.
- Transport string
- The transport method for the Ingress. Possible values are - auto,- http,- http2and- tcp. Defaults to- auto.- Note: if - transportis set to- tcp,- exposed_portand- target_portshould be set at the same time.
- TargetPort int
- The target port on the container for the Ingress traffic.
- TrafficWeights []AppIngress Traffic Weight 
- One or more traffic_weightblocks as detailed below.
- AllowInsecure boolConnections 
- Should this ingress allow insecure connections?
- ClientCertificate stringMode 
- The client certificate mode for the Ingress. Possible values are require,accept, andignore.
- CustomDomains []AppIngress Custom Domain 
- One or more custom_domainblock as detailed below.
- ExposedPort int
- The exposed port on the container for the Ingress traffic. - Note: - exposed_portcan only be specified when- transportis 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.
- IpSecurity []AppRestrictions Ingress Ip Security Restriction 
- One or more ip_security_restrictionblocks for IP-filtering rules as defined below.
- Transport string
- The transport method for the Ingress. Possible values are - auto,- http,- http2and- tcp. Defaults to- auto.- Note: if - transportis set to- tcp,- exposed_portand- target_portshould be set at the same time.
- targetPort Integer
- The target port on the container for the Ingress traffic.
- trafficWeights List<AppIngress Traffic Weight> 
- One or more traffic_weightblocks as detailed below.
- allowInsecure BooleanConnections 
- Should this ingress allow insecure connections?
- clientCertificate StringMode 
- The client certificate mode for the Ingress. Possible values are require,accept, andignore.
- customDomains List<AppIngress Custom Domain> 
- One or more custom_domainblock as detailed below.
- exposedPort Integer
- The exposed port on the container for the Ingress traffic. - Note: - exposed_portcan only be specified when- transportis 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.
- ipSecurity List<AppRestrictions Ingress Ip Security Restriction> 
- One or more ip_security_restrictionblocks for IP-filtering rules as defined below.
- transport String
- The transport method for the Ingress. Possible values are - auto,- http,- http2and- tcp. Defaults to- auto.- Note: if - transportis set to- tcp,- exposed_portand- target_portshould be set at the same time.
- targetPort number
- The target port on the container for the Ingress traffic.
- trafficWeights AppIngress Traffic Weight[] 
- One or more traffic_weightblocks as detailed below.
- allowInsecure booleanConnections 
- Should this ingress allow insecure connections?
- clientCertificate stringMode 
- The client certificate mode for the Ingress. Possible values are require,accept, andignore.
- customDomains AppIngress Custom Domain[] 
- One or more custom_domainblock as detailed below.
- exposedPort number
- The exposed port on the container for the Ingress traffic. - Note: - exposed_portcan only be specified when- transportis 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.
- ipSecurity AppRestrictions Ingress Ip Security Restriction[] 
- One or more ip_security_restrictionblocks for IP-filtering rules as defined below.
- transport string
- The transport method for the Ingress. Possible values are - auto,- http,- http2and- tcp. Defaults to- auto.- Note: if - transportis set to- tcp,- exposed_portand- target_portshould be set at the same time.
- target_port int
- The target port on the container for the Ingress traffic.
- traffic_weights Sequence[AppIngress Traffic Weight] 
- One or more traffic_weightblocks as detailed below.
- allow_insecure_ boolconnections 
- Should this ingress allow insecure connections?
- client_certificate_ strmode 
- The client certificate mode for the Ingress. Possible values are require,accept, andignore.
- custom_domains Sequence[AppIngress Custom Domain] 
- One or more custom_domainblock as detailed below.
- exposed_port int
- The exposed port on the container for the Ingress traffic. - Note: - exposed_portcan only be specified when- transportis 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_ Sequence[Apprestrictions Ingress Ip Security Restriction] 
- One or more ip_security_restrictionblocks for IP-filtering rules as defined below.
- transport str
- The transport method for the Ingress. Possible values are - auto,- http,- http2and- tcp. Defaults to- auto.- Note: if - transportis set to- tcp,- exposed_portand- target_portshould be set at the same time.
- targetPort Number
- The target port on the container for the Ingress traffic.
- trafficWeights List<Property Map>
- One or more traffic_weightblocks as detailed below.
- allowInsecure BooleanConnections 
- Should this ingress allow insecure connections?
- clientCertificate StringMode 
- The client certificate mode for the Ingress. Possible values are require,accept, andignore.
- customDomains List<Property Map>
- One or more custom_domainblock as detailed below.
- exposedPort Number
- The exposed port on the container for the Ingress traffic. - Note: - exposed_portcan only be specified when- transportis 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.
- ipSecurity List<Property Map>Restrictions 
- One or more ip_security_restrictionblocks for IP-filtering rules as defined below.
- transport String
- The transport method for the Ingress. Possible values are - auto,- http,- http2and- tcp. Defaults to- auto.- Note: if - transportis set to- tcp,- exposed_portand- target_portshould be set at the same time.
AppIngressCustomDomain, AppIngressCustomDomainArgs        
- CertificateBinding stringType 
- The Binding type.
- CertificateId string
- The ID of the Container App Environment Certificate.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- CertificateBinding stringType 
- The Binding type.
- CertificateId string
- The ID of the Container App Environment Certificate.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- certificateBinding StringType 
- The Binding type.
- certificateId String
- The ID of the Container App Environment Certificate.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- certificateBinding stringType 
- The Binding type.
- certificateId string
- The ID of the Container App Environment Certificate.
- name string
- The name for this Container App. Changing this forces a new resource to be created.
- certificate_binding_ strtype 
- The Binding type.
- certificate_id str
- The ID of the Container App Environment Certificate.
- name str
- The name for this Container App. Changing this forces a new resource to be created.
- certificateBinding StringType 
- The Binding type.
- certificateId String
- The ID of the Container App Environment Certificate.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
AppIngressIpSecurityRestriction, AppIngressIpSecurityRestrictionArgs          
- Action string
- The IP-filter action. - Allowor- Deny.- NOTE: The - actiontypes in an all- ip_security_restrictionblocks must be the same for the- ingress, mixing- Allowand- Denyrules is not currently supported by the service.
- IpAddress stringRange 
- 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. - Allowor- Deny.- NOTE: The - actiontypes in an all- ip_security_restrictionblocks must be the same for the- ingress, mixing- Allowand- Denyrules is not currently supported by the service.
- IpAddress stringRange 
- 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. - Allowor- Deny.- NOTE: The - actiontypes in an all- ip_security_restrictionblocks must be the same for the- ingress, mixing- Allowand- Denyrules is not currently supported by the service.
- ipAddress StringRange 
- 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. - Allowor- Deny.- NOTE: The - actiontypes in an all- ip_security_restrictionblocks must be the same for the- ingress, mixing- Allowand- Denyrules is not currently supported by the service.
- ipAddress stringRange 
- 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. - Allowor- Deny.- NOTE: The - actiontypes in an all- ip_security_restrictionblocks must be the same for the- ingress, mixing- Allowand- Denyrules is not currently supported by the service.
- ip_address_ strrange 
- 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. - Allowor- Deny.- NOTE: The - actiontypes in an all- ip_security_restrictionblocks must be the same for the- ingress, mixing- Allowand- Denyrules is not currently supported by the service.
- ipAddress StringRange 
- 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 - weightmust 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_weightblock can have thelatest_revisionset totrue.
- RevisionSuffix string
- The suffix string to which this - traffic_weightapplies.- Note: If - latest_revisionis- false, the- revision_suffixshall be specified.
- Percentage int
- The percentage of traffic which should be sent this revision. - Note: The cumulative values for - weightmust 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_weightblock can have thelatest_revisionset totrue.
- RevisionSuffix string
- The suffix string to which this - traffic_weightapplies.- Note: If - latest_revisionis- false, the- revision_suffixshall be specified.
- percentage Integer
- The percentage of traffic which should be sent this revision. - Note: The cumulative values for - weightmust 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_weightblock can have thelatest_revisionset totrue.
- revisionSuffix String
- The suffix string to which this - traffic_weightapplies.- Note: If - latest_revisionis- false, the- revision_suffixshall be specified.
- percentage number
- The percentage of traffic which should be sent this revision. - Note: The cumulative values for - weightmust 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_weightblock can have thelatest_revisionset totrue.
- revisionSuffix string
- The suffix string to which this - traffic_weightapplies.- Note: If - latest_revisionis- false, the- revision_suffixshall be specified.
- percentage int
- The percentage of traffic which should be sent this revision. - Note: The cumulative values for - weightmust 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_weightblock can have thelatest_revisionset totrue.
- revision_suffix str
- The suffix string to which this - traffic_weightapplies.- Note: If - latest_revisionis- false, the- revision_suffixshall be specified.
- percentage Number
- The percentage of traffic which should be sent this revision. - Note: The cumulative values for - weightmust 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_weightblock can have thelatest_revisionset totrue.
- revisionSuffix String
- The suffix string to which this - traffic_weightapplies.- Note: If - latest_revisionis- false, the- revision_suffixshall be specified.
AppRegistry, AppRegistryArgs    
- Server string
- The hostname for the Container Registry. - The authentication details must also be supplied, - identityand- username/- password_secret_nameare 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 - identityblock.
- PasswordSecret stringName 
- The name of the Secret Reference containing the password value for this user on the Container Registry, usernamemust also be supplied.
- Username string
- The username to use for this Container Registry, password_secret_namemust also be supplied..
- Server string
- The hostname for the Container Registry. - The authentication details must also be supplied, - identityand- username/- password_secret_nameare 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 - identityblock.
- PasswordSecret stringName 
- The name of the Secret Reference containing the password value for this user on the Container Registry, usernamemust also be supplied.
- Username string
- The username to use for this Container Registry, password_secret_namemust also be supplied..
- server String
- The hostname for the Container Registry. - The authentication details must also be supplied, - identityand- username/- password_secret_nameare 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 - identityblock.
- passwordSecret StringName 
- The name of the Secret Reference containing the password value for this user on the Container Registry, usernamemust also be supplied.
- username String
- The username to use for this Container Registry, password_secret_namemust also be supplied..
- server string
- The hostname for the Container Registry. - The authentication details must also be supplied, - identityand- username/- password_secret_nameare 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 - identityblock.
- passwordSecret stringName 
- The name of the Secret Reference containing the password value for this user on the Container Registry, usernamemust also be supplied.
- username string
- The username to use for this Container Registry, password_secret_namemust also be supplied..
- server str
- The hostname for the Container Registry. - The authentication details must also be supplied, - identityand- username/- password_secret_nameare 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 - identityblock.
- password_secret_ strname 
- The name of the Secret Reference containing the password value for this user on the Container Registry, usernamemust also be supplied.
- username str
- The username to use for this Container Registry, password_secret_namemust also be supplied..
- server String
- The hostname for the Container Registry. - The authentication details must also be supplied, - identityand- username/- password_secret_nameare 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 - identityblock.
- passwordSecret StringName 
- The name of the Secret Reference containing the password value for this user on the Container Registry, usernamemust also be supplied.
- username String
- The username to use for this Container Registry, password_secret_namemust 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 - Systemfor the System Assigned Identity.- !> Note: - identitymust be used together with- key_vault_secret_id
- KeyVault stringSecret Id 
- The ID of a Key Vault secret. This can be a versioned or version-less ID. - !> Note: When using - key_vault_secret_id,- ignore_changesshould be used to ignore any changes to- value.
- Value string
- The value for this secret. - !> Note: - valuewill be ignored if- key_vault_secret_idand- identityare 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 - Systemfor the System Assigned Identity.- !> Note: - identitymust be used together with- key_vault_secret_id
- KeyVault stringSecret Id 
- The ID of a Key Vault secret. This can be a versioned or version-less ID. - !> Note: When using - key_vault_secret_id,- ignore_changesshould be used to ignore any changes to- value.
- Value string
- The value for this secret. - !> Note: - valuewill be ignored if- key_vault_secret_idand- identityare 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 - Systemfor the System Assigned Identity.- !> Note: - identitymust be used together with- key_vault_secret_id
- keyVault StringSecret Id 
- The ID of a Key Vault secret. This can be a versioned or version-less ID. - !> Note: When using - key_vault_secret_id,- ignore_changesshould be used to ignore any changes to- value.
- value String
- The value for this secret. - !> Note: - valuewill be ignored if- key_vault_secret_idand- identityare 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 - Systemfor the System Assigned Identity.- !> Note: - identitymust be used together with- key_vault_secret_id
- keyVault stringSecret Id 
- The ID of a Key Vault secret. This can be a versioned or version-less ID. - !> Note: When using - key_vault_secret_id,- ignore_changesshould be used to ignore any changes to- value.
- value string
- The value for this secret. - !> Note: - valuewill be ignored if- key_vault_secret_idand- identityare 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 - Systemfor the System Assigned Identity.- !> Note: - identitymust be used together with- key_vault_secret_id
- key_vault_ strsecret_ id 
- The ID of a Key Vault secret. This can be a versioned or version-less ID. - !> Note: When using - key_vault_secret_id,- ignore_changesshould be used to ignore any changes to- value.
- value str
- The value for this secret. - !> Note: - valuewill be ignored if- key_vault_secret_idand- identityare 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 - Systemfor the System Assigned Identity.- !> Note: - identitymust be used together with- key_vault_secret_id
- keyVault StringSecret Id 
- The ID of a Key Vault secret. This can be a versioned or version-less ID. - !> Note: When using - key_vault_secret_id,- ignore_changesshould be used to ignore any changes to- value.
- value String
- The value for this secret. - !> Note: - valuewill be ignored if- key_vault_secret_idand- identityare provided.
AppTemplate, AppTemplateArgs    
- Containers
List<AppTemplate Container> 
- One or more containerblocks as detailed below.
- AzureQueue List<AppScale Rules Template Azure Queue Scale Rule> 
- One or more azure_queue_scale_ruleblocks as defined below.
- CustomScale List<AppRules Template Custom Scale Rule> 
- One or more custom_scale_ruleblocks as defined below.
- HttpScale List<AppRules Template Http Scale Rule> 
- One or more http_scale_ruleblocks as defined below.
- InitContainers List<AppTemplate Init Container> 
- The definition of an init container that is part of the group as documented in the init_containerblock 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.
- TcpScale List<AppRules Template Tcp Scale Rule> 
- One or more tcp_scale_ruleblocks as defined below.
- TerminationGrace intPeriod Seconds 
- The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- Volumes
List<AppTemplate Volume> 
- A volumeblock as detailed below.
- Containers
[]AppTemplate Container 
- One or more containerblocks as detailed below.
- AzureQueue []AppScale Rules Template Azure Queue Scale Rule 
- One or more azure_queue_scale_ruleblocks as defined below.
- CustomScale []AppRules Template Custom Scale Rule 
- One or more custom_scale_ruleblocks as defined below.
- HttpScale []AppRules Template Http Scale Rule 
- One or more http_scale_ruleblocks as defined below.
- InitContainers []AppTemplate Init Container 
- The definition of an init container that is part of the group as documented in the init_containerblock 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.
- TcpScale []AppRules Template Tcp Scale Rule 
- One or more tcp_scale_ruleblocks as defined below.
- TerminationGrace intPeriod Seconds 
- The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- Volumes
[]AppTemplate Volume 
- A volumeblock as detailed below.
- containers
List<AppTemplate Container> 
- One or more containerblocks as detailed below.
- azureQueue List<AppScale Rules Template Azure Queue Scale Rule> 
- One or more azure_queue_scale_ruleblocks as defined below.
- customScale List<AppRules Template Custom Scale Rule> 
- One or more custom_scale_ruleblocks as defined below.
- httpScale List<AppRules Template Http Scale Rule> 
- One or more http_scale_ruleblocks as defined below.
- initContainers List<AppTemplate Init Container> 
- The definition of an init container that is part of the group as documented in the init_containerblock 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.
- tcpScale List<AppRules Template Tcp Scale Rule> 
- One or more tcp_scale_ruleblocks as defined below.
- terminationGrace IntegerPeriod Seconds 
- The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- volumes
List<AppTemplate Volume> 
- A volumeblock as detailed below.
- containers
AppTemplate Container[] 
- One or more containerblocks as detailed below.
- azureQueue AppScale Rules Template Azure Queue Scale Rule[] 
- One or more azure_queue_scale_ruleblocks as defined below.
- customScale AppRules Template Custom Scale Rule[] 
- One or more custom_scale_ruleblocks as defined below.
- httpScale AppRules Template Http Scale Rule[] 
- One or more http_scale_ruleblocks as defined below.
- initContainers AppTemplate Init Container[] 
- The definition of an init container that is part of the group as documented in the init_containerblock 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.
- tcpScale AppRules Template Tcp Scale Rule[] 
- One or more tcp_scale_ruleblocks as defined below.
- terminationGrace numberPeriod Seconds 
- The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- volumes
AppTemplate Volume[] 
- A volumeblock as detailed below.
- containers
Sequence[AppTemplate Container] 
- One or more containerblocks as detailed below.
- azure_queue_ Sequence[Appscale_ rules Template Azure Queue Scale Rule] 
- One or more azure_queue_scale_ruleblocks as defined below.
- custom_scale_ Sequence[Apprules Template Custom Scale Rule] 
- One or more custom_scale_ruleblocks as defined below.
- http_scale_ Sequence[Apprules Template Http Scale Rule] 
- One or more http_scale_ruleblocks as defined below.
- init_containers Sequence[AppTemplate Init Container] 
- The definition of an init container that is part of the group as documented in the init_containerblock 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_ Sequence[Apprules Template Tcp Scale Rule] 
- One or more tcp_scale_ruleblocks as defined below.
- termination_grace_ intperiod_ seconds 
- The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- volumes
Sequence[AppTemplate Volume] 
- A volumeblock as detailed below.
- containers List<Property Map>
- One or more containerblocks as detailed below.
- azureQueue List<Property Map>Scale Rules 
- One or more azure_queue_scale_ruleblocks as defined below.
- customScale List<Property Map>Rules 
- One or more custom_scale_ruleblocks as defined below.
- httpScale List<Property Map>Rules 
- One or more http_scale_ruleblocks as defined below.
- initContainers List<Property Map>
- The definition of an init container that is part of the group as documented in the init_containerblock 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.
- tcpScale List<Property Map>Rules 
- One or more tcp_scale_ruleblocks as defined below.
- terminationGrace NumberPeriod Seconds 
- The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- volumes List<Property Map>
- A volumeblock as detailed below.
AppTemplateAzureQueueScaleRule, AppTemplateAzureQueueScaleRuleArgs            
- Authentications
List<AppTemplate Azure Queue Scale Rule Authentication> 
- One or more authenticationblocks 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
[]AppTemplate Azure Queue Scale Rule Authentication 
- One or more authenticationblocks 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<AppTemplate Azure Queue Scale Rule Authentication> 
- One or more authenticationblocks 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
AppTemplate Azure Queue Scale Rule Authentication[] 
- One or more authenticationblocks 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[AppTemplate Azure Queue Scale Rule Authentication] 
- One or more authenticationblocks 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 authenticationblocks 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 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<AppTemplate Container Env> 
- One or more envblocks as detailed below.
- EphemeralStorage string
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis currently in preview and not configurable at this time.
- LivenessProbes List<AppTemplate Container Liveness Probe> 
- A liveness_probeblock as detailed below.
- ReadinessProbes List<AppTemplate Container Readiness Probe> 
- A readiness_probeblock as detailed below.
- StartupProbes List<AppTemplate Container Startup Probe> 
- A startup_probeblock as detailed below.
- VolumeMounts List<AppTemplate Container Volume Mount> 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 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
[]AppTemplate Container Env 
- One or more envblocks as detailed below.
- EphemeralStorage string
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis currently in preview and not configurable at this time.
- LivenessProbes []AppTemplate Container Liveness Probe 
- A liveness_probeblock as detailed below.
- ReadinessProbes []AppTemplate Container Readiness Probe 
- A readiness_probeblock as detailed below.
- StartupProbes []AppTemplate Container Startup Probe 
- A startup_probeblock as detailed below.
- VolumeMounts []AppTemplate Container Volume Mount 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 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<AppTemplate Container Env> 
- One or more envblocks as detailed below.
- ephemeralStorage String
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis currently in preview and not configurable at this time.
- livenessProbes List<AppTemplate Container Liveness Probe> 
- A liveness_probeblock as detailed below.
- readinessProbes List<AppTemplate Container Readiness Probe> 
- A readiness_probeblock as detailed below.
- startupProbes List<AppTemplate Container Startup Probe> 
- A startup_probeblock as detailed below.
- volumeMounts List<AppTemplate Container Volume Mount> 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 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
AppTemplate Container Env[] 
- One or more envblocks as detailed below.
- ephemeralStorage string
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis currently in preview and not configurable at this time.
- livenessProbes AppTemplate Container Liveness Probe[] 
- A liveness_probeblock as detailed below.
- readinessProbes AppTemplate Container Readiness Probe[] 
- A readiness_probeblock as detailed below.
- startupProbes AppTemplate Container Startup Probe[] 
- A startup_probeblock as detailed below.
- volumeMounts AppTemplate Container Volume Mount[] 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 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[AppTemplate Container Env] 
- One or more envblocks as detailed below.
- ephemeral_storage str
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis currently in preview and not configurable at this time.
- liveness_probes Sequence[AppTemplate Container Liveness Probe] 
- A liveness_probeblock as detailed below.
- readiness_probes Sequence[AppTemplate Container Readiness Probe] 
- A readiness_probeblock as detailed below.
- startup_probes Sequence[AppTemplate Container Startup Probe] 
- A startup_probeblock as detailed below.
- volume_mounts Sequence[AppTemplate Container Volume Mount] 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 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 envblocks as detailed below.
- ephemeralStorage String
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis currently in preview and not configurable at this time.
- livenessProbes List<Property Map>
- A liveness_probeblock as detailed below.
- readinessProbes List<Property Map>
- A readiness_probeblock as detailed below.
- startupProbes List<Property Map>
- A startup_probeblock as detailed below.
- volumeMounts List<Property Map>
- A volume_mountsblock 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_nameis 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_nameis 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_nameis 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_nameis 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_nameis 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_nameis used
AppTemplateContainerLivenessProbe, AppTemplateContainerLivenessProbeArgs          
- Port int
- The port number on which to connect. Possible values are between 1and65535.
- Transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- FailureCount intThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and10. Defaults to3.
- Headers
List<AppTemplate Container Liveness Probe Header> 
- A headerblock as detailed below.
- Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- InitialDelay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to1seconds.
- IntervalSeconds int
- How often, in seconds, the probe should run. Possible values are in the range 1-240. Defaults to10.
- Path string
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- TerminationGrace intPeriod Seconds 
- 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 to1.
- Port int
- The port number on which to connect. Possible values are between 1and65535.
- Transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- FailureCount intThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and10. Defaults to3.
- Headers
[]AppTemplate Container Liveness Probe Header 
- A headerblock as detailed below.
- Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- InitialDelay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to1seconds.
- IntervalSeconds int
- How often, in seconds, the probe should run. Possible values are in the range 1-240. Defaults to10.
- Path string
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- TerminationGrace intPeriod Seconds 
- 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 to1.
- port Integer
- The port number on which to connect. Possible values are between 1and65535.
- transport String
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount IntegerThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and10. Defaults to3.
- headers
List<AppTemplate Container Liveness Probe Header> 
- A headerblock as detailed below.
- host String
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay Integer
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to1seconds.
- intervalSeconds Integer
- How often, in seconds, the probe should run. Possible values are in the range 1-240. Defaults to10.
- path String
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- terminationGrace IntegerPeriod Seconds 
- 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 to1.
- port number
- The port number on which to connect. Possible values are between 1and65535.
- transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount numberThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and10. Defaults to3.
- headers
AppTemplate Container Liveness Probe Header[] 
- A headerblock as detailed below.
- host string
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay number
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to1seconds.
- intervalSeconds number
- How often, in seconds, the probe should run. Possible values are in the range 1-240. Defaults to10.
- path string
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- terminationGrace numberPeriod Seconds 
- 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 to1.
- port int
- The port number on which to connect. Possible values are between 1and65535.
- transport str
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failure_count_ intthreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and10. Defaults to3.
- headers
Sequence[AppTemplate Container Liveness Probe Header] 
- A headerblock as detailed below.
- host str
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initial_delay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to1seconds.
- interval_seconds int
- How often, in seconds, the probe should run. Possible values are in the range 1-240. Defaults to10.
- path str
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- termination_grace_ intperiod_ seconds 
- 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 to1.
- port Number
- The port number on which to connect. Possible values are between 1and65535.
- transport String
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount NumberThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and10. Defaults to3.
- headers List<Property Map>
- A headerblock as detailed below.
- host String
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay Number
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to1seconds.
- intervalSeconds Number
- How often, in seconds, the probe should run. Possible values are in the range 1-240. Defaults to10.
- path String
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- terminationGrace NumberPeriod Seconds 
- 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 to1.
AppTemplateContainerLivenessProbeHeader, AppTemplateContainerLivenessProbeHeaderArgs            
AppTemplateContainerReadinessProbe, AppTemplateContainerReadinessProbeArgs          
- Port int
- The port number on which to connect. Possible values are between 1and65535.
- Transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- FailureCount intThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- Headers
List<AppTemplate Container Readiness Probe Header> 
- A headerblock as detailed below.
- Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- InitialDelay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- IntervalSeconds int
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- Path string
- The URI to use for http type probes. Not valid for TCPtype probes. Defaults to/.
- SuccessCount intThreshold 
- The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1and10. Defaults to3.
- Timeout int
- Time in seconds after which the probe times out. Possible values are in the range 1-240. Defaults to1.
- Port int
- The port number on which to connect. Possible values are between 1and65535.
- Transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- FailureCount intThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- Headers
[]AppTemplate Container Readiness Probe Header 
- A headerblock as detailed below.
- Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- InitialDelay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- IntervalSeconds int
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- Path string
- The URI to use for http type probes. Not valid for TCPtype probes. Defaults to/.
- SuccessCount intThreshold 
- The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1and10. Defaults to3.
- Timeout int
- Time in seconds after which the probe times out. Possible values are in the range 1-240. Defaults to1.
- port Integer
- The port number on which to connect. Possible values are between 1and65535.
- transport String
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount IntegerThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers
List<AppTemplate Container Readiness Probe Header> 
- A headerblock as detailed below.
- host String
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay Integer
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- intervalSeconds Integer
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path String
- The URI to use for http type probes. Not valid for TCPtype probes. Defaults to/.
- successCount IntegerThreshold 
- The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1and10. Defaults to3.
- timeout Integer
- Time in seconds after which the probe times out. Possible values are in the range 1-240. Defaults to1.
- port number
- The port number on which to connect. Possible values are between 1and65535.
- transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount numberThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers
AppTemplate Container Readiness Probe Header[] 
- A headerblock as detailed below.
- host string
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay number
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- intervalSeconds number
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path string
- The URI to use for http type probes. Not valid for TCPtype probes. Defaults to/.
- successCount numberThreshold 
- The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1and10. Defaults to3.
- timeout number
- Time in seconds after which the probe times out. Possible values are in the range 1-240. Defaults to1.
- port int
- The port number on which to connect. Possible values are between 1and65535.
- transport str
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failure_count_ intthreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers
Sequence[AppTemplate Container Readiness Probe Header] 
- A headerblock as detailed below.
- host str
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initial_delay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- interval_seconds int
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path str
- The URI to use for http type probes. Not valid for TCPtype probes. Defaults to/.
- success_count_ intthreshold 
- The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1and10. Defaults to3.
- timeout int
- Time in seconds after which the probe times out. Possible values are in the range 1-240. Defaults to1.
- port Number
- The port number on which to connect. Possible values are between 1and65535.
- transport String
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount NumberThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers List<Property Map>
- A headerblock as detailed below.
- host String
- The probe hostname. Defaults to the pod IP address. Setting a value for Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay Number
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- intervalSeconds Number
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path String
- The URI to use for http type probes. Not valid for TCPtype probes. Defaults to/.
- successCount NumberThreshold 
- The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1and10. Defaults to3.
- timeout Number
- Time in seconds after which the probe times out. Possible values are in the range 1-240. Defaults to1.
AppTemplateContainerReadinessProbeHeader, AppTemplateContainerReadinessProbeHeaderArgs            
AppTemplateContainerStartupProbe, AppTemplateContainerStartupProbeArgs          
- Port int
- The port number on which to connect. Possible values are between 1and65535.
- Transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- FailureCount intThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- Headers
List<AppTemplate Container Startup Probe Header> 
- A headerblock 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 Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- InitialDelay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- IntervalSeconds int
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- Path string
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- TerminationGrace intPeriod Seconds 
- 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 to1.
- Port int
- The port number on which to connect. Possible values are between 1and65535.
- Transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- FailureCount intThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- Headers
[]AppTemplate Container Startup Probe Header 
- A headerblock 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 Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- InitialDelay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- IntervalSeconds int
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- Path string
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- TerminationGrace intPeriod Seconds 
- 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 to1.
- port Integer
- The port number on which to connect. Possible values are between 1and65535.
- transport String
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount IntegerThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers
List<AppTemplate Container Startup Probe Header> 
- A headerblock 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 Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay Integer
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- intervalSeconds Integer
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path String
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- terminationGrace IntegerPeriod Seconds 
- 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 to1.
- port number
- The port number on which to connect. Possible values are between 1and65535.
- transport string
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount numberThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers
AppTemplate Container Startup Probe Header[] 
- A headerblock 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 Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay number
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- intervalSeconds number
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path string
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- terminationGrace numberPeriod Seconds 
- 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 to1.
- port int
- The port number on which to connect. Possible values are between 1and65535.
- transport str
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failure_count_ intthreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers
Sequence[AppTemplate Container Startup Probe Header] 
- A headerblock 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 Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initial_delay int
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- interval_seconds int
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path str
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- termination_grace_ intperiod_ seconds 
- 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 to1.
- port Number
- The port number on which to connect. Possible values are between 1and65535.
- transport String
- Type of probe. Possible values are TCP,HTTP, andHTTPS.
- failureCount NumberThreshold 
- The number of consecutive failures required to consider this probe as failed. Possible values are between 1and30. Defaults to3.
- headers List<Property Map>
- A headerblock 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 Hostinheaderscan be used to override this forHTTPandHTTPStype probes.
- initialDelay Number
- The number of seconds elapsed after the container has started before the probe is initiated. Possible values are between 0and60. Defaults to0seconds.
- intervalSeconds Number
- How often, in seconds, the probe should run. Possible values are between 1and240. Defaults to10
- path String
- The URI to use with the hostfor http type probes. Not valid forTCPtype probes. Defaults to/.
- terminationGrace NumberPeriod Seconds 
- 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 to1.
AppTemplateContainerStartupProbeHeader, AppTemplateContainerStartupProbeHeaderArgs            
AppTemplateContainerVolumeMount, AppTemplateContainerVolumeMountArgs          
AppTemplateCustomScaleRule, AppTemplateCustomScaleRuleArgs          
- CustomRule stringType 
- 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, andgithub-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<AppTemplate Custom Scale Rule Authentication> 
- Zero or more authenticationblocks as defined below.
- CustomRule stringType 
- 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, andgithub-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
[]AppTemplate Custom Scale Rule Authentication 
- Zero or more authenticationblocks as defined below.
- customRule StringType 
- 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, andgithub-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<AppTemplate Custom Scale Rule Authentication> 
- Zero or more authenticationblocks as defined below.
- customRule stringType 
- 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, andgithub-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
AppTemplate Custom Scale Rule Authentication[] 
- Zero or more authenticationblocks as defined below.
- custom_rule_ strtype 
- 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, andgithub-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[AppTemplate Custom Scale Rule Authentication] 
- Zero or more authenticationblocks as defined below.
- customRule StringType 
- 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, andgithub-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 authenticationblocks 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<AppTemplate Http Scale Rule Authentication> 
- Zero or more authenticationblocks as defined below.
- ConcurrentRequests string
- The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
[]AppTemplate Http Scale Rule Authentication 
- Zero or more authenticationblocks as defined below.
- concurrentRequests String
- The number of concurrent requests to trigger scaling.
- name String
- The name of the Scaling Rule
- authentications
List<AppTemplate Http Scale Rule Authentication> 
- Zero or more authenticationblocks as defined below.
- concurrentRequests string
- The number of concurrent requests to trigger scaling.
- name string
- The name of the Scaling Rule
- authentications
AppTemplate Http Scale Rule Authentication[] 
- Zero or more authenticationblocks as defined below.
- concurrent_requests str
- The number of concurrent requests to trigger scaling.
- name str
- The name of the Scaling Rule
- authentications
Sequence[AppTemplate Http Scale Rule Authentication] 
- Zero or more authenticationblocks 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 authenticationblocks 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 0.5/- 1.0
- Envs
List<AppTemplate Init Container Env> 
- One or more envblocks as detailed below.
- EphemeralStorage string
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 0.75/- 1.5Gi
- VolumeMounts List<AppTemplate Init Container Volume Mount> 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 0.5/- 1.0
- Envs
[]AppTemplate Init Container Env 
- One or more envblocks as detailed below.
- EphemeralStorage string
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 0.75/- 1.5Gi
- VolumeMounts []AppTemplate Init Container Volume Mount 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 0.5/- 1.0
- envs
List<AppTemplate Init Container Env> 
- One or more envblocks as detailed below.
- ephemeralStorage String
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 0.75/- 1.5Gi
- volumeMounts List<AppTemplate Init Container Volume Mount> 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 0.5/- 1.0
- envs
AppTemplate Init Container Env[] 
- One or more envblocks as detailed below.
- ephemeralStorage string
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 0.75/- 1.5Gi
- volumeMounts AppTemplate Init Container Volume Mount[] 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 0.5/- 1.0
- envs
Sequence[AppTemplate Init Container Env] 
- One or more envblocks as detailed below.
- ephemeral_storage str
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 0.75/- 1.5Gi
- volume_mounts Sequence[AppTemplate Init Container Volume Mount] 
- A volume_mountsblock 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: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.0/- 2.0or- 0.5/- 1.0
- envs List<Property Map>
- One or more envblocks as detailed below.
- ephemeralStorage String
- The amount of ephemeral storage available to the Container App. - NOTE: - ephemeral_storageis 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.5Giand- 4Gi. When there's a workload profile specified, there's no such constraint.- NOTE: - cpuand- memorymust be specified in- 0.25'/'0.5Gicombination increments. e.g.- 1.25/- 2.5Gior- 0.75/- 1.5Gi
- volumeMounts List<Property Map>
- A volume_mountsblock 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_nameis 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_nameis 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_nameis 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_nameis 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_nameis 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_nameis used
AppTemplateInitContainerVolumeMount, AppTemplateInitContainerVolumeMountArgs            
AppTemplateTcpScaleRule, AppTemplateTcpScaleRuleArgs          
- ConcurrentRequests string
- The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
List<AppTemplate Tcp Scale Rule Authentication> 
- Zero or more authenticationblocks as defined below.
- ConcurrentRequests string
- The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
[]AppTemplate Tcp Scale Rule Authentication 
- Zero or more authenticationblocks as defined below.
- concurrentRequests String
- The number of concurrent requests to trigger scaling.
- name String
- The name of the Scaling Rule
- authentications
List<AppTemplate Tcp Scale Rule Authentication> 
- Zero or more authenticationblocks as defined below.
- concurrentRequests string
- The number of concurrent requests to trigger scaling.
- name string
- The name of the Scaling Rule
- authentications
AppTemplate Tcp Scale Rule Authentication[] 
- Zero or more authenticationblocks as defined below.
- concurrent_requests str
- The number of concurrent requests to trigger scaling.
- name str
- The name of the Scaling Rule
- authentications
Sequence[AppTemplate Tcp Scale Rule Authentication] 
- Zero or more authenticationblocks 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 authenticationblocks 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 AzureFilestorage.
- StorageType string
- The type of storage volume. Possible values are AzureFile,EmptyDirandSecret. Defaults toEmptyDir.
- Name string
- The name of the volume.
- StorageName string
- The name of the AzureFilestorage.
- StorageType string
- The type of storage volume. Possible values are AzureFile,EmptyDirandSecret. Defaults toEmptyDir.
- name String
- The name of the volume.
- storageName String
- The name of the AzureFilestorage.
- storageType String
- The type of storage volume. Possible values are AzureFile,EmptyDirandSecret. Defaults toEmptyDir.
- name string
- The name of the volume.
- storageName string
- The name of the AzureFilestorage.
- storageType string
- The type of storage volume. Possible values are AzureFile,EmptyDirandSecret. Defaults toEmptyDir.
- name str
- The name of the volume.
- storage_name str
- The name of the AzureFilestorage.
- storage_type str
- The type of storage volume. Possible values are AzureFile,EmptyDirandSecret. Defaults toEmptyDir.
- name String
- The name of the volume.
- storageName String
- The name of the AzureFilestorage.
- storageType String
- The type of storage volume. Possible values are AzureFile,EmptyDirandSecret. Defaults toEmptyDir.
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 azurermTerraform Provider.