azure-native.web.ContainerApp
Explore with Pulumi AI
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",
},
},
},
},
});
});
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
})
}
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());
}
}
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",
}],
},
})
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",
}],
},
},
});
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
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 string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeContainerAppResource = new AzureNative.Web.ContainerApp("azure-nativeContainerAppResource", new()
{
ResourceGroupName = "string",
Configuration = new AzureNative.Web.Inputs.ConfigurationArgs
{
ActiveRevisionsMode = "string",
Ingress = new AzureNative.Web.Inputs.IngressArgs
{
AllowInsecure = false,
External = false,
TargetPort = 0,
Traffic = new[]
{
new AzureNative.Web.Inputs.TrafficWeightArgs
{
LatestRevision = false,
RevisionName = "string",
Weight = 0,
},
},
Transport = "string",
},
Registries = new[]
{
new AzureNative.Web.Inputs.RegistryCredentialsArgs
{
PasswordSecretRef = "string",
Server = "string",
Username = "string",
},
},
Secrets = new[]
{
new AzureNative.Web.Inputs.SecretArgs
{
Name = "string",
Value = "string",
},
},
},
Kind = "string",
KubeEnvironmentId = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
Template = new AzureNative.Web.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.Web.Inputs.ContainerArgs
{
Args = new[]
{
"string",
},
Command = new[]
{
"string",
},
Env = new[]
{
new AzureNative.Web.Inputs.EnvironmentVarArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Image = "string",
Name = "string",
Resources = new AzureNative.Web.Inputs.ContainerResourcesArgs
{
Cpu = 0,
Memory = "string",
},
},
},
Dapr = new AzureNative.Web.Inputs.DaprArgs
{
AppId = "string",
AppPort = 0,
Components = new[]
{
new AzureNative.Web.Inputs.DaprComponentArgs
{
Metadata = new[]
{
new AzureNative.Web.Inputs.DaprMetadataArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Name = "string",
Type = "string",
Version = "string",
},
},
Enabled = false,
},
RevisionSuffix = "string",
Scale = new AzureNative.Web.Inputs.ScaleArgs
{
MaxReplicas = 0,
MinReplicas = 0,
Rules = new[]
{
new AzureNative.Web.Inputs.ScaleRuleArgs
{
AzureQueue = new AzureNative.Web.Inputs.QueueScaleRuleArgs
{
Auth = new[]
{
new AzureNative.Web.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
QueueLength = 0,
QueueName = "string",
},
Custom = new AzureNative.Web.Inputs.CustomScaleRuleArgs
{
Auth = new[]
{
new AzureNative.Web.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Metadata =
{
{ "string", "string" },
},
Type = "string",
},
Http = new AzureNative.Web.Inputs.HttpScaleRuleArgs
{
Auth = new[]
{
new AzureNative.Web.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Metadata =
{
{ "string", "string" },
},
},
Name = "string",
},
},
},
},
});
example, err := web.NewContainerApp(ctx, "azure-nativeContainerAppResource", &web.ContainerAppArgs{
ResourceGroupName: pulumi.String("string"),
Configuration: &web.ConfigurationArgs{
ActiveRevisionsMode: pulumi.String("string"),
Ingress: &web.IngressArgs{
AllowInsecure: pulumi.Bool(false),
External: pulumi.Bool(false),
TargetPort: pulumi.Int(0),
Traffic: web.TrafficWeightArray{
&web.TrafficWeightArgs{
LatestRevision: pulumi.Bool(false),
RevisionName: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
Transport: pulumi.String("string"),
},
Registries: web.RegistryCredentialsArray{
&web.RegistryCredentialsArgs{
PasswordSecretRef: pulumi.String("string"),
Server: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Secrets: web.SecretArray{
&web.SecretArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Kind: pulumi.String("string"),
KubeEnvironmentId: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Template: &web.TemplateArgs{
Containers: web.ContainerArray{
&web.ContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.StringArray{
pulumi.String("string"),
},
Env: web.EnvironmentVarArray{
&web.EnvironmentVarArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
Name: pulumi.String("string"),
Resources: &web.ContainerResourcesArgs{
Cpu: pulumi.Float64(0),
Memory: pulumi.String("string"),
},
},
},
Dapr: &web.DaprArgs{
AppId: pulumi.String("string"),
AppPort: pulumi.Int(0),
Components: web.DaprComponentArray{
&web.DaprComponentArgs{
Metadata: web.DaprMetadataArray{
&web.DaprMetadataArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
Enabled: pulumi.Bool(false),
},
RevisionSuffix: pulumi.String("string"),
Scale: &web.ScaleArgs{
MaxReplicas: pulumi.Int(0),
MinReplicas: pulumi.Int(0),
Rules: web.ScaleRuleArray{
&web.ScaleRuleArgs{
AzureQueue: &web.QueueScaleRuleArgs{
Auth: web.ScaleRuleAuthArray{
&web.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
QueueLength: pulumi.Int(0),
QueueName: pulumi.String("string"),
},
Custom: &web.CustomScaleRuleArgs{
Auth: web.ScaleRuleAuthArray{
&web.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Type: pulumi.String("string"),
},
Http: &web.HttpScaleRuleArgs{
Auth: web.ScaleRuleAuthArray{
&web.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
},
},
},
})
var azure_nativeContainerAppResource = new ContainerApp("azure-nativeContainerAppResource", ContainerAppArgs.builder()
.resourceGroupName("string")
.configuration(ConfigurationArgs.builder()
.activeRevisionsMode("string")
.ingress(IngressArgs.builder()
.allowInsecure(false)
.external(false)
.targetPort(0)
.traffic(TrafficWeightArgs.builder()
.latestRevision(false)
.revisionName("string")
.weight(0)
.build())
.transport("string")
.build())
.registries(RegistryCredentialsArgs.builder()
.passwordSecretRef("string")
.server("string")
.username("string")
.build())
.secrets(SecretArgs.builder()
.name("string")
.value("string")
.build())
.build())
.kind("string")
.kubeEnvironmentId("string")
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.args("string")
.command("string")
.env(EnvironmentVarArgs.builder()
.name("string")
.secretRef("string")
.value("string")
.build())
.image("string")
.name("string")
.resources(ContainerResourcesArgs.builder()
.cpu(0)
.memory("string")
.build())
.build())
.dapr(DaprArgs.builder()
.appId("string")
.appPort(0)
.components(DaprComponentArgs.builder()
.metadata(DaprMetadataArgs.builder()
.name("string")
.secretRef("string")
.value("string")
.build())
.name("string")
.type("string")
.version("string")
.build())
.enabled(false)
.build())
.revisionSuffix("string")
.scale(ScaleArgs.builder()
.maxReplicas(0)
.minReplicas(0)
.rules(ScaleRuleArgs.builder()
.azureQueue(QueueScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.queueLength(0)
.queueName("string")
.build())
.custom(CustomScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.metadata(Map.of("string", "string"))
.type("string")
.build())
.http(HttpScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.metadata(Map.of("string", "string"))
.build())
.name("string")
.build())
.build())
.build())
.build());
azure_native_container_app_resource = azure_native.web.ContainerApp("azure-nativeContainerAppResource",
resource_group_name="string",
configuration={
"active_revisions_mode": "string",
"ingress": {
"allow_insecure": False,
"external": False,
"target_port": 0,
"traffic": [{
"latest_revision": False,
"revision_name": "string",
"weight": 0,
}],
"transport": "string",
},
"registries": [{
"password_secret_ref": "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",
"secret_ref": "string",
"value": "string",
}],
"image": "string",
"name": "string",
"resources": {
"cpu": 0,
"memory": "string",
},
}],
"dapr": {
"app_id": "string",
"app_port": 0,
"components": [{
"metadata": [{
"name": "string",
"secret_ref": "string",
"value": "string",
}],
"name": "string",
"type": "string",
"version": "string",
}],
"enabled": False,
},
"revision_suffix": "string",
"scale": {
"max_replicas": 0,
"min_replicas": 0,
"rules": [{
"azure_queue": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"queue_length": 0,
"queue_name": "string",
},
"custom": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"metadata": {
"string": "string",
},
"type": "string",
},
"http": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"metadata": {
"string": "string",
},
},
"name": "string",
}],
},
})
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",
}],
},
},
});
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
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:
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Configuration
Pulumi.
Azure Native. Web. Inputs. Configuration - Non versioned Container App configuration properties.
- Kind string
- Kind of resource.
- Kube
Environment stringId - Resource ID of the Container App's KubeEnvironment.
- Location string
- Resource Location.
- Name string
- Name of the Container App.
- Dictionary<string, string>
- Resource tags.
- Template
Pulumi.
Azure Native. Web. Inputs. Template - Container App versioned application definition.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Configuration
Configuration
Args - Non versioned Container App configuration properties.
- Kind string
- Kind of resource.
- Kube
Environment stringId - Resource ID of the Container App's KubeEnvironment.
- Location string
- Resource Location.
- Name string
- Name of the Container App.
- map[string]string
- Resource tags.
- Template
Template
Args - Container App versioned application definition.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- configuration Configuration
- Non versioned Container App configuration properties.
- kind String
- Kind of resource.
- kube
Environment StringId - Resource ID of the Container App's KubeEnvironment.
- location String
- Resource Location.
- name String
- Name of the Container App.
- Map<String,String>
- Resource tags.
- template Template
- Container App versioned application definition.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- configuration Configuration
- Non versioned Container App configuration properties.
- kind string
- Kind of resource.
- kube
Environment stringId - Resource ID of the Container App's KubeEnvironment.
- location string
- Resource Location.
- name string
- Name of the Container App.
- {[key: string]: string}
- Resource tags.
- template Template
- Container App versioned application definition.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- configuration
Configuration
Args - Non versioned Container App configuration properties.
- kind str
- Kind of resource.
- kube_
environment_ strid - Resource ID of the Container App's KubeEnvironment.
- location str
- Resource Location.
- name str
- Name of the Container App.
- Mapping[str, str]
- Resource tags.
- template
Template
Args - Container App versioned application definition.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- configuration Property Map
- Non versioned Container App configuration properties.
- kind String
- Kind of resource.
- kube
Environment StringId - Resource ID of the Container App's KubeEnvironment.
- location String
- Resource Location.
- name String
- Name of the Container App.
- 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.
- Latest
Revision stringFqdn - Fully Qualified Domain Name of the latest revision of the Container App.
- Latest
Revision stringName - Name of the latest revision of the Container App.
- Provisioning
State string - Provisioning state of the Container App.
- Type string
- Resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision stringFqdn - Fully Qualified Domain Name of the latest revision of the Container App.
- Latest
Revision stringName - Name of the latest revision of the Container App.
- Provisioning
State string - Provisioning state of the Container App.
- Type string
- Resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision StringFqdn - Fully Qualified Domain Name of the latest revision of the Container App.
- latest
Revision StringName - Name of the latest revision of the Container App.
- provisioning
State String - Provisioning state of the Container App.
- type String
- Resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Revision stringFqdn - Fully Qualified Domain Name of the latest revision of the Container App.
- latest
Revision stringName - Name of the latest revision of the Container App.
- provisioning
State string - Provisioning state of the Container App.
- type string
- Resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
revision_ strfqdn - Fully Qualified Domain Name of the latest revision of the Container App.
- latest_
revision_ strname - 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.
- latest
Revision StringFqdn - Fully Qualified Domain Name of the latest revision of the Container App.
- latest
Revision StringName - Name of the latest revision of the Container App.
- provisioning
State String - Provisioning state of the Container App.
- type String
- Resource type.
Supporting Types
ActiveRevisionsMode, ActiveRevisionsModeArgs
- Multiple
- multiple
- Single
- single
- Active
Revisions Mode Multiple - multiple
- Active
Revisions Mode Single - single
- Multiple
- multiple
- Single
- single
- Multiple
- multiple
- Single
- single
- MULTIPLE
- multiple
- SINGLE
- single
- "multiple"
- multiple
- "single"
- single
Configuration, ConfigurationArgs
- Active
Revisions string | Pulumi.Mode Azure Native. Web. Active Revisions Mode - 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.
Azure Native. Web. Inputs. Ingress - Ingress configurations.
- Registries
List<Pulumi.
Azure Native. Web. Inputs. Registry Credentials> - Collection of private container registry credentials for containers used by the Container app
- Secrets
List<Pulumi.
Azure Native. Web. Inputs. Secret> - Collection of secrets used by a Container app
- Active
Revisions string | ActiveMode Revisions Mode - 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
[]Registry
Credentials - 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 String | ActiveMode Revisions Mode - 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<Registry
Credentials> - Collection of private container registry credentials for containers used by the Container app
- secrets List<Secret>
- Collection of secrets used by a Container app
- active
Revisions string | ActiveMode Revisions Mode - 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
Registry
Credentials[] - 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_ str | Activemode Revisions Mode - 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[Registry
Credentials] - Collection of private container registry credentials for containers used by the Container app
- secrets Sequence[Secret]
- Collection of secrets used by a Container app
- active
Revisions String | "multiple" | "single"Mode - 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
- Active
Revisions stringMode - 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.
Azure Native. Web. Inputs. Ingress Response - Ingress configurations.
- Registries
List<Pulumi.
Azure Native. Web. Inputs. Registry Credentials Response> - Collection of private container registry credentials for containers used by the Container app
- Secrets
List<Pulumi.
Azure Native. Web. Inputs. Secret Response> - Collection of secrets used by a Container app
- Active
Revisions stringMode - 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
Response - Ingress configurations.
- Registries
[]Registry
Credentials Response - Collection of private container registry credentials for containers used by the Container app
- Secrets
[]Secret
Response - Collection of secrets used by a Container app
- active
Revisions StringMode - 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
Response - Ingress configurations.
- registries
List<Registry
Credentials Response> - Collection of private container registry credentials for containers used by the Container app
- secrets
List<Secret
Response> - Collection of secrets used by a Container app
- active
Revisions stringMode - 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
Response - Ingress configurations.
- registries
Registry
Credentials Response[] - Collection of private container registry credentials for containers used by the Container app
- secrets
Secret
Response[] - Collection of secrets used by a Container app
- active_
revisions_ strmode - 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
Response - Ingress configurations.
- registries
Sequence[Registry
Credentials Response] - Collection of private container registry credentials for containers used by the Container app
- secrets
Sequence[Secret
Response] - Collection of secrets used by a Container app
- active
Revisions StringMode - 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.
Azure Native. Web. Inputs. Environment Var> - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Resources
Pulumi.
Azure Native. Web. Inputs. Container Resources - Container resource requirements.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Resources
Container
Resources - Container resource requirements.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env
List<Environment
Var> - Container environment variables.
- image String
- Container image tag.
- name String
- Custom container name.
- resources
Container
Resources - Container resource requirements.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var[] - Container environment variables.
- image string
- Container image tag.
- name string
- Custom container name.
- resources
Container
Resources - Container resource requirements.
- args Sequence[str]
- Container start command arguments.
- command Sequence[str]
- Container start command.
- env
Sequence[Environment
Var] - Container environment variables.
- image str
- Container image tag.
- name str
- Custom container name.
- resources
Container
Resources - 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
ContainerResourcesResponse, ContainerResourcesResponseArgs
ContainerResponse, ContainerResponseArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. Web. Inputs. Environment Var Response> - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Resources
Pulumi.
Azure Native. Web. Inputs. Container Resources Response - Container resource requirements.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var Response - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Resources
Container
Resources Response - Container resource requirements.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env
List<Environment
Var Response> - Container environment variables.
- image String
- Container image tag.
- name String
- Custom container name.
- resources
Container
Resources Response - Container resource requirements.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var Response[] - Container environment variables.
- image string
- Container image tag.
- name string
- Custom container name.
- resources
Container
Resources Response - Container resource requirements.
- args Sequence[str]
- Container start command arguments.
- command Sequence[str]
- Container start command.
- env
Sequence[Environment
Var Response] - Container environment variables.
- image str
- Container image tag.
- name str
- Custom container name.
- resources
Container
Resources Response - 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.
Azure Native. Web. Inputs. Scale Rule Auth> - 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
[]Scale
Rule Auth - 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<Scale
Rule Auth> - 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
Scale
Rule Auth[] - 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[Scale
Rule Auth] - 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.
Azure Native. Web. Inputs. Scale Rule Auth Response> - 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
[]Scale
Rule Auth Response - 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<Scale
Rule Auth Response> - 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
Scale
Rule Auth Response[] - 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[Scale
Rule Auth Response] - 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
- App
Id string - Dapr application identifier
- App
Port int - Port on which the Dapr side car
- Components
List<Pulumi.
Azure Native. Web. Inputs. Dapr Component> - Collection of Dapr components
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- App
Id string - Dapr application identifier
- App
Port int - Port on which the Dapr side car
- Components
[]Dapr
Component - Collection of Dapr components
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- app
Id String - Dapr application identifier
- app
Port Integer - Port on which the Dapr side car
- components
List<Dapr
Component> - Collection of Dapr components
- enabled Boolean
- Boolean indicating if the Dapr side car is enabled
- app
Id string - Dapr application identifier
- app
Port number - Port on which the Dapr side car
- components
Dapr
Component[] - 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[Dapr
Component] - Collection of Dapr components
- enabled bool
- Boolean indicating if the Dapr side car is enabled
- app
Id String - Dapr application identifier
- app
Port 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.
Azure Native. Web. Inputs. Dapr Metadata> - Component metadata
- Name string
- Component name
- Type string
- Component type
- Version string
- Component version
- Metadata
[]Dapr
Metadata - Component metadata
- Name string
- Component name
- Type string
- Component type
- Version string
- Component version
- metadata
List<Dapr
Metadata> - Component metadata
- name String
- Component name
- type String
- Component type
- version String
- Component version
- metadata
Dapr
Metadata[] - Component metadata
- name string
- Component name
- type string
- Component type
- version string
- Component version
- metadata
Sequence[Dapr
Metadata] - 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.
Azure Native. Web. Inputs. Dapr Metadata Response> - Component metadata
- Name string
- Component name
- Type string
- Component type
- Version string
- Component version
- Metadata
[]Dapr
Metadata Response - Component metadata
- Name string
- Component name
- Type string
- Component type
- Version string
- Component version
- metadata
List<Dapr
Metadata Response> - Component metadata
- name String
- Component name
- type String
- Component type
- version String
- Component version
- metadata
Dapr
Metadata Response[] - Component metadata
- name string
- Component name
- type string
- Component type
- version string
- Component version
- metadata
Sequence[Dapr
Metadata Response] - 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 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.
DaprMetadataResponse, DaprMetadataResponseArgs
- 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.
DaprResponse, DaprResponseArgs
- App
Id string - Dapr application identifier
- App
Port int - Port on which the Dapr side car
- Components
List<Pulumi.
Azure Native. Web. Inputs. Dapr Component Response> - Collection of Dapr components
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- App
Id string - Dapr application identifier
- App
Port int - Port on which the Dapr side car
- Components
[]Dapr
Component Response - Collection of Dapr components
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- app
Id String - Dapr application identifier
- app
Port Integer - Port on which the Dapr side car
- components
List<Dapr
Component Response> - Collection of Dapr components
- enabled Boolean
- Boolean indicating if the Dapr side car is enabled
- app
Id string - Dapr application identifier
- app
Port number - Port on which the Dapr side car
- components
Dapr
Component Response[] - 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[Dapr
Component Response] - Collection of Dapr components
- enabled bool
- Boolean indicating if the Dapr side car is enabled
- app
Id String - Dapr application identifier
- app
Port 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 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.
EnvironmentVarResponse, EnvironmentVarResponseArgs
- 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.
HttpScaleRule, HttpScaleRuleArgs
- Auth
List<Pulumi.
Azure Native. Web. Inputs. Scale Rule Auth> - Authentication secrets for the custom scale rule.
- Metadata Dictionary<string, string>
- Metadata properties to describe http scale rule.
- Auth
[]Scale
Rule Auth - Authentication secrets for the custom scale rule.
- Metadata map[string]string
- Metadata properties to describe http scale rule.
- auth
List<Scale
Rule Auth> - Authentication secrets for the custom scale rule.
- metadata Map<String,String>
- Metadata properties to describe http scale rule.
- auth
Scale
Rule Auth[] - Authentication secrets for the custom scale rule.
- metadata {[key: string]: string}
- Metadata properties to describe http scale rule.
- auth
Sequence[Scale
Rule Auth] - 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.
Azure Native. Web. Inputs. Scale Rule Auth Response> - Authentication secrets for the custom scale rule.
- Metadata Dictionary<string, string>
- Metadata properties to describe http scale rule.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the custom scale rule.
- Metadata map[string]string
- Metadata properties to describe http scale rule.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the custom scale rule.
- metadata Map<String,String>
- Metadata properties to describe http scale rule.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the custom scale rule.
- metadata {[key: string]: string}
- Metadata properties to describe http scale rule.
- auth
Sequence[Scale
Rule Auth Response] - 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
- 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
List<Pulumi.
Azure Native. Web. Inputs. Traffic Weight> - Transport
string | Pulumi.
Azure Native. Web. Ingress Transport Method - 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
[]Traffic
Weight - Transport
string | Ingress
Transport Method - Ingress transport protocol
- allow
Insecure 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
- target
Port Integer - Target Port in containers for traffic from ingress
- traffic
List<Traffic
Weight> - transport
String | Ingress
Transport Method - Ingress transport protocol
- allow
Insecure 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
- target
Port number - Target Port in containers for traffic from ingress
- traffic
Traffic
Weight[] - transport
string | Ingress
Transport Method - 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[Traffic
Weight] - transport
str | Ingress
Transport Method - Ingress transport protocol
- allow
Insecure 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
- target
Port Number - Target Port in containers for traffic from ingress
- traffic List<Property Map>
- transport String | "auto" | "http" | "http2"
- Ingress transport protocol
IngressResponse, IngressResponseArgs
- Fqdn string
- 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
List<Pulumi.
Azure Native. Web. Inputs. Traffic Weight Response> - Transport string
- Ingress transport protocol
- Fqdn string
- 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
[]Traffic
Weight Response - Transport string
- Ingress transport protocol
- fqdn String
- Hostname.
- allow
Insecure 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
- target
Port Integer - Target Port in containers for traffic from ingress
- traffic
List<Traffic
Weight Response> - transport String
- Ingress transport protocol
- fqdn string
- Hostname.
- allow
Insecure 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
- target
Port number - Target Port in containers for traffic from ingress
- traffic
Traffic
Weight Response[] - transport string
- Ingress transport protocol
- fqdn str
- Hostname.
- allow_
insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- external bool
- Bool indicating if app exposes an external http endpoint
- target_
port int - Target Port in containers for traffic from ingress
- traffic
Sequence[Traffic
Weight Response] - transport str
- Ingress transport protocol
- fqdn String
- Hostname.
- allow
Insecure 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
- target
Port 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
- Ingress
Transport Method Auto - auto
- Ingress
Transport Method Http - http
- Ingress
Transport Method Http2 - 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.
Azure Native. Web. Inputs. Scale Rule Auth> - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- Auth
[]Scale
Rule Auth - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- auth
List<Scale
Rule Auth> - Authentication secrets for the queue scale rule.
- queue
Length Integer - Queue length.
- queue
Name String - Queue name.
- auth
Scale
Rule Auth[] - Authentication secrets for the queue scale rule.
- queue
Length number - Queue length.
- queue
Name string - Queue name.
- auth
Sequence[Scale
Rule Auth] - 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.
- queue
Length Number - Queue length.
- queue
Name String - Queue name.
QueueScaleRuleResponse, QueueScaleRuleResponseArgs
- Auth
List<Pulumi.
Azure Native. Web. Inputs. Scale Rule Auth Response> - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the queue scale rule.
- queue
Length Integer - Queue length.
- queue
Name String - Queue name.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the queue scale rule.
- queue
Length number - Queue length.
- queue
Name string - Queue name.
- auth
Sequence[Scale
Rule Auth Response] - 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.
- queue
Length Number - Queue length.
- queue
Name String - Queue name.
RegistryCredentials, RegistryCredentialsArgs
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
- password
Secret stringRef - The name of the Secret that contains the registry login password
- server string
- Container Registry Server
- username string
- Container Registry Username
- password_
secret_ strref - The name of the Secret that contains the registry login password
- server str
- Container Registry Server
- username str
- Container Registry Username
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
RegistryCredentialsResponse, RegistryCredentialsResponseArgs
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
- password
Secret stringRef - The name of the Secret that contains the registry login password
- server string
- Container Registry Server
- username string
- Container Registry Username
- password_
secret_ strref - The name of the Secret that contains the registry login password
- server str
- Container Registry Server
- username str
- Container Registry Username
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
Scale, ScaleArgs
- 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
List<Pulumi.
Azure Native. Web. Inputs. Scale Rule> - 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
[]Scale
Rule - Scaling rules.
- max
Replicas Integer - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Integer - Optional. Minimum number of container replicas.
- rules
List<Scale
Rule> - Scaling rules.
- max
Replicas number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas number - Optional. Minimum number of container replicas.
- rules
Scale
Rule[] - 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[Scale
Rule] - Scaling rules.
- max
Replicas Number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Number - Optional. Minimum number of container replicas.
- rules List<Property Map>
- Scaling rules.
ScaleResponse, ScaleResponseArgs
- 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
List<Pulumi.
Azure Native. Web. Inputs. Scale Rule Response> - 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
[]Scale
Rule Response - Scaling rules.
- max
Replicas Integer - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Integer - Optional. Minimum number of container replicas.
- rules
List<Scale
Rule Response> - Scaling rules.
- max
Replicas number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas number - Optional. Minimum number of container replicas.
- rules
Scale
Rule Response[] - 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[Scale
Rule Response] - Scaling rules.
- max
Replicas Number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Number - Optional. Minimum number of container replicas.
- rules List<Property Map>
- Scaling rules.
ScaleRule, ScaleRuleArgs
- Azure
Queue Pulumi.Azure Native. Web. Inputs. Queue Scale Rule - Azure Queue based scaling.
- Custom
Pulumi.
Azure Native. Web. Inputs. Custom Scale Rule - Custom scale rule.
- Http
Pulumi.
Azure Native. Web. Inputs. Http Scale Rule - HTTP requests based scaling.
- Name string
- Scale Rule Name
- Azure
Queue QueueScale Rule - Azure Queue based scaling.
- Custom
Custom
Scale Rule - Custom scale rule.
- Http
Http
Scale Rule - HTTP requests based scaling.
- Name string
- Scale Rule Name
- azure
Queue QueueScale Rule - Azure Queue based scaling.
- custom
Custom
Scale Rule - Custom scale rule.
- http
Http
Scale Rule - HTTP requests based scaling.
- name String
- Scale Rule Name
- azure
Queue QueueScale Rule - Azure Queue based scaling.
- custom
Custom
Scale Rule - Custom scale rule.
- http
Http
Scale Rule - HTTP requests based scaling.
- name string
- Scale Rule Name
- azure_
queue QueueScale Rule - Azure Queue based scaling.
- custom
Custom
Scale Rule - Custom scale rule.
- http
Http
Scale Rule - HTTP requests based scaling.
- name str
- Scale Rule Name
- azure
Queue 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
- Secret
Ref string - Name of the Container App secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- Secret
Ref string - Name of the Container App secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- secret
Ref String - Name of the Container App secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
- secret
Ref string - Name of the Container App secret from which to pull the auth params.
- trigger
Parameter 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
- secret
Ref String - Name of the Container App secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
ScaleRuleAuthResponse, ScaleRuleAuthResponseArgs
- Secret
Ref string - Name of the Container App secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- Secret
Ref string - Name of the Container App secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- secret
Ref String - Name of the Container App secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
- secret
Ref string - Name of the Container App secret from which to pull the auth params.
- trigger
Parameter 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
- secret
Ref String - Name of the Container App secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
ScaleRuleResponse, ScaleRuleResponseArgs
- Azure
Queue Pulumi.Azure Native. Web. Inputs. Queue Scale Rule Response - Azure Queue based scaling.
- Custom
Pulumi.
Azure Native. Web. Inputs. Custom Scale Rule Response - Custom scale rule.
- Http
Pulumi.
Azure Native. Web. Inputs. Http Scale Rule Response - HTTP requests based scaling.
- Name string
- Scale Rule Name
- Azure
Queue QueueScale Rule Response - Azure Queue based scaling.
- Custom
Custom
Scale Rule Response - Custom scale rule.
- Http
Http
Scale Rule Response - HTTP requests based scaling.
- Name string
- Scale Rule Name
- azure
Queue QueueScale Rule Response - Azure Queue based scaling.
- custom
Custom
Scale Rule Response - Custom scale rule.
- http
Http
Scale Rule Response - HTTP requests based scaling.
- name String
- Scale Rule Name
- azure
Queue QueueScale Rule Response - Azure Queue based scaling.
- custom
Custom
Scale Rule Response - Custom scale rule.
- http
Http
Scale Rule Response - HTTP requests based scaling.
- name string
- Scale Rule Name
- azure_
queue QueueScale Rule Response - Azure Queue based scaling.
- custom
Custom
Scale Rule Response - Custom scale rule.
- http
Http
Scale Rule Response - HTTP requests based scaling.
- name str
- Scale Rule Name
- azure
Queue 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
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.
Azure Native. Web. Inputs. Container> - List of container definitions for the Container App.
- Dapr
Pulumi.
Azure Native. Web. Inputs. Dapr - Dapr configuration for the Container App.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale
Pulumi.
Azure Native. 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.
- Revision
Suffix 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.
- revision
Suffix 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.
- revision
Suffix 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.
- revision
Suffix 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.
Azure Native. Web. Inputs. Container Response> - List of container definitions for the Container App.
- Dapr
Pulumi.
Azure Native. Web. Inputs. Dapr Response - Dapr configuration for the Container App.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale
Pulumi.
Azure Native. Web. Inputs. Scale Response - Scaling properties for the Container App.
- Containers
[]Container
Response - List of container definitions for the Container App.
- Dapr
Dapr
Response - Dapr configuration for the Container App.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale
Scale
Response - Scaling properties for the Container App.
- containers
List<Container
Response> - List of container definitions for the Container App.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- revision
Suffix String - User friendly suffix that is appended to the revision name
- scale
Scale
Response - Scaling properties for the Container App.
- containers
Container
Response[] - List of container definitions for the Container App.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- revision
Suffix string - User friendly suffix that is appended to the revision name
- scale
Scale
Response - Scaling properties for the Container App.
- containers
Sequence[Container
Response] - List of container definitions for the Container App.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- revision_
suffix str - User friendly suffix that is appended to the revision name
- scale
Scale
Response - 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.
- revision
Suffix String - User friendly suffix that is appended to the revision name
- scale Property Map
- Scaling properties for the Container App.
TrafficWeight, TrafficWeightArgs
- Latest
Revision bool - Indicates that the traffic weight belongs to a latest stable revision
- Revision
Name string - Name of a revision
- Weight int
- Traffic weight assigned to a revision
- Latest
Revision bool - Indicates that the traffic weight belongs to a latest stable revision
- Revision
Name string - Name of a revision
- Weight int
- Traffic weight assigned to a revision
- latest
Revision Boolean - Indicates that the traffic weight belongs to a latest stable revision
- revision
Name String - Name of a revision
- weight Integer
- Traffic weight assigned to a revision
- latest
Revision boolean - Indicates that the traffic weight belongs to a latest stable revision
- revision
Name 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
- latest
Revision Boolean - Indicates that the traffic weight belongs to a latest stable revision
- revision
Name String - Name of a revision
- weight Number
- Traffic weight assigned to a revision
TrafficWeightResponse, TrafficWeightResponseArgs
- Latest
Revision bool - Indicates that the traffic weight belongs to a latest stable revision
- Revision
Name string - Name of a revision
- Weight int
- Traffic weight assigned to a revision
- Latest
Revision bool - Indicates that the traffic weight belongs to a latest stable revision
- Revision
Name string - Name of a revision
- Weight int
- Traffic weight assigned to a revision
- latest
Revision Boolean - Indicates that the traffic weight belongs to a latest stable revision
- revision
Name String - Name of a revision
- weight Integer
- Traffic weight assigned to a revision
- latest
Revision boolean - Indicates that the traffic weight belongs to a latest stable revision
- revision
Name 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
- latest
Revision Boolean - Indicates that the traffic weight belongs to a latest stable revision
- revision
Name 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0