1. Packages
  2. Azure Native
  3. API Docs
  4. app
  5. ContainerApp
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.71.0 published on Friday, Nov 8, 2024 by Pulumi

azure-native.app.ContainerApp

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.71.0 published on Friday, Nov 8, 2024 by Pulumi

    Container App. Azure REST API version: 2022-10-01. Prior API version in Azure Native 1.x: 2022-03-01.

    Other available API versions: 2022-01-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview.

    Note: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the KeyVaultUrl property. If you encounter the error “invalid: value or keyVaultUrl and identity should be provided” with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.

    Example Usage

    Create or Update Container App

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
        {
            Configuration = new AzureNative.App.Inputs.ConfigurationArgs
            {
                Dapr = new AzureNative.App.Inputs.DaprArgs
                {
                    AppPort = 3000,
                    AppProtocol = AzureNative.App.AppProtocol.Http,
                    EnableApiLogging = true,
                    Enabled = true,
                    HttpMaxRequestSize = 10,
                    HttpReadBufferSize = 30,
                    LogLevel = AzureNative.App.LogLevel.Debug,
                },
                Ingress = new AzureNative.App.Inputs.IngressArgs
                {
                    ClientCertificateMode = AzureNative.App.IngressClientCertificateMode.Accept,
                    CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
                    {
                        AllowCredentials = true,
                        AllowedHeaders = new[]
                        {
                            "HEADER1",
                            "HEADER2",
                        },
                        AllowedMethods = new[]
                        {
                            "GET",
                            "POST",
                        },
                        AllowedOrigins = new[]
                        {
                            "https://a.test.com",
                            "https://b.test.com",
                        },
                        ExposeHeaders = new[]
                        {
                            "HEADER3",
                            "HEADER4",
                        },
                        MaxAge = 1234,
                    },
                    CustomDomains = new[]
                    {
                        new AzureNative.App.Inputs.CustomDomainArgs
                        {
                            BindingType = AzureNative.App.BindingType.SniEnabled,
                            CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
                            Name = "www.my-name.com",
                        },
                        new AzureNative.App.Inputs.CustomDomainArgs
                        {
                            BindingType = AzureNative.App.BindingType.SniEnabled,
                            CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
                            Name = "www.my-other-name.com",
                        },
                    },
                    External = true,
                    IpSecurityRestrictions = new[]
                    {
                        new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
                        {
                            Action = AzureNative.App.Action.Allow,
                            Description = "Allowing all IP's within the subnet below to access containerapp",
                            IpAddressRange = "192.168.1.1/32",
                            Name = "Allow work IP A subnet",
                        },
                        new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
                        {
                            Action = AzureNative.App.Action.Allow,
                            Description = "Allowing all IP's within the subnet below to access containerapp",
                            IpAddressRange = "192.168.1.1/8",
                            Name = "Allow work IP B subnet",
                        },
                    },
                    TargetPort = 3000,
                    Traffic = new[]
                    {
                        new AzureNative.App.Inputs.TrafficWeightArgs
                        {
                            Label = "production",
                            RevisionName = "testcontainerapp0-ab1234",
                            Weight = 100,
                        },
                    },
                },
                MaxInactiveRevisions = 10,
            },
            ContainerAppName = "testcontainerapp0",
            EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
            Location = "East US",
            ResourceGroupName = "rg",
            Template = new AzureNative.App.Inputs.TemplateArgs
            {
                Containers = new[]
                {
                    new AzureNative.App.Inputs.ContainerArgs
                    {
                        Image = "repo/testcontainerapp0:v1",
                        Name = "testcontainerapp0",
                        Probes = new[]
                        {
                            new AzureNative.App.Inputs.ContainerAppProbeArgs
                            {
                                HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
                                {
                                    HttpHeaders = new[]
                                    {
                                        new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
                                        {
                                            Name = "Custom-Header",
                                            Value = "Awesome",
                                        },
                                    },
                                    Path = "/health",
                                    Port = 8080,
                                },
                                InitialDelaySeconds = 3,
                                PeriodSeconds = 3,
                                Type = AzureNative.App.Type.Liveness,
                            },
                        },
                    },
                },
                InitContainers = new[]
                {
                    new AzureNative.App.Inputs.InitContainerArgs
                    {
                        Args = new[]
                        {
                            "-c",
                            "while true; do echo hello; sleep 10;done",
                        },
                        Command = new[]
                        {
                            "/bin/sh",
                        },
                        Image = "repo/testcontainerapp0:v4",
                        Name = "testinitcontainerApp0",
                        Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
                        {
                            Cpu = 0.5,
                            Memory = "1Gi",
                        },
                    },
                },
                Scale = new AzureNative.App.Inputs.ScaleArgs
                {
                    MaxReplicas = 5,
                    MinReplicas = 1,
                    Rules = new[]
                    {
                        new AzureNative.App.Inputs.ScaleRuleArgs
                        {
                            Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
                            {
                                Metadata = 
                                {
                                    { "concurrentRequests", "50" },
                                },
                                Type = "http",
                            },
                            Name = "httpscalingrule",
                        },
                    },
                },
            },
            WorkloadProfileType = "GeneralPurpose",
        });
    
    });
    
    package main
    
    import (
    	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
    			Configuration: &app.ConfigurationArgs{
    				Dapr: &app.DaprArgs{
    					AppPort:            pulumi.Int(3000),
    					AppProtocol:        pulumi.String(app.AppProtocolHttp),
    					EnableApiLogging:   pulumi.Bool(true),
    					Enabled:            pulumi.Bool(true),
    					HttpMaxRequestSize: pulumi.Int(10),
    					HttpReadBufferSize: pulumi.Int(30),
    					LogLevel:           pulumi.String(app.LogLevelDebug),
    				},
    				Ingress: &app.IngressArgs{
    					ClientCertificateMode: pulumi.String(app.IngressClientCertificateModeAccept),
    					CorsPolicy: &app.CorsPolicyArgs{
    						AllowCredentials: pulumi.Bool(true),
    						AllowedHeaders: pulumi.StringArray{
    							pulumi.String("HEADER1"),
    							pulumi.String("HEADER2"),
    						},
    						AllowedMethods: pulumi.StringArray{
    							pulumi.String("GET"),
    							pulumi.String("POST"),
    						},
    						AllowedOrigins: pulumi.StringArray{
    							pulumi.String("https://a.test.com"),
    							pulumi.String("https://b.test.com"),
    						},
    						ExposeHeaders: pulumi.StringArray{
    							pulumi.String("HEADER3"),
    							pulumi.String("HEADER4"),
    						},
    						MaxAge: pulumi.Int(1234),
    					},
    					CustomDomains: app.CustomDomainArray{
    						&app.CustomDomainArgs{
    							BindingType:   pulumi.String(app.BindingTypeSniEnabled),
    							CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
    							Name:          pulumi.String("www.my-name.com"),
    						},
    						&app.CustomDomainArgs{
    							BindingType:   pulumi.String(app.BindingTypeSniEnabled),
    							CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com"),
    							Name:          pulumi.String("www.my-other-name.com"),
    						},
    					},
    					External: pulumi.Bool(true),
    					IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
    						&app.IpSecurityRestrictionRuleArgs{
    							Action:         pulumi.String(app.ActionAllow),
    							Description:    pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
    							IpAddressRange: pulumi.String("192.168.1.1/32"),
    							Name:           pulumi.String("Allow work IP A subnet"),
    						},
    						&app.IpSecurityRestrictionRuleArgs{
    							Action:         pulumi.String(app.ActionAllow),
    							Description:    pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
    							IpAddressRange: pulumi.String("192.168.1.1/8"),
    							Name:           pulumi.String("Allow work IP B subnet"),
    						},
    					},
    					TargetPort: pulumi.Int(3000),
    					Traffic: app.TrafficWeightArray{
    						&app.TrafficWeightArgs{
    							Label:        pulumi.String("production"),
    							RevisionName: pulumi.String("testcontainerapp0-ab1234"),
    							Weight:       pulumi.Int(100),
    						},
    					},
    				},
    				MaxInactiveRevisions: pulumi.Int(10),
    			},
    			ContainerAppName:  pulumi.String("testcontainerapp0"),
    			EnvironmentId:     pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
    			Location:          pulumi.String("East US"),
    			ResourceGroupName: pulumi.String("rg"),
    			Template: &app.TemplateArgs{
    				Containers: app.ContainerArray{
    					&app.ContainerArgs{
    						Image: pulumi.String("repo/testcontainerapp0:v1"),
    						Name:  pulumi.String("testcontainerapp0"),
    						Probes: app.ContainerAppProbeArray{
    							&app.ContainerAppProbeArgs{
    								HttpGet: &app.ContainerAppProbeHttpGetArgs{
    									HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
    										&app.ContainerAppProbeHttpHeadersArgs{
    											Name:  pulumi.String("Custom-Header"),
    											Value: pulumi.String("Awesome"),
    										},
    									},
    									Path: pulumi.String("/health"),
    									Port: pulumi.Int(8080),
    								},
    								InitialDelaySeconds: pulumi.Int(3),
    								PeriodSeconds:       pulumi.Int(3),
    								Type:                pulumi.String(app.TypeLiveness),
    							},
    						},
    					},
    				},
    				InitContainers: app.InitContainerArray{
    					&app.InitContainerArgs{
    						Args: pulumi.StringArray{
    							pulumi.String("-c"),
    							pulumi.String("while true; do echo hello; sleep 10;done"),
    						},
    						Command: pulumi.StringArray{
    							pulumi.String("/bin/sh"),
    						},
    						Image: pulumi.String("repo/testcontainerapp0:v4"),
    						Name:  pulumi.String("testinitcontainerApp0"),
    						Resources: &app.ContainerResourcesArgs{
    							Cpu:    pulumi.Float64(0.5),
    							Memory: pulumi.String("1Gi"),
    						},
    					},
    				},
    				Scale: &app.ScaleArgs{
    					MaxReplicas: pulumi.Int(5),
    					MinReplicas: pulumi.Int(1),
    					Rules: app.ScaleRuleArray{
    						&app.ScaleRuleArgs{
    							Custom: &app.CustomScaleRuleArgs{
    								Metadata: pulumi.StringMap{
    									"concurrentRequests": pulumi.String("50"),
    								},
    								Type: pulumi.String("http"),
    							},
    							Name: pulumi.String("httpscalingrule"),
    						},
    					},
    				},
    			},
    			WorkloadProfileType: pulumi.String("GeneralPurpose"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.app.ContainerApp;
    import com.pulumi.azurenative.app.ContainerAppArgs;
    import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
    import com.pulumi.azurenative.app.inputs.DaprArgs;
    import com.pulumi.azurenative.app.inputs.IngressArgs;
    import com.pulumi.azurenative.app.inputs.CorsPolicyArgs;
    import com.pulumi.azurenative.app.inputs.TemplateArgs;
    import com.pulumi.azurenative.app.inputs.ScaleArgs;
    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 containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
                .configuration(ConfigurationArgs.builder()
                    .dapr(DaprArgs.builder()
                        .appPort(3000)
                        .appProtocol("http")
                        .enableApiLogging(true)
                        .enabled(true)
                        .httpMaxRequestSize(10)
                        .httpReadBufferSize(30)
                        .logLevel("debug")
                        .build())
                    .ingress(IngressArgs.builder()
                        .clientCertificateMode("accept")
                        .corsPolicy(CorsPolicyArgs.builder()
                            .allowCredentials(true)
                            .allowedHeaders(                        
                                "HEADER1",
                                "HEADER2")
                            .allowedMethods(                        
                                "GET",
                                "POST")
                            .allowedOrigins(                        
                                "https://a.test.com",
                                "https://b.test.com")
                            .exposeHeaders(                        
                                "HEADER3",
                                "HEADER4")
                            .maxAge(1234)
                            .build())
                        .customDomains(                    
                            CustomDomainArgs.builder()
                                .bindingType("SniEnabled")
                                .certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com")
                                .name("www.my-name.com")
                                .build(),
                            CustomDomainArgs.builder()
                                .bindingType("SniEnabled")
                                .certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")
                                .name("www.my-other-name.com")
                                .build())
                        .external(true)
                        .ipSecurityRestrictions(                    
                            IpSecurityRestrictionRuleArgs.builder()
                                .action("Allow")
                                .description("Allowing all IP's within the subnet below to access containerapp")
                                .ipAddressRange("192.168.1.1/32")
                                .name("Allow work IP A subnet")
                                .build(),
                            IpSecurityRestrictionRuleArgs.builder()
                                .action("Allow")
                                .description("Allowing all IP's within the subnet below to access containerapp")
                                .ipAddressRange("192.168.1.1/8")
                                .name("Allow work IP B subnet")
                                .build())
                        .targetPort(3000)
                        .traffic(TrafficWeightArgs.builder()
                            .label("production")
                            .revisionName("testcontainerapp0-ab1234")
                            .weight(100)
                            .build())
                        .build())
                    .maxInactiveRevisions(10)
                    .build())
                .containerAppName("testcontainerapp0")
                .environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
                .location("East US")
                .resourceGroupName("rg")
                .template(TemplateArgs.builder()
                    .containers(ContainerArgs.builder()
                        .image("repo/testcontainerapp0:v1")
                        .name("testcontainerapp0")
                        .probes(ContainerAppProbeArgs.builder()
                            .httpGet(ContainerAppProbeHttpGetArgs.builder()
                                .httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
                                    .name("Custom-Header")
                                    .value("Awesome")
                                    .build())
                                .path("/health")
                                .port(8080)
                                .build())
                            .initialDelaySeconds(3)
                            .periodSeconds(3)
                            .type("Liveness")
                            .build())
                        .build())
                    .initContainers(InitContainerArgs.builder()
                        .args(                    
                            "-c",
                            "while true; do echo hello; sleep 10;done")
                        .command("/bin/sh")
                        .image("repo/testcontainerapp0:v4")
                        .name("testinitcontainerApp0")
                        .resources(ContainerResourcesArgs.builder()
                            .cpu(0.5)
                            .memory("1Gi")
                            .build())
                        .build())
                    .scale(ScaleArgs.builder()
                        .maxReplicas(5)
                        .minReplicas(1)
                        .rules(ScaleRuleArgs.builder()
                            .custom(CustomScaleRuleArgs.builder()
                                .metadata(Map.of("concurrentRequests", "50"))
                                .type("http")
                                .build())
                            .name("httpscalingrule")
                            .build())
                        .build())
                    .build())
                .workloadProfileType("GeneralPurpose")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    container_app = azure_native.app.ContainerApp("containerApp",
        configuration={
            "dapr": {
                "app_port": 3000,
                "app_protocol": azure_native.app.AppProtocol.HTTP,
                "enable_api_logging": True,
                "enabled": True,
                "http_max_request_size": 10,
                "http_read_buffer_size": 30,
                "log_level": azure_native.app.LogLevel.DEBUG,
            },
            "ingress": {
                "client_certificate_mode": azure_native.app.IngressClientCertificateMode.ACCEPT,
                "cors_policy": {
                    "allow_credentials": True,
                    "allowed_headers": [
                        "HEADER1",
                        "HEADER2",
                    ],
                    "allowed_methods": [
                        "GET",
                        "POST",
                    ],
                    "allowed_origins": [
                        "https://a.test.com",
                        "https://b.test.com",
                    ],
                    "expose_headers": [
                        "HEADER3",
                        "HEADER4",
                    ],
                    "max_age": 1234,
                },
                "custom_domains": [
                    {
                        "binding_type": azure_native.app.BindingType.SNI_ENABLED,
                        "certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
                        "name": "www.my-name.com",
                    },
                    {
                        "binding_type": azure_native.app.BindingType.SNI_ENABLED,
                        "certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
                        "name": "www.my-other-name.com",
                    },
                ],
                "external": True,
                "ip_security_restrictions": [
                    {
                        "action": azure_native.app.Action.ALLOW,
                        "description": "Allowing all IP's within the subnet below to access containerapp",
                        "ip_address_range": "192.168.1.1/32",
                        "name": "Allow work IP A subnet",
                    },
                    {
                        "action": azure_native.app.Action.ALLOW,
                        "description": "Allowing all IP's within the subnet below to access containerapp",
                        "ip_address_range": "192.168.1.1/8",
                        "name": "Allow work IP B subnet",
                    },
                ],
                "target_port": 3000,
                "traffic": [{
                    "label": "production",
                    "revision_name": "testcontainerapp0-ab1234",
                    "weight": 100,
                }],
            },
            "max_inactive_revisions": 10,
        },
        container_app_name="testcontainerapp0",
        environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
        location="East US",
        resource_group_name="rg",
        template={
            "containers": [{
                "image": "repo/testcontainerapp0:v1",
                "name": "testcontainerapp0",
                "probes": [{
                    "http_get": {
                        "http_headers": [{
                            "name": "Custom-Header",
                            "value": "Awesome",
                        }],
                        "path": "/health",
                        "port": 8080,
                    },
                    "initial_delay_seconds": 3,
                    "period_seconds": 3,
                    "type": azure_native.app.Type.LIVENESS,
                }],
            }],
            "init_containers": [{
                "args": [
                    "-c",
                    "while true; do echo hello; sleep 10;done",
                ],
                "command": ["/bin/sh"],
                "image": "repo/testcontainerapp0:v4",
                "name": "testinitcontainerApp0",
                "resources": {
                    "cpu": 0.5,
                    "memory": "1Gi",
                },
            }],
            "scale": {
                "max_replicas": 5,
                "min_replicas": 1,
                "rules": [{
                    "custom": {
                        "metadata": {
                            "concurrentRequests": "50",
                        },
                        "type": "http",
                    },
                    "name": "httpscalingrule",
                }],
            },
        },
        workload_profile_type="GeneralPurpose")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const containerApp = new azure_native.app.ContainerApp("containerApp", {
        configuration: {
            dapr: {
                appPort: 3000,
                appProtocol: azure_native.app.AppProtocol.Http,
                enableApiLogging: true,
                enabled: true,
                httpMaxRequestSize: 10,
                httpReadBufferSize: 30,
                logLevel: azure_native.app.LogLevel.Debug,
            },
            ingress: {
                clientCertificateMode: azure_native.app.IngressClientCertificateMode.Accept,
                corsPolicy: {
                    allowCredentials: true,
                    allowedHeaders: [
                        "HEADER1",
                        "HEADER2",
                    ],
                    allowedMethods: [
                        "GET",
                        "POST",
                    ],
                    allowedOrigins: [
                        "https://a.test.com",
                        "https://b.test.com",
                    ],
                    exposeHeaders: [
                        "HEADER3",
                        "HEADER4",
                    ],
                    maxAge: 1234,
                },
                customDomains: [
                    {
                        bindingType: azure_native.app.BindingType.SniEnabled,
                        certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
                        name: "www.my-name.com",
                    },
                    {
                        bindingType: azure_native.app.BindingType.SniEnabled,
                        certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
                        name: "www.my-other-name.com",
                    },
                ],
                external: true,
                ipSecurityRestrictions: [
                    {
                        action: azure_native.app.Action.Allow,
                        description: "Allowing all IP's within the subnet below to access containerapp",
                        ipAddressRange: "192.168.1.1/32",
                        name: "Allow work IP A subnet",
                    },
                    {
                        action: azure_native.app.Action.Allow,
                        description: "Allowing all IP's within the subnet below to access containerapp",
                        ipAddressRange: "192.168.1.1/8",
                        name: "Allow work IP B subnet",
                    },
                ],
                targetPort: 3000,
                traffic: [{
                    label: "production",
                    revisionName: "testcontainerapp0-ab1234",
                    weight: 100,
                }],
            },
            maxInactiveRevisions: 10,
        },
        containerAppName: "testcontainerapp0",
        environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
        location: "East US",
        resourceGroupName: "rg",
        template: {
            containers: [{
                image: "repo/testcontainerapp0:v1",
                name: "testcontainerapp0",
                probes: [{
                    httpGet: {
                        httpHeaders: [{
                            name: "Custom-Header",
                            value: "Awesome",
                        }],
                        path: "/health",
                        port: 8080,
                    },
                    initialDelaySeconds: 3,
                    periodSeconds: 3,
                    type: azure_native.app.Type.Liveness,
                }],
            }],
            initContainers: [{
                args: [
                    "-c",
                    "while true; do echo hello; sleep 10;done",
                ],
                command: ["/bin/sh"],
                image: "repo/testcontainerapp0:v4",
                name: "testinitcontainerApp0",
                resources: {
                    cpu: 0.5,
                    memory: "1Gi",
                },
            }],
            scale: {
                maxReplicas: 5,
                minReplicas: 1,
                rules: [{
                    custom: {
                        metadata: {
                            concurrentRequests: "50",
                        },
                        type: "http",
                    },
                    name: "httpscalingrule",
                }],
            },
        },
        workloadProfileType: "GeneralPurpose",
    });
    
    resources:
      containerApp:
        type: azure-native:app:ContainerApp
        properties:
          configuration:
            dapr:
              appPort: 3000
              appProtocol: http
              enableApiLogging: true
              enabled: true
              httpMaxRequestSize: 10
              httpReadBufferSize: 30
              logLevel: debug
            ingress:
              clientCertificateMode: accept
              corsPolicy:
                allowCredentials: true
                allowedHeaders:
                  - HEADER1
                  - HEADER2
                allowedMethods:
                  - GET
                  - POST
                allowedOrigins:
                  - https://a.test.com
                  - https://b.test.com
                exposeHeaders:
                  - HEADER3
                  - HEADER4
                maxAge: 1234
              customDomains:
                - bindingType: SniEnabled
                  certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com
                  name: www.my-name.com
                - bindingType: SniEnabled
                  certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com
                  name: www.my-other-name.com
              external: true
              ipSecurityRestrictions:
                - action: Allow
                  description: Allowing all IP's within the subnet below to access containerapp
                  ipAddressRange: 192.168.1.1/32
                  name: Allow work IP A subnet
                - action: Allow
                  description: Allowing all IP's within the subnet below to access containerapp
                  ipAddressRange: 192.168.1.1/8
                  name: Allow work IP B subnet
              targetPort: 3000
              traffic:
                - label: production
                  revisionName: testcontainerapp0-ab1234
                  weight: 100
            maxInactiveRevisions: 10
          containerAppName: testcontainerapp0
          environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
          location: East US
          resourceGroupName: rg
          template:
            containers:
              - image: repo/testcontainerapp0:v1
                name: testcontainerapp0
                probes:
                  - httpGet:
                      httpHeaders:
                        - name: Custom-Header
                          value: Awesome
                      path: /health
                      port: 8080
                    initialDelaySeconds: 3
                    periodSeconds: 3
                    type: Liveness
            initContainers:
              - args:
                  - -c
                  - while true; do echo hello; sleep 10;done
                command:
                  - /bin/sh
                image: repo/testcontainerapp0:v4
                name: testinitcontainerApp0
                resources:
                  cpu: 0.5
                  memory: 1Gi
            scale:
              maxReplicas: 5
              minReplicas: 1
              rules:
                - custom:
                    metadata:
                      concurrentRequests: '50'
                    type: http
                  name: httpscalingrule
          workloadProfileType: GeneralPurpose
    

    Create or Update Tcp App

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
        {
            Configuration = new AzureNative.App.Inputs.ConfigurationArgs
            {
                Ingress = new AzureNative.App.Inputs.IngressArgs
                {
                    ExposedPort = 4000,
                    External = true,
                    TargetPort = 3000,
                    Traffic = new[]
                    {
                        new AzureNative.App.Inputs.TrafficWeightArgs
                        {
                            RevisionName = "testcontainerapptcp-ab1234",
                            Weight = 100,
                        },
                    },
                    Transport = AzureNative.App.IngressTransportMethod.Tcp,
                },
            },
            ContainerAppName = "testcontainerapptcp",
            EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
            Location = "East US",
            ResourceGroupName = "rg",
            Template = new AzureNative.App.Inputs.TemplateArgs
            {
                Containers = new[]
                {
                    new AzureNative.App.Inputs.ContainerArgs
                    {
                        Image = "repo/testcontainerapptcp:v1",
                        Name = "testcontainerapptcp",
                        Probes = new[]
                        {
                            new AzureNative.App.Inputs.ContainerAppProbeArgs
                            {
                                InitialDelaySeconds = 3,
                                PeriodSeconds = 3,
                                TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
                                {
                                    Port = 8080,
                                },
                                Type = AzureNative.App.Type.Liveness,
                            },
                        },
                    },
                },
                Scale = new AzureNative.App.Inputs.ScaleArgs
                {
                    MaxReplicas = 5,
                    MinReplicas = 1,
                    Rules = new[]
                    {
                        new AzureNative.App.Inputs.ScaleRuleArgs
                        {
                            Name = "tcpscalingrule",
                            Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
                            {
                                Metadata = 
                                {
                                    { "concurrentConnections", "50" },
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
    			Configuration: &app.ConfigurationArgs{
    				Ingress: &app.IngressArgs{
    					ExposedPort: pulumi.Int(4000),
    					External:    pulumi.Bool(true),
    					TargetPort:  pulumi.Int(3000),
    					Traffic: app.TrafficWeightArray{
    						&app.TrafficWeightArgs{
    							RevisionName: pulumi.String("testcontainerapptcp-ab1234"),
    							Weight:       pulumi.Int(100),
    						},
    					},
    					Transport: pulumi.String(app.IngressTransportMethodTcp),
    				},
    			},
    			ContainerAppName:  pulumi.String("testcontainerapptcp"),
    			EnvironmentId:     pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
    			Location:          pulumi.String("East US"),
    			ResourceGroupName: pulumi.String("rg"),
    			Template: &app.TemplateArgs{
    				Containers: app.ContainerArray{
    					&app.ContainerArgs{
    						Image: pulumi.String("repo/testcontainerapptcp:v1"),
    						Name:  pulumi.String("testcontainerapptcp"),
    						Probes: app.ContainerAppProbeArray{
    							&app.ContainerAppProbeArgs{
    								InitialDelaySeconds: pulumi.Int(3),
    								PeriodSeconds:       pulumi.Int(3),
    								TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
    									Port: pulumi.Int(8080),
    								},
    								Type: pulumi.String(app.TypeLiveness),
    							},
    						},
    					},
    				},
    				Scale: &app.ScaleArgs{
    					MaxReplicas: pulumi.Int(5),
    					MinReplicas: pulumi.Int(1),
    					Rules: app.ScaleRuleArray{
    						&app.ScaleRuleArgs{
    							Name: pulumi.String("tcpscalingrule"),
    							Tcp: &app.TcpScaleRuleArgs{
    								Metadata: pulumi.StringMap{
    									"concurrentConnections": pulumi.String("50"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.app.ContainerApp;
    import com.pulumi.azurenative.app.ContainerAppArgs;
    import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
    import com.pulumi.azurenative.app.inputs.IngressArgs;
    import com.pulumi.azurenative.app.inputs.TemplateArgs;
    import com.pulumi.azurenative.app.inputs.ScaleArgs;
    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 containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
                .configuration(ConfigurationArgs.builder()
                    .ingress(IngressArgs.builder()
                        .exposedPort(4000)
                        .external(true)
                        .targetPort(3000)
                        .traffic(TrafficWeightArgs.builder()
                            .revisionName("testcontainerapptcp-ab1234")
                            .weight(100)
                            .build())
                        .transport("tcp")
                        .build())
                    .build())
                .containerAppName("testcontainerapptcp")
                .environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
                .location("East US")
                .resourceGroupName("rg")
                .template(TemplateArgs.builder()
                    .containers(ContainerArgs.builder()
                        .image("repo/testcontainerapptcp:v1")
                        .name("testcontainerapptcp")
                        .probes(ContainerAppProbeArgs.builder()
                            .initialDelaySeconds(3)
                            .periodSeconds(3)
                            .tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
                                .port(8080)
                                .build())
                            .type("Liveness")
                            .build())
                        .build())
                    .scale(ScaleArgs.builder()
                        .maxReplicas(5)
                        .minReplicas(1)
                        .rules(ScaleRuleArgs.builder()
                            .name("tcpscalingrule")
                            .tcp(TcpScaleRuleArgs.builder()
                                .metadata(Map.of("concurrentConnections", "50"))
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    container_app = azure_native.app.ContainerApp("containerApp",
        configuration={
            "ingress": {
                "exposed_port": 4000,
                "external": True,
                "target_port": 3000,
                "traffic": [{
                    "revision_name": "testcontainerapptcp-ab1234",
                    "weight": 100,
                }],
                "transport": azure_native.app.IngressTransportMethod.TCP,
            },
        },
        container_app_name="testcontainerapptcp",
        environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
        location="East US",
        resource_group_name="rg",
        template={
            "containers": [{
                "image": "repo/testcontainerapptcp:v1",
                "name": "testcontainerapptcp",
                "probes": [{
                    "initial_delay_seconds": 3,
                    "period_seconds": 3,
                    "tcp_socket": {
                        "port": 8080,
                    },
                    "type": azure_native.app.Type.LIVENESS,
                }],
            }],
            "scale": {
                "max_replicas": 5,
                "min_replicas": 1,
                "rules": [{
                    "name": "tcpscalingrule",
                    "tcp": {
                        "metadata": {
                            "concurrentConnections": "50",
                        },
                    },
                }],
            },
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const containerApp = new azure_native.app.ContainerApp("containerApp", {
        configuration: {
            ingress: {
                exposedPort: 4000,
                external: true,
                targetPort: 3000,
                traffic: [{
                    revisionName: "testcontainerapptcp-ab1234",
                    weight: 100,
                }],
                transport: azure_native.app.IngressTransportMethod.Tcp,
            },
        },
        containerAppName: "testcontainerapptcp",
        environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
        location: "East US",
        resourceGroupName: "rg",
        template: {
            containers: [{
                image: "repo/testcontainerapptcp:v1",
                name: "testcontainerapptcp",
                probes: [{
                    initialDelaySeconds: 3,
                    periodSeconds: 3,
                    tcpSocket: {
                        port: 8080,
                    },
                    type: azure_native.app.Type.Liveness,
                }],
            }],
            scale: {
                maxReplicas: 5,
                minReplicas: 1,
                rules: [{
                    name: "tcpscalingrule",
                    tcp: {
                        metadata: {
                            concurrentConnections: "50",
                        },
                    },
                }],
            },
        },
    });
    
    resources:
      containerApp:
        type: azure-native:app:ContainerApp
        properties:
          configuration:
            ingress:
              exposedPort: 4000
              external: true
              targetPort: 3000
              traffic:
                - revisionName: testcontainerapptcp-ab1234
                  weight: 100
              transport: tcp
          containerAppName: testcontainerapptcp
          environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
          location: East US
          resourceGroupName: rg
          template:
            containers:
              - image: repo/testcontainerapptcp:v1
                name: testcontainerapptcp
                probes:
                  - initialDelaySeconds: 3
                    periodSeconds: 3
                    tcpSocket:
                      port: 8080
                    type: Liveness
            scale:
              maxReplicas: 5
              minReplicas: 1
              rules:
                - name: tcpscalingrule
                  tcp:
                    metadata:
                      concurrentConnections: '50'
    

    Create ContainerApp Resource

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

    Constructor syntax

    new ContainerApp(name: string, args: ContainerAppArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerApp(resource_name: str,
                     args: ContainerAppArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerApp(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     configuration: Optional[ConfigurationArgs] = None,
                     container_app_name: Optional[str] = None,
                     environment_id: Optional[str] = None,
                     extended_location: Optional[ExtendedLocationArgs] = None,
                     identity: Optional[ManagedServiceIdentityArgs] = None,
                     location: Optional[str] = None,
                     managed_environment_id: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     template: Optional[TemplateArgs] = None,
                     workload_profile_type: Optional[str] = None)
    func NewContainerApp(ctx *Context, name string, args ContainerAppArgs, opts ...ResourceOption) (*ContainerApp, error)
    public ContainerApp(string name, ContainerAppArgs args, CustomResourceOptions? opts = null)
    public ContainerApp(String name, ContainerAppArgs args)
    public ContainerApp(String name, ContainerAppArgs args, CustomResourceOptions options)
    
    type: azure-native:app:ContainerApp
    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 ContainerAppArgs
    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 ContainerAppArgs
    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 ContainerAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerAppArgs
    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 containerAppResource = new AzureNative.App.ContainerApp("containerAppResource", new()
    {
        ResourceGroupName = "string",
        Configuration = new AzureNative.App.Inputs.ConfigurationArgs
        {
            ActiveRevisionsMode = "string",
            Dapr = new AzureNative.App.Inputs.DaprArgs
            {
                AppId = "string",
                AppPort = 0,
                AppProtocol = "string",
                EnableApiLogging = false,
                Enabled = false,
                HttpMaxRequestSize = 0,
                HttpReadBufferSize = 0,
                LogLevel = "string",
            },
            Ingress = new AzureNative.App.Inputs.IngressArgs
            {
                AllowInsecure = false,
                ClientCertificateMode = "string",
                CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
                {
                    AllowedOrigins = new[]
                    {
                        "string",
                    },
                    AllowCredentials = false,
                    AllowedHeaders = new[]
                    {
                        "string",
                    },
                    AllowedMethods = new[]
                    {
                        "string",
                    },
                    ExposeHeaders = new[]
                    {
                        "string",
                    },
                    MaxAge = 0,
                },
                CustomDomains = new[]
                {
                    new AzureNative.App.Inputs.CustomDomainArgs
                    {
                        Name = "string",
                        BindingType = "string",
                        CertificateId = "string",
                    },
                },
                ExposedPort = 0,
                External = false,
                IpSecurityRestrictions = new[]
                {
                    new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
                    {
                        Action = "string",
                        IpAddressRange = "string",
                        Name = "string",
                        Description = "string",
                    },
                },
                TargetPort = 0,
                Traffic = new[]
                {
                    new AzureNative.App.Inputs.TrafficWeightArgs
                    {
                        Label = "string",
                        LatestRevision = false,
                        RevisionName = "string",
                        Weight = 0,
                    },
                },
                Transport = "string",
            },
            MaxInactiveRevisions = 0,
            Registries = new[]
            {
                new AzureNative.App.Inputs.RegistryCredentialsArgs
                {
                    Identity = "string",
                    PasswordSecretRef = "string",
                    Server = "string",
                    Username = "string",
                },
            },
            Secrets = new[]
            {
                new AzureNative.App.Inputs.SecretArgs
                {
                    Identity = "string",
                    KeyVaultUrl = "string",
                    Name = "string",
                    Value = "string",
                },
            },
        },
        ContainerAppName = "string",
        EnvironmentId = "string",
        ExtendedLocation = new AzureNative.App.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        Identity = new AzureNative.App.Inputs.ManagedServiceIdentityArgs
        {
            Type = "string",
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        Location = "string",
        ManagedEnvironmentId = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Template = new AzureNative.App.Inputs.TemplateArgs
        {
            Containers = new[]
            {
                new AzureNative.App.Inputs.ContainerArgs
                {
                    Args = new[]
                    {
                        "string",
                    },
                    Command = new[]
                    {
                        "string",
                    },
                    Env = new[]
                    {
                        new AzureNative.App.Inputs.EnvironmentVarArgs
                        {
                            Name = "string",
                            SecretRef = "string",
                            Value = "string",
                        },
                    },
                    Image = "string",
                    Name = "string",
                    Probes = new[]
                    {
                        new AzureNative.App.Inputs.ContainerAppProbeArgs
                        {
                            FailureThreshold = 0,
                            HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
                            {
                                Port = 0,
                                Host = "string",
                                HttpHeaders = new[]
                                {
                                    new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
                                    {
                                        Name = "string",
                                        Value = "string",
                                    },
                                },
                                Path = "string",
                                Scheme = "string",
                            },
                            InitialDelaySeconds = 0,
                            PeriodSeconds = 0,
                            SuccessThreshold = 0,
                            TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
                            {
                                Port = 0,
                                Host = "string",
                            },
                            TerminationGracePeriodSeconds = 0,
                            TimeoutSeconds = 0,
                            Type = "string",
                        },
                    },
                    Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
                    {
                        Cpu = 0,
                        Memory = "string",
                    },
                    VolumeMounts = new[]
                    {
                        new AzureNative.App.Inputs.VolumeMountArgs
                        {
                            MountPath = "string",
                            SubPath = "string",
                            VolumeName = "string",
                        },
                    },
                },
            },
            InitContainers = new[]
            {
                new AzureNative.App.Inputs.InitContainerArgs
                {
                    Args = new[]
                    {
                        "string",
                    },
                    Command = new[]
                    {
                        "string",
                    },
                    Env = new[]
                    {
                        new AzureNative.App.Inputs.EnvironmentVarArgs
                        {
                            Name = "string",
                            SecretRef = "string",
                            Value = "string",
                        },
                    },
                    Image = "string",
                    Name = "string",
                    Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
                    {
                        Cpu = 0,
                        Memory = "string",
                    },
                    VolumeMounts = new[]
                    {
                        new AzureNative.App.Inputs.VolumeMountArgs
                        {
                            MountPath = "string",
                            SubPath = "string",
                            VolumeName = "string",
                        },
                    },
                },
            },
            RevisionSuffix = "string",
            Scale = new AzureNative.App.Inputs.ScaleArgs
            {
                MaxReplicas = 0,
                MinReplicas = 0,
                Rules = new[]
                {
                    new AzureNative.App.Inputs.ScaleRuleArgs
                    {
                        AzureQueue = new AzureNative.App.Inputs.QueueScaleRuleArgs
                        {
                            Auth = new[]
                            {
                                new AzureNative.App.Inputs.ScaleRuleAuthArgs
                                {
                                    SecretRef = "string",
                                    TriggerParameter = "string",
                                },
                            },
                            QueueLength = 0,
                            QueueName = "string",
                        },
                        Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
                        {
                            Auth = new[]
                            {
                                new AzureNative.App.Inputs.ScaleRuleAuthArgs
                                {
                                    SecretRef = "string",
                                    TriggerParameter = "string",
                                },
                            },
                            Metadata = 
                            {
                                { "string", "string" },
                            },
                            Type = "string",
                        },
                        Http = new AzureNative.App.Inputs.HttpScaleRuleArgs
                        {
                            Auth = new[]
                            {
                                new AzureNative.App.Inputs.ScaleRuleAuthArgs
                                {
                                    SecretRef = "string",
                                    TriggerParameter = "string",
                                },
                            },
                            Metadata = 
                            {
                                { "string", "string" },
                            },
                        },
                        Name = "string",
                        Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
                        {
                            Auth = new[]
                            {
                                new AzureNative.App.Inputs.ScaleRuleAuthArgs
                                {
                                    SecretRef = "string",
                                    TriggerParameter = "string",
                                },
                            },
                            Metadata = 
                            {
                                { "string", "string" },
                            },
                        },
                    },
                },
            },
            Volumes = new[]
            {
                new AzureNative.App.Inputs.VolumeArgs
                {
                    MountOptions = "string",
                    Name = "string",
                    Secrets = new[]
                    {
                        new AzureNative.App.Inputs.SecretVolumeItemArgs
                        {
                            Path = "string",
                            SecretRef = "string",
                        },
                    },
                    StorageName = "string",
                    StorageType = "string",
                },
            },
        },
        WorkloadProfileType = "string",
    });
    
    example, err := app.NewContainerApp(ctx, "containerAppResource", &app.ContainerAppArgs{
    	ResourceGroupName: pulumi.String("string"),
    	Configuration: &app.ConfigurationArgs{
    		ActiveRevisionsMode: pulumi.String("string"),
    		Dapr: &app.DaprArgs{
    			AppId:              pulumi.String("string"),
    			AppPort:            pulumi.Int(0),
    			AppProtocol:        pulumi.String("string"),
    			EnableApiLogging:   pulumi.Bool(false),
    			Enabled:            pulumi.Bool(false),
    			HttpMaxRequestSize: pulumi.Int(0),
    			HttpReadBufferSize: pulumi.Int(0),
    			LogLevel:           pulumi.String("string"),
    		},
    		Ingress: &app.IngressArgs{
    			AllowInsecure:         pulumi.Bool(false),
    			ClientCertificateMode: pulumi.String("string"),
    			CorsPolicy: &app.CorsPolicyArgs{
    				AllowedOrigins: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				AllowCredentials: pulumi.Bool(false),
    				AllowedHeaders: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				AllowedMethods: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ExposeHeaders: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				MaxAge: pulumi.Int(0),
    			},
    			CustomDomains: app.CustomDomainArray{
    				&app.CustomDomainArgs{
    					Name:          pulumi.String("string"),
    					BindingType:   pulumi.String("string"),
    					CertificateId: pulumi.String("string"),
    				},
    			},
    			ExposedPort: pulumi.Int(0),
    			External:    pulumi.Bool(false),
    			IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
    				&app.IpSecurityRestrictionRuleArgs{
    					Action:         pulumi.String("string"),
    					IpAddressRange: pulumi.String("string"),
    					Name:           pulumi.String("string"),
    					Description:    pulumi.String("string"),
    				},
    			},
    			TargetPort: pulumi.Int(0),
    			Traffic: app.TrafficWeightArray{
    				&app.TrafficWeightArgs{
    					Label:          pulumi.String("string"),
    					LatestRevision: pulumi.Bool(false),
    					RevisionName:   pulumi.String("string"),
    					Weight:         pulumi.Int(0),
    				},
    			},
    			Transport: pulumi.String("string"),
    		},
    		MaxInactiveRevisions: pulumi.Int(0),
    		Registries: app.RegistryCredentialsArray{
    			&app.RegistryCredentialsArgs{
    				Identity:          pulumi.String("string"),
    				PasswordSecretRef: pulumi.String("string"),
    				Server:            pulumi.String("string"),
    				Username:          pulumi.String("string"),
    			},
    		},
    		Secrets: app.SecretArray{
    			&app.SecretArgs{
    				Identity:    pulumi.String("string"),
    				KeyVaultUrl: pulumi.String("string"),
    				Name:        pulumi.String("string"),
    				Value:       pulumi.String("string"),
    			},
    		},
    	},
    	ContainerAppName: pulumi.String("string"),
    	EnvironmentId:    pulumi.String("string"),
    	ExtendedLocation: &app.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	Identity: &app.ManagedServiceIdentityArgs{
    		Type: pulumi.String("string"),
    		UserAssignedIdentities: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Location:             pulumi.String("string"),
    	ManagedEnvironmentId: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Template: &app.TemplateArgs{
    		Containers: app.ContainerArray{
    			&app.ContainerArgs{
    				Args: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Command: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Env: app.EnvironmentVarArray{
    					&app.EnvironmentVarArgs{
    						Name:      pulumi.String("string"),
    						SecretRef: pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    				Image: pulumi.String("string"),
    				Name:  pulumi.String("string"),
    				Probes: app.ContainerAppProbeArray{
    					&app.ContainerAppProbeArgs{
    						FailureThreshold: pulumi.Int(0),
    						HttpGet: &app.ContainerAppProbeHttpGetArgs{
    							Port: pulumi.Int(0),
    							Host: pulumi.String("string"),
    							HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
    								&app.ContainerAppProbeHttpHeadersArgs{
    									Name:  pulumi.String("string"),
    									Value: pulumi.String("string"),
    								},
    							},
    							Path:   pulumi.String("string"),
    							Scheme: pulumi.String("string"),
    						},
    						InitialDelaySeconds: pulumi.Int(0),
    						PeriodSeconds:       pulumi.Int(0),
    						SuccessThreshold:    pulumi.Int(0),
    						TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
    							Port: pulumi.Int(0),
    							Host: pulumi.String("string"),
    						},
    						TerminationGracePeriodSeconds: pulumi.Float64(0),
    						TimeoutSeconds:                pulumi.Int(0),
    						Type:                          pulumi.String("string"),
    					},
    				},
    				Resources: &app.ContainerResourcesArgs{
    					Cpu:    pulumi.Float64(0),
    					Memory: pulumi.String("string"),
    				},
    				VolumeMounts: app.VolumeMountArray{
    					&app.VolumeMountArgs{
    						MountPath:  pulumi.String("string"),
    						SubPath:    pulumi.String("string"),
    						VolumeName: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		InitContainers: app.InitContainerArray{
    			&app.InitContainerArgs{
    				Args: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Command: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Env: app.EnvironmentVarArray{
    					&app.EnvironmentVarArgs{
    						Name:      pulumi.String("string"),
    						SecretRef: pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    				Image: pulumi.String("string"),
    				Name:  pulumi.String("string"),
    				Resources: &app.ContainerResourcesArgs{
    					Cpu:    pulumi.Float64(0),
    					Memory: pulumi.String("string"),
    				},
    				VolumeMounts: app.VolumeMountArray{
    					&app.VolumeMountArgs{
    						MountPath:  pulumi.String("string"),
    						SubPath:    pulumi.String("string"),
    						VolumeName: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		RevisionSuffix: pulumi.String("string"),
    		Scale: &app.ScaleArgs{
    			MaxReplicas: pulumi.Int(0),
    			MinReplicas: pulumi.Int(0),
    			Rules: app.ScaleRuleArray{
    				&app.ScaleRuleArgs{
    					AzureQueue: &app.QueueScaleRuleArgs{
    						Auth: app.ScaleRuleAuthArray{
    							&app.ScaleRuleAuthArgs{
    								SecretRef:        pulumi.String("string"),
    								TriggerParameter: pulumi.String("string"),
    							},
    						},
    						QueueLength: pulumi.Int(0),
    						QueueName:   pulumi.String("string"),
    					},
    					Custom: &app.CustomScaleRuleArgs{
    						Auth: app.ScaleRuleAuthArray{
    							&app.ScaleRuleAuthArgs{
    								SecretRef:        pulumi.String("string"),
    								TriggerParameter: pulumi.String("string"),
    							},
    						},
    						Metadata: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    						Type: pulumi.String("string"),
    					},
    					Http: &app.HttpScaleRuleArgs{
    						Auth: app.ScaleRuleAuthArray{
    							&app.ScaleRuleAuthArgs{
    								SecretRef:        pulumi.String("string"),
    								TriggerParameter: pulumi.String("string"),
    							},
    						},
    						Metadata: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    					Name: pulumi.String("string"),
    					Tcp: &app.TcpScaleRuleArgs{
    						Auth: app.ScaleRuleAuthArray{
    							&app.ScaleRuleAuthArgs{
    								SecretRef:        pulumi.String("string"),
    								TriggerParameter: pulumi.String("string"),
    							},
    						},
    						Metadata: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    		Volumes: app.VolumeArray{
    			&app.VolumeArgs{
    				MountOptions: pulumi.String("string"),
    				Name:         pulumi.String("string"),
    				Secrets: app.SecretVolumeItemArray{
    					&app.SecretVolumeItemArgs{
    						Path:      pulumi.String("string"),
    						SecretRef: pulumi.String("string"),
    					},
    				},
    				StorageName: pulumi.String("string"),
    				StorageType: pulumi.String("string"),
    			},
    		},
    	},
    	WorkloadProfileType: pulumi.String("string"),
    })
    
    var containerAppResource = new ContainerApp("containerAppResource", ContainerAppArgs.builder()
        .resourceGroupName("string")
        .configuration(ConfigurationArgs.builder()
            .activeRevisionsMode("string")
            .dapr(DaprArgs.builder()
                .appId("string")
                .appPort(0)
                .appProtocol("string")
                .enableApiLogging(false)
                .enabled(false)
                .httpMaxRequestSize(0)
                .httpReadBufferSize(0)
                .logLevel("string")
                .build())
            .ingress(IngressArgs.builder()
                .allowInsecure(false)
                .clientCertificateMode("string")
                .corsPolicy(CorsPolicyArgs.builder()
                    .allowedOrigins("string")
                    .allowCredentials(false)
                    .allowedHeaders("string")
                    .allowedMethods("string")
                    .exposeHeaders("string")
                    .maxAge(0)
                    .build())
                .customDomains(CustomDomainArgs.builder()
                    .name("string")
                    .bindingType("string")
                    .certificateId("string")
                    .build())
                .exposedPort(0)
                .external(false)
                .ipSecurityRestrictions(IpSecurityRestrictionRuleArgs.builder()
                    .action("string")
                    .ipAddressRange("string")
                    .name("string")
                    .description("string")
                    .build())
                .targetPort(0)
                .traffic(TrafficWeightArgs.builder()
                    .label("string")
                    .latestRevision(false)
                    .revisionName("string")
                    .weight(0)
                    .build())
                .transport("string")
                .build())
            .maxInactiveRevisions(0)
            .registries(RegistryCredentialsArgs.builder()
                .identity("string")
                .passwordSecretRef("string")
                .server("string")
                .username("string")
                .build())
            .secrets(SecretArgs.builder()
                .identity("string")
                .keyVaultUrl("string")
                .name("string")
                .value("string")
                .build())
            .build())
        .containerAppName("string")
        .environmentId("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .identity(ManagedServiceIdentityArgs.builder()
            .type("string")
            .userAssignedIdentities("string")
            .build())
        .location("string")
        .managedEnvironmentId("string")
        .tags(Map.of("string", "string"))
        .template(TemplateArgs.builder()
            .containers(ContainerArgs.builder()
                .args("string")
                .command("string")
                .env(EnvironmentVarArgs.builder()
                    .name("string")
                    .secretRef("string")
                    .value("string")
                    .build())
                .image("string")
                .name("string")
                .probes(ContainerAppProbeArgs.builder()
                    .failureThreshold(0)
                    .httpGet(ContainerAppProbeHttpGetArgs.builder()
                        .port(0)
                        .host("string")
                        .httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
                            .name("string")
                            .value("string")
                            .build())
                        .path("string")
                        .scheme("string")
                        .build())
                    .initialDelaySeconds(0)
                    .periodSeconds(0)
                    .successThreshold(0)
                    .tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
                        .port(0)
                        .host("string")
                        .build())
                    .terminationGracePeriodSeconds(0)
                    .timeoutSeconds(0)
                    .type("string")
                    .build())
                .resources(ContainerResourcesArgs.builder()
                    .cpu(0)
                    .memory("string")
                    .build())
                .volumeMounts(VolumeMountArgs.builder()
                    .mountPath("string")
                    .subPath("string")
                    .volumeName("string")
                    .build())
                .build())
            .initContainers(InitContainerArgs.builder()
                .args("string")
                .command("string")
                .env(EnvironmentVarArgs.builder()
                    .name("string")
                    .secretRef("string")
                    .value("string")
                    .build())
                .image("string")
                .name("string")
                .resources(ContainerResourcesArgs.builder()
                    .cpu(0)
                    .memory("string")
                    .build())
                .volumeMounts(VolumeMountArgs.builder()
                    .mountPath("string")
                    .subPath("string")
                    .volumeName("string")
                    .build())
                .build())
            .revisionSuffix("string")
            .scale(ScaleArgs.builder()
                .maxReplicas(0)
                .minReplicas(0)
                .rules(ScaleRuleArgs.builder()
                    .azureQueue(QueueScaleRuleArgs.builder()
                        .auth(ScaleRuleAuthArgs.builder()
                            .secretRef("string")
                            .triggerParameter("string")
                            .build())
                        .queueLength(0)
                        .queueName("string")
                        .build())
                    .custom(CustomScaleRuleArgs.builder()
                        .auth(ScaleRuleAuthArgs.builder()
                            .secretRef("string")
                            .triggerParameter("string")
                            .build())
                        .metadata(Map.of("string", "string"))
                        .type("string")
                        .build())
                    .http(HttpScaleRuleArgs.builder()
                        .auth(ScaleRuleAuthArgs.builder()
                            .secretRef("string")
                            .triggerParameter("string")
                            .build())
                        .metadata(Map.of("string", "string"))
                        .build())
                    .name("string")
                    .tcp(TcpScaleRuleArgs.builder()
                        .auth(ScaleRuleAuthArgs.builder()
                            .secretRef("string")
                            .triggerParameter("string")
                            .build())
                        .metadata(Map.of("string", "string"))
                        .build())
                    .build())
                .build())
            .volumes(VolumeArgs.builder()
                .mountOptions("string")
                .name("string")
                .secrets(SecretVolumeItemArgs.builder()
                    .path("string")
                    .secretRef("string")
                    .build())
                .storageName("string")
                .storageType("string")
                .build())
            .build())
        .workloadProfileType("string")
        .build());
    
    container_app_resource = azure_native.app.ContainerApp("containerAppResource",
        resource_group_name="string",
        configuration={
            "active_revisions_mode": "string",
            "dapr": {
                "app_id": "string",
                "app_port": 0,
                "app_protocol": "string",
                "enable_api_logging": False,
                "enabled": False,
                "http_max_request_size": 0,
                "http_read_buffer_size": 0,
                "log_level": "string",
            },
            "ingress": {
                "allow_insecure": False,
                "client_certificate_mode": "string",
                "cors_policy": {
                    "allowed_origins": ["string"],
                    "allow_credentials": False,
                    "allowed_headers": ["string"],
                    "allowed_methods": ["string"],
                    "expose_headers": ["string"],
                    "max_age": 0,
                },
                "custom_domains": [{
                    "name": "string",
                    "binding_type": "string",
                    "certificate_id": "string",
                }],
                "exposed_port": 0,
                "external": False,
                "ip_security_restrictions": [{
                    "action": "string",
                    "ip_address_range": "string",
                    "name": "string",
                    "description": "string",
                }],
                "target_port": 0,
                "traffic": [{
                    "label": "string",
                    "latest_revision": False,
                    "revision_name": "string",
                    "weight": 0,
                }],
                "transport": "string",
            },
            "max_inactive_revisions": 0,
            "registries": [{
                "identity": "string",
                "password_secret_ref": "string",
                "server": "string",
                "username": "string",
            }],
            "secrets": [{
                "identity": "string",
                "key_vault_url": "string",
                "name": "string",
                "value": "string",
            }],
        },
        container_app_name="string",
        environment_id="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        identity={
            "type": "string",
            "user_assigned_identities": ["string"],
        },
        location="string",
        managed_environment_id="string",
        tags={
            "string": "string",
        },
        template={
            "containers": [{
                "args": ["string"],
                "command": ["string"],
                "env": [{
                    "name": "string",
                    "secret_ref": "string",
                    "value": "string",
                }],
                "image": "string",
                "name": "string",
                "probes": [{
                    "failure_threshold": 0,
                    "http_get": {
                        "port": 0,
                        "host": "string",
                        "http_headers": [{
                            "name": "string",
                            "value": "string",
                        }],
                        "path": "string",
                        "scheme": "string",
                    },
                    "initial_delay_seconds": 0,
                    "period_seconds": 0,
                    "success_threshold": 0,
                    "tcp_socket": {
                        "port": 0,
                        "host": "string",
                    },
                    "termination_grace_period_seconds": 0,
                    "timeout_seconds": 0,
                    "type": "string",
                }],
                "resources": {
                    "cpu": 0,
                    "memory": "string",
                },
                "volume_mounts": [{
                    "mount_path": "string",
                    "sub_path": "string",
                    "volume_name": "string",
                }],
            }],
            "init_containers": [{
                "args": ["string"],
                "command": ["string"],
                "env": [{
                    "name": "string",
                    "secret_ref": "string",
                    "value": "string",
                }],
                "image": "string",
                "name": "string",
                "resources": {
                    "cpu": 0,
                    "memory": "string",
                },
                "volume_mounts": [{
                    "mount_path": "string",
                    "sub_path": "string",
                    "volume_name": "string",
                }],
            }],
            "revision_suffix": "string",
            "scale": {
                "max_replicas": 0,
                "min_replicas": 0,
                "rules": [{
                    "azure_queue": {
                        "auth": [{
                            "secret_ref": "string",
                            "trigger_parameter": "string",
                        }],
                        "queue_length": 0,
                        "queue_name": "string",
                    },
                    "custom": {
                        "auth": [{
                            "secret_ref": "string",
                            "trigger_parameter": "string",
                        }],
                        "metadata": {
                            "string": "string",
                        },
                        "type": "string",
                    },
                    "http": {
                        "auth": [{
                            "secret_ref": "string",
                            "trigger_parameter": "string",
                        }],
                        "metadata": {
                            "string": "string",
                        },
                    },
                    "name": "string",
                    "tcp": {
                        "auth": [{
                            "secret_ref": "string",
                            "trigger_parameter": "string",
                        }],
                        "metadata": {
                            "string": "string",
                        },
                    },
                }],
            },
            "volumes": [{
                "mount_options": "string",
                "name": "string",
                "secrets": [{
                    "path": "string",
                    "secret_ref": "string",
                }],
                "storage_name": "string",
                "storage_type": "string",
            }],
        },
        workload_profile_type="string")
    
    const containerAppResource = new azure_native.app.ContainerApp("containerAppResource", {
        resourceGroupName: "string",
        configuration: {
            activeRevisionsMode: "string",
            dapr: {
                appId: "string",
                appPort: 0,
                appProtocol: "string",
                enableApiLogging: false,
                enabled: false,
                httpMaxRequestSize: 0,
                httpReadBufferSize: 0,
                logLevel: "string",
            },
            ingress: {
                allowInsecure: false,
                clientCertificateMode: "string",
                corsPolicy: {
                    allowedOrigins: ["string"],
                    allowCredentials: false,
                    allowedHeaders: ["string"],
                    allowedMethods: ["string"],
                    exposeHeaders: ["string"],
                    maxAge: 0,
                },
                customDomains: [{
                    name: "string",
                    bindingType: "string",
                    certificateId: "string",
                }],
                exposedPort: 0,
                external: false,
                ipSecurityRestrictions: [{
                    action: "string",
                    ipAddressRange: "string",
                    name: "string",
                    description: "string",
                }],
                targetPort: 0,
                traffic: [{
                    label: "string",
                    latestRevision: false,
                    revisionName: "string",
                    weight: 0,
                }],
                transport: "string",
            },
            maxInactiveRevisions: 0,
            registries: [{
                identity: "string",
                passwordSecretRef: "string",
                server: "string",
                username: "string",
            }],
            secrets: [{
                identity: "string",
                keyVaultUrl: "string",
                name: "string",
                value: "string",
            }],
        },
        containerAppName: "string",
        environmentId: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        identity: {
            type: "string",
            userAssignedIdentities: ["string"],
        },
        location: "string",
        managedEnvironmentId: "string",
        tags: {
            string: "string",
        },
        template: {
            containers: [{
                args: ["string"],
                command: ["string"],
                env: [{
                    name: "string",
                    secretRef: "string",
                    value: "string",
                }],
                image: "string",
                name: "string",
                probes: [{
                    failureThreshold: 0,
                    httpGet: {
                        port: 0,
                        host: "string",
                        httpHeaders: [{
                            name: "string",
                            value: "string",
                        }],
                        path: "string",
                        scheme: "string",
                    },
                    initialDelaySeconds: 0,
                    periodSeconds: 0,
                    successThreshold: 0,
                    tcpSocket: {
                        port: 0,
                        host: "string",
                    },
                    terminationGracePeriodSeconds: 0,
                    timeoutSeconds: 0,
                    type: "string",
                }],
                resources: {
                    cpu: 0,
                    memory: "string",
                },
                volumeMounts: [{
                    mountPath: "string",
                    subPath: "string",
                    volumeName: "string",
                }],
            }],
            initContainers: [{
                args: ["string"],
                command: ["string"],
                env: [{
                    name: "string",
                    secretRef: "string",
                    value: "string",
                }],
                image: "string",
                name: "string",
                resources: {
                    cpu: 0,
                    memory: "string",
                },
                volumeMounts: [{
                    mountPath: "string",
                    subPath: "string",
                    volumeName: "string",
                }],
            }],
            revisionSuffix: "string",
            scale: {
                maxReplicas: 0,
                minReplicas: 0,
                rules: [{
                    azureQueue: {
                        auth: [{
                            secretRef: "string",
                            triggerParameter: "string",
                        }],
                        queueLength: 0,
                        queueName: "string",
                    },
                    custom: {
                        auth: [{
                            secretRef: "string",
                            triggerParameter: "string",
                        }],
                        metadata: {
                            string: "string",
                        },
                        type: "string",
                    },
                    http: {
                        auth: [{
                            secretRef: "string",
                            triggerParameter: "string",
                        }],
                        metadata: {
                            string: "string",
                        },
                    },
                    name: "string",
                    tcp: {
                        auth: [{
                            secretRef: "string",
                            triggerParameter: "string",
                        }],
                        metadata: {
                            string: "string",
                        },
                    },
                }],
            },
            volumes: [{
                mountOptions: "string",
                name: "string",
                secrets: [{
                    path: "string",
                    secretRef: "string",
                }],
                storageName: "string",
                storageType: "string",
            }],
        },
        workloadProfileType: "string",
    });
    
    type: azure-native:app:ContainerApp
    properties:
        configuration:
            activeRevisionsMode: string
            dapr:
                appId: string
                appPort: 0
                appProtocol: string
                enableApiLogging: false
                enabled: false
                httpMaxRequestSize: 0
                httpReadBufferSize: 0
                logLevel: string
            ingress:
                allowInsecure: false
                clientCertificateMode: string
                corsPolicy:
                    allowCredentials: false
                    allowedHeaders:
                        - string
                    allowedMethods:
                        - string
                    allowedOrigins:
                        - string
                    exposeHeaders:
                        - string
                    maxAge: 0
                customDomains:
                    - bindingType: string
                      certificateId: string
                      name: string
                exposedPort: 0
                external: false
                ipSecurityRestrictions:
                    - action: string
                      description: string
                      ipAddressRange: string
                      name: string
                targetPort: 0
                traffic:
                    - label: string
                      latestRevision: false
                      revisionName: string
                      weight: 0
                transport: string
            maxInactiveRevisions: 0
            registries:
                - identity: string
                  passwordSecretRef: string
                  server: string
                  username: string
            secrets:
                - identity: string
                  keyVaultUrl: string
                  name: string
                  value: string
        containerAppName: string
        environmentId: string
        extendedLocation:
            name: string
            type: string
        identity:
            type: string
            userAssignedIdentities:
                - string
        location: string
        managedEnvironmentId: string
        resourceGroupName: string
        tags:
            string: string
        template:
            containers:
                - args:
                    - string
                  command:
                    - string
                  env:
                    - name: string
                      secretRef: string
                      value: string
                  image: string
                  name: string
                  probes:
                    - failureThreshold: 0
                      httpGet:
                        host: string
                        httpHeaders:
                            - name: string
                              value: string
                        path: string
                        port: 0
                        scheme: string
                      initialDelaySeconds: 0
                      periodSeconds: 0
                      successThreshold: 0
                      tcpSocket:
                        host: string
                        port: 0
                      terminationGracePeriodSeconds: 0
                      timeoutSeconds: 0
                      type: string
                  resources:
                    cpu: 0
                    memory: string
                  volumeMounts:
                    - mountPath: string
                      subPath: string
                      volumeName: string
            initContainers:
                - args:
                    - string
                  command:
                    - string
                  env:
                    - name: string
                      secretRef: string
                      value: string
                  image: string
                  name: string
                  resources:
                    cpu: 0
                    memory: string
                  volumeMounts:
                    - mountPath: string
                      subPath: string
                      volumeName: string
            revisionSuffix: string
            scale:
                maxReplicas: 0
                minReplicas: 0
                rules:
                    - azureQueue:
                        auth:
                            - secretRef: string
                              triggerParameter: string
                        queueLength: 0
                        queueName: string
                      custom:
                        auth:
                            - secretRef: string
                              triggerParameter: string
                        metadata:
                            string: string
                        type: string
                      http:
                        auth:
                            - secretRef: string
                              triggerParameter: string
                        metadata:
                            string: string
                      name: string
                      tcp:
                        auth:
                            - secretRef: string
                              triggerParameter: string
                        metadata:
                            string: string
            volumes:
                - mountOptions: string
                  name: string
                  secrets:
                    - path: string
                      secretRef: string
                  storageName: string
                  storageType: string
        workloadProfileType: string
    

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

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Configuration Pulumi.AzureNative.App.Inputs.Configuration
    Non versioned Container App configuration properties.
    ContainerAppName string
    Name of the Container App.
    EnvironmentId string
    Resource ID of environment.
    ExtendedLocation Pulumi.AzureNative.App.Inputs.ExtendedLocation
    The complex type of the extended location.
    Identity Pulumi.AzureNative.App.Inputs.ManagedServiceIdentity
    managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
    Location string
    The geo-location where the resource lives
    ManagedEnvironmentId string
    Deprecated. Resource ID of the Container App's environment.
    Tags Dictionary<string, string>
    Resource tags.
    Template Pulumi.AzureNative.App.Inputs.Template
    Container App versioned application definition.
    WorkloadProfileType string
    Workload profile type to pin for container app execution.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Configuration ConfigurationArgs
    Non versioned Container App configuration properties.
    ContainerAppName string
    Name of the Container App.
    EnvironmentId string
    Resource ID of environment.
    ExtendedLocation ExtendedLocationArgs
    The complex type of the extended location.
    Identity ManagedServiceIdentityArgs
    managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
    Location string
    The geo-location where the resource lives
    ManagedEnvironmentId string
    Deprecated. Resource ID of the Container App's environment.
    Tags map[string]string
    Resource tags.
    Template TemplateArgs
    Container App versioned application definition.
    WorkloadProfileType string
    Workload profile type to pin for container app execution.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    configuration Configuration
    Non versioned Container App configuration properties.
    containerAppName String
    Name of the Container App.
    environmentId String
    Resource ID of environment.
    extendedLocation ExtendedLocation
    The complex type of the extended location.
    identity ManagedServiceIdentity
    managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
    location String
    The geo-location where the resource lives
    managedEnvironmentId String
    Deprecated. Resource ID of the Container App's environment.
    tags Map<String,String>
    Resource tags.
    template Template
    Container App versioned application definition.
    workloadProfileType String
    Workload profile type to pin for container app execution.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    configuration Configuration
    Non versioned Container App configuration properties.
    containerAppName string
    Name of the Container App.
    environmentId string
    Resource ID of environment.
    extendedLocation ExtendedLocation
    The complex type of the extended location.
    identity ManagedServiceIdentity
    managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
    location string
    The geo-location where the resource lives
    managedEnvironmentId string
    Deprecated. Resource ID of the Container App's environment.
    tags {[key: string]: string}
    Resource tags.
    template Template
    Container App versioned application definition.
    workloadProfileType string
    Workload profile type to pin for container app execution.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    configuration ConfigurationArgs
    Non versioned Container App configuration properties.
    container_app_name str
    Name of the Container App.
    environment_id str
    Resource ID of environment.
    extended_location ExtendedLocationArgs
    The complex type of the extended location.
    identity ManagedServiceIdentityArgs
    managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
    location str
    The geo-location where the resource lives
    managed_environment_id str
    Deprecated. Resource ID of the Container App's environment.
    tags Mapping[str, str]
    Resource tags.
    template TemplateArgs
    Container App versioned application definition.
    workload_profile_type str
    Workload profile type to pin for container app execution.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    configuration Property Map
    Non versioned Container App configuration properties.
    containerAppName String
    Name of the Container App.
    environmentId String
    Resource ID of environment.
    extendedLocation Property Map
    The complex type of the extended location.
    identity Property Map
    managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
    location String
    The geo-location where the resource lives
    managedEnvironmentId String
    Deprecated. Resource ID of the Container App's environment.
    tags Map<String>
    Resource tags.
    template Property Map
    Container App versioned application definition.
    workloadProfileType String
    Workload profile type to pin for container app execution.

    Outputs

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

    CustomDomainVerificationId string
    Id used to verify domain name ownership
    EventStreamEndpoint string
    The endpoint of the eventstream of the container app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestReadyRevisionName string
    Name of the latest ready revision of the Container App.
    LatestRevisionFqdn string
    Fully Qualified Domain Name of the latest revision of the Container App.
    LatestRevisionName string
    Name of the latest revision of the Container App.
    Name string
    The name of the resource
    OutboundIpAddresses List<string>
    Outbound IP Addresses for container app.
    ProvisioningState string
    Provisioning state of the Container App.
    SystemData Pulumi.AzureNative.App.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    CustomDomainVerificationId string
    Id used to verify domain name ownership
    EventStreamEndpoint string
    The endpoint of the eventstream of the container app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestReadyRevisionName string
    Name of the latest ready revision of the Container App.
    LatestRevisionFqdn string
    Fully Qualified Domain Name of the latest revision of the Container App.
    LatestRevisionName string
    Name of the latest revision of the Container App.
    Name string
    The name of the resource
    OutboundIpAddresses []string
    Outbound IP Addresses for container app.
    ProvisioningState string
    Provisioning state of the Container App.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    customDomainVerificationId String
    Id used to verify domain name ownership
    eventStreamEndpoint String
    The endpoint of the eventstream of the container app.
    id String
    The provider-assigned unique ID for this managed resource.
    latestReadyRevisionName String
    Name of the latest ready revision of the Container App.
    latestRevisionFqdn String
    Fully Qualified Domain Name of the latest revision of the Container App.
    latestRevisionName String
    Name of the latest revision of the Container App.
    name String
    The name of the resource
    outboundIpAddresses List<String>
    Outbound IP Addresses for container app.
    provisioningState String
    Provisioning state of the Container App.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    customDomainVerificationId string
    Id used to verify domain name ownership
    eventStreamEndpoint string
    The endpoint of the eventstream of the container app.
    id string
    The provider-assigned unique ID for this managed resource.
    latestReadyRevisionName string
    Name of the latest ready revision of the Container App.
    latestRevisionFqdn string
    Fully Qualified Domain Name of the latest revision of the Container App.
    latestRevisionName string
    Name of the latest revision of the Container App.
    name string
    The name of the resource
    outboundIpAddresses string[]
    Outbound IP Addresses for container app.
    provisioningState string
    Provisioning state of the Container App.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    custom_domain_verification_id str
    Id used to verify domain name ownership
    event_stream_endpoint str
    The endpoint of the eventstream of the container app.
    id str
    The provider-assigned unique ID for this managed resource.
    latest_ready_revision_name str
    Name of the latest ready revision of the Container App.
    latest_revision_fqdn str
    Fully Qualified Domain Name of the latest revision of the Container App.
    latest_revision_name str
    Name of the latest revision of the Container App.
    name str
    The name of the resource
    outbound_ip_addresses Sequence[str]
    Outbound IP Addresses for container app.
    provisioning_state str
    Provisioning state of the Container App.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    customDomainVerificationId String
    Id used to verify domain name ownership
    eventStreamEndpoint String
    The endpoint of the eventstream of the container app.
    id String
    The provider-assigned unique ID for this managed resource.
    latestReadyRevisionName String
    Name of the latest ready revision of the Container App.
    latestRevisionFqdn String
    Fully Qualified Domain Name of the latest revision of the Container App.
    latestRevisionName String
    Name of the latest revision of the Container App.
    name String
    The name of the resource
    outboundIpAddresses List<String>
    Outbound IP Addresses for container app.
    provisioningState String
    Provisioning state of the Container App.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    Action, ActionArgs

    Allow
    Allow
    Deny
    Deny
    ActionAllow
    Allow
    ActionDeny
    Deny
    Allow
    Allow
    Deny
    Deny
    Allow
    Allow
    Deny
    Deny
    ALLOW
    Allow
    DENY
    Deny
    "Allow"
    Allow
    "Deny"
    Deny

    ActiveRevisionsMode, ActiveRevisionsModeArgs

    Multiple
    Multiple
    Single
    Single
    ActiveRevisionsModeMultiple
    Multiple
    ActiveRevisionsModeSingle
    Single
    Multiple
    Multiple
    Single
    Single
    Multiple
    Multiple
    Single
    Single
    MULTIPLE
    Multiple
    SINGLE
    Single
    "Multiple"
    Multiple
    "Single"
    Single

    AppProtocol, AppProtocolArgs

    Http
    http
    Grpc
    grpc
    AppProtocolHttp
    http
    AppProtocolGrpc
    grpc
    Http
    http
    Grpc
    grpc
    Http
    http
    Grpc
    grpc
    HTTP
    http
    GRPC
    grpc
    "http"
    http
    "grpc"
    grpc

    BindingType, BindingTypeArgs

    Disabled
    Disabled
    SniEnabled
    SniEnabled
    BindingTypeDisabled
    Disabled
    BindingTypeSniEnabled
    SniEnabled
    Disabled
    Disabled
    SniEnabled
    SniEnabled
    Disabled
    Disabled
    SniEnabled
    SniEnabled
    DISABLED
    Disabled
    SNI_ENABLED
    SniEnabled
    "Disabled"
    Disabled
    "SniEnabled"
    SniEnabled

    Configuration, ConfigurationArgs

    ActiveRevisionsMode string | Pulumi.AzureNative.App.ActiveRevisionsMode
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    Dapr Pulumi.AzureNative.App.Inputs.Dapr
    Dapr configuration for the Container App.
    Ingress Pulumi.AzureNative.App.Inputs.Ingress
    Ingress configurations.
    MaxInactiveRevisions int
    Optional. Max inactive revisions a Container App can have.
    Registries List<Pulumi.AzureNative.App.Inputs.RegistryCredentials>
    Collection of private container registry credentials for containers used by the Container app
    Secrets List<Pulumi.AzureNative.App.Inputs.Secret>
    Collection of secrets used by a Container app
    ActiveRevisionsMode string | ActiveRevisionsMode
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    Dapr Dapr
    Dapr configuration for the Container App.
    Ingress Ingress
    Ingress configurations.
    MaxInactiveRevisions int
    Optional. Max inactive revisions a Container App can have.
    Registries []RegistryCredentials
    Collection of private container registry credentials for containers used by the Container app
    Secrets []Secret
    Collection of secrets used by a Container app
    activeRevisionsMode String | ActiveRevisionsMode
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr Dapr
    Dapr configuration for the Container App.
    ingress Ingress
    Ingress configurations.
    maxInactiveRevisions Integer
    Optional. Max inactive revisions a Container App can have.
    registries List<RegistryCredentials>
    Collection of private container registry credentials for containers used by the Container app
    secrets List<Secret>
    Collection of secrets used by a Container app
    activeRevisionsMode string | ActiveRevisionsMode
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr Dapr
    Dapr configuration for the Container App.
    ingress Ingress
    Ingress configurations.
    maxInactiveRevisions number
    Optional. Max inactive revisions a Container App can have.
    registries RegistryCredentials[]
    Collection of private container registry credentials for containers used by the Container app
    secrets Secret[]
    Collection of secrets used by a Container app
    active_revisions_mode str | ActiveRevisionsMode
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr Dapr
    Dapr configuration for the Container App.
    ingress Ingress
    Ingress configurations.
    max_inactive_revisions int
    Optional. Max inactive revisions a Container App can have.
    registries Sequence[RegistryCredentials]
    Collection of private container registry credentials for containers used by the Container app
    secrets Sequence[Secret]
    Collection of secrets used by a Container app
    activeRevisionsMode String | "Multiple" | "Single"
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr Property Map
    Dapr configuration for the Container App.
    ingress Property Map
    Ingress configurations.
    maxInactiveRevisions Number
    Optional. Max inactive revisions a Container App can have.
    registries List<Property Map>
    Collection of private container registry credentials for containers used by the Container app
    secrets List<Property Map>
    Collection of secrets used by a Container app

    ConfigurationResponse, ConfigurationResponseArgs

    ActiveRevisionsMode string
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    Dapr Pulumi.AzureNative.App.Inputs.DaprResponse
    Dapr configuration for the Container App.
    Ingress Pulumi.AzureNative.App.Inputs.IngressResponse
    Ingress configurations.
    MaxInactiveRevisions int
    Optional. Max inactive revisions a Container App can have.
    Registries List<Pulumi.AzureNative.App.Inputs.RegistryCredentialsResponse>
    Collection of private container registry credentials for containers used by the Container app
    Secrets List<Pulumi.AzureNative.App.Inputs.SecretResponse>
    Collection of secrets used by a Container app
    ActiveRevisionsMode string
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    Dapr DaprResponse
    Dapr configuration for the Container App.
    Ingress IngressResponse
    Ingress configurations.
    MaxInactiveRevisions int
    Optional. Max inactive revisions a Container App can have.
    Registries []RegistryCredentialsResponse
    Collection of private container registry credentials for containers used by the Container app
    Secrets []SecretResponse
    Collection of secrets used by a Container app
    activeRevisionsMode String
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr DaprResponse
    Dapr configuration for the Container App.
    ingress IngressResponse
    Ingress configurations.
    maxInactiveRevisions Integer
    Optional. Max inactive revisions a Container App can have.
    registries List<RegistryCredentialsResponse>
    Collection of private container registry credentials for containers used by the Container app
    secrets List<SecretResponse>
    Collection of secrets used by a Container app
    activeRevisionsMode string
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr DaprResponse
    Dapr configuration for the Container App.
    ingress IngressResponse
    Ingress configurations.
    maxInactiveRevisions number
    Optional. Max inactive revisions a Container App can have.
    registries RegistryCredentialsResponse[]
    Collection of private container registry credentials for containers used by the Container app
    secrets SecretResponse[]
    Collection of secrets used by a Container app
    active_revisions_mode str
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr DaprResponse
    Dapr configuration for the Container App.
    ingress IngressResponse
    Ingress configurations.
    max_inactive_revisions int
    Optional. Max inactive revisions a Container App can have.
    registries Sequence[RegistryCredentialsResponse]
    Collection of private container registry credentials for containers used by the Container app
    secrets Sequence[SecretResponse]
    Collection of secrets used by a Container app
    activeRevisionsMode String
    ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
    dapr Property Map
    Dapr configuration for the Container App.
    ingress Property Map
    Ingress configurations.
    maxInactiveRevisions Number
    Optional. Max inactive revisions a Container App can have.
    registries List<Property Map>
    Collection of private container registry credentials for containers used by the Container app
    secrets List<Property Map>
    Collection of secrets used by a Container app

    Container, ContainerArgs

    Args List<string>
    Container start command arguments.
    Command List<string>
    Container start command.
    Env List<Pulumi.AzureNative.App.Inputs.EnvironmentVar>
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Probes List<Pulumi.AzureNative.App.Inputs.ContainerAppProbe>
    List of probes for the container.
    Resources Pulumi.AzureNative.App.Inputs.ContainerResources
    Container resource requirements.
    VolumeMounts List<Pulumi.AzureNative.App.Inputs.VolumeMount>
    Container volume mounts.
    Args []string
    Container start command arguments.
    Command []string
    Container start command.
    Env []EnvironmentVar
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Probes []ContainerAppProbe
    List of probes for the container.
    Resources ContainerResources
    Container resource requirements.
    VolumeMounts []VolumeMount
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<EnvironmentVar>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    probes List<ContainerAppProbe>
    List of probes for the container.
    resources ContainerResources
    Container resource requirements.
    volumeMounts List<VolumeMount>
    Container volume mounts.
    args string[]
    Container start command arguments.
    command string[]
    Container start command.
    env EnvironmentVar[]
    Container environment variables.
    image string
    Container image tag.
    name string
    Custom container name.
    probes ContainerAppProbe[]
    List of probes for the container.
    resources ContainerResources
    Container resource requirements.
    volumeMounts VolumeMount[]
    Container volume mounts.
    args Sequence[str]
    Container start command arguments.
    command Sequence[str]
    Container start command.
    env Sequence[EnvironmentVar]
    Container environment variables.
    image str
    Container image tag.
    name str
    Custom container name.
    probes Sequence[ContainerAppProbe]
    List of probes for the container.
    resources ContainerResources
    Container resource requirements.
    volume_mounts Sequence[VolumeMount]
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<Property Map>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    probes List<Property Map>
    List of probes for the container.
    resources Property Map
    Container resource requirements.
    volumeMounts List<Property Map>
    Container volume mounts.

    ContainerAppProbe, ContainerAppProbeArgs

    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    HttpGet Pulumi.AzureNative.App.Inputs.ContainerAppProbeHttpGet
    HTTPGet specifies the http request to perform.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    TcpSocket Pulumi.AzureNative.App.Inputs.ContainerAppProbeTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    TerminationGracePeriodSeconds double
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    TimeoutSeconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    Type string | Pulumi.AzureNative.App.Type
    The type of probe.
    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    HttpGet ContainerAppProbeHttpGet
    HTTPGet specifies the http request to perform.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    TcpSocket ContainerAppProbeTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    TerminationGracePeriodSeconds float64
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    TimeoutSeconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    Type string | Type
    The type of probe.
    failureThreshold Integer
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    httpGet ContainerAppProbeHttpGet
    HTTPGet specifies the http request to perform.
    initialDelaySeconds Integer
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    periodSeconds Integer
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    successThreshold Integer
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcpSocket ContainerAppProbeTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    terminationGracePeriodSeconds Double
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeoutSeconds Integer
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type String | Type
    The type of probe.
    failureThreshold number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    httpGet ContainerAppProbeHttpGet
    HTTPGet specifies the http request to perform.
    initialDelaySeconds number
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    periodSeconds number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    successThreshold number
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcpSocket ContainerAppProbeTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    terminationGracePeriodSeconds number
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeoutSeconds number
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type string | Type
    The type of probe.
    failure_threshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    http_get ContainerAppProbeHttpGet
    HTTPGet specifies the http request to perform.
    initial_delay_seconds int
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    period_seconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    success_threshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcp_socket ContainerAppProbeTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    termination_grace_period_seconds float
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeout_seconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type str | Type
    The type of probe.
    failureThreshold Number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    httpGet Property Map
    HTTPGet specifies the http request to perform.
    initialDelaySeconds Number
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    periodSeconds Number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    successThreshold Number
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcpSocket Property Map
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    terminationGracePeriodSeconds Number
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeoutSeconds Number
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type String | "Liveness" | "Readiness" | "Startup"
    The type of probe.

    ContainerAppProbeHttpGet, ContainerAppProbeHttpGetArgs

    Port int
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    HttpHeaders List<Pulumi.AzureNative.App.Inputs.ContainerAppProbeHttpHeaders>
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server.
    Scheme string | Pulumi.AzureNative.App.Scheme
    Scheme to use for connecting to the host. Defaults to HTTP.
    Port int
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    HttpHeaders []ContainerAppProbeHttpHeaders
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server.
    Scheme string | Scheme
    Scheme to use for connecting to the host. Defaults to HTTP.
    port Integer
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    httpHeaders List<ContainerAppProbeHttpHeaders>
    Custom headers to set in the request. HTTP allows repeated headers.
    path String
    Path to access on the HTTP server.
    scheme String | Scheme
    Scheme to use for connecting to the host. Defaults to HTTP.
    port number
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host string
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    httpHeaders ContainerAppProbeHttpHeaders[]
    Custom headers to set in the request. HTTP allows repeated headers.
    path string
    Path to access on the HTTP server.
    scheme string | Scheme
    Scheme to use for connecting to the host. Defaults to HTTP.
    port int
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host str
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    http_headers Sequence[ContainerAppProbeHttpHeaders]
    Custom headers to set in the request. HTTP allows repeated headers.
    path str
    Path to access on the HTTP server.
    scheme str | Scheme
    Scheme to use for connecting to the host. Defaults to HTTP.
    port Number
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    httpHeaders List<Property Map>
    Custom headers to set in the request. HTTP allows repeated headers.
    path String
    Path to access on the HTTP server.
    scheme String | "HTTP" | "HTTPS"
    Scheme to use for connecting to the host. Defaults to HTTP.

    ContainerAppProbeHttpHeaders, ContainerAppProbeHttpHeadersArgs

    Name string
    The header field name
    Value string
    The header field value
    Name string
    The header field name
    Value string
    The header field value
    name String
    The header field name
    value String
    The header field value
    name string
    The header field name
    value string
    The header field value
    name str
    The header field name
    value str
    The header field value
    name String
    The header field name
    value String
    The header field value

    ContainerAppProbeResponse, ContainerAppProbeResponseArgs

    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    HttpGet Pulumi.AzureNative.App.Inputs.ContainerAppProbeResponseHttpGet
    HTTPGet specifies the http request to perform.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    TcpSocket Pulumi.AzureNative.App.Inputs.ContainerAppProbeResponseTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    TerminationGracePeriodSeconds double
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    TimeoutSeconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    Type string
    The type of probe.
    FailureThreshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    HttpGet ContainerAppProbeResponseHttpGet
    HTTPGet specifies the http request to perform.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    TcpSocket ContainerAppProbeResponseTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    TerminationGracePeriodSeconds float64
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    TimeoutSeconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    Type string
    The type of probe.
    failureThreshold Integer
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    httpGet ContainerAppProbeResponseHttpGet
    HTTPGet specifies the http request to perform.
    initialDelaySeconds Integer
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    periodSeconds Integer
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    successThreshold Integer
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcpSocket ContainerAppProbeResponseTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    terminationGracePeriodSeconds Double
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeoutSeconds Integer
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type String
    The type of probe.
    failureThreshold number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    httpGet ContainerAppProbeResponseHttpGet
    HTTPGet specifies the http request to perform.
    initialDelaySeconds number
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    periodSeconds number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    successThreshold number
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcpSocket ContainerAppProbeResponseTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    terminationGracePeriodSeconds number
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeoutSeconds number
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type string
    The type of probe.
    failure_threshold int
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    http_get ContainerAppProbeResponseHttpGet
    HTTPGet specifies the http request to perform.
    initial_delay_seconds int
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    period_seconds int
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    success_threshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcp_socket ContainerAppProbeResponseTcpSocket
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    termination_grace_period_seconds float
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeout_seconds int
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type str
    The type of probe.
    failureThreshold Number
    Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    httpGet Property Map
    HTTPGet specifies the http request to perform.
    initialDelaySeconds Number
    Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    periodSeconds Number
    How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    successThreshold Number
    Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    tcpSocket Property Map
    TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
    terminationGracePeriodSeconds Number
    Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    timeoutSeconds Number
    Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    type String
    The type of probe.

    ContainerAppProbeResponseHttpGet, ContainerAppProbeResponseHttpGetArgs

    Port int
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    HttpHeaders List<Pulumi.AzureNative.App.Inputs.ContainerAppProbeResponseHttpHeaders>
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server.
    Scheme string
    Scheme to use for connecting to the host. Defaults to HTTP.
    Port int
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    HttpHeaders []ContainerAppProbeResponseHttpHeaders
    Custom headers to set in the request. HTTP allows repeated headers.
    Path string
    Path to access on the HTTP server.
    Scheme string
    Scheme to use for connecting to the host. Defaults to HTTP.
    port Integer
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    httpHeaders List<ContainerAppProbeResponseHttpHeaders>
    Custom headers to set in the request. HTTP allows repeated headers.
    path String
    Path to access on the HTTP server.
    scheme String
    Scheme to use for connecting to the host. Defaults to HTTP.
    port number
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host string
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    httpHeaders ContainerAppProbeResponseHttpHeaders[]
    Custom headers to set in the request. HTTP allows repeated headers.
    path string
    Path to access on the HTTP server.
    scheme string
    Scheme to use for connecting to the host. Defaults to HTTP.
    port int
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host str
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    http_headers Sequence[ContainerAppProbeResponseHttpHeaders]
    Custom headers to set in the request. HTTP allows repeated headers.
    path str
    Path to access on the HTTP server.
    scheme str
    Scheme to use for connecting to the host. Defaults to HTTP.
    port Number
    Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    httpHeaders List<Property Map>
    Custom headers to set in the request. HTTP allows repeated headers.
    path String
    Path to access on the HTTP server.
    scheme String
    Scheme to use for connecting to the host. Defaults to HTTP.

    ContainerAppProbeResponseHttpHeaders, ContainerAppProbeResponseHttpHeadersArgs

    Name string
    The header field name
    Value string
    The header field value
    Name string
    The header field name
    Value string
    The header field value
    name String
    The header field name
    value String
    The header field value
    name string
    The header field name
    value string
    The header field value
    name str
    The header field name
    value str
    The header field value
    name String
    The header field name
    value String
    The header field value

    ContainerAppProbeResponseTcpSocket, ContainerAppProbeResponseTcpSocketArgs

    Port int
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Optional: Host name to connect to, defaults to the pod IP.
    Port int
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Optional: Host name to connect to, defaults to the pod IP.
    port Integer
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Optional: Host name to connect to, defaults to the pod IP.
    port number
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host string
    Optional: Host name to connect to, defaults to the pod IP.
    port int
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host str
    Optional: Host name to connect to, defaults to the pod IP.
    port Number
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Optional: Host name to connect to, defaults to the pod IP.

    ContainerAppProbeTcpSocket, ContainerAppProbeTcpSocketArgs

    Port int
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Optional: Host name to connect to, defaults to the pod IP.
    Port int
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    Host string
    Optional: Host name to connect to, defaults to the pod IP.
    port Integer
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Optional: Host name to connect to, defaults to the pod IP.
    port number
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host string
    Optional: Host name to connect to, defaults to the pod IP.
    port int
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host str
    Optional: Host name to connect to, defaults to the pod IP.
    port Number
    Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    host String
    Optional: Host name to connect to, defaults to the pod IP.

    ContainerResources, ContainerResourcesArgs

    Cpu double
    Required CPU in cores, e.g. 0.5
    Memory string
    Required memory, e.g. "250Mb"
    Cpu float64
    Required CPU in cores, e.g. 0.5
    Memory string
    Required memory, e.g. "250Mb"
    cpu Double
    Required CPU in cores, e.g. 0.5
    memory String
    Required memory, e.g. "250Mb"
    cpu number
    Required CPU in cores, e.g. 0.5
    memory string
    Required memory, e.g. "250Mb"
    cpu float
    Required CPU in cores, e.g. 0.5
    memory str
    Required memory, e.g. "250Mb"
    cpu Number
    Required CPU in cores, e.g. 0.5
    memory String
    Required memory, e.g. "250Mb"

    ContainerResourcesResponse, ContainerResourcesResponseArgs

    EphemeralStorage string
    Ephemeral Storage, e.g. "1Gi"
    Cpu double
    Required CPU in cores, e.g. 0.5
    Memory string
    Required memory, e.g. "250Mb"
    EphemeralStorage string
    Ephemeral Storage, e.g. "1Gi"
    Cpu float64
    Required CPU in cores, e.g. 0.5
    Memory string
    Required memory, e.g. "250Mb"
    ephemeralStorage String
    Ephemeral Storage, e.g. "1Gi"
    cpu Double
    Required CPU in cores, e.g. 0.5
    memory String
    Required memory, e.g. "250Mb"
    ephemeralStorage string
    Ephemeral Storage, e.g. "1Gi"
    cpu number
    Required CPU in cores, e.g. 0.5
    memory string
    Required memory, e.g. "250Mb"
    ephemeral_storage str
    Ephemeral Storage, e.g. "1Gi"
    cpu float
    Required CPU in cores, e.g. 0.5
    memory str
    Required memory, e.g. "250Mb"
    ephemeralStorage String
    Ephemeral Storage, e.g. "1Gi"
    cpu Number
    Required CPU in cores, e.g. 0.5
    memory String
    Required memory, e.g. "250Mb"

    ContainerResponse, ContainerResponseArgs

    Args List<string>
    Container start command arguments.
    Command List<string>
    Container start command.
    Env List<Pulumi.AzureNative.App.Inputs.EnvironmentVarResponse>
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Probes List<Pulumi.AzureNative.App.Inputs.ContainerAppProbeResponse>
    List of probes for the container.
    Resources Pulumi.AzureNative.App.Inputs.ContainerResourcesResponse
    Container resource requirements.
    VolumeMounts List<Pulumi.AzureNative.App.Inputs.VolumeMountResponse>
    Container volume mounts.
    Args []string
    Container start command arguments.
    Command []string
    Container start command.
    Env []EnvironmentVarResponse
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Probes []ContainerAppProbeResponse
    List of probes for the container.
    Resources ContainerResourcesResponse
    Container resource requirements.
    VolumeMounts []VolumeMountResponse
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<EnvironmentVarResponse>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    probes List<ContainerAppProbeResponse>
    List of probes for the container.
    resources ContainerResourcesResponse
    Container resource requirements.
    volumeMounts List<VolumeMountResponse>
    Container volume mounts.
    args string[]
    Container start command arguments.
    command string[]
    Container start command.
    env EnvironmentVarResponse[]
    Container environment variables.
    image string
    Container image tag.
    name string
    Custom container name.
    probes ContainerAppProbeResponse[]
    List of probes for the container.
    resources ContainerResourcesResponse
    Container resource requirements.
    volumeMounts VolumeMountResponse[]
    Container volume mounts.
    args Sequence[str]
    Container start command arguments.
    command Sequence[str]
    Container start command.
    env Sequence[EnvironmentVarResponse]
    Container environment variables.
    image str
    Container image tag.
    name str
    Custom container name.
    probes Sequence[ContainerAppProbeResponse]
    List of probes for the container.
    resources ContainerResourcesResponse
    Container resource requirements.
    volume_mounts Sequence[VolumeMountResponse]
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<Property Map>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    probes List<Property Map>
    List of probes for the container.
    resources Property Map
    Container resource requirements.
    volumeMounts List<Property Map>
    Container volume mounts.

    CorsPolicy, CorsPolicyArgs

    AllowedOrigins List<string>
    allowed origins
    AllowCredentials bool
    allow credential or not
    AllowedHeaders List<string>
    allowed HTTP headers
    AllowedMethods List<string>
    allowed HTTP methods
    ExposeHeaders List<string>
    expose HTTP headers
    MaxAge int
    max time client can cache the result
    AllowedOrigins []string
    allowed origins
    AllowCredentials bool
    allow credential or not
    AllowedHeaders []string
    allowed HTTP headers
    AllowedMethods []string
    allowed HTTP methods
    ExposeHeaders []string
    expose HTTP headers
    MaxAge int
    max time client can cache the result
    allowedOrigins List<String>
    allowed origins
    allowCredentials Boolean
    allow credential or not
    allowedHeaders List<String>
    allowed HTTP headers
    allowedMethods List<String>
    allowed HTTP methods
    exposeHeaders List<String>
    expose HTTP headers
    maxAge Integer
    max time client can cache the result
    allowedOrigins string[]
    allowed origins
    allowCredentials boolean
    allow credential or not
    allowedHeaders string[]
    allowed HTTP headers
    allowedMethods string[]
    allowed HTTP methods
    exposeHeaders string[]
    expose HTTP headers
    maxAge number
    max time client can cache the result
    allowed_origins Sequence[str]
    allowed origins
    allow_credentials bool
    allow credential or not
    allowed_headers Sequence[str]
    allowed HTTP headers
    allowed_methods Sequence[str]
    allowed HTTP methods
    expose_headers Sequence[str]
    expose HTTP headers
    max_age int
    max time client can cache the result
    allowedOrigins List<String>
    allowed origins
    allowCredentials Boolean
    allow credential or not
    allowedHeaders List<String>
    allowed HTTP headers
    allowedMethods List<String>
    allowed HTTP methods
    exposeHeaders List<String>
    expose HTTP headers
    maxAge Number
    max time client can cache the result

    CorsPolicyResponse, CorsPolicyResponseArgs

    AllowedOrigins List<string>
    allowed origins
    AllowCredentials bool
    allow credential or not
    AllowedHeaders List<string>
    allowed HTTP headers
    AllowedMethods List<string>
    allowed HTTP methods
    ExposeHeaders List<string>
    expose HTTP headers
    MaxAge int
    max time client can cache the result
    AllowedOrigins []string
    allowed origins
    AllowCredentials bool
    allow credential or not
    AllowedHeaders []string
    allowed HTTP headers
    AllowedMethods []string
    allowed HTTP methods
    ExposeHeaders []string
    expose HTTP headers
    MaxAge int
    max time client can cache the result
    allowedOrigins List<String>
    allowed origins
    allowCredentials Boolean
    allow credential or not
    allowedHeaders List<String>
    allowed HTTP headers
    allowedMethods List<String>
    allowed HTTP methods
    exposeHeaders List<String>
    expose HTTP headers
    maxAge Integer
    max time client can cache the result
    allowedOrigins string[]
    allowed origins
    allowCredentials boolean
    allow credential or not
    allowedHeaders string[]
    allowed HTTP headers
    allowedMethods string[]
    allowed HTTP methods
    exposeHeaders string[]
    expose HTTP headers
    maxAge number
    max time client can cache the result
    allowed_origins Sequence[str]
    allowed origins
    allow_credentials bool
    allow credential or not
    allowed_headers Sequence[str]
    allowed HTTP headers
    allowed_methods Sequence[str]
    allowed HTTP methods
    expose_headers Sequence[str]
    expose HTTP headers
    max_age int
    max time client can cache the result
    allowedOrigins List<String>
    allowed origins
    allowCredentials Boolean
    allow credential or not
    allowedHeaders List<String>
    allowed HTTP headers
    allowedMethods List<String>
    allowed HTTP methods
    exposeHeaders List<String>
    expose HTTP headers
    maxAge Number
    max time client can cache the result

    CustomDomain, CustomDomainArgs

    Name string
    Hostname.
    BindingType string | Pulumi.AzureNative.App.BindingType
    Custom Domain binding type.
    CertificateId string
    Resource Id of the Certificate to be bound to this hostname.
    Name string
    Hostname.
    BindingType string | BindingType
    Custom Domain binding type.
    CertificateId string
    Resource Id of the Certificate to be bound to this hostname.
    name String
    Hostname.
    bindingType String | BindingType
    Custom Domain binding type.
    certificateId String
    Resource Id of the Certificate to be bound to this hostname.
    name string
    Hostname.
    bindingType string | BindingType
    Custom Domain binding type.
    certificateId string
    Resource Id of the Certificate to be bound to this hostname.
    name str
    Hostname.
    binding_type str | BindingType
    Custom Domain binding type.
    certificate_id str
    Resource Id of the Certificate to be bound to this hostname.
    name String
    Hostname.
    bindingType String | "Disabled" | "SniEnabled"
    Custom Domain binding type.
    certificateId String
    Resource Id of the Certificate to be bound to this hostname.

    CustomDomainResponse, CustomDomainResponseArgs

    Name string
    Hostname.
    BindingType string
    Custom Domain binding type.
    CertificateId string
    Resource Id of the Certificate to be bound to this hostname.
    Name string
    Hostname.
    BindingType string
    Custom Domain binding type.
    CertificateId string
    Resource Id of the Certificate to be bound to this hostname.
    name String
    Hostname.
    bindingType String
    Custom Domain binding type.
    certificateId String
    Resource Id of the Certificate to be bound to this hostname.
    name string
    Hostname.
    bindingType string
    Custom Domain binding type.
    certificateId string
    Resource Id of the Certificate to be bound to this hostname.
    name str
    Hostname.
    binding_type str
    Custom Domain binding type.
    certificate_id str
    Resource Id of the Certificate to be bound to this hostname.
    name String
    Hostname.
    bindingType String
    Custom Domain binding type.
    certificateId String
    Resource Id of the Certificate to be bound to this hostname.

    CustomScaleRule, CustomScaleRuleArgs

    Auth List<Pulumi.AzureNative.App.Inputs.ScaleRuleAuth>
    Authentication secrets for the custom scale rule.
    Metadata Dictionary<string, string>
    Metadata properties to describe custom scale rule.
    Type string
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    Auth []ScaleRuleAuth
    Authentication secrets for the custom scale rule.
    Metadata map[string]string
    Metadata properties to describe custom scale rule.
    Type string
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth List<ScaleRuleAuth>
    Authentication secrets for the custom scale rule.
    metadata Map<String,String>
    Metadata properties to describe custom scale rule.
    type String
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth ScaleRuleAuth[]
    Authentication secrets for the custom scale rule.
    metadata {[key: string]: string}
    Metadata properties to describe custom scale rule.
    type string
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth Sequence[ScaleRuleAuth]
    Authentication secrets for the custom scale rule.
    metadata Mapping[str, str]
    Metadata properties to describe custom scale rule.
    type str
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth List<Property Map>
    Authentication secrets for the custom scale rule.
    metadata Map<String>
    Metadata properties to describe custom scale rule.
    type String
    Type of the custom scale rule eg: azure-servicebus, redis etc.

    CustomScaleRuleResponse, CustomScaleRuleResponseArgs

    Auth List<Pulumi.AzureNative.App.Inputs.ScaleRuleAuthResponse>
    Authentication secrets for the custom scale rule.
    Metadata Dictionary<string, string>
    Metadata properties to describe custom scale rule.
    Type string
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    Auth []ScaleRuleAuthResponse
    Authentication secrets for the custom scale rule.
    Metadata map[string]string
    Metadata properties to describe custom scale rule.
    Type string
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth List<ScaleRuleAuthResponse>
    Authentication secrets for the custom scale rule.
    metadata Map<String,String>
    Metadata properties to describe custom scale rule.
    type String
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth ScaleRuleAuthResponse[]
    Authentication secrets for the custom scale rule.
    metadata {[key: string]: string}
    Metadata properties to describe custom scale rule.
    type string
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth Sequence[ScaleRuleAuthResponse]
    Authentication secrets for the custom scale rule.
    metadata Mapping[str, str]
    Metadata properties to describe custom scale rule.
    type str
    Type of the custom scale rule eg: azure-servicebus, redis etc.
    auth List<Property Map>
    Authentication secrets for the custom scale rule.
    metadata Map<String>
    Metadata properties to describe custom scale rule.
    type String
    Type of the custom scale rule eg: azure-servicebus, redis etc.

    Dapr, DaprArgs

    AppId string
    Dapr application identifier
    AppPort int
    Tells Dapr which port your application is listening on
    AppProtocol string | Pulumi.AzureNative.App.AppProtocol
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    EnableApiLogging bool
    Enables API logging for the Dapr sidecar
    Enabled bool
    Boolean indicating if the Dapr side car is enabled
    HttpMaxRequestSize int
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    HttpReadBufferSize int
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    LogLevel string | Pulumi.AzureNative.App.LogLevel
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    AppId string
    Dapr application identifier
    AppPort int
    Tells Dapr which port your application is listening on
    AppProtocol string | AppProtocol
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    EnableApiLogging bool
    Enables API logging for the Dapr sidecar
    Enabled bool
    Boolean indicating if the Dapr side car is enabled
    HttpMaxRequestSize int
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    HttpReadBufferSize int
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    LogLevel string | LogLevel
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    appId String
    Dapr application identifier
    appPort Integer
    Tells Dapr which port your application is listening on
    appProtocol String | AppProtocol
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enableApiLogging Boolean
    Enables API logging for the Dapr sidecar
    enabled Boolean
    Boolean indicating if the Dapr side car is enabled
    httpMaxRequestSize Integer
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    httpReadBufferSize Integer
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    logLevel String | LogLevel
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    appId string
    Dapr application identifier
    appPort number
    Tells Dapr which port your application is listening on
    appProtocol string | AppProtocol
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enableApiLogging boolean
    Enables API logging for the Dapr sidecar
    enabled boolean
    Boolean indicating if the Dapr side car is enabled
    httpMaxRequestSize number
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    httpReadBufferSize number
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    logLevel string | LogLevel
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    app_id str
    Dapr application identifier
    app_port int
    Tells Dapr which port your application is listening on
    app_protocol str | AppProtocol
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enable_api_logging bool
    Enables API logging for the Dapr sidecar
    enabled bool
    Boolean indicating if the Dapr side car is enabled
    http_max_request_size int
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    http_read_buffer_size int
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    log_level str | LogLevel
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    appId String
    Dapr application identifier
    appPort Number
    Tells Dapr which port your application is listening on
    appProtocol String | "http" | "grpc"
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enableApiLogging Boolean
    Enables API logging for the Dapr sidecar
    enabled Boolean
    Boolean indicating if the Dapr side car is enabled
    httpMaxRequestSize Number
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    httpReadBufferSize Number
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    logLevel String | "info" | "debug" | "warn" | "error"
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

    DaprResponse, DaprResponseArgs

    AppId string
    Dapr application identifier
    AppPort int
    Tells Dapr which port your application is listening on
    AppProtocol string
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    EnableApiLogging bool
    Enables API logging for the Dapr sidecar
    Enabled bool
    Boolean indicating if the Dapr side car is enabled
    HttpMaxRequestSize int
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    HttpReadBufferSize int
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    LogLevel string
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    AppId string
    Dapr application identifier
    AppPort int
    Tells Dapr which port your application is listening on
    AppProtocol string
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    EnableApiLogging bool
    Enables API logging for the Dapr sidecar
    Enabled bool
    Boolean indicating if the Dapr side car is enabled
    HttpMaxRequestSize int
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    HttpReadBufferSize int
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    LogLevel string
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    appId String
    Dapr application identifier
    appPort Integer
    Tells Dapr which port your application is listening on
    appProtocol String
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enableApiLogging Boolean
    Enables API logging for the Dapr sidecar
    enabled Boolean
    Boolean indicating if the Dapr side car is enabled
    httpMaxRequestSize Integer
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    httpReadBufferSize Integer
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    logLevel String
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    appId string
    Dapr application identifier
    appPort number
    Tells Dapr which port your application is listening on
    appProtocol string
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enableApiLogging boolean
    Enables API logging for the Dapr sidecar
    enabled boolean
    Boolean indicating if the Dapr side car is enabled
    httpMaxRequestSize number
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    httpReadBufferSize number
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    logLevel string
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    app_id str
    Dapr application identifier
    app_port int
    Tells Dapr which port your application is listening on
    app_protocol str
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enable_api_logging bool
    Enables API logging for the Dapr sidecar
    enabled bool
    Boolean indicating if the Dapr side car is enabled
    http_max_request_size int
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    http_read_buffer_size int
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    log_level str
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
    appId String
    Dapr application identifier
    appPort Number
    Tells Dapr which port your application is listening on
    appProtocol String
    Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
    enableApiLogging Boolean
    Enables API logging for the Dapr sidecar
    enabled Boolean
    Boolean indicating if the Dapr side car is enabled
    httpMaxRequestSize Number
    Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
    httpReadBufferSize Number
    Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
    logLevel String
    Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

    EnvironmentVar, EnvironmentVarArgs

    Name string
    Environment variable name.
    SecretRef string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    Non-secret environment variable value.
    Name string
    Environment variable name.
    SecretRef string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    Non-secret environment variable value.
    name String
    Environment variable name.
    secretRef String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    Non-secret environment variable value.
    name string
    Environment variable name.
    secretRef string
    Name of the Container App secret from which to pull the environment variable value.
    value string
    Non-secret environment variable value.
    name str
    Environment variable name.
    secret_ref str
    Name of the Container App secret from which to pull the environment variable value.
    value str
    Non-secret environment variable value.
    name String
    Environment variable name.
    secretRef String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    Non-secret environment variable value.

    EnvironmentVarResponse, EnvironmentVarResponseArgs

    Name string
    Environment variable name.
    SecretRef string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    Non-secret environment variable value.
    Name string
    Environment variable name.
    SecretRef string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    Non-secret environment variable value.
    name String
    Environment variable name.
    secretRef String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    Non-secret environment variable value.
    name string
    Environment variable name.
    secretRef string
    Name of the Container App secret from which to pull the environment variable value.
    value string
    Non-secret environment variable value.
    name str
    Environment variable name.
    secret_ref str
    Name of the Container App secret from which to pull the environment variable value.
    value str
    Non-secret environment variable value.
    name String
    Environment variable name.
    secretRef String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    Non-secret environment variable value.

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.App.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation
    ExtendedLocationTypesCustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CUSTOM_LOCATION
    CustomLocation
    "CustomLocation"
    CustomLocation

    HttpScaleRule, HttpScaleRuleArgs

    Auth List<Pulumi.AzureNative.App.Inputs.ScaleRuleAuth>
    Authentication secrets for the custom scale rule.
    Metadata Dictionary<string, string>
    Metadata properties to describe http scale rule.
    Auth []ScaleRuleAuth
    Authentication secrets for the custom scale rule.
    Metadata map[string]string
    Metadata properties to describe http scale rule.
    auth List<ScaleRuleAuth>
    Authentication secrets for the custom scale rule.
    metadata Map<String,String>
    Metadata properties to describe http scale rule.
    auth ScaleRuleAuth[]
    Authentication secrets for the custom scale rule.
    metadata {[key: string]: string}
    Metadata properties to describe http scale rule.
    auth Sequence[ScaleRuleAuth]
    Authentication secrets for the custom scale rule.
    metadata Mapping[str, str]
    Metadata properties to describe http scale rule.
    auth List<Property Map>
    Authentication secrets for the custom scale rule.
    metadata Map<String>
    Metadata properties to describe http scale rule.

    HttpScaleRuleResponse, HttpScaleRuleResponseArgs

    Auth List<Pulumi.AzureNative.App.Inputs.ScaleRuleAuthResponse>
    Authentication secrets for the custom scale rule.
    Metadata Dictionary<string, string>
    Metadata properties to describe http scale rule.
    Auth []ScaleRuleAuthResponse
    Authentication secrets for the custom scale rule.
    Metadata map[string]string
    Metadata properties to describe http scale rule.
    auth List<ScaleRuleAuthResponse>
    Authentication secrets for the custom scale rule.
    metadata Map<String,String>
    Metadata properties to describe http scale rule.
    auth ScaleRuleAuthResponse[]
    Authentication secrets for the custom scale rule.
    metadata {[key: string]: string}
    Metadata properties to describe http scale rule.
    auth Sequence[ScaleRuleAuthResponse]
    Authentication secrets for the custom scale rule.
    metadata Mapping[str, str]
    Metadata properties to describe http scale rule.
    auth List<Property Map>
    Authentication secrets for the custom scale rule.
    metadata Map<String>
    Metadata properties to describe http scale rule.

    Ingress, IngressArgs

    AllowInsecure bool
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    ClientCertificateMode string | Pulumi.AzureNative.App.IngressClientCertificateMode
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    CorsPolicy Pulumi.AzureNative.App.Inputs.CorsPolicy
    CORS policy for container app
    CustomDomains List<Pulumi.AzureNative.App.Inputs.CustomDomain>
    custom domain bindings for Container Apps' hostnames.
    ExposedPort int
    Exposed Port in containers for TCP traffic from ingress
    External bool
    Bool indicating if app exposes an external http endpoint
    IpSecurityRestrictions List<Pulumi.AzureNative.App.Inputs.IpSecurityRestrictionRule>
    Rules to restrict incoming IP address.
    TargetPort int
    Target Port in containers for traffic from ingress
    Traffic List<Pulumi.AzureNative.App.Inputs.TrafficWeight>
    Traffic weights for app's revisions
    Transport string | Pulumi.AzureNative.App.IngressTransportMethod
    Ingress transport protocol
    AllowInsecure bool
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    ClientCertificateMode string | IngressClientCertificateMode
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    CorsPolicy CorsPolicy
    CORS policy for container app
    CustomDomains []CustomDomain
    custom domain bindings for Container Apps' hostnames.
    ExposedPort int
    Exposed Port in containers for TCP traffic from ingress
    External bool
    Bool indicating if app exposes an external http endpoint
    IpSecurityRestrictions []IpSecurityRestrictionRule
    Rules to restrict incoming IP address.
    TargetPort int
    Target Port in containers for traffic from ingress
    Traffic []TrafficWeight
    Traffic weights for app's revisions
    Transport string | IngressTransportMethod
    Ingress transport protocol
    allowInsecure Boolean
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    clientCertificateMode String | IngressClientCertificateMode
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    corsPolicy CorsPolicy
    CORS policy for container app
    customDomains List<CustomDomain>
    custom domain bindings for Container Apps' hostnames.
    exposedPort Integer
    Exposed Port in containers for TCP traffic from ingress
    external Boolean
    Bool indicating if app exposes an external http endpoint
    ipSecurityRestrictions List<IpSecurityRestrictionRule>
    Rules to restrict incoming IP address.
    targetPort Integer
    Target Port in containers for traffic from ingress
    traffic List<TrafficWeight>
    Traffic weights for app's revisions
    transport String | IngressTransportMethod
    Ingress transport protocol
    allowInsecure boolean
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    clientCertificateMode string | IngressClientCertificateMode
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    corsPolicy CorsPolicy
    CORS policy for container app
    customDomains CustomDomain[]
    custom domain bindings for Container Apps' hostnames.
    exposedPort number
    Exposed Port in containers for TCP traffic from ingress
    external boolean
    Bool indicating if app exposes an external http endpoint
    ipSecurityRestrictions IpSecurityRestrictionRule[]
    Rules to restrict incoming IP address.
    targetPort number
    Target Port in containers for traffic from ingress
    traffic TrafficWeight[]
    Traffic weights for app's revisions
    transport string | IngressTransportMethod
    Ingress transport protocol
    allow_insecure bool
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    client_certificate_mode str | IngressClientCertificateMode
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    cors_policy CorsPolicy
    CORS policy for container app
    custom_domains Sequence[CustomDomain]
    custom domain bindings for Container Apps' hostnames.
    exposed_port int
    Exposed Port in containers for TCP traffic from ingress
    external bool
    Bool indicating if app exposes an external http endpoint
    ip_security_restrictions Sequence[IpSecurityRestrictionRule]
    Rules to restrict incoming IP address.
    target_port int
    Target Port in containers for traffic from ingress
    traffic Sequence[TrafficWeight]
    Traffic weights for app's revisions
    transport str | IngressTransportMethod
    Ingress transport protocol
    allowInsecure Boolean
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    clientCertificateMode String | "ignore" | "accept" | "require"
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    corsPolicy Property Map
    CORS policy for container app
    customDomains List<Property Map>
    custom domain bindings for Container Apps' hostnames.
    exposedPort Number
    Exposed Port in containers for TCP traffic from ingress
    external Boolean
    Bool indicating if app exposes an external http endpoint
    ipSecurityRestrictions List<Property Map>
    Rules to restrict incoming IP address.
    targetPort Number
    Target Port in containers for traffic from ingress
    traffic List<Property Map>
    Traffic weights for app's revisions
    transport String | "auto" | "http" | "http2" | "tcp"
    Ingress transport protocol

    IngressClientCertificateMode, IngressClientCertificateModeArgs

    Ignore
    ignore
    Accept
    accept
    Require
    require
    IngressClientCertificateModeIgnore
    ignore
    IngressClientCertificateModeAccept
    accept
    IngressClientCertificateModeRequire
    require
    Ignore
    ignore
    Accept
    accept
    Require
    require
    Ignore
    ignore
    Accept
    accept
    Require
    require
    IGNORE
    ignore
    ACCEPT
    accept
    REQUIRE
    require
    "ignore"
    ignore
    "accept"
    accept
    "require"
    require

    IngressResponse, IngressResponseArgs

    Fqdn string
    Hostname.
    AllowInsecure bool
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    ClientCertificateMode string
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    CorsPolicy Pulumi.AzureNative.App.Inputs.CorsPolicyResponse
    CORS policy for container app
    CustomDomains List<Pulumi.AzureNative.App.Inputs.CustomDomainResponse>
    custom domain bindings for Container Apps' hostnames.
    ExposedPort int
    Exposed Port in containers for TCP traffic from ingress
    External bool
    Bool indicating if app exposes an external http endpoint
    IpSecurityRestrictions List<Pulumi.AzureNative.App.Inputs.IpSecurityRestrictionRuleResponse>
    Rules to restrict incoming IP address.
    TargetPort int
    Target Port in containers for traffic from ingress
    Traffic List<Pulumi.AzureNative.App.Inputs.TrafficWeightResponse>
    Traffic weights for app's revisions
    Transport string
    Ingress transport protocol
    Fqdn string
    Hostname.
    AllowInsecure bool
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    ClientCertificateMode string
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    CorsPolicy CorsPolicyResponse
    CORS policy for container app
    CustomDomains []CustomDomainResponse
    custom domain bindings for Container Apps' hostnames.
    ExposedPort int
    Exposed Port in containers for TCP traffic from ingress
    External bool
    Bool indicating if app exposes an external http endpoint
    IpSecurityRestrictions []IpSecurityRestrictionRuleResponse
    Rules to restrict incoming IP address.
    TargetPort int
    Target Port in containers for traffic from ingress
    Traffic []TrafficWeightResponse
    Traffic weights for app's revisions
    Transport string
    Ingress transport protocol
    fqdn String
    Hostname.
    allowInsecure Boolean
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    clientCertificateMode String
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    corsPolicy CorsPolicyResponse
    CORS policy for container app
    customDomains List<CustomDomainResponse>
    custom domain bindings for Container Apps' hostnames.
    exposedPort Integer
    Exposed Port in containers for TCP traffic from ingress
    external Boolean
    Bool indicating if app exposes an external http endpoint
    ipSecurityRestrictions List<IpSecurityRestrictionRuleResponse>
    Rules to restrict incoming IP address.
    targetPort Integer
    Target Port in containers for traffic from ingress
    traffic List<TrafficWeightResponse>
    Traffic weights for app's revisions
    transport String
    Ingress transport protocol
    fqdn string
    Hostname.
    allowInsecure boolean
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    clientCertificateMode string
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    corsPolicy CorsPolicyResponse
    CORS policy for container app
    customDomains CustomDomainResponse[]
    custom domain bindings for Container Apps' hostnames.
    exposedPort number
    Exposed Port in containers for TCP traffic from ingress
    external boolean
    Bool indicating if app exposes an external http endpoint
    ipSecurityRestrictions IpSecurityRestrictionRuleResponse[]
    Rules to restrict incoming IP address.
    targetPort number
    Target Port in containers for traffic from ingress
    traffic TrafficWeightResponse[]
    Traffic weights for app's revisions
    transport string
    Ingress transport protocol
    fqdn str
    Hostname.
    allow_insecure bool
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    client_certificate_mode str
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    cors_policy CorsPolicyResponse
    CORS policy for container app
    custom_domains Sequence[CustomDomainResponse]
    custom domain bindings for Container Apps' hostnames.
    exposed_port int
    Exposed Port in containers for TCP traffic from ingress
    external bool
    Bool indicating if app exposes an external http endpoint
    ip_security_restrictions Sequence[IpSecurityRestrictionRuleResponse]
    Rules to restrict incoming IP address.
    target_port int
    Target Port in containers for traffic from ingress
    traffic Sequence[TrafficWeightResponse]
    Traffic weights for app's revisions
    transport str
    Ingress transport protocol
    fqdn String
    Hostname.
    allowInsecure Boolean
    Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
    clientCertificateMode String
    Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
    corsPolicy Property Map
    CORS policy for container app
    customDomains List<Property Map>
    custom domain bindings for Container Apps' hostnames.
    exposedPort Number
    Exposed Port in containers for TCP traffic from ingress
    external Boolean
    Bool indicating if app exposes an external http endpoint
    ipSecurityRestrictions List<Property Map>
    Rules to restrict incoming IP address.
    targetPort Number
    Target Port in containers for traffic from ingress
    traffic List<Property Map>
    Traffic weights for app's revisions
    transport String
    Ingress transport protocol

    IngressTransportMethod, IngressTransportMethodArgs

    Auto
    auto
    Http
    http
    Http2
    http2
    Tcp
    tcp
    IngressTransportMethodAuto
    auto
    IngressTransportMethodHttp
    http
    IngressTransportMethodHttp2
    http2
    IngressTransportMethodTcp
    tcp
    Auto
    auto
    Http
    http
    Http2
    http2
    Tcp
    tcp
    Auto
    auto
    Http
    http
    Http2
    http2
    Tcp
    tcp
    AUTO
    auto
    HTTP
    http
    HTTP2
    http2
    TCP
    tcp
    "auto"
    auto
    "http"
    http
    "http2"
    http2
    "tcp"
    tcp

    InitContainer, InitContainerArgs

    Args List<string>
    Container start command arguments.
    Command List<string>
    Container start command.
    Env List<Pulumi.AzureNative.App.Inputs.EnvironmentVar>
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Resources Pulumi.AzureNative.App.Inputs.ContainerResources
    Container resource requirements.
    VolumeMounts List<Pulumi.AzureNative.App.Inputs.VolumeMount>
    Container volume mounts.
    Args []string
    Container start command arguments.
    Command []string
    Container start command.
    Env []EnvironmentVar
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Resources ContainerResources
    Container resource requirements.
    VolumeMounts []VolumeMount
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<EnvironmentVar>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    resources ContainerResources
    Container resource requirements.
    volumeMounts List<VolumeMount>
    Container volume mounts.
    args string[]
    Container start command arguments.
    command string[]
    Container start command.
    env EnvironmentVar[]
    Container environment variables.
    image string
    Container image tag.
    name string
    Custom container name.
    resources ContainerResources
    Container resource requirements.
    volumeMounts VolumeMount[]
    Container volume mounts.
    args Sequence[str]
    Container start command arguments.
    command Sequence[str]
    Container start command.
    env Sequence[EnvironmentVar]
    Container environment variables.
    image str
    Container image tag.
    name str
    Custom container name.
    resources ContainerResources
    Container resource requirements.
    volume_mounts Sequence[VolumeMount]
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<Property Map>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    resources Property Map
    Container resource requirements.
    volumeMounts List<Property Map>
    Container volume mounts.

    InitContainerResponse, InitContainerResponseArgs

    Args List<string>
    Container start command arguments.
    Command List<string>
    Container start command.
    Env List<Pulumi.AzureNative.App.Inputs.EnvironmentVarResponse>
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Resources Pulumi.AzureNative.App.Inputs.ContainerResourcesResponse
    Container resource requirements.
    VolumeMounts List<Pulumi.AzureNative.App.Inputs.VolumeMountResponse>
    Container volume mounts.
    Args []string
    Container start command arguments.
    Command []string
    Container start command.
    Env []EnvironmentVarResponse
    Container environment variables.
    Image string
    Container image tag.
    Name string
    Custom container name.
    Resources ContainerResourcesResponse
    Container resource requirements.
    VolumeMounts []VolumeMountResponse
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<EnvironmentVarResponse>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    resources ContainerResourcesResponse
    Container resource requirements.
    volumeMounts List<VolumeMountResponse>
    Container volume mounts.
    args string[]
    Container start command arguments.
    command string[]
    Container start command.
    env EnvironmentVarResponse[]
    Container environment variables.
    image string
    Container image tag.
    name string
    Custom container name.
    resources ContainerResourcesResponse
    Container resource requirements.
    volumeMounts VolumeMountResponse[]
    Container volume mounts.
    args Sequence[str]
    Container start command arguments.
    command Sequence[str]
    Container start command.
    env Sequence[EnvironmentVarResponse]
    Container environment variables.
    image str
    Container image tag.
    name str
    Custom container name.
    resources ContainerResourcesResponse
    Container resource requirements.
    volume_mounts Sequence[VolumeMountResponse]
    Container volume mounts.
    args List<String>
    Container start command arguments.
    command List<String>
    Container start command.
    env List<Property Map>
    Container environment variables.
    image String
    Container image tag.
    name String
    Custom container name.
    resources Property Map
    Container resource requirements.
    volumeMounts List<Property Map>
    Container volume mounts.

    IpSecurityRestrictionRule, IpSecurityRestrictionRuleArgs

    Action string | Pulumi.AzureNative.App.Action
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    IpAddressRange string
    CIDR notation to match incoming IP address
    Name string
    Name for the IP restriction rule.
    Description string
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    Action string | Action
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    IpAddressRange string
    CIDR notation to match incoming IP address
    Name string
    Name for the IP restriction rule.
    Description string
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action String | Action
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ipAddressRange String
    CIDR notation to match incoming IP address
    name String
    Name for the IP restriction rule.
    description String
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action string | Action
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ipAddressRange string
    CIDR notation to match incoming IP address
    name string
    Name for the IP restriction rule.
    description string
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action str | Action
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ip_address_range str
    CIDR notation to match incoming IP address
    name str
    Name for the IP restriction rule.
    description str
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action String | "Allow" | "Deny"
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ipAddressRange String
    CIDR notation to match incoming IP address
    name String
    Name for the IP restriction rule.
    description String
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.

    IpSecurityRestrictionRuleResponse, IpSecurityRestrictionRuleResponseArgs

    Action string
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    IpAddressRange string
    CIDR notation to match incoming IP address
    Name string
    Name for the IP restriction rule.
    Description string
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    Action string
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    IpAddressRange string
    CIDR notation to match incoming IP address
    Name string
    Name for the IP restriction rule.
    Description string
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action String
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ipAddressRange String
    CIDR notation to match incoming IP address
    name String
    Name for the IP restriction rule.
    description String
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action string
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ipAddressRange string
    CIDR notation to match incoming IP address
    name string
    Name for the IP restriction rule.
    description string
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action str
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ip_address_range str
    CIDR notation to match incoming IP address
    name str
    Name for the IP restriction rule.
    description str
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
    action String
    Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    ipAddressRange String
    CIDR notation to match incoming IP address
    name String
    Name for the IP restriction rule.
    description String
    Describe the IP restriction rule that is being sent to the container-app. This is an optional field.

    LogLevel, LogLevelArgs

    Info
    info
    Debug
    debug
    Warn
    warn
    Error
    error
    LogLevelInfo
    info
    LogLevelDebug
    debug
    LogLevelWarn
    warn
    LogLevelError
    error
    Info
    info
    Debug
    debug
    Warn
    warn
    Error
    error
    Info
    info
    Debug
    debug
    Warn
    warn
    Error
    error
    INFO
    info
    DEBUG
    debug
    WARN
    warn
    ERROR
    error
    "info"
    info
    "debug"
    debug
    "warn"
    warn
    "error"
    error

    ManagedServiceIdentity, ManagedServiceIdentityArgs

    Type string | Pulumi.AzureNative.App.ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities List<string>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Type string | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities []string
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type String | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities List<String>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type string | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities string[]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type str | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    user_assigned_identities Sequence[str]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type String | "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned"
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities List<String>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

    ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs

    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.App.Inputs.UserAssignedIdentityResponse>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principal_id str
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenant_id str
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type str
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities Map<Property Map>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

    ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs

    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    ManagedServiceIdentityTypeNone
    None
    ManagedServiceIdentityTypeSystemAssigned
    SystemAssigned
    ManagedServiceIdentityTypeUserAssigned
    UserAssigned
    ManagedServiceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    NONE
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned,UserAssigned
    "None"
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned,UserAssigned"
    SystemAssigned,UserAssigned

    QueueScaleRule, QueueScaleRuleArgs

    Auth List<Pulumi.AzureNative.App.Inputs.ScaleRuleAuth>
    Authentication secrets for the queue scale rule.
    QueueLength int
    Queue length.
    QueueName string
    Queue name.
    Auth []ScaleRuleAuth
    Authentication secrets for the queue scale rule.
    QueueLength int
    Queue length.
    QueueName string
    Queue name.
    auth List<ScaleRuleAuth>
    Authentication secrets for the queue scale rule.
    queueLength Integer
    Queue length.
    queueName String
    Queue name.
    auth ScaleRuleAuth[]
    Authentication secrets for the queue scale rule.
    queueLength number
    Queue length.
    queueName string
    Queue name.
    auth Sequence[ScaleRuleAuth]
    Authentication secrets for the queue scale rule.
    queue_length int
    Queue length.
    queue_name str
    Queue name.
    auth List<Property Map>
    Authentication secrets for the queue scale rule.
    queueLength Number
    Queue length.
    queueName String
    Queue name.

    QueueScaleRuleResponse, QueueScaleRuleResponseArgs

    Auth List<Pulumi.AzureNative.App.Inputs.ScaleRuleAuthResponse>
    Authentication secrets for the queue scale rule.
    QueueLength int
    Queue length.
    QueueName string
    Queue name.
    Auth []ScaleRuleAuthResponse
    Authentication secrets for the queue scale rule.
    QueueLength int
    Queue length.
    QueueName string
    Queue name.
    auth List<ScaleRuleAuthResponse>
    Authentication secrets for the queue scale rule.
    queueLength Integer
    Queue length.
    queueName String
    Queue name.
    auth ScaleRuleAuthResponse[]
    Authentication secrets for the queue scale rule.
    queueLength number
    Queue length.
    queueName string
    Queue name.
    auth Sequence[ScaleRuleAuthResponse]
    Authentication secrets for the queue scale rule.
    queue_length int
    Queue length.
    queue_name str
    Queue name.
    auth List<Property Map>
    Authentication secrets for the queue scale rule.
    queueLength Number
    Queue length.
    queueName String
    Queue name.

    RegistryCredentials, RegistryCredentialsArgs

    Identity string
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    PasswordSecretRef string
    The name of the Secret that contains the registry login password
    Server string
    Container Registry Server
    Username string
    Container Registry Username
    Identity string
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    PasswordSecretRef string
    The name of the Secret that contains the registry login password
    Server string
    Container Registry Server
    Username string
    Container Registry Username
    identity String
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    passwordSecretRef String
    The name of the Secret that contains the registry login password
    server String
    Container Registry Server
    username String
    Container Registry Username
    identity string
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    passwordSecretRef string
    The name of the Secret that contains the registry login password
    server string
    Container Registry Server
    username string
    Container Registry Username
    identity str
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    password_secret_ref str
    The name of the Secret that contains the registry login password
    server str
    Container Registry Server
    username str
    Container Registry Username
    identity String
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    passwordSecretRef String
    The name of the Secret that contains the registry login password
    server String
    Container Registry Server
    username String
    Container Registry Username

    RegistryCredentialsResponse, RegistryCredentialsResponseArgs

    Identity string
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    PasswordSecretRef string
    The name of the Secret that contains the registry login password
    Server string
    Container Registry Server
    Username string
    Container Registry Username
    Identity string
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    PasswordSecretRef string
    The name of the Secret that contains the registry login password
    Server string
    Container Registry Server
    Username string
    Container Registry Username
    identity String
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    passwordSecretRef String
    The name of the Secret that contains the registry login password
    server String
    Container Registry Server
    username String
    Container Registry Username
    identity string
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    passwordSecretRef string
    The name of the Secret that contains the registry login password
    server string
    Container Registry Server
    username string
    Container Registry Username
    identity str
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    password_secret_ref str
    The name of the Secret that contains the registry login password
    server str
    Container Registry Server
    username str
    Container Registry Username
    identity String
    A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    passwordSecretRef String
    The name of the Secret that contains the registry login password
    server String
    Container Registry Server
    username String
    Container Registry Username

    Scale, ScaleArgs

    MaxReplicas int
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    MinReplicas int
    Optional. Minimum number of container replicas.
    Rules List<Pulumi.AzureNative.App.Inputs.ScaleRule>
    Scaling rules.
    MaxReplicas int
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    MinReplicas int
    Optional. Minimum number of container replicas.
    Rules []ScaleRule
    Scaling rules.
    maxReplicas Integer
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    minReplicas Integer
    Optional. Minimum number of container replicas.
    rules List<ScaleRule>
    Scaling rules.
    maxReplicas number
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    minReplicas number
    Optional. Minimum number of container replicas.
    rules ScaleRule[]
    Scaling rules.
    max_replicas int
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    min_replicas int
    Optional. Minimum number of container replicas.
    rules Sequence[ScaleRule]
    Scaling rules.
    maxReplicas Number
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    minReplicas Number
    Optional. Minimum number of container replicas.
    rules List<Property Map>
    Scaling rules.

    ScaleResponse, ScaleResponseArgs

    MaxReplicas int
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    MinReplicas int
    Optional. Minimum number of container replicas.
    Rules List<Pulumi.AzureNative.App.Inputs.ScaleRuleResponse>
    Scaling rules.
    MaxReplicas int
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    MinReplicas int
    Optional. Minimum number of container replicas.
    Rules []ScaleRuleResponse
    Scaling rules.
    maxReplicas Integer
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    minReplicas Integer
    Optional. Minimum number of container replicas.
    rules List<ScaleRuleResponse>
    Scaling rules.
    maxReplicas number
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    minReplicas number
    Optional. Minimum number of container replicas.
    rules ScaleRuleResponse[]
    Scaling rules.
    max_replicas int
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    min_replicas int
    Optional. Minimum number of container replicas.
    rules Sequence[ScaleRuleResponse]
    Scaling rules.
    maxReplicas Number
    Optional. Maximum number of container replicas. Defaults to 10 if not set.
    minReplicas Number
    Optional. Minimum number of container replicas.
    rules List<Property Map>
    Scaling rules.

    ScaleRule, ScaleRuleArgs

    AzureQueue QueueScaleRule
    Azure Queue based scaling.
    Custom CustomScaleRule
    Custom scale rule.
    Http HttpScaleRule
    HTTP requests based scaling.
    Name string
    Scale Rule Name
    Tcp TcpScaleRule
    Tcp requests based scaling.
    azureQueue QueueScaleRule
    Azure Queue based scaling.
    custom CustomScaleRule
    Custom scale rule.
    http HttpScaleRule
    HTTP requests based scaling.
    name String
    Scale Rule Name
    tcp TcpScaleRule
    Tcp requests based scaling.
    azureQueue QueueScaleRule
    Azure Queue based scaling.
    custom CustomScaleRule
    Custom scale rule.