1. Packages
  2. Azure Native v2
  3. API Docs
  4. web
  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.web.ContainerApp

Explore with Pulumi AI

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

Container App. Azure REST API version: 2023-01-01.

Other available API versions: 2023-12-01, 2024-04-01.

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.Web.ContainerApp("containerApp", new()
    {
        Configuration = new AzureNative.Web.Inputs.ConfigurationArgs
        {
            Ingress = new AzureNative.Web.Inputs.IngressArgs
            {
                External = true,
                TargetPort = 3000,
            },
        },
        Kind = "containerApp",
        KubeEnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube",
        Location = "East US",
        Name = "testcontainerApp0",
        ResourceGroupName = "rg",
        Template = new AzureNative.Web.Inputs.TemplateArgs
        {
            Containers = new[]
            {
                new AzureNative.Web.Inputs.ContainerArgs
                {
                    Image = "repo/testcontainerApp0:v1",
                    Name = "testcontainerApp0",
                },
            },
            Dapr = new AzureNative.Web.Inputs.DaprArgs
            {
                AppPort = 3000,
                Enabled = true,
            },
            Scale = new AzureNative.Web.Inputs.ScaleArgs
            {
                MaxReplicas = 5,
                MinReplicas = 1,
                Rules = new[]
                {
                    new AzureNative.Web.Inputs.ScaleRuleArgs
                    {
                        Custom = new AzureNative.Web.Inputs.CustomScaleRuleArgs
                        {
                            Metadata = 
                            {
                                { "concurrentRequests", "50" },
                            },
                            Type = "http",
                        },
                        Name = "httpscalingrule",
                    },
                },
            },
        },
    });

});
Copy
package main

import (
	web "github.com/pulumi/pulumi-azure-native-sdk/web/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := web.NewContainerApp(ctx, "containerApp", &web.ContainerAppArgs{
			Configuration: &web.ConfigurationArgs{
				Ingress: &web.IngressArgs{
					External:   pulumi.Bool(true),
					TargetPort: pulumi.Int(3000),
				},
			},
			Kind:              pulumi.String("containerApp"),
			KubeEnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube"),
			Location:          pulumi.String("East US"),
			Name:              pulumi.String("testcontainerApp0"),
			ResourceGroupName: pulumi.String("rg"),
			Template: &web.TemplateArgs{
				Containers: web.ContainerArray{
					&web.ContainerArgs{
						Image: pulumi.String("repo/testcontainerApp0:v1"),
						Name:  pulumi.String("testcontainerApp0"),
					},
				},
				Dapr: &web.DaprArgs{
					AppPort: pulumi.Int(3000),
					Enabled: pulumi.Bool(true),
				},
				Scale: &web.ScaleArgs{
					MaxReplicas: pulumi.Int(5),
					MinReplicas: pulumi.Int(1),
					Rules: web.ScaleRuleArray{
						&web.ScaleRuleArgs{
							Custom: &web.CustomScaleRuleArgs{
								Metadata: pulumi.StringMap{
									"concurrentRequests": pulumi.String("50"),
								},
								Type: pulumi.String("http"),
							},
							Name: pulumi.String("httpscalingrule"),
						},
					},
				},
			},
		})
		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.web.ContainerApp;
import com.pulumi.azurenative.web.ContainerAppArgs;
import com.pulumi.azurenative.web.inputs.ConfigurationArgs;
import com.pulumi.azurenative.web.inputs.IngressArgs;
import com.pulumi.azurenative.web.inputs.TemplateArgs;
import com.pulumi.azurenative.web.inputs.DaprArgs;
import com.pulumi.azurenative.web.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()
                    .external(true)
                    .targetPort(3000)
                    .build())
                .build())
            .kind("containerApp")
            .kubeEnvironmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube")
            .location("East US")
            .name("testcontainerApp0")
            .resourceGroupName("rg")
            .template(TemplateArgs.builder()
                .containers(ContainerArgs.builder()
                    .image("repo/testcontainerApp0:v1")
                    .name("testcontainerApp0")
                    .build())
                .dapr(DaprArgs.builder()
                    .appPort(3000)
                    .enabled(true)
                    .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())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const containerApp = new azure_native.web.ContainerApp("containerApp", {
    configuration: {
        ingress: {
            external: true,
            targetPort: 3000,
        },
    },
    kind: "containerApp",
    kubeEnvironmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube",
    location: "East US",
    name: "testcontainerApp0",
    resourceGroupName: "rg",
    template: {
        containers: [{
            image: "repo/testcontainerApp0:v1",
            name: "testcontainerApp0",
        }],
        dapr: {
            appPort: 3000,
            enabled: true,
        },
        scale: {
            maxReplicas: 5,
            minReplicas: 1,
            rules: [{
                custom: {
                    metadata: {
                        concurrentRequests: "50",
                    },
                    type: "http",
                },
                name: "httpscalingrule",
            }],
        },
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

container_app = azure_native.web.ContainerApp("containerApp",
    configuration={
        "ingress": {
            "external": True,
            "target_port": 3000,
        },
    },
    kind="containerApp",
    kube_environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube",
    location="East US",
    name="testcontainerApp0",
    resource_group_name="rg",
    template={
        "containers": [{
            "image": "repo/testcontainerApp0:v1",
            "name": "testcontainerApp0",
        }],
        "dapr": {
            "app_port": 3000,
            "enabled": True,
        },
        "scale": {
            "max_replicas": 5,
            "min_replicas": 1,
            "rules": [{
                "custom": {
                    "metadata": {
                        "concurrentRequests": "50",
                    },
                    "type": "http",
                },
                "name": "httpscalingrule",
            }],
        },
    })
Copy
resources:
  containerApp:
    type: azure-native:web:ContainerApp
    properties:
      configuration:
        ingress:
          external: true
          targetPort: 3000
      kind: containerApp
      kubeEnvironmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube
      location: East US
      name: testcontainerApp0
      resourceGroupName: rg
      template:
        containers:
          - image: repo/testcontainerApp0:v1
            name: testcontainerApp0
        dapr:
          appPort: 3000
          enabled: true
        scale:
          maxReplicas: 5
          minReplicas: 1
          rules:
            - custom:
                metadata:
                  concurrentRequests: '50'
                type: http
              name: httpscalingrule
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,
                 kind: Optional[str] = None,
                 kube_environment_id: Optional[str] = None,
                 location: Optional[str] = None,
                 name: Optional[str] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 template: Optional[TemplateArgs] = 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:web: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 azure_nativeContainerAppResource = new AzureNative.Web.ContainerApp("azure-nativeContainerAppResource", new()
{
    ResourceGroupName = "string",
    Configuration = 
    {
        { "activeRevisionsMode", "string" },
        { "ingress", 
        {
            { "allowInsecure", false },
            { "external", false },
            { "targetPort", 0 },
            { "traffic", new[]
            {
                
                {
                    { "latestRevision", false },
                    { "revisionName", "string" },
                    { "weight", 0 },
                },
            } },
            { "transport", "string" },
        } },
        { "registries", new[]
        {
            
            {
                { "passwordSecretRef", "string" },
                { "server", "string" },
                { "username", "string" },
            },
        } },
        { "secrets", new[]
        {
            
            {
                { "name", "string" },
                { "value", "string" },
            },
        } },
    },
    Kind = "string",
    KubeEnvironmentId = "string",
    Location = "string",
    Name = "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" },
                { "resources", 
                {
                    { "cpu", 0 },
                    { "memory", "string" },
                } },
            },
        } },
        { "dapr", 
        {
            { "appId", "string" },
            { "appPort", 0 },
            { "components", new[]
            {
                
                {
                    { "metadata", new[]
                    {
                        
                        {
                            { "name", "string" },
                            { "secretRef", "string" },
                            { "value", "string" },
                        },
                    } },
                    { "name", "string" },
                    { "type", "string" },
                    { "version", "string" },
                },
            } },
            { "enabled", false },
        } },
        { "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" },
                },
            } },
        } },
    },
});
Copy
example, err := web.NewContainerApp(ctx, "azure-nativeContainerAppResource", &web.ContainerAppArgs{
	ResourceGroupName: "string",
	Configuration: map[string]interface{}{
		"activeRevisionsMode": "string",
		"ingress": map[string]interface{}{
			"allowInsecure": false,
			"external":      false,
			"targetPort":    0,
			"traffic": []map[string]interface{}{
				map[string]interface{}{
					"latestRevision": false,
					"revisionName":   "string",
					"weight":         0,
				},
			},
			"transport": "string",
		},
		"registries": []map[string]interface{}{
			map[string]interface{}{
				"passwordSecretRef": "string",
				"server":            "string",
				"username":          "string",
			},
		},
		"secrets": []map[string]interface{}{
			map[string]interface{}{
				"name":  "string",
				"value": "string",
			},
		},
	},
	Kind:              "string",
	KubeEnvironmentId: "string",
	Location:          "string",
	Name:              "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",
				"resources": map[string]interface{}{
					"cpu":    0,
					"memory": "string",
				},
			},
		},
		"dapr": map[string]interface{}{
			"appId":   "string",
			"appPort": 0,
			"components": []map[string]interface{}{
				map[string]interface{}{
					"metadata": []map[string]interface{}{
						map[string]interface{}{
							"name":      "string",
							"secretRef": "string",
							"value":     "string",
						},
					},
					"name":    "string",
					"type":    "string",
					"version": "string",
				},
			},
			"enabled": false,
		},
		"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",
				},
			},
		},
	},
})
Copy
var azure_nativeContainerAppResource = new ContainerApp("azure-nativeContainerAppResource", ContainerAppArgs.builder()
    .resourceGroupName("string")
    .configuration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .kind("string")
    .kubeEnvironmentId("string")
    .location("string")
    .name("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))
    .build());
Copy
azure_native_container_app_resource = azure_native.web.ContainerApp("azure-nativeContainerAppResource",
    resource_group_name=string,
    configuration={
        activeRevisionsMode: string,
        ingress: {
            allowInsecure: False,
            external: False,
            targetPort: 0,
            traffic: [{
                latestRevision: False,
                revisionName: string,
                weight: 0,
            }],
            transport: string,
        },
        registries: [{
            passwordSecretRef: string,
            server: string,
            username: string,
        }],
        secrets: [{
            name: string,
            value: string,
        }],
    },
    kind=string,
    kube_environment_id=string,
    location=string,
    name=string,
    tags={
        string: string,
    },
    template={
        containers: [{
            args: [string],
            command: [string],
            env: [{
                name: string,
                secretRef: string,
                value: string,
            }],
            image: string,
            name: string,
            resources: {
                cpu: 0,
                memory: string,
            },
        }],
        dapr: {
            appId: string,
            appPort: 0,
            components: [{
                metadata: [{
                    name: string,
                    secretRef: string,
                    value: string,
                }],
                name: string,
                type: string,
                version: string,
            }],
            enabled: False,
        },
        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,
            }],
        },
    })
Copy
const azure_nativeContainerAppResource = new azure_native.web.ContainerApp("azure-nativeContainerAppResource", {
    resourceGroupName: "string",
    configuration: {
        activeRevisionsMode: "string",
        ingress: {
            allowInsecure: false,
            external: false,
            targetPort: 0,
            traffic: [{
                latestRevision: false,
                revisionName: "string",
                weight: 0,
            }],
            transport: "string",
        },
        registries: [{
            passwordSecretRef: "string",
            server: "string",
            username: "string",
        }],
        secrets: [{
            name: "string",
            value: "string",
        }],
    },
    kind: "string",
    kubeEnvironmentId: "string",
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
    template: {
        containers: [{
            args: ["string"],
            command: ["string"],
            env: [{
                name: "string",
                secretRef: "string",
                value: "string",
            }],
            image: "string",
            name: "string",
            resources: {
                cpu: 0,
                memory: "string",
            },
        }],
        dapr: {
            appId: "string",
            appPort: 0,
            components: [{
                metadata: [{
                    name: "string",
                    secretRef: "string",
                    value: "string",
                }],
                name: "string",
                type: "string",
                version: "string",
            }],
            enabled: false,
        },
        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",
            }],
        },
    },
});
Copy
type: azure-native:web:ContainerApp
properties:
    configuration:
        activeRevisionsMode: string
        ingress:
            allowInsecure: false
            external: false
            targetPort: 0
            traffic:
                - latestRevision: false
                  revisionName: string
                  weight: 0
            transport: string
        registries:
            - passwordSecretRef: string
              server: string
              username: string
        secrets:
            - name: string
              value: string
    kind: string
    kubeEnvironmentId: string
    location: string
    name: string
    resourceGroupName: string
    tags:
        string: string
    template:
        containers:
            - args:
                - string
              command:
                - string
              env:
                - name: string
                  secretRef: string
                  value: string
              image: string
              name: string
              resources:
                cpu: 0
                memory: string
        dapr:
            appId: string
            appPort: 0
            components:
                - metadata:
                    - name: string
                      secretRef: string
                      value: string
                  name: string
                  type: string
                  version: string
            enabled: false
        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
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
Name of the resource group to which the resource belongs.
Configuration Pulumi.AzureNative.Web.Inputs.Configuration
Non versioned Container App configuration properties.
Kind string
Kind of resource.
KubeEnvironmentId Changes to this property will trigger replacement. string
Resource ID of the Container App's KubeEnvironment.
Location string
Resource Location.
Name Changes to this property will trigger replacement. string
Name of the Container App.
Tags Dictionary<string, string>
Resource tags.
Template Pulumi.AzureNative.Web.Inputs.Template
Container App versioned application definition.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
Configuration ConfigurationArgs
Non versioned Container App configuration properties.
Kind string
Kind of resource.
KubeEnvironmentId Changes to this property will trigger replacement. string
Resource ID of the Container App's KubeEnvironment.
Location string
Resource Location.
Name Changes to this property will trigger replacement. string
Name of the Container App.
Tags map[string]string
Resource tags.
Template TemplateArgs
Container App versioned application definition.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
configuration Configuration
Non versioned Container App configuration properties.
kind String
Kind of resource.
kubeEnvironmentId Changes to this property will trigger replacement. String
Resource ID of the Container App's KubeEnvironment.
location String
Resource Location.
name Changes to this property will trigger replacement. String
Name of the Container App.
tags Map<String,String>
Resource tags.
template Template
Container App versioned application definition.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
configuration Configuration
Non versioned Container App configuration properties.
kind string
Kind of resource.
kubeEnvironmentId Changes to this property will trigger replacement. string
Resource ID of the Container App's KubeEnvironment.
location string
Resource Location.
name Changes to this property will trigger replacement. string
Name of the Container App.
tags {[key: string]: string}
Resource tags.
template Template
Container App versioned application definition.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
configuration ConfigurationArgs
Non versioned Container App configuration properties.
kind str
Kind of resource.
kube_environment_id Changes to this property will trigger replacement. str
Resource ID of the Container App's KubeEnvironment.
location str
Resource Location.
name Changes to this property will trigger replacement. str
Name of the Container App.
tags Mapping[str, str]
Resource tags.
template TemplateArgs
Container App versioned application definition.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
configuration Property Map
Non versioned Container App configuration properties.
kind String
Kind of resource.
kubeEnvironmentId Changes to this property will trigger replacement. String
Resource ID of the Container App's KubeEnvironment.
location String
Resource Location.
name Changes to this property will trigger replacement. String
Name of the Container App.
tags Map<String>
Resource tags.
template Property Map
Container App versioned application definition.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
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.
ProvisioningState string
Provisioning state of the Container App.
Type string
Resource type.
Id string
The provider-assigned unique ID for this managed resource.
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.
ProvisioningState string
Provisioning state of the Container App.
Type string
Resource type.
id String
The provider-assigned unique ID for this managed resource.
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.
provisioningState String
Provisioning state of the Container App.
type String
Resource type.
id string
The provider-assigned unique ID for this managed resource.
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.
provisioningState string
Provisioning state of the Container App.
type string
Resource type.
id str
The provider-assigned unique ID for this managed resource.
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.
provisioning_state str
Provisioning state of the Container App.
type str
Resource type.
id String
The provider-assigned unique ID for this managed resource.
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.
provisioningState String
Provisioning state of the Container App.
type String
Resource type.

Supporting Types

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

Configuration
, ConfigurationArgs

ActiveRevisionsMode string | Pulumi.AzureNative.Web.ActiveRevisionsMode
ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
Ingress Pulumi.AzureNative.Web.Inputs.Ingress
Ingress configurations.
Registries List<Pulumi.AzureNative.Web.Inputs.RegistryCredentials>
Collection of private container registry credentials for containers used by the Container app
Secrets List<Pulumi.AzureNative.Web.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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
Ingress Ingress
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress Ingress
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress Ingress
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress Ingress
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress Property Map
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
Ingress Pulumi.AzureNative.Web.Inputs.IngressResponse
Ingress configurations.
Registries List<Pulumi.AzureNative.Web.Inputs.RegistryCredentialsResponse>
Collection of private container registry credentials for containers used by the Container app
Secrets List<Pulumi.AzureNative.Web.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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
Ingress IngressResponse
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress IngressResponse
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress IngressResponse
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress IngressResponse
Ingress configurations.
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. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode
ingress Property Map
Ingress configurations.
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.Web.Inputs.EnvironmentVar>
Container environment variables.
Image string
Container image tag.
Name string
Custom container name.
Resources Pulumi.AzureNative.Web.Inputs.ContainerResources
Container resource requirements.
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.
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.
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.
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.
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.

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

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"

ContainerResponse
, ContainerResponseArgs

Args List<string>
Container start command arguments.
Command List<string>
Container start command.
Env List<Pulumi.AzureNative.Web.Inputs.EnvironmentVarResponse>
Container environment variables.
Image string
Container image tag.
Name string
Custom container name.
Resources Pulumi.AzureNative.Web.Inputs.ContainerResourcesResponse
Container resource requirements.
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.
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.
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.
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.
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.

CustomScaleRule
, CustomScaleRuleArgs

Auth List<Pulumi.AzureNative.Web.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.Web.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
Port on which the Dapr side car
Components List<Pulumi.AzureNative.Web.Inputs.DaprComponent>
Collection of Dapr components
Enabled bool
Boolean indicating if the Dapr side car is enabled
AppId string
Dapr application identifier
AppPort int
Port on which the Dapr side car
Components []DaprComponent
Collection of Dapr components
Enabled bool
Boolean indicating if the Dapr side car is enabled
appId String
Dapr application identifier
appPort Integer
Port on which the Dapr side car
components List<DaprComponent>
Collection of Dapr components
enabled Boolean
Boolean indicating if the Dapr side car is enabled
appId string
Dapr application identifier
appPort number
Port on which the Dapr side car
components DaprComponent[]
Collection of Dapr components
enabled boolean
Boolean indicating if the Dapr side car is enabled
app_id str
Dapr application identifier
app_port int
Port on which the Dapr side car
components Sequence[DaprComponent]
Collection of Dapr components
enabled bool
Boolean indicating if the Dapr side car is enabled
appId String
Dapr application identifier
appPort Number
Port on which the Dapr side car
components List<Property Map>
Collection of Dapr components
enabled Boolean
Boolean indicating if the Dapr side car is enabled

DaprComponent
, DaprComponentArgs

Metadata List<Pulumi.AzureNative.Web.Inputs.DaprMetadata>
Component metadata
Name string
Component name
Type string
Component type
Version string
Component version
Metadata []DaprMetadata
Component metadata
Name string
Component name
Type string
Component type
Version string
Component version
metadata List<DaprMetadata>
Component metadata
name String
Component name
type String
Component type
version String
Component version
metadata DaprMetadata[]
Component metadata
name string
Component name
type string
Component type
version string
Component version
metadata Sequence[DaprMetadata]
Component metadata
name str
Component name
type str
Component type
version str
Component version
metadata List<Property Map>
Component metadata
name String
Component name
type String
Component type
version String
Component version

DaprComponentResponse
, DaprComponentResponseArgs

Metadata List<Pulumi.AzureNative.Web.Inputs.DaprMetadataResponse>
Component metadata
Name string
Component name
Type string
Component type
Version string
Component version
Metadata []DaprMetadataResponse
Component metadata
Name string
Component name
Type string
Component type
Version string
Component version
metadata List<DaprMetadataResponse>
Component metadata
name String
Component name
type String
Component type
version String
Component version
metadata DaprMetadataResponse[]
Component metadata
name string
Component name
type string
Component type
version string
Component version
metadata Sequence[DaprMetadataResponse]
Component metadata
name str
Component name
type str
Component type
version str
Component version
metadata List<Property Map>
Component metadata
name String
Component name
type String
Component type
version String
Component version

DaprMetadata
, DaprMetadataArgs

Name string
Metadata property name.
SecretRef string
Name of the Container App secret from which to pull the metadata property value.
Value string
Metadata property value.
Name string
Metadata property name.
SecretRef string
Name of the Container App secret from which to pull the metadata property value.
Value string
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Container App secret from which to pull the metadata property value.
value String
Metadata property value.
name string
Metadata property name.
secretRef string
Name of the Container App secret from which to pull the metadata property value.
value string
Metadata property value.
name str
Metadata property name.
secret_ref str
Name of the Container App secret from which to pull the metadata property value.
value str
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Container App secret from which to pull the metadata property value.
value String
Metadata property value.

DaprMetadataResponse
, DaprMetadataResponseArgs

Name string
Metadata property name.
SecretRef string
Name of the Container App secret from which to pull the metadata property value.
Value string
Metadata property value.
Name string
Metadata property name.
SecretRef string
Name of the Container App secret from which to pull the metadata property value.
Value string
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Container App secret from which to pull the metadata property value.
value String
Metadata property value.
name string
Metadata property name.
secretRef string
Name of the Container App secret from which to pull the metadata property value.
value string
Metadata property value.
name str
Metadata property name.
secret_ref str
Name of the Container App secret from which to pull the metadata property value.
value str
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Container App secret from which to pull the metadata property value.
value String
Metadata property value.

DaprResponse
, DaprResponseArgs

AppId string
Dapr application identifier
AppPort int
Port on which the Dapr side car
Components List<Pulumi.AzureNative.Web.Inputs.DaprComponentResponse>
Collection of Dapr components
Enabled bool
Boolean indicating if the Dapr side car is enabled
AppId string
Dapr application identifier
AppPort int
Port on which the Dapr side car
Components []DaprComponentResponse
Collection of Dapr components
Enabled bool
Boolean indicating if the Dapr side car is enabled
appId String
Dapr application identifier
appPort Integer
Port on which the Dapr side car
components List<DaprComponentResponse>
Collection of Dapr components
enabled Boolean
Boolean indicating if the Dapr side car is enabled
appId string
Dapr application identifier
appPort number
Port on which the Dapr side car
components DaprComponentResponse[]
Collection of Dapr components
enabled boolean
Boolean indicating if the Dapr side car is enabled
app_id str
Dapr application identifier
app_port int
Port on which the Dapr side car
components Sequence[DaprComponentResponse]
Collection of Dapr components
enabled bool
Boolean indicating if the Dapr side car is enabled
appId String
Dapr application identifier
appPort Number
Port on which the Dapr side car
components List<Property Map>
Collection of Dapr components
enabled Boolean
Boolean indicating if the Dapr side car is enabled

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.

HttpScaleRule
, HttpScaleRuleArgs

Auth List<Pulumi.AzureNative.Web.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.Web.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
External bool
Bool indicating if app exposes an external http endpoint
TargetPort int
Target Port in containers for traffic from ingress
Traffic List<Pulumi.AzureNative.Web.Inputs.TrafficWeight>
Transport string | Pulumi.AzureNative.Web.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
External bool
Bool indicating if app exposes an external http endpoint
TargetPort int
Target Port in containers for traffic from ingress
Traffic []TrafficWeight
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
external Boolean
Bool indicating if app exposes an external http endpoint
targetPort Integer
Target Port in containers for traffic from ingress
traffic List<TrafficWeight>
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
external boolean
Bool indicating if app exposes an external http endpoint
targetPort number
Target Port in containers for traffic from ingress
traffic TrafficWeight[]
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
external bool
Bool indicating if app exposes an external http endpoint
target_port int
Target Port in containers for traffic from ingress
traffic Sequence[TrafficWeight]
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
external Boolean
Bool indicating if app exposes an external http endpoint
targetPort Number
Target Port in containers for traffic from ingress
traffic List<Property Map>
transport String | "auto" | "http" | "http2"
Ingress transport protocol

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
External bool
Bool indicating if app exposes an external http endpoint
TargetPort int
Target Port in containers for traffic from ingress
Traffic List<Pulumi.AzureNative.Web.Inputs.TrafficWeightResponse>
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
External bool
Bool indicating if app exposes an external http endpoint
TargetPort int
Target Port in containers for traffic from ingress
Traffic []TrafficWeightResponse
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
external Boolean
Bool indicating if app exposes an external http endpoint
targetPort Integer
Target Port in containers for traffic from ingress
traffic List<TrafficWeightResponse>
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
external boolean
Bool indicating if app exposes an external http endpoint
targetPort number
Target Port in containers for traffic from ingress
traffic TrafficWeightResponse[]
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
external bool
Bool indicating if app exposes an external http endpoint
target_port int
Target Port in containers for traffic from ingress
traffic Sequence[TrafficWeightResponse]
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
external Boolean
Bool indicating if app exposes an external http endpoint
targetPort Number
Target Port in containers for traffic from ingress
traffic List<Property Map>
transport String
Ingress transport protocol

IngressTransportMethod
, IngressTransportMethodArgs

Auto
auto
Http
http
Http2
http2
IngressTransportMethodAuto
auto
IngressTransportMethodHttp
http
IngressTransportMethodHttp2
http2
Auto
auto
Http
http
Http2
http2
Auto
auto
Http
http
Http2
http2
AUTO
auto
HTTP
http
HTTP2
http2
"auto"
auto
"http"
http
"http2"
http2

QueueScaleRule
, QueueScaleRuleArgs

Auth List<Pulumi.AzureNative.Web.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.Web.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

PasswordSecretRef string
The name of the Secret that contains the registry login password
Server string
Container Registry Server
Username string
Container Registry Username
PasswordSecretRef string
The name of the Secret that contains the registry login password
Server string
Container Registry Server
Username string
Container Registry Username
passwordSecretRef String
The name of the Secret that contains the registry login password
server String
Container Registry Server
username String
Container Registry Username
passwordSecretRef string
The name of the Secret that contains the registry login password
server string
Container Registry Server
username string
Container Registry Username
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
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

PasswordSecretRef string
The name of the Secret that contains the registry login password
Server string
Container Registry Server
Username string
Container Registry Username
PasswordSecretRef string
The name of the Secret that contains the registry login password
Server string
Container Registry Server
Username string
Container Registry Username
passwordSecretRef String
The name of the Secret that contains the registry login password
server String
Container Registry Server
username String
Container Registry Username
passwordSecretRef string
The name of the Secret that contains the registry login password
server string
Container Registry Server
username string
Container Registry Username
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
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.Web.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.Web.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
azureQueue QueueScaleRule
Azure Queue based scaling.
custom CustomScaleRule
Custom scale rule.
http HttpScaleRule
HTTP requests based scaling.
name String
Scale Rule Name
azureQueue QueueScaleRule
Azure Queue based scaling.
custom CustomScaleRule
Custom scale rule.
http HttpScaleRule
HTTP requests based scaling.
name string
Scale Rule Name
azure_queue QueueScaleRule
Azure Queue based scaling.
custom CustomScaleRule
Custom scale rule.
http HttpScaleRule
HTTP requests based scaling.
name str
Scale Rule Name
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

ScaleRuleAuth
, ScaleRuleAuthArgs

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

ScaleRuleAuthResponse
, ScaleRuleAuthResponseArgs

SecretRef string
Name of the Container App secret from which to pull the auth params.
TriggerParameter string
Trigger Parameter that uses the secret
SecretRef string
Name of the Container App secret from which to pull the auth params.
TriggerParameter string
Trigger Parameter that uses the secret
secretRef String
Name of the Container App secret from which to pull the auth params.
triggerParameter String
Trigger Parameter that uses the secret
secretRef string
Name of the Container App secret from which to pull the auth params.
triggerParameter string
Trigger Parameter that uses the secret
secret_ref str
Name of the Container App secret from which to pull the auth params.
trigger_parameter str
Trigger Parameter that uses the secret
secretRef String
Name of the Container App 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
azureQueue QueueScaleRuleResponse
Azure Queue based scaling.
custom CustomScaleRuleResponse
Custom scale rule.
http HttpScaleRuleResponse
HTTP requests based scaling.
name String
Scale Rule Name
azureQueue QueueScaleRuleResponse
Azure Queue based scaling.
custom CustomScaleRuleResponse
Custom scale rule.
http HttpScaleRuleResponse
HTTP requests based scaling.
name string
Scale Rule Name
azure_queue QueueScaleRuleResponse
Azure Queue based scaling.
custom CustomScaleRuleResponse
Custom scale rule.
http HttpScaleRuleResponse
HTTP requests based scaling.
name str
Scale Rule Name
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

Secret
, SecretArgs

Name string
Secret Name.
Value string
Secret Value.
Name string
Secret Name.
Value string
Secret Value.
name String
Secret Name.
value String
Secret Value.
name string
Secret Name.
value string
Secret Value.
name str
Secret Name.
value str
Secret Value.
name String
Secret Name.
value String
Secret Value.

SecretResponse
, SecretResponseArgs

Name string
Secret Name.
Name string
Secret Name.
name String
Secret Name.
name string
Secret Name.
name str
Secret Name.
name String
Secret Name.

Template
, TemplateArgs

Containers List<Pulumi.AzureNative.Web.Inputs.Container>
List of container definitions for the Container App.
Dapr Pulumi.AzureNative.Web.Inputs.Dapr
Dapr configuration for the Container App.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale Pulumi.AzureNative.Web.Inputs.Scale
Scaling properties for the Container App.
Containers []Container
List of container definitions for the Container App.
Dapr Dapr
Dapr configuration for the Container App.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale Scale
Scaling properties for the Container App.
containers List<Container>
List of container definitions for the Container App.
dapr Dapr
Dapr configuration for the Container App.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale Scale
Scaling properties for the Container App.
containers Container[]
List of container definitions for the Container App.
dapr Dapr
Dapr configuration for the Container App.
revisionSuffix string
User friendly suffix that is appended to the revision name
scale Scale
Scaling properties for the Container App.
containers Sequence[Container]
List of container definitions for the Container App.
dapr Dapr
Dapr configuration for the Container App.
revision_suffix str
User friendly suffix that is appended to the revision name
scale Scale
Scaling properties for the Container App.
containers List<Property Map>
List of container definitions for the Container App.
dapr Property Map
Dapr configuration for the Container App.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale Property Map
Scaling properties for the Container App.

TemplateResponse
, TemplateResponseArgs

Containers List<Pulumi.AzureNative.Web.Inputs.ContainerResponse>
List of container definitions for the Container App.
Dapr Pulumi.AzureNative.Web.Inputs.DaprResponse
Dapr configuration for the Container App.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale Pulumi.AzureNative.Web.Inputs.ScaleResponse
Scaling properties for the Container App.
Containers []ContainerResponse
List of container definitions for the Container App.
Dapr DaprResponse
Dapr configuration for the Container App.
RevisionSuffix string
User friendly suffix that is appended to the revision name
Scale ScaleResponse
Scaling properties for the Container App.
containers List<ContainerResponse>
List of container definitions for the Container App.
dapr DaprResponse
Dapr configuration for the Container App.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale ScaleResponse
Scaling properties for the Container App.
containers ContainerResponse[]
List of container definitions for the Container App.
dapr DaprResponse
Dapr configuration for the Container App.
revisionSuffix string
User friendly suffix that is appended to the revision name
scale ScaleResponse
Scaling properties for the Container App.
containers Sequence[ContainerResponse]
List of container definitions for the Container App.
dapr DaprResponse
Dapr configuration for the Container App.
revision_suffix str
User friendly suffix that is appended to the revision name
scale ScaleResponse
Scaling properties for the Container App.
containers List<Property Map>
List of container definitions for the Container App.
dapr Property Map
Dapr configuration for the Container App.
revisionSuffix String
User friendly suffix that is appended to the revision name
scale Property Map
Scaling properties for the Container App.

TrafficWeight
, TrafficWeightArgs

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
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
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
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
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
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

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
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
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
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
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
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

Import

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

$ pulumi import azure-native:web:ContainerApp testcontainerApp0 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name} 
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
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