1. Packages
  2. Azure Native v2
  3. API Docs
  4. app
  5. ContainerApp
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.app.ContainerApp

Explore with Pulumi AI

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, 2024-10-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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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" },
                            },
                        },
                    },
                },
            },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
                    },
                },
            }],
        },
    },
});
Copy
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",
                    },
                },
            }],
        },
    })
Copy
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'
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. ContainerAppArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ContainerAppArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ContainerAppArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 = 
    {
        { "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", new[]
                {
                    "string",
                } },
                { "allowCredentials", false },
                { "allowedHeaders", new[]
                {
                    "string",
                } },
                { "allowedMethods", new[]
                {
                    "string",
                } },
                { "exposeHeaders", new[]
                {
                    "string",
                } },
                { "maxAge", 0 },
            } },
            { "customDomains", new[]
            {
                
                {
                    { "name", "string" },
                    { "bindingType", "string" },
                    { "certificateId", "string" },
                },
            } },
            { "exposedPort", 0 },
            { "external", false },
            { "ipSecurityRestrictions", new[]
            {
                
                {
                    { "action", "string" },
                    { "ipAddressRange", "string" },
                    { "name", "string" },
                    { "description", "string" },
                },
            } },
            { "targetPort", 0 },
            { "traffic", new[]
            {
                
                {
                    { "label", "string" },
                    { "latestRevision", false },
                    { "revisionName", "string" },
                    { "weight", 0 },
                },
            } },
            { "transport", "string" },
        } },
        { "maxInactiveRevisions", 0 },
        { "registries", new[]
        {
            
            {
                { "identity", "string" },
                { "passwordSecretRef", "string" },
                { "server", "string" },
                { "username", "string" },
            },
        } },
        { "secrets", new[]
        {
            
            {
                { "identity", "string" },
                { "keyVaultUrl", "string" },
                { "name", "string" },
                { "value", "string" },
            },
        } },
    },
    ContainerAppName = "string",
    EnvironmentId = "string",
    ExtendedLocation = 
    {
        { "name", "string" },
        { "type", "string" },
    },
    Identity = 
    {
        { "type", "string" },
        { "userAssignedIdentities", new[]
        {
            "string",
        } },
    },
    Location = "string",
    ManagedEnvironmentId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Template = 
    {
        { "containers", new[]
        {
            
            {
                { "args", new[]
                {
                    "string",
                } },
                { "command", new[]
                {
                    "string",
                } },
                { "env", new[]
                {
                    
                    {
                        { "name", "string" },
                        { "secretRef", "string" },
                        { "value", "string" },
                    },
                } },
                { "image", "string" },
                { "name", "string" },
                { "probes", new[]
                {
                    
                    {
                        { "failureThreshold", 0 },
                        { "httpGet", 
                        {
                            { "port", 0 },
                            { "host", "string" },
                            { "httpHeaders", new[]
                            {
                                
                                {
                                    { "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", new[]
                {
                    
                    {
                        { "mountPath", "string" },
                        { "subPath", "string" },
                        { "volumeName", "string" },
                    },
                } },
            },
        } },
        { "initContainers", new[]
        {
            
            {
                { "args", new[]
                {
                    "string",
                } },
                { "command", new[]
                {
                    "string",
                } },
                { "env", new[]
                {
                    
                    {
                        { "name", "string" },
                        { "secretRef", "string" },
                        { "value", "string" },
                    },
                } },
                { "image", "string" },
                { "name", "string" },
                { "resources", 
                {
                    { "cpu", 0 },
                    { "memory", "string" },
                } },
                { "volumeMounts", new[]
                {
                    
                    {
                        { "mountPath", "string" },
                        { "subPath", "string" },
                        { "volumeName", "string" },
                    },
                } },
            },
        } },
        { "revisionSuffix", "string" },
        { "scale", 
        {
            { "maxReplicas", 0 },
            { "minReplicas", 0 },
            { "rules", new[]
            {
                
                {
                    { "azureQueue", 
                    {
                        { "auth", new[]
                        {
                            
                            {
                                { "secretRef", "string" },
                                { "triggerParameter", "string" },
                            },
                        } },
                        { "queueLength", 0 },
                        { "queueName", "string" },
                    } },
                    { "custom", 
                    {
                        { "auth", new[]
                        {
                            
                            {
                                { "secretRef", "string" },
                                { "triggerParameter", "string" },
                            },
                        } },
                        { "metadata", 
                        {
                            { "string", "string" },
                        } },
                        { "type", "string" },
                    } },
                    { "http", 
                    {
                        { "auth", new[]
                        {
                            
                            {
                                { "secretRef", "string" },
                                { "triggerParameter", "string" },
                            },
                        } },
                        { "metadata", 
                        {
                            { "string", "string" },
                        } },
                    } },
                    { "name", "string" },
                    { "tcp", 
                    {
                        { "auth", new[]
                        {
                            
                            {
                                { "secretRef", "string" },
                                { "triggerParameter", "string" },
                            },
                        } },
                        { "metadata", 
                        {
                            { "string", "string" },
                        } },
                    } },
                },
            } },
        } },
        { "volumes", new[]
        {
            
            {
                { "mountOptions", "string" },
                { "name", "string" },
                { "secrets", new[]
                {
                    
                    {
                        { "path", "string" },
                        { "secretRef", "string" },
                    },
                } },
                { "storageName", "string" },
                { "storageType", "string" },
            },
        } },
    },
    WorkloadProfileType = "string",
});
Copy
example, err := app.NewContainerApp(ctx, "containerAppResource", &app.ContainerAppArgs{
	ResourceGroupName: "string",
	Configuration: map[string]interface{}{
		"activeRevisionsMode": "string",
		"dapr": map[string]interface{}{
			"appId":              "string",
			"appPort":            0,
			"appProtocol":        "string",
			"enableApiLogging":   false,
			"enabled":            false,
			"httpMaxRequestSize": 0,
			"httpReadBufferSize": 0,
			"logLevel":           "string",
		},
		"ingress": map[string]interface{}{
			"allowInsecure":         false,
			"clientCertificateMode": "string",
			"corsPolicy": map[string]interface{}{
				"allowedOrigins": []string{
					"string",
				},
				"allowCredentials": false,
				"allowedHeaders": []string{
					"string",
				},
				"allowedMethods": []string{
					"string",
				},
				"exposeHeaders": []string{
					"string",
				},
				"maxAge": 0,
			},
			"customDomains": []map[string]interface{}{
				map[string]interface{}{
					"name":          "string",
					"bindingType":   "string",
					"certificateId": "string",
				},
			},
			"exposedPort": 0,
			"external":    false,
			"ipSecurityRestrictions": []map[string]interface{}{
				map[string]interface{}{
					"action":         "string",
					"ipAddressRange": "string",
					"name":           "string",
					"description":    "string",
				},
			},
			"targetPort": 0,
			"traffic": []map[string]interface{}{
				map[string]interface{}{
					"label":          "string",
					"latestRevision": false,
					"revisionName":   "string",
					"weight":         0,
				},
			},
			"transport": "string",
		},
		"maxInactiveRevisions": 0,
		"registries": []map[string]interface{}{
			map[string]interface{}{
				"identity":          "string",
				"passwordSecretRef": "string",
				"server":            "string",
				"username":          "string",
			},
		},
		"secrets": []map[string]interface{}{
			map[string]interface{}{
				"identity":    "string",
				"keyVaultUrl": "string",
				"name":        "string",
				"value":       "string",
			},
		},
	},
	ContainerAppName: "string",
	EnvironmentId:    "string",
	ExtendedLocation: map[string]interface{}{
		"name": "string",
		"type": "string",
	},
	Identity: map[string]interface{}{
		"type": "string",
		"userAssignedIdentities": []string{
			"string",
		},
	},
	Location:             "string",
	ManagedEnvironmentId: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
	Template: map[string]interface{}{
		"containers": []map[string]interface{}{
			map[string]interface{}{
				"args": []string{
					"string",
				},
				"command": []string{
					"string",
				},
				"env": []map[string]interface{}{
					map[string]interface{}{
						"name":      "string",
						"secretRef": "string",
						"value":     "string",
					},
				},
				"image": "string",
				"name":  "string",
				"probes": []map[string]interface{}{
					map[string]interface{}{
						"failureThreshold": 0,
						"httpGet": map[string]interface{}{
							"port": 0,
							"host": "string",
							"httpHeaders": []map[string]interface{}{
								map[string]interface{}{
									"name":  "string",
									"value": "string",
								},
							},
							"path":   "string",
							"scheme": "string",
						},
						"initialDelaySeconds": 0,
						"periodSeconds":       0,
						"successThreshold":    0,
						"tcpSocket": map[string]interface{}{
							"port": 0,
							"host": "string",
						},
						"terminationGracePeriodSeconds": 0,
						"timeoutSeconds":                0,
						"type":                          "string",
					},
				},
				"resources": map[string]interface{}{
					"cpu":    0,
					"memory": "string",
				},
				"volumeMounts": []map[string]interface{}{
					map[string]interface{}{
						"mountPath":  "string",
						"subPath":    "string",
						"volumeName": "string",
					},
				},
			},
		},
		"initContainers": []map[string]interface{}{
			map[string]interface{}{
				"args": []string{
					"string",
				},
				"command": []string{
					"string",
				},
				"env": []map[string]interface{}{
					map[string]interface{}{
						"name":      "string",
						"secretRef": "string",
						"value":     "string",
					},
				},
				"image": "string",
				"name":  "string",
				"resources": map[string]interface{}{
					"cpu":    0,
					"memory": "string",
				},
				"volumeMounts": []map[string]interface{}{
					map[string]interface{}{
						"mountPath":  "string",
						"subPath":    "string",
						"volumeName": "string",
					},
				},
			},
		},
		"revisionSuffix": "string",
		"scale": map[string]interface{}{
			"maxReplicas": 0,
			"minReplicas": 0,
			"rules": []map[string]interface{}{
				map[string]interface{}{
					"azureQueue": map[string]interface{}{
						"auth": []map[string]interface{}{
							map[string]interface{}{
								"secretRef":        "string",
								"triggerParameter": "string",
							},
						},
						"queueLength": 0,
						"queueName":   "string",
					},
					"custom": map[string]interface{}{
						"auth": []map[string]interface{}{
							map[string]interface{}{
								"secretRef":        "string",
								"triggerParameter": "string",
							},
						},
						"metadata": map[string]interface{}{
							"string": "string",
						},
						"type": "string",
					},
					"http": map[string]interface{}{
						"auth": []map[string]interface{}{
							map[string]interface{}{
								"secretRef":        "string",
								"triggerParameter": "string",
							},
						},
						"metadata": map[string]interface{}{
							"string": "string",
						},
					},
					"name": "string",
					"tcp": map[string]interface{}{
						"auth": []map[string]interface{}{
							map[string]interface{}{
								"secretRef":        "string",
								"triggerParameter": "string",
							},
						},
						"metadata": map[string]interface{}{
							"string": "string",
						},
					},
				},
			},
		},
		"volumes": []map[string]interface{}{
			map[string]interface{}{
				"mountOptions": "string",
				"name":         "string",
				"secrets": []map[string]interface{}{
					map[string]interface{}{
						"path":      "string",
						"secretRef": "string",
					},
				},
				"storageName": "string",
				"storageType": "string",
			},
		},
	},
	WorkloadProfileType: "string",
})
Copy
var containerAppResource = new ContainerApp("containerAppResource", ContainerAppArgs.builder()
    .resourceGroupName("string")
    .configuration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .containerAppName("string")
    .environmentId("string")
    .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .managedEnvironmentId("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .template(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .workloadProfileType("string")
    .build());
Copy
container_app_resource = azure_native.app.ContainerApp("containerAppResource",
    resource_group_name=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,
        }],
    },
    container_app_name=string,
    environment_id=string,
    extended_location={
        name: string,
        type: string,
    },
    identity={
        type: string,
        userAssignedIdentities: [string],
    },
    location=string,
    managed_environment_id=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,
        }],
    },
    workload_profile_type=string)
Copy
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",
});
Copy
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
Copy

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
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. string
Name of the Container App.
EnvironmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The geo-location where the resource lives
ManagedEnvironmentId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Configuration ConfigurationArgs
Non versioned Container App configuration properties.
ContainerAppName Changes to this property will trigger replacement. string
Name of the Container App.
EnvironmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The geo-location where the resource lives
ManagedEnvironmentId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
configuration Configuration
Non versioned Container App configuration properties.
containerAppName Changes to this property will trigger replacement. String
Name of the Container App.
environmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The geo-location where the resource lives
managedEnvironmentId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
configuration Configuration
Non versioned Container App configuration properties.
containerAppName Changes to this property will trigger replacement. string
Name of the Container App.
environmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The geo-location where the resource lives
managedEnvironmentId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
configuration ConfigurationArgs
Non versioned Container App configuration properties.
container_app_name Changes to this property will trigger replacement. str
Name of the Container App.
environment_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The geo-location where the resource lives
managed_environment_id Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
configuration Property Map
Non versioned Container App configuration properties.
containerAppName Changes to this property will trigger replacement. String
Name of the Container App.
environmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The geo-location where the resource lives
managedEnvironmentId Changes to this property will trigger replacement. 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
Auto
Auto
BindingTypeDisabled
Disabled
BindingTypeSniEnabled
SniEnabled
BindingTypeAuto
Auto
Disabled
Disabled
SniEnabled
SniEnabled
Auto
Auto
Disabled
Disabled
SniEnabled
SniEnabled
Auto
Auto
DISABLED
Disabled
SNI_ENABLED
SniEnabled
AUTO
Auto
"Disabled"
Disabled
"SniEnabled"
SniEnabled
"Auto"
Auto

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The header field name
Value This property is required. string
The header field value
Name This property is required. string
The header field name
Value This property is required. string
The header field value
name This property is required. String
The header field name
value This property is required. String
The header field value
name This property is required. string
The header field name
value This property is required. string
The header field value
name This property is required. str
The header field name
value This property is required. str
The header field value
name This property is required. String
The header field name
value This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The header field name
Value This property is required. string
The header field value
Name This property is required. string
The header field name
Value This property is required. string
The header field value
name This property is required. String
The header field name
value This property is required. String
The header field value
name This property is required. string
The header field name
value This property is required. string
The header field value
name This property is required. str
The header field name
value This property is required. str
The header field value
name This property is required. String
The header field name
value This property is required. String
The header field value

ContainerAppProbeResponseTcpSocket
, ContainerAppProbeResponseTcpSocketArgs

Port This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Ephemeral Storage, e.g. "1Gi"
Cpu double
Required CPU in cores, e.g. 0.5
Memory string
Required memory, e.g. "250Mb"
EphemeralStorage This property is required. string
Ephemeral Storage, e.g. "1Gi"
Cpu float64
Required CPU in cores, e.g. 0.5
Memory string
Required memory, e.g. "250Mb"
ephemeralStorage This property is required. String
Ephemeral Storage, e.g. "1Gi"
cpu Double
Required CPU in cores, e.g. 0.5
memory String
Required memory, e.g. "250Mb"
ephemeralStorage This property is required. 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 This property is required. str
Ephemeral Storage, e.g. "1Gi"
cpu float
Required CPU in cores, e.g. 0.5
memory str
Required memory, e.g. "250Mb"
ephemeralStorage This property is required. 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 This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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. Must exist in the Managed Environment.
Name This property is required. string
Hostname.
BindingType string | BindingType
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String | BindingType
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. string
Hostname.
bindingType string | BindingType
Custom Domain binding type.
certificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. str
Hostname.
binding_type str | BindingType
Custom Domain binding type.
certificate_id str
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String | "Disabled" | "SniEnabled" | "Auto"
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.

CustomDomainResponse
, CustomDomainResponseArgs

Name This property is required. string
Hostname.
BindingType string
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
Name This property is required. string
Hostname.
BindingType string
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. string
Hostname.
bindingType string
Custom Domain binding type.
certificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. str
Hostname.
binding_type str
Custom Domain binding type.
certificate_id str
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
CIDR notation to match incoming IP address
Name This property is required. 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 This property is required. string | Action
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
IpAddressRange This property is required. string
CIDR notation to match incoming IP address
Name This property is required. 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 This property is required. String | Action
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ipAddressRange This property is required. String
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. string | Action
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ipAddressRange This property is required. string
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. 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 This property is required. str
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. String | "Allow" | "Deny"
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ipAddressRange This property is required. String
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. string
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
IpAddressRange This property is required. string
CIDR notation to match incoming IP address
Name This property is required. 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 This property is required. string
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
IpAddressRange This property is required. string
CIDR notation to match incoming IP address
Name This property is required. 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 This property is required. String
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ipAddressRange This property is required. String
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. string
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ipAddressRange This property is required. string
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. str
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ip_address_range This property is required. str
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. String
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
ipAddressRange This property is required. String
CIDR notation to match incoming IP address
name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. 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 This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. 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 This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. 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 This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. 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 This property is required. str
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. 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 This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. 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.
http HttpScaleRule
HTTP requests based scaling.
name string
Scale Rule Name
tcp TcpScaleRule
Tcp requests based scaling.
azure_queue QueueScaleRule
Azure Queue based scaling.
custom CustomScaleRule
Custom scale rule.
http HttpScaleRule
HTTP requests based scaling.
name str
Scale Rule Name
tcp TcpScaleRule
Tcp requests based scaling.
azureQueue Property Map
Azure Queue based scaling.
custom Property Map
Custom scale rule.
http Property Map
HTTP requests based scaling.
name String
Scale Rule Name
tcp Property Map
Tcp requests based scaling.

ScaleRuleAuth
, ScaleRuleAuthArgs

SecretRef string
Name of the secret from which to pull the auth params.
TriggerParameter string
Trigger Parameter that uses the secret
SecretRef string
Name of the secret from which to pull the auth params.
TriggerParameter string
Trigger Parameter that uses the secret
secretRef String
Name of the secret from which to pull the auth params.
triggerParameter String
Trigger Parameter that uses the secret
secretRef string
Name of the secret from which to pull the auth params.
triggerParameter string
Trigger Parameter that uses the secret
secret_ref str
Name of the secret from which to pull the auth params.
trigger_parameter str
Trigger Parameter that uses the secret
secretRef String
Name of the secret from which to pull the auth params.
triggerParameter String
Trigger Parameter that uses the secret

ScaleRuleAuthResponse
, ScaleRuleAuthResponseArgs

SecretRef string
Name of the secret from which to pull the auth params.
TriggerParameter string
Trigger Parameter that uses the secret
SecretRef string
Name of the secret from which to pull the auth params.
TriggerParameter string
Trigger Parameter that uses the secret
secretRef String
Name of the secret from which to pull the auth params.
triggerParameter String
Trigger Parameter that uses the secret
secretRef string
Name of the secret from which to pull the auth params.
triggerParameter string
Trigger Parameter that uses the secret
secret_ref str
Name of the secret from which to pull the auth params.
trigger_parameter str
Trigger Parameter that uses the secret
secretRef String
Name of the secret from which to pull the auth params.
triggerParameter String
Trigger Parameter that uses the secret

ScaleRuleResponse
, ScaleRuleResponseArgs

AzureQueue QueueScaleRuleResponse
Azure Queue based scaling.
Custom CustomScaleRuleResponse
Custom scale rule.
Http HttpScaleRuleResponse
HTTP requests based scaling.
Name string
Scale Rule Name
Tcp TcpScaleRuleResponse
Tcp requests based scaling.
azureQueue QueueScaleRuleResponse
Azure Queue based scaling.
custom CustomScaleRuleResponse
Custom scale rule.
http HttpScaleRuleResponse
HTTP requests based scaling.
name String
Scale Rule Name
tcp TcpScaleRuleResponse
Tcp requests based scaling.
azureQueue QueueScaleRuleResponse
Azure Queue based scaling.
custom CustomScaleRuleResponse
Custom scale rule.
http HttpScaleRuleResponse
HTTP requests based scaling.
name string
Scale Rule Name
tcp TcpScaleRuleResponse
Tcp requests based scaling.
azure_queue QueueScaleRuleResponse
Azure Queue based scaling.
custom CustomScaleRuleResponse
Custom scale rule.
http HttpScaleRuleResponse
HTTP requests based scaling.
name str
Scale Rule Name
tcp TcpScaleRuleResponse
Tcp requests based scaling.
azureQueue Property Map
Azure Queue based scaling.
custom Property Map
Custom scale rule.
http Property Map
HTTP requests based scaling.
name String
Scale Rule Name
tcp Property Map
Tcp requests based scaling.

Scheme
, SchemeArgs

HTTP
HTTP
HTTPS
HTTPS
SchemeHTTP
HTTP
SchemeHTTPS
HTTPS
HTTP
HTTP
HTTPS
HTTPS
HTTP
HTTP
HTTPS
HTTPS
HTTP
HTTP
HTTPS
HTTPS
"HTTP"
HTTP
"HTTPS"
HTTPS

Secret
, SecretArgs

Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
Value string
Secret Value.
Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
Value string
Secret Value.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.
value String
Secret Value.
identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
name string
Secret Name.
value string
Secret Value.
identity str
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
key_vault_url str
Azure Key Vault URL pointing to the secret referenced by the container app.
name str
Secret Name.
value str
Secret Value.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.
value String
Secret Value.

SecretResponse
, SecretResponseArgs

Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.
identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
name string
Secret Name.
identity str
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
key_vault_url str
Azure Key Vault URL pointing to the secret referenced by the container app.
name str
Secret Name.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.

SecretVolumeItem
, SecretVolumeItemArgs

Path string
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
SecretRef string
Name of the Container App secret from which to pull the secret value.
Path string
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
SecretRef string
Name of the Container App secret from which to pull the secret value.
path String
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secretRef String
Name of the Container App secret from which to pull the secret value.
path string
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secretRef string
Name of the Container App secret from which to pull the secret value.
path str
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secret_ref str
Name of the Container App secret from which to pull the secret value.
path String
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secretRef String
Name of the Container App secret from which to pull the secret value.

SecretVolumeItemResponse
, SecretVolumeItemResponseArgs

Path string
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
SecretRef string
Name of the Container App secret from which to pull the secret value.
Path string
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
SecretRef string
Name of the Container App secret from which to pull the secret value.
path String
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secretRef String
Name of the Container App secret from which to pull the secret value.
path string
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secretRef string
Name of the Container App secret from which to pull the secret value.
path str
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secret_ref str
Name of the Container App secret from which to pull the secret value.
path String
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
secretRef String
Name of the Container App secret from which to pull the secret value.

StorageType
, StorageTypeArgs

AzureFile
AzureFile
EmptyDir
EmptyDir
Secret
Secret
StorageTypeAzureFile
AzureFile
StorageTypeEmptyDir
EmptyDir
StorageTypeSecret
Secret
AzureFile
AzureFile
EmptyDir
EmptyDir
Secret
Secret
AzureFile
AzureFile
EmptyDir
EmptyDir
Secret
Secret
AZURE_FILE
AzureFile
EMPTY_DIR
EmptyDir
SECRET
Secret
"AzureFile"
AzureFile
"EmptyDir"
EmptyDir
"Secret"
Secret

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TcpScaleRule
, TcpScaleRuleArgs

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

TcpScaleRuleResponse
, TcpScaleRuleResponseArgs

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

Template
, TemplateArgs

Containers List<Pulumi.AzureNative.App.Inputs.Container>
List of container definitions for the Container App.
InitContainers List<Pulumi.AzureNative.App.Inputs.InitContainer>
List of specialized containers that run before app containers.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale Pulumi.AzureNative.App.Inputs.Scale
Scaling properties for the Container App.
Volumes List<Pulumi.AzureNative.App.Inputs.Volume>
List of volume definitions for the Container App.
Containers []Container
List of container definitions for the Container App.
InitContainers []InitContainer
List of specialized containers that run before app containers.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale Scale
Scaling properties for the Container App.
Volumes []Volume
List of volume definitions for the Container App.
containers List<Container>
List of container definitions for the Container App.
initContainers List<InitContainer>
List of specialized containers that run before app containers.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale Scale
Scaling properties for the Container App.
volumes List<Volume>
List of volume definitions for the Container App.
containers Container[]
List of container definitions for the Container App.
initContainers InitContainer[]
List of specialized containers that run before app containers.
revisionSuffix string
User friendly suffix that is appended to the revision name
scale Scale
Scaling properties for the Container App.
volumes Volume[]
List of volume definitions for the Container App.
containers Sequence[Container]
List of container definitions for the Container App.
init_containers Sequence[InitContainer]
List of specialized containers that run before app containers.
revision_suffix str
User friendly suffix that is appended to the revision name
scale Scale
Scaling properties for the Container App.
volumes Sequence[Volume]
List of volume definitions for the Container App.
containers List<Property Map>
List of container definitions for the Container App.
initContainers List<Property Map>
List of specialized containers that run before app containers.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale Property Map
Scaling properties for the Container App.
volumes List<Property Map>
List of volume definitions for the Container App.

TemplateResponse
, TemplateResponseArgs

Containers List<Pulumi.AzureNative.App.Inputs.ContainerResponse>
List of container definitions for the Container App.
InitContainers List<Pulumi.AzureNative.App.Inputs.InitContainerResponse>
List of specialized containers that run before app containers.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale Pulumi.AzureNative.App.Inputs.ScaleResponse
Scaling properties for the Container App.
Volumes List<Pulumi.AzureNative.App.Inputs.VolumeResponse>
List of volume definitions for the Container App.
Containers []ContainerResponse
List of container definitions for the Container App.
InitContainers []InitContainerResponse
List of specialized containers that run before app containers.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale ScaleResponse
Scaling properties for the Container App.
Volumes []VolumeResponse
List of volume definitions for the Container App.
containers List<ContainerResponse>
List of container definitions for the Container App.
initContainers List<InitContainerResponse>
List of specialized containers that run before app containers.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale ScaleResponse
Scaling properties for the Container App.
volumes List<VolumeResponse>
List of volume definitions for the Container App.
containers ContainerResponse[]
List of container definitions for the Container App.
initContainers InitContainerResponse[]
List of specialized containers that run before app containers.
revisionSuffix string
User friendly suffix that is appended to the revision name
scale ScaleResponse
Scaling properties for the Container App.
volumes VolumeResponse[]
List of volume definitions for the Container App.
containers Sequence[ContainerResponse]
List of container definitions for the Container App.
init_containers Sequence[InitContainerResponse]
List of specialized containers that run before app containers.
revision_suffix str
User friendly suffix that is appended to the revision name
scale ScaleResponse
Scaling properties for the Container App.
volumes Sequence[VolumeResponse]
List of volume definitions for the Container App.
containers List<Property Map>
List of container definitions for the Container App.
initContainers List<Property Map>
List of specialized containers that run before app containers.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale Property Map
Scaling properties for the Container App.
volumes List<Property Map>
List of volume definitions for the Container App.

TrafficWeight
, TrafficWeightArgs

Label string
Associates a traffic label with a revision
LatestRevision bool
Indicates that the traffic weight belongs to a latest stable revision
RevisionName string
Name of a revision
Weight int
Traffic weight assigned to a revision
Label string
Associates a traffic label with a revision
LatestRevision bool
Indicates that the traffic weight belongs to a latest stable revision
RevisionName string
Name of a revision
Weight int
Traffic weight assigned to a revision
label String
Associates a traffic label with a revision
latestRevision Boolean
Indicates that the traffic weight belongs to a latest stable revision
revisionName String
Name of a revision
weight Integer
Traffic weight assigned to a revision
label string
Associates a traffic label with a revision
latestRevision boolean
Indicates that the traffic weight belongs to a latest stable revision
revisionName string
Name of a revision
weight number
Traffic weight assigned to a revision
label str
Associates a traffic label with a revision
latest_revision bool
Indicates that the traffic weight belongs to a latest stable revision
revision_name str
Name of a revision
weight int
Traffic weight assigned to a revision
label String
Associates a traffic label with a revision
latestRevision Boolean
Indicates that the traffic weight belongs to a latest stable revision
revisionName String
Name of a revision
weight Number
Traffic weight assigned to a revision

TrafficWeightResponse
, TrafficWeightResponseArgs

Label string
Associates a traffic label with a revision
LatestRevision bool
Indicates that the traffic weight belongs to a latest stable revision
RevisionName string
Name of a revision
Weight int
Traffic weight assigned to a revision
Label string
Associates a traffic label with a revision
LatestRevision bool
Indicates that the traffic weight belongs to a latest stable revision
RevisionName string
Name of a revision
Weight int
Traffic weight assigned to a revision
label String
Associates a traffic label with a revision
latestRevision Boolean
Indicates that the traffic weight belongs to a latest stable revision
revisionName String
Name of a revision
weight Integer
Traffic weight assigned to a revision
label string
Associates a traffic label with a revision
latestRevision boolean
Indicates that the traffic weight belongs to a latest stable revision
revisionName string
Name of a revision
weight number
Traffic weight assigned to a revision
label str
Associates a traffic label with a revision
latest_revision bool
Indicates that the traffic weight belongs to a latest stable revision
revision_name str
Name of a revision
weight int
Traffic weight assigned to a revision
label String
Associates a traffic label with a revision
latestRevision Boolean
Indicates that the traffic weight belongs to a latest stable revision
revisionName String
Name of a revision
weight Number
Traffic weight assigned to a revision

Type
, TypeArgs

Liveness
Liveness
Readiness
Readiness
Startup
Startup
TypeLiveness
Liveness
TypeReadiness
Readiness
TypeStartup
Startup
Liveness
Liveness
Readiness
Readiness
Startup
Startup
Liveness
Liveness
Readiness
Readiness
Startup
Startup
LIVENESS
Liveness
READINESS
Readiness
STARTUP
Startup
"Liveness"
Liveness
"Readiness"
Readiness
"Startup"
Startup

UserAssignedIdentityResponse
, UserAssignedIdentityResponseArgs

ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.
clientId This property is required. string
The client ID of the assigned identity.
principalId This property is required. string
The principal ID of the assigned identity.
client_id This property is required. str
The client ID of the assigned identity.
principal_id This property is required. str
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.

Volume
, VolumeArgs

MountOptions string
Mount options used while mounting the AzureFile. Must be a comma-separated string.
Name string
Volume name.
Secrets List<Pulumi.AzureNative.App.Inputs.SecretVolumeItem>
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
StorageName string
Name of storage resource. No need to provide for EmptyDir and Secret.
StorageType string | Pulumi.AzureNative.App.StorageType
Storage type for the volume. If not provided, use EmptyDir.
MountOptions string
Mount options used while mounting the AzureFile. Must be a comma-separated string.
Name string
Volume name.
Secrets []SecretVolumeItem
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
StorageName string
Name of storage resource. No need to provide for EmptyDir and Secret.
StorageType string | StorageType
Storage type for the volume. If not provided, use EmptyDir.
mountOptions String
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name String
Volume name.
secrets List<SecretVolumeItem>
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storageName String
Name of storage resource. No need to provide for EmptyDir and Secret.
storageType String | StorageType
Storage type for the volume. If not provided, use EmptyDir.
mountOptions string
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name string
Volume name.
secrets SecretVolumeItem[]
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storageName string
Name of storage resource. No need to provide for EmptyDir and Secret.
storageType string | StorageType
Storage type for the volume. If not provided, use EmptyDir.
mount_options str
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name str
Volume name.
secrets Sequence[SecretVolumeItem]
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storage_name str
Name of storage resource. No need to provide for EmptyDir and Secret.
storage_type str | StorageType
Storage type for the volume. If not provided, use EmptyDir.
mountOptions String
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name String
Volume name.
secrets List<Property Map>
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storageName String
Name of storage resource. No need to provide for EmptyDir and Secret.
storageType String | "AzureFile" | "EmptyDir" | "Secret"
Storage type for the volume. If not provided, use EmptyDir.

VolumeMount
, VolumeMountArgs

MountPath string
Path within the container at which the volume should be mounted.Must not contain ':'.
SubPath string
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
VolumeName string
This must match the Name of a Volume.
MountPath string
Path within the container at which the volume should be mounted.Must not contain ':'.
SubPath string
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
VolumeName string
This must match the Name of a Volume.
mountPath String
Path within the container at which the volume should be mounted.Must not contain ':'.
subPath String
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volumeName String
This must match the Name of a Volume.
mountPath string
Path within the container at which the volume should be mounted.Must not contain ':'.
subPath string
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volumeName string
This must match the Name of a Volume.
mount_path str
Path within the container at which the volume should be mounted.Must not contain ':'.
sub_path str
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volume_name str
This must match the Name of a Volume.
mountPath String
Path within the container at which the volume should be mounted.Must not contain ':'.
subPath String
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volumeName String
This must match the Name of a Volume.

VolumeMountResponse
, VolumeMountResponseArgs

MountPath string
Path within the container at which the volume should be mounted.Must not contain ':'.
SubPath string
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
VolumeName string
This must match the Name of a Volume.
MountPath string
Path within the container at which the volume should be mounted.Must not contain ':'.
SubPath string
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
VolumeName string
This must match the Name of a Volume.
mountPath String
Path within the container at which the volume should be mounted.Must not contain ':'.
subPath String
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volumeName String
This must match the Name of a Volume.
mountPath string
Path within the container at which the volume should be mounted.Must not contain ':'.
subPath string
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volumeName string
This must match the Name of a Volume.
mount_path str
Path within the container at which the volume should be mounted.Must not contain ':'.
sub_path str
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volume_name str
This must match the Name of a Volume.
mountPath String
Path within the container at which the volume should be mounted.Must not contain ':'.
subPath String
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
volumeName String
This must match the Name of a Volume.

VolumeResponse
, VolumeResponseArgs

MountOptions string
Mount options used while mounting the AzureFile. Must be a comma-separated string.
Name string
Volume name.
Secrets List<Pulumi.AzureNative.App.Inputs.SecretVolumeItemResponse>
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
StorageName string
Name of storage resource. No need to provide for EmptyDir and Secret.
StorageType string
Storage type for the volume. If not provided, use EmptyDir.
MountOptions string
Mount options used while mounting the AzureFile. Must be a comma-separated string.
Name string
Volume name.
Secrets []SecretVolumeItemResponse
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
StorageName string
Name of storage resource. No need to provide for EmptyDir and Secret.
StorageType string
Storage type for the volume. If not provided, use EmptyDir.
mountOptions String
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name String
Volume name.
secrets List<SecretVolumeItemResponse>
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storageName String
Name of storage resource. No need to provide for EmptyDir and Secret.
storageType String
Storage type for the volume. If not provided, use EmptyDir.
mountOptions string
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name string
Volume name.
secrets SecretVolumeItemResponse[]
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storageName string
Name of storage resource. No need to provide for EmptyDir and Secret.
storageType string
Storage type for the volume. If not provided, use EmptyDir.
mount_options str
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name str
Volume name.
secrets Sequence[SecretVolumeItemResponse]
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storage_name str
Name of storage resource. No need to provide for EmptyDir and Secret.
storage_type str
Storage type for the volume. If not provided, use EmptyDir.
mountOptions String
Mount options used while mounting the AzureFile. Must be a comma-separated string.
name String
Volume name.
secrets List<Property Map>
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
storageName String
Name of storage resource. No need to provide for EmptyDir and Secret.
storageType String
Storage type for the volume. If not provided, use EmptyDir.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:app:ContainerApp testcontainerapptcp /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0