azure-native.app.ContainerApp
Explore with Pulumi AI
Container App.
Uses Azure REST API version 2025-02-02-preview. In version 2.x of the Azure Native provider, it used API version 2022-10-01.
Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native app [ApiVersion]
. See the version guide for details.
Example Usage
Create or Update App Kind
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
ActiveRevisionsMode = AzureNative.App.ActiveRevisionsMode.Single,
Ingress = new AzureNative.App.Inputs.IngressArgs
{
AllowInsecure = true,
External = true,
TargetPort = 80,
},
},
ContainerAppName = "testcontainerAppKind",
Kind = AzureNative.App.Kind.Workflowapp,
Location = "East Us",
ManagedBy = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Web/sites/testcontainerAppKind",
ManagedEnvironmentId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/testmanagedenv3",
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "default/logicapps-base:latest",
Name = "logicapps-container",
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 1,
Memory = "2.0Gi",
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
CooldownPeriod = 350,
MaxReplicas = 30,
MinReplicas = 1,
PollingInterval = 35,
},
},
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
ActiveRevisionsMode: pulumi.String(app.ActiveRevisionsModeSingle),
Ingress: &app.IngressArgs{
AllowInsecure: pulumi.Bool(true),
External: pulumi.Bool(true),
TargetPort: pulumi.Int(80),
},
},
ContainerAppName: pulumi.String("testcontainerAppKind"),
Kind: pulumi.String(app.KindWorkflowapp),
Location: pulumi.String("East Us"),
ManagedBy: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Web/sites/testcontainerAppKind"),
ManagedEnvironmentId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/testmanagedenv3"),
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String("default/logicapps-base:latest"),
Name: pulumi.String("logicapps-container"),
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(1),
Memory: pulumi.String("2.0Gi"),
},
},
},
Scale: &app.ScaleArgs{
CooldownPeriod: pulumi.Int(350),
MaxReplicas: pulumi.Int(30),
MinReplicas: pulumi.Int(1),
PollingInterval: pulumi.Int(35),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.activeRevisionsMode("Single")
.ingress(IngressArgs.builder()
.allowInsecure(true)
.external(true)
.targetPort(80)
.build())
.build())
.containerAppName("testcontainerAppKind")
.kind("workflowapp")
.location("East Us")
.managedBy("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Web/sites/testcontainerAppKind")
.managedEnvironmentId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/testmanagedenv3")
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("default/logicapps-base:latest")
.name("logicapps-container")
.resources(ContainerResourcesArgs.builder()
.cpu(1.0)
.memory("2.0Gi")
.build())
.build())
.scale(ScaleArgs.builder()
.cooldownPeriod(350)
.maxReplicas(30)
.minReplicas(1)
.pollingInterval(35)
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
activeRevisionsMode: azure_native.app.ActiveRevisionsMode.Single,
ingress: {
allowInsecure: true,
external: true,
targetPort: 80,
},
},
containerAppName: "testcontainerAppKind",
kind: azure_native.app.Kind.Workflowapp,
location: "East Us",
managedBy: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Web/sites/testcontainerAppKind",
managedEnvironmentId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/testmanagedenv3",
resourceGroupName: "rg",
template: {
containers: [{
image: "default/logicapps-base:latest",
name: "logicapps-container",
resources: {
cpu: 1,
memory: "2.0Gi",
},
}],
scale: {
cooldownPeriod: 350,
maxReplicas: 30,
minReplicas: 1,
pollingInterval: 35,
},
},
});
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"active_revisions_mode": azure_native.app.ActiveRevisionsMode.SINGLE,
"ingress": {
"allow_insecure": True,
"external": True,
"target_port": 80,
},
},
container_app_name="testcontainerAppKind",
kind=azure_native.app.Kind.WORKFLOWAPP,
location="East Us",
managed_by="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Web/sites/testcontainerAppKind",
managed_environment_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/testmanagedenv3",
resource_group_name="rg",
template={
"containers": [{
"image": "default/logicapps-base:latest",
"name": "logicapps-container",
"resources": {
"cpu": 1,
"memory": "2.0Gi",
},
}],
"scale": {
"cooldown_period": 350,
"max_replicas": 30,
"min_replicas": 1,
"polling_interval": 35,
},
})
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
activeRevisionsMode: Single
ingress:
allowInsecure: true
external: true
targetPort: 80
containerAppName: testcontainerAppKind
kind: workflowapp
location: East Us
managedBy: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Web/sites/testcontainerAppKind
managedEnvironmentId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/testmanagedenv3
resourceGroupName: rg
template:
containers:
- image: default/logicapps-base:latest
name: logicapps-container
resources:
cpu: 1
memory: 2.0Gi
scale:
cooldownPeriod: 350
maxReplicas: 30
minReplicas: 1
pollingInterval: 35
Create or Update App On A Connected Environment
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
Dapr = new AzureNative.App.Inputs.DaprArgs
{
AppPort = 3000,
AppProtocol = AzureNative.App.AppProtocol.Http,
EnableApiLogging = true,
Enabled = true,
HttpMaxRequestSize = 10,
HttpReadBufferSize = 30,
LogLevel = AzureNative.App.LogLevel.Debug,
},
Ingress = new AzureNative.App.Inputs.IngressArgs
{
AdditionalPortMappings = new[]
{
new AzureNative.App.Inputs.IngressPortMappingArgs
{
External = true,
TargetPort = 1234,
},
new AzureNative.App.Inputs.IngressPortMappingArgs
{
ExposedPort = 3456,
External = false,
TargetPort = 2345,
},
},
ClientCertificateMode = AzureNative.App.IngressClientCertificateMode.Accept,
CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
{
AllowCredentials = true,
AllowedHeaders = new[]
{
"HEADER1",
"HEADER2",
},
AllowedMethods = new[]
{
"GET",
"POST",
},
AllowedOrigins = new[]
{
"https://a.test.com",
"https://b.test.com",
},
ExposeHeaders = new[]
{
"HEADER3",
"HEADER4",
},
MaxAge = 1234,
},
CustomDomains = new[]
{
new AzureNative.App.Inputs.CustomDomainArgs
{
BindingType = AzureNative.App.BindingType.SniEnabled,
CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
Name = "www.my-name.com",
},
new AzureNative.App.Inputs.CustomDomainArgs
{
BindingType = AzureNative.App.BindingType.SniEnabled,
CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
Name = "www.my-other-name.com",
},
},
External = true,
IpSecurityRestrictions = new[]
{
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = AzureNative.App.Action.Allow,
Description = "Allowing all IP's within the subnet below to access containerapp",
IpAddressRange = "192.168.1.1/32",
Name = "Allow work IP A subnet",
},
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = AzureNative.App.Action.Allow,
Description = "Allowing all IP's within the subnet below to access containerapp",
IpAddressRange = "192.168.1.1/8",
Name = "Allow work IP B subnet",
},
},
StickySessions = new AzureNative.App.Inputs.IngressStickySessionsArgs
{
Affinity = AzureNative.App.Affinity.Sticky,
},
TargetPort = 3000,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
Label = "production",
RevisionName = "testcontainerApp0-ab1234",
Weight = 100,
},
},
},
MaxInactiveRevisions = 10,
RevisionTransitionThreshold = 100,
Runtime = new AzureNative.App.Inputs.RuntimeArgs
{
Dotnet = new AzureNative.App.Inputs.RuntimeDotnetArgs
{
AutoConfigureDataProtection = true,
},
Java = new AzureNative.App.Inputs.RuntimeJavaArgs
{
EnableMetrics = true,
JavaAgent = new AzureNative.App.Inputs.RuntimeJavaAgentArgs
{
Enabled = true,
Logging = new AzureNative.App.Inputs.RuntimeLoggingArgs
{
LoggerSettings = new[]
{
new AzureNative.App.Inputs.LoggerSettingArgs
{
Level = AzureNative.App.Level.Debug,
Logger = "org.springframework.boot",
},
},
},
},
},
},
},
ContainerAppName = "testcontainerApp0",
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube",
ExtendedLocation = new AzureNative.App.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
Type = AzureNative.App.ExtendedLocationTypes.CustomLocation,
},
Location = "East US",
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "repo/testcontainerApp0:v1",
Name = "testcontainerApp0",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
{
HttpHeaders = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
{
Name = "Custom-Header",
Value = "Awesome",
},
},
Path = "/health",
Port = 8080,
},
InitialDelaySeconds = 3,
PeriodSeconds = 3,
Type = AzureNative.App.Type.Liveness,
},
},
},
},
InitContainers = new[]
{
new AzureNative.App.Inputs.InitContainerArgs
{
Args = new[]
{
"-c",
"while true; do echo hello; sleep 10;done",
},
Command = new[]
{
"/bin/sh",
},
Image = "repo/testcontainerApp0:v4",
Name = "testinitcontainerApp0",
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0.2,
Memory = "100Mi",
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
CooldownPeriod = 350,
MaxReplicas = 5,
MinReplicas = 1,
PollingInterval = 35,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
{
Metadata =
{
{ "concurrentRequests", "50" },
},
Type = "http",
},
Name = "httpscalingrule",
},
},
},
},
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
Dapr: &app.DaprArgs{
AppPort: pulumi.Int(3000),
AppProtocol: pulumi.String(app.AppProtocolHttp),
EnableApiLogging: pulumi.Bool(true),
Enabled: pulumi.Bool(true),
HttpMaxRequestSize: pulumi.Int(10),
HttpReadBufferSize: pulumi.Int(30),
LogLevel: pulumi.String(app.LogLevelDebug),
},
Ingress: &app.IngressArgs{
AdditionalPortMappings: app.IngressPortMappingArray{
&app.IngressPortMappingArgs{
External: pulumi.Bool(true),
TargetPort: pulumi.Int(1234),
},
&app.IngressPortMappingArgs{
ExposedPort: pulumi.Int(3456),
External: pulumi.Bool(false),
TargetPort: pulumi.Int(2345),
},
},
ClientCertificateMode: pulumi.String(app.IngressClientCertificateModeAccept),
CorsPolicy: &app.CorsPolicyArgs{
AllowCredentials: pulumi.Bool(true),
AllowedHeaders: pulumi.StringArray{
pulumi.String("HEADER1"),
pulumi.String("HEADER2"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("GET"),
pulumi.String("POST"),
},
AllowedOrigins: pulumi.StringArray{
pulumi.String("https://a.test.com"),
pulumi.String("https://b.test.com"),
},
ExposeHeaders: pulumi.StringArray{
pulumi.String("HEADER3"),
pulumi.String("HEADER4"),
},
MaxAge: pulumi.Int(1234),
},
CustomDomains: app.CustomDomainArray{
&app.CustomDomainArgs{
BindingType: pulumi.String(app.BindingTypeSniEnabled),
CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
Name: pulumi.String("www.my-name.com"),
},
&app.CustomDomainArgs{
BindingType: pulumi.String(app.BindingTypeSniEnabled),
CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com"),
Name: pulumi.String("www.my-other-name.com"),
},
},
External: pulumi.Bool(true),
IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String(app.ActionAllow),
Description: pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
IpAddressRange: pulumi.String("192.168.1.1/32"),
Name: pulumi.String("Allow work IP A subnet"),
},
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String(app.ActionAllow),
Description: pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
IpAddressRange: pulumi.String("192.168.1.1/8"),
Name: pulumi.String("Allow work IP B subnet"),
},
},
StickySessions: &app.IngressStickySessionsArgs{
Affinity: pulumi.String(app.AffinitySticky),
},
TargetPort: pulumi.Int(3000),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
Label: pulumi.String("production"),
RevisionName: pulumi.String("testcontainerApp0-ab1234"),
Weight: pulumi.Int(100),
},
},
},
MaxInactiveRevisions: pulumi.Int(10),
RevisionTransitionThreshold: pulumi.Int(100),
Runtime: &app.RuntimeArgs{
Dotnet: &app.RuntimeDotnetArgs{
AutoConfigureDataProtection: pulumi.Bool(true),
},
Java: &app.RuntimeJavaArgs{
EnableMetrics: pulumi.Bool(true),
JavaAgent: &app.RuntimeJavaAgentArgs{
Enabled: pulumi.Bool(true),
Logging: &app.RuntimeLoggingArgs{
LoggerSettings: app.LoggerSettingArray{
&app.LoggerSettingArgs{
Level: pulumi.String(app.LevelDebug),
Logger: pulumi.String("org.springframework.boot"),
},
},
},
},
},
},
},
ContainerAppName: pulumi.String("testcontainerApp0"),
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube"),
ExtendedLocation: &app.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
Type: pulumi.String(app.ExtendedLocationTypesCustomLocation),
},
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String("repo/testcontainerApp0:v1"),
Name: pulumi.String("testcontainerApp0"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
HttpGet: &app.ContainerAppProbeHttpGetArgs{
HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
&app.ContainerAppProbeHttpHeadersArgs{
Name: pulumi.String("Custom-Header"),
Value: pulumi.String("Awesome"),
},
},
Path: pulumi.String("/health"),
Port: pulumi.Int(8080),
},
InitialDelaySeconds: pulumi.Int(3),
PeriodSeconds: pulumi.Int(3),
Type: pulumi.String(app.TypeLiveness),
},
},
},
},
InitContainers: app.InitContainerArray{
&app.InitContainerArgs{
Args: pulumi.StringArray{
pulumi.String("-c"),
pulumi.String("while true; do echo hello; sleep 10;done"),
},
Command: pulumi.StringArray{
pulumi.String("/bin/sh"),
},
Image: pulumi.String("repo/testcontainerApp0:v4"),
Name: pulumi.String("testinitcontainerApp0"),
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0.2),
Memory: pulumi.String("100Mi"),
},
},
},
Scale: &app.ScaleArgs{
CooldownPeriod: pulumi.Int(350),
MaxReplicas: pulumi.Int(5),
MinReplicas: pulumi.Int(1),
PollingInterval: pulumi.Int(35),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
Custom: &app.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.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.DaprArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.CorsPolicyArgs;
import com.pulumi.azurenative.app.inputs.IngressStickySessionsArgs;
import com.pulumi.azurenative.app.inputs.RuntimeArgs;
import com.pulumi.azurenative.app.inputs.RuntimeDotnetArgs;
import com.pulumi.azurenative.app.inputs.RuntimeJavaArgs;
import com.pulumi.azurenative.app.inputs.RuntimeJavaAgentArgs;
import com.pulumi.azurenative.app.inputs.RuntimeLoggingArgs;
import com.pulumi.azurenative.app.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.dapr(DaprArgs.builder()
.appPort(3000)
.appProtocol("http")
.enableApiLogging(true)
.enabled(true)
.httpMaxRequestSize(10)
.httpReadBufferSize(30)
.logLevel("debug")
.build())
.ingress(IngressArgs.builder()
.additionalPortMappings(
IngressPortMappingArgs.builder()
.external(true)
.targetPort(1234)
.build(),
IngressPortMappingArgs.builder()
.exposedPort(3456)
.external(false)
.targetPort(2345)
.build())
.clientCertificateMode("accept")
.corsPolicy(CorsPolicyArgs.builder()
.allowCredentials(true)
.allowedHeaders(
"HEADER1",
"HEADER2")
.allowedMethods(
"GET",
"POST")
.allowedOrigins(
"https://a.test.com",
"https://b.test.com")
.exposeHeaders(
"HEADER3",
"HEADER4")
.maxAge(1234)
.build())
.customDomains(
CustomDomainArgs.builder()
.bindingType("SniEnabled")
.certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com")
.name("www.my-name.com")
.build(),
CustomDomainArgs.builder()
.bindingType("SniEnabled")
.certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")
.name("www.my-other-name.com")
.build())
.external(true)
.ipSecurityRestrictions(
IpSecurityRestrictionRuleArgs.builder()
.action("Allow")
.description("Allowing all IP's within the subnet below to access containerapp")
.ipAddressRange("192.168.1.1/32")
.name("Allow work IP A subnet")
.build(),
IpSecurityRestrictionRuleArgs.builder()
.action("Allow")
.description("Allowing all IP's within the subnet below to access containerapp")
.ipAddressRange("192.168.1.1/8")
.name("Allow work IP B subnet")
.build())
.stickySessions(IngressStickySessionsArgs.builder()
.affinity("sticky")
.build())
.targetPort(3000)
.traffic(TrafficWeightArgs.builder()
.label("production")
.revisionName("testcontainerApp0-ab1234")
.weight(100)
.build())
.build())
.maxInactiveRevisions(10)
.revisionTransitionThreshold(100)
.runtime(RuntimeArgs.builder()
.dotnet(RuntimeDotnetArgs.builder()
.autoConfigureDataProtection(true)
.build())
.java(RuntimeJavaArgs.builder()
.enableMetrics(true)
.javaAgent(RuntimeJavaAgentArgs.builder()
.enabled(true)
.logging(RuntimeLoggingArgs.builder()
.loggerSettings(LoggerSettingArgs.builder()
.level("debug")
.logger("org.springframework.boot")
.build())
.build())
.build())
.build())
.build())
.build())
.containerAppName("testcontainerApp0")
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube")
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation")
.type("CustomLocation")
.build())
.location("East US")
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("repo/testcontainerApp0:v1")
.name("testcontainerApp0")
.probes(ContainerAppProbeArgs.builder()
.httpGet(ContainerAppProbeHttpGetArgs.builder()
.httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
.name("Custom-Header")
.value("Awesome")
.build())
.path("/health")
.port(8080)
.build())
.initialDelaySeconds(3)
.periodSeconds(3)
.type("Liveness")
.build())
.build())
.initContainers(InitContainerArgs.builder()
.args(
"-c",
"while true; do echo hello; sleep 10;done")
.command("/bin/sh")
.image("repo/testcontainerApp0:v4")
.name("testinitcontainerApp0")
.resources(ContainerResourcesArgs.builder()
.cpu(0.2)
.memory("100Mi")
.build())
.build())
.scale(ScaleArgs.builder()
.cooldownPeriod(350)
.maxReplicas(5)
.minReplicas(1)
.pollingInterval(35)
.rules(ScaleRuleArgs.builder()
.custom(CustomScaleRuleArgs.builder()
.metadata(Map.of("concurrentRequests", "50"))
.type("http")
.build())
.name("httpscalingrule")
.build())
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
dapr: {
appPort: 3000,
appProtocol: azure_native.app.AppProtocol.Http,
enableApiLogging: true,
enabled: true,
httpMaxRequestSize: 10,
httpReadBufferSize: 30,
logLevel: azure_native.app.LogLevel.Debug,
},
ingress: {
additionalPortMappings: [
{
external: true,
targetPort: 1234,
},
{
exposedPort: 3456,
external: false,
targetPort: 2345,
},
],
clientCertificateMode: azure_native.app.IngressClientCertificateMode.Accept,
corsPolicy: {
allowCredentials: true,
allowedHeaders: [
"HEADER1",
"HEADER2",
],
allowedMethods: [
"GET",
"POST",
],
allowedOrigins: [
"https://a.test.com",
"https://b.test.com",
],
exposeHeaders: [
"HEADER3",
"HEADER4",
],
maxAge: 1234,
},
customDomains: [
{
bindingType: azure_native.app.BindingType.SniEnabled,
certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
name: "www.my-name.com",
},
{
bindingType: azure_native.app.BindingType.SniEnabled,
certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
name: "www.my-other-name.com",
},
],
external: true,
ipSecurityRestrictions: [
{
action: azure_native.app.Action.Allow,
description: "Allowing all IP's within the subnet below to access containerapp",
ipAddressRange: "192.168.1.1/32",
name: "Allow work IP A subnet",
},
{
action: azure_native.app.Action.Allow,
description: "Allowing all IP's within the subnet below to access containerapp",
ipAddressRange: "192.168.1.1/8",
name: "Allow work IP B subnet",
},
],
stickySessions: {
affinity: azure_native.app.Affinity.Sticky,
},
targetPort: 3000,
traffic: [{
label: "production",
revisionName: "testcontainerApp0-ab1234",
weight: 100,
}],
},
maxInactiveRevisions: 10,
revisionTransitionThreshold: 100,
runtime: {
dotnet: {
autoConfigureDataProtection: true,
},
java: {
enableMetrics: true,
javaAgent: {
enabled: true,
logging: {
loggerSettings: [{
level: azure_native.app.Level.Debug,
logger: "org.springframework.boot",
}],
},
},
},
},
},
containerAppName: "testcontainerApp0",
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube",
extendedLocation: {
name: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
type: azure_native.app.ExtendedLocationTypes.CustomLocation,
},
location: "East US",
resourceGroupName: "rg",
template: {
containers: [{
image: "repo/testcontainerApp0:v1",
name: "testcontainerApp0",
probes: [{
httpGet: {
httpHeaders: [{
name: "Custom-Header",
value: "Awesome",
}],
path: "/health",
port: 8080,
},
initialDelaySeconds: 3,
periodSeconds: 3,
type: azure_native.app.Type.Liveness,
}],
}],
initContainers: [{
args: [
"-c",
"while true; do echo hello; sleep 10;done",
],
command: ["/bin/sh"],
image: "repo/testcontainerApp0:v4",
name: "testinitcontainerApp0",
resources: {
cpu: 0.2,
memory: "100Mi",
},
}],
scale: {
cooldownPeriod: 350,
maxReplicas: 5,
minReplicas: 1,
pollingInterval: 35,
rules: [{
custom: {
metadata: {
concurrentRequests: "50",
},
type: "http",
},
name: "httpscalingrule",
}],
},
},
});
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"dapr": {
"app_port": 3000,
"app_protocol": azure_native.app.AppProtocol.HTTP,
"enable_api_logging": True,
"enabled": True,
"http_max_request_size": 10,
"http_read_buffer_size": 30,
"log_level": azure_native.app.LogLevel.DEBUG,
},
"ingress": {
"additional_port_mappings": [
{
"external": True,
"target_port": 1234,
},
{
"exposed_port": 3456,
"external": False,
"target_port": 2345,
},
],
"client_certificate_mode": azure_native.app.IngressClientCertificateMode.ACCEPT,
"cors_policy": {
"allow_credentials": True,
"allowed_headers": [
"HEADER1",
"HEADER2",
],
"allowed_methods": [
"GET",
"POST",
],
"allowed_origins": [
"https://a.test.com",
"https://b.test.com",
],
"expose_headers": [
"HEADER3",
"HEADER4",
],
"max_age": 1234,
},
"custom_domains": [
{
"binding_type": azure_native.app.BindingType.SNI_ENABLED,
"certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
"name": "www.my-name.com",
},
{
"binding_type": azure_native.app.BindingType.SNI_ENABLED,
"certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
"name": "www.my-other-name.com",
},
],
"external": True,
"ip_security_restrictions": [
{
"action": azure_native.app.Action.ALLOW,
"description": "Allowing all IP's within the subnet below to access containerapp",
"ip_address_range": "192.168.1.1/32",
"name": "Allow work IP A subnet",
},
{
"action": azure_native.app.Action.ALLOW,
"description": "Allowing all IP's within the subnet below to access containerapp",
"ip_address_range": "192.168.1.1/8",
"name": "Allow work IP B subnet",
},
],
"sticky_sessions": {
"affinity": azure_native.app.Affinity.STICKY,
},
"target_port": 3000,
"traffic": [{
"label": "production",
"revision_name": "testcontainerApp0-ab1234",
"weight": 100,
}],
},
"max_inactive_revisions": 10,
"revision_transition_threshold": 100,
"runtime": {
"dotnet": {
"auto_configure_data_protection": True,
},
"java": {
"enable_metrics": True,
"java_agent": {
"enabled": True,
"logging": {
"logger_settings": [{
"level": azure_native.app.Level.DEBUG,
"logger": "org.springframework.boot",
}],
},
},
},
},
},
container_app_name="testcontainerApp0",
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube",
extended_location={
"name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
"type": azure_native.app.ExtendedLocationTypes.CUSTOM_LOCATION,
},
location="East US",
resource_group_name="rg",
template={
"containers": [{
"image": "repo/testcontainerApp0:v1",
"name": "testcontainerApp0",
"probes": [{
"http_get": {
"http_headers": [{
"name": "Custom-Header",
"value": "Awesome",
}],
"path": "/health",
"port": 8080,
},
"initial_delay_seconds": 3,
"period_seconds": 3,
"type": azure_native.app.Type.LIVENESS,
}],
}],
"init_containers": [{
"args": [
"-c",
"while true; do echo hello; sleep 10;done",
],
"command": ["/bin/sh"],
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi",
},
}],
"scale": {
"cooldown_period": 350,
"max_replicas": 5,
"min_replicas": 1,
"polling_interval": 35,
"rules": [{
"custom": {
"metadata": {
"concurrentRequests": "50",
},
"type": "http",
},
"name": "httpscalingrule",
}],
},
})
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
dapr:
appPort: 3000
appProtocol: http
enableApiLogging: true
enabled: true
httpMaxRequestSize: 10
httpReadBufferSize: 30
logLevel: debug
ingress:
additionalPortMappings:
- external: true
targetPort: 1234
- exposedPort: 3456
external: false
targetPort: 2345
clientCertificateMode: accept
corsPolicy:
allowCredentials: true
allowedHeaders:
- HEADER1
- HEADER2
allowedMethods:
- GET
- POST
allowedOrigins:
- https://a.test.com
- https://b.test.com
exposeHeaders:
- HEADER3
- HEADER4
maxAge: 1234
customDomains:
- bindingType: SniEnabled
certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com
name: www.my-name.com
- bindingType: SniEnabled
certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com
name: www.my-other-name.com
external: true
ipSecurityRestrictions:
- action: Allow
description: Allowing all IP's within the subnet below to access containerapp
ipAddressRange: 192.168.1.1/32
name: Allow work IP A subnet
- action: Allow
description: Allowing all IP's within the subnet below to access containerapp
ipAddressRange: 192.168.1.1/8
name: Allow work IP B subnet
stickySessions:
affinity: sticky
targetPort: 3000
traffic:
- label: production
revisionName: testcontainerApp0-ab1234
weight: 100
maxInactiveRevisions: 10
revisionTransitionThreshold: 100
runtime:
dotnet:
autoConfigureDataProtection: true
java:
enableMetrics: true
javaAgent:
enabled: true
logging:
loggerSettings:
- level: debug
logger: org.springframework.boot
containerAppName: testcontainerApp0
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube
extendedLocation:
name: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation
type: CustomLocation
location: East US
resourceGroupName: rg
template:
containers:
- image: repo/testcontainerApp0:v1
name: testcontainerApp0
probes:
- httpGet:
httpHeaders:
- name: Custom-Header
value: Awesome
path: /health
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
type: Liveness
initContainers:
- args:
- -c
- while true; do echo hello; sleep 10;done
command:
- /bin/sh
image: repo/testcontainerApp0:v4
name: testinitcontainerApp0
resources:
cpu: 0.2
memory: 100Mi
scale:
cooldownPeriod: 350
maxReplicas: 5
minReplicas: 1
pollingInterval: 35
rules:
- custom:
metadata:
concurrentRequests: '50'
type: http
name: httpscalingrule
Create or Update ManagedBy App
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
Ingress = new AzureNative.App.Inputs.IngressArgs
{
ExposedPort = 4000,
External = true,
TargetPort = 3000,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
RevisionName = "testcontainerAppManagedBy-ab1234",
Weight = 100,
},
},
Transport = AzureNative.App.IngressTransportMethod.Tcp,
},
},
ContainerAppName = "testcontainerAppManagedBy",
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Location = "East US",
ManagedBy = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppPlatform/Spring/springapp",
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "repo/testcontainerAppManagedBy:v1",
Name = "testcontainerAppManagedBy",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
InitialDelaySeconds = 3,
PeriodSeconds = 3,
TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
{
Port = 8080,
},
Type = AzureNative.App.Type.Liveness,
},
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
CooldownPeriod = 350,
MaxReplicas = 5,
MinReplicas = 1,
PollingInterval = 35,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
Name = "tcpscalingrule",
Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
{
Metadata =
{
{ "concurrentConnections", "50" },
},
},
},
},
},
},
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
Ingress: &app.IngressArgs{
ExposedPort: pulumi.Int(4000),
External: pulumi.Bool(true),
TargetPort: pulumi.Int(3000),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
RevisionName: pulumi.String("testcontainerAppManagedBy-ab1234"),
Weight: pulumi.Int(100),
},
},
Transport: pulumi.String(app.IngressTransportMethodTcp),
},
},
ContainerAppName: pulumi.String("testcontainerAppManagedBy"),
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Location: pulumi.String("East US"),
ManagedBy: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppPlatform/Spring/springapp"),
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String("repo/testcontainerAppManagedBy:v1"),
Name: pulumi.String("testcontainerAppManagedBy"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
InitialDelaySeconds: pulumi.Int(3),
PeriodSeconds: pulumi.Int(3),
TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
Port: pulumi.Int(8080),
},
Type: pulumi.String(app.TypeLiveness),
},
},
},
},
Scale: &app.ScaleArgs{
CooldownPeriod: pulumi.Int(350),
MaxReplicas: pulumi.Int(5),
MinReplicas: pulumi.Int(1),
PollingInterval: pulumi.Int(35),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
Name: pulumi.String("tcpscalingrule"),
Tcp: &app.TcpScaleRuleArgs{
Metadata: pulumi.StringMap{
"concurrentConnections": pulumi.String("50"),
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.ingress(IngressArgs.builder()
.exposedPort(4000)
.external(true)
.targetPort(3000)
.traffic(TrafficWeightArgs.builder()
.revisionName("testcontainerAppManagedBy-ab1234")
.weight(100)
.build())
.transport("tcp")
.build())
.build())
.containerAppName("testcontainerAppManagedBy")
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.location("East US")
.managedBy("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppPlatform/Spring/springapp")
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("repo/testcontainerAppManagedBy:v1")
.name("testcontainerAppManagedBy")
.probes(ContainerAppProbeArgs.builder()
.initialDelaySeconds(3)
.periodSeconds(3)
.tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
.port(8080)
.build())
.type("Liveness")
.build())
.build())
.scale(ScaleArgs.builder()
.cooldownPeriod(350)
.maxReplicas(5)
.minReplicas(1)
.pollingInterval(35)
.rules(ScaleRuleArgs.builder()
.name("tcpscalingrule")
.tcp(TcpScaleRuleArgs.builder()
.metadata(Map.of("concurrentConnections", "50"))
.build())
.build())
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
ingress: {
exposedPort: 4000,
external: true,
targetPort: 3000,
traffic: [{
revisionName: "testcontainerAppManagedBy-ab1234",
weight: 100,
}],
transport: azure_native.app.IngressTransportMethod.Tcp,
},
},
containerAppName: "testcontainerAppManagedBy",
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location: "East US",
managedBy: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppPlatform/Spring/springapp",
resourceGroupName: "rg",
template: {
containers: [{
image: "repo/testcontainerAppManagedBy:v1",
name: "testcontainerAppManagedBy",
probes: [{
initialDelaySeconds: 3,
periodSeconds: 3,
tcpSocket: {
port: 8080,
},
type: azure_native.app.Type.Liveness,
}],
}],
scale: {
cooldownPeriod: 350,
maxReplicas: 5,
minReplicas: 1,
pollingInterval: 35,
rules: [{
name: "tcpscalingrule",
tcp: {
metadata: {
concurrentConnections: "50",
},
},
}],
},
},
});
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"ingress": {
"exposed_port": 4000,
"external": True,
"target_port": 3000,
"traffic": [{
"revision_name": "testcontainerAppManagedBy-ab1234",
"weight": 100,
}],
"transport": azure_native.app.IngressTransportMethod.TCP,
},
},
container_app_name="testcontainerAppManagedBy",
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location="East US",
managed_by="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppPlatform/Spring/springapp",
resource_group_name="rg",
template={
"containers": [{
"image": "repo/testcontainerAppManagedBy:v1",
"name": "testcontainerAppManagedBy",
"probes": [{
"initial_delay_seconds": 3,
"period_seconds": 3,
"tcp_socket": {
"port": 8080,
},
"type": azure_native.app.Type.LIVENESS,
}],
}],
"scale": {
"cooldown_period": 350,
"max_replicas": 5,
"min_replicas": 1,
"polling_interval": 35,
"rules": [{
"name": "tcpscalingrule",
"tcp": {
"metadata": {
"concurrentConnections": "50",
},
},
}],
},
})
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
ingress:
exposedPort: 4000
external: true
targetPort: 3000
traffic:
- revisionName: testcontainerAppManagedBy-ab1234
weight: 100
transport: tcp
containerAppName: testcontainerAppManagedBy
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
location: East US
managedBy: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.AppPlatform/Spring/springapp
resourceGroupName: rg
template:
containers:
- image: repo/testcontainerAppManagedBy:v1
name: testcontainerAppManagedBy
probes:
- initialDelaySeconds: 3
periodSeconds: 3
tcpSocket:
port: 8080
type: Liveness
scale:
cooldownPeriod: 350
maxReplicas: 5
minReplicas: 1
pollingInterval: 35
rules:
- name: tcpscalingrule
tcp:
metadata:
concurrentConnections: '50'
Create or Update SourceToCloud App
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
Dapr = new AzureNative.App.Inputs.DaprArgs
{
AppPort = 3000,
AppProtocol = AzureNative.App.AppProtocol.Http,
EnableApiLogging = true,
Enabled = true,
HttpMaxRequestSize = 10,
HttpReadBufferSize = 30,
LogLevel = AzureNative.App.LogLevel.Debug,
},
Ingress = new AzureNative.App.Inputs.IngressArgs
{
AdditionalPortMappings = new[]
{
new AzureNative.App.Inputs.IngressPortMappingArgs
{
External = true,
TargetPort = 1234,
},
new AzureNative.App.Inputs.IngressPortMappingArgs
{
ExposedPort = 3456,
External = false,
TargetPort = 2345,
},
},
ClientCertificateMode = AzureNative.App.IngressClientCertificateMode.Accept,
CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
{
AllowCredentials = true,
AllowedHeaders = new[]
{
"HEADER1",
"HEADER2",
},
AllowedMethods = new[]
{
"GET",
"POST",
},
AllowedOrigins = new[]
{
"https://a.test.com",
"https://b.test.com",
},
ExposeHeaders = new[]
{
"HEADER3",
"HEADER4",
},
MaxAge = 1234,
},
CustomDomains = new[]
{
new AzureNative.App.Inputs.CustomDomainArgs
{
BindingType = AzureNative.App.BindingType.SniEnabled,
CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
Name = "www.my-name.com",
},
new AzureNative.App.Inputs.CustomDomainArgs
{
BindingType = AzureNative.App.BindingType.SniEnabled,
CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
Name = "www.my-other-name.com",
},
},
External = true,
IpSecurityRestrictions = new[]
{
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = AzureNative.App.Action.Allow,
Description = "Allowing all IP's within the subnet below to access containerapp",
IpAddressRange = "192.168.1.1/32",
Name = "Allow work IP A subnet",
},
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = AzureNative.App.Action.Allow,
Description = "Allowing all IP's within the subnet below to access containerapp",
IpAddressRange = "192.168.1.1/8",
Name = "Allow work IP B subnet",
},
},
StickySessions = new AzureNative.App.Inputs.IngressStickySessionsArgs
{
Affinity = AzureNative.App.Affinity.Sticky,
},
TargetPort = 3000,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
Label = "production",
RevisionName = "testcontainerApp0-ab1234",
Weight = 100,
},
},
},
MaxInactiveRevisions = 10,
RevisionTransitionThreshold = 100,
Service = new AzureNative.App.Inputs.ServiceArgs
{
Type = "redis",
},
},
ContainerAppName = "testcontainerApp0",
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Location = "East US",
PatchingConfiguration = new AzureNative.App.Inputs.ContainerAppPatchingConfigurationArgs
{
PatchingMode = AzureNative.App.PatchingMode.Automatic,
},
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "",
ImageType = AzureNative.App.ImageType.CloudBuild,
Name = "testcontainerApp0",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
{
HttpHeaders = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
{
Name = "Custom-Header",
Value = "Awesome",
},
},
Path = "/health",
Port = 8080,
},
InitialDelaySeconds = 3,
PeriodSeconds = 3,
Type = AzureNative.App.Type.Liveness,
},
},
VolumeMounts = new[]
{
new AzureNative.App.Inputs.VolumeMountArgs
{
MountPath = "/mnt/path1",
SubPath = "subPath1",
VolumeName = "azurefile",
},
new AzureNative.App.Inputs.VolumeMountArgs
{
MountPath = "/mnt/path2",
SubPath = "subPath2",
VolumeName = "nfsazurefile",
},
},
},
},
InitContainers = new[]
{
new AzureNative.App.Inputs.InitContainerArgs
{
Args = new[]
{
"-c",
"while true; do echo hello; sleep 10;done",
},
Command = new[]
{
"/bin/sh",
},
Image = "repo/testcontainerApp0:v4",
Name = "testinitcontainerApp0",
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0.2,
Memory = "100Mi",
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
CooldownPeriod = 350,
MaxReplicas = 5,
MinReplicas = 1,
PollingInterval = 35,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
{
Metadata =
{
{ "concurrentRequests", "50" },
},
Type = "http",
},
Name = "httpscalingrule",
},
},
},
ServiceBinds = new[]
{
new AzureNative.App.Inputs.ServiceBindArgs
{
ClientType = "dotnet",
CustomizedKeys =
{
{ "DesiredKey", "defaultKey" },
},
Name = "redisService",
ServiceId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/redisService",
},
},
Volumes = new[]
{
new AzureNative.App.Inputs.VolumeArgs
{
Name = "azurefile",
StorageName = "storage",
StorageType = AzureNative.App.StorageType.AzureFile,
},
new AzureNative.App.Inputs.VolumeArgs
{
Name = "nfsazurefile",
StorageName = "nfsStorage",
StorageType = AzureNative.App.StorageType.NfsAzureFile,
},
},
},
WorkloadProfileName = "My-GP-01",
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
Dapr: &app.DaprArgs{
AppPort: pulumi.Int(3000),
AppProtocol: pulumi.String(app.AppProtocolHttp),
EnableApiLogging: pulumi.Bool(true),
Enabled: pulumi.Bool(true),
HttpMaxRequestSize: pulumi.Int(10),
HttpReadBufferSize: pulumi.Int(30),
LogLevel: pulumi.String(app.LogLevelDebug),
},
Ingress: &app.IngressArgs{
AdditionalPortMappings: app.IngressPortMappingArray{
&app.IngressPortMappingArgs{
External: pulumi.Bool(true),
TargetPort: pulumi.Int(1234),
},
&app.IngressPortMappingArgs{
ExposedPort: pulumi.Int(3456),
External: pulumi.Bool(false),
TargetPort: pulumi.Int(2345),
},
},
ClientCertificateMode: pulumi.String(app.IngressClientCertificateModeAccept),
CorsPolicy: &app.CorsPolicyArgs{
AllowCredentials: pulumi.Bool(true),
AllowedHeaders: pulumi.StringArray{
pulumi.String("HEADER1"),
pulumi.String("HEADER2"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("GET"),
pulumi.String("POST"),
},
AllowedOrigins: pulumi.StringArray{
pulumi.String("https://a.test.com"),
pulumi.String("https://b.test.com"),
},
ExposeHeaders: pulumi.StringArray{
pulumi.String("HEADER3"),
pulumi.String("HEADER4"),
},
MaxAge: pulumi.Int(1234),
},
CustomDomains: app.CustomDomainArray{
&app.CustomDomainArgs{
BindingType: pulumi.String(app.BindingTypeSniEnabled),
CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
Name: pulumi.String("www.my-name.com"),
},
&app.CustomDomainArgs{
BindingType: pulumi.String(app.BindingTypeSniEnabled),
CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com"),
Name: pulumi.String("www.my-other-name.com"),
},
},
External: pulumi.Bool(true),
IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String(app.ActionAllow),
Description: pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
IpAddressRange: pulumi.String("192.168.1.1/32"),
Name: pulumi.String("Allow work IP A subnet"),
},
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String(app.ActionAllow),
Description: pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
IpAddressRange: pulumi.String("192.168.1.1/8"),
Name: pulumi.String("Allow work IP B subnet"),
},
},
StickySessions: &app.IngressStickySessionsArgs{
Affinity: pulumi.String(app.AffinitySticky),
},
TargetPort: pulumi.Int(3000),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
Label: pulumi.String("production"),
RevisionName: pulumi.String("testcontainerApp0-ab1234"),
Weight: pulumi.Int(100),
},
},
},
MaxInactiveRevisions: pulumi.Int(10),
RevisionTransitionThreshold: pulumi.Int(100),
Service: &app.ServiceArgs{
Type: pulumi.String("redis"),
},
},
ContainerAppName: pulumi.String("testcontainerApp0"),
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Location: pulumi.String("East US"),
PatchingConfiguration: &app.ContainerAppPatchingConfigurationArgs{
PatchingMode: pulumi.String(app.PatchingModeAutomatic),
},
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String(""),
ImageType: pulumi.String(app.ImageTypeCloudBuild),
Name: pulumi.String("testcontainerApp0"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
HttpGet: &app.ContainerAppProbeHttpGetArgs{
HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
&app.ContainerAppProbeHttpHeadersArgs{
Name: pulumi.String("Custom-Header"),
Value: pulumi.String("Awesome"),
},
},
Path: pulumi.String("/health"),
Port: pulumi.Int(8080),
},
InitialDelaySeconds: pulumi.Int(3),
PeriodSeconds: pulumi.Int(3),
Type: pulumi.String(app.TypeLiveness),
},
},
VolumeMounts: app.VolumeMountArray{
&app.VolumeMountArgs{
MountPath: pulumi.String("/mnt/path1"),
SubPath: pulumi.String("subPath1"),
VolumeName: pulumi.String("azurefile"),
},
&app.VolumeMountArgs{
MountPath: pulumi.String("/mnt/path2"),
SubPath: pulumi.String("subPath2"),
VolumeName: pulumi.String("nfsazurefile"),
},
},
},
},
InitContainers: app.InitContainerArray{
&app.InitContainerArgs{
Args: pulumi.StringArray{
pulumi.String("-c"),
pulumi.String("while true; do echo hello; sleep 10;done"),
},
Command: pulumi.StringArray{
pulumi.String("/bin/sh"),
},
Image: pulumi.String("repo/testcontainerApp0:v4"),
Name: pulumi.String("testinitcontainerApp0"),
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0.2),
Memory: pulumi.String("100Mi"),
},
},
},
Scale: &app.ScaleArgs{
CooldownPeriod: pulumi.Int(350),
MaxReplicas: pulumi.Int(5),
MinReplicas: pulumi.Int(1),
PollingInterval: pulumi.Int(35),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
Custom: &app.CustomScaleRuleArgs{
Metadata: pulumi.StringMap{
"concurrentRequests": pulumi.String("50"),
},
Type: pulumi.String("http"),
},
Name: pulumi.String("httpscalingrule"),
},
},
},
ServiceBinds: app.ServiceBindArray{
&app.ServiceBindArgs{
ClientType: pulumi.String("dotnet"),
CustomizedKeys: pulumi.StringMap{
"DesiredKey": pulumi.String("defaultKey"),
},
Name: pulumi.String("redisService"),
ServiceId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/redisService"),
},
},
Volumes: app.VolumeArray{
&app.VolumeArgs{
Name: pulumi.String("azurefile"),
StorageName: pulumi.String("storage"),
StorageType: pulumi.String(app.StorageTypeAzureFile),
},
&app.VolumeArgs{
Name: pulumi.String("nfsazurefile"),
StorageName: pulumi.String("nfsStorage"),
StorageType: pulumi.String(app.StorageTypeNfsAzureFile),
},
},
},
WorkloadProfileName: pulumi.String("My-GP-01"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.DaprArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.CorsPolicyArgs;
import com.pulumi.azurenative.app.inputs.IngressStickySessionsArgs;
import com.pulumi.azurenative.app.inputs.ServiceArgs;
import com.pulumi.azurenative.app.inputs.ContainerAppPatchingConfigurationArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.dapr(DaprArgs.builder()
.appPort(3000)
.appProtocol("http")
.enableApiLogging(true)
.enabled(true)
.httpMaxRequestSize(10)
.httpReadBufferSize(30)
.logLevel("debug")
.build())
.ingress(IngressArgs.builder()
.additionalPortMappings(
IngressPortMappingArgs.builder()
.external(true)
.targetPort(1234)
.build(),
IngressPortMappingArgs.builder()
.exposedPort(3456)
.external(false)
.targetPort(2345)
.build())
.clientCertificateMode("accept")
.corsPolicy(CorsPolicyArgs.builder()
.allowCredentials(true)
.allowedHeaders(
"HEADER1",
"HEADER2")
.allowedMethods(
"GET",
"POST")
.allowedOrigins(
"https://a.test.com",
"https://b.test.com")
.exposeHeaders(
"HEADER3",
"HEADER4")
.maxAge(1234)
.build())
.customDomains(
CustomDomainArgs.builder()
.bindingType("SniEnabled")
.certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com")
.name("www.my-name.com")
.build(),
CustomDomainArgs.builder()
.bindingType("SniEnabled")
.certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")
.name("www.my-other-name.com")
.build())
.external(true)
.ipSecurityRestrictions(
IpSecurityRestrictionRuleArgs.builder()
.action("Allow")
.description("Allowing all IP's within the subnet below to access containerapp")
.ipAddressRange("192.168.1.1/32")
.name("Allow work IP A subnet")
.build(),
IpSecurityRestrictionRuleArgs.builder()
.action("Allow")
.description("Allowing all IP's within the subnet below to access containerapp")
.ipAddressRange("192.168.1.1/8")
.name("Allow work IP B subnet")
.build())
.stickySessions(IngressStickySessionsArgs.builder()
.affinity("sticky")
.build())
.targetPort(3000)
.traffic(TrafficWeightArgs.builder()
.label("production")
.revisionName("testcontainerApp0-ab1234")
.weight(100)
.build())
.build())
.maxInactiveRevisions(10)
.revisionTransitionThreshold(100)
.service(ServiceArgs.builder()
.type("redis")
.build())
.build())
.containerAppName("testcontainerApp0")
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.location("East US")
.patchingConfiguration(ContainerAppPatchingConfigurationArgs.builder()
.patchingMode("Automatic")
.build())
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("")
.imageType("CloudBuild")
.name("testcontainerApp0")
.probes(ContainerAppProbeArgs.builder()
.httpGet(ContainerAppProbeHttpGetArgs.builder()
.httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
.name("Custom-Header")
.value("Awesome")
.build())
.path("/health")
.port(8080)
.build())
.initialDelaySeconds(3)
.periodSeconds(3)
.type("Liveness")
.build())
.volumeMounts(
VolumeMountArgs.builder()
.mountPath("/mnt/path1")
.subPath("subPath1")
.volumeName("azurefile")
.build(),
VolumeMountArgs.builder()
.mountPath("/mnt/path2")
.subPath("subPath2")
.volumeName("nfsazurefile")
.build())
.build())
.initContainers(InitContainerArgs.builder()
.args(
"-c",
"while true; do echo hello; sleep 10;done")
.command("/bin/sh")
.image("repo/testcontainerApp0:v4")
.name("testinitcontainerApp0")
.resources(ContainerResourcesArgs.builder()
.cpu(0.2)
.memory("100Mi")
.build())
.build())
.scale(ScaleArgs.builder()
.cooldownPeriod(350)
.maxReplicas(5)
.minReplicas(1)
.pollingInterval(35)
.rules(ScaleRuleArgs.builder()
.custom(CustomScaleRuleArgs.builder()
.metadata(Map.of("concurrentRequests", "50"))
.type("http")
.build())
.name("httpscalingrule")
.build())
.build())
.serviceBinds(ServiceBindArgs.builder()
.clientType("dotnet")
.customizedKeys(Map.of("DesiredKey", "defaultKey"))
.name("redisService")
.serviceId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/redisService")
.build())
.volumes(
VolumeArgs.builder()
.name("azurefile")
.storageName("storage")
.storageType("AzureFile")
.build(),
VolumeArgs.builder()
.name("nfsazurefile")
.storageName("nfsStorage")
.storageType("NfsAzureFile")
.build())
.build())
.workloadProfileName("My-GP-01")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
dapr: {
appPort: 3000,
appProtocol: azure_native.app.AppProtocol.Http,
enableApiLogging: true,
enabled: true,
httpMaxRequestSize: 10,
httpReadBufferSize: 30,
logLevel: azure_native.app.LogLevel.Debug,
},
ingress: {
additionalPortMappings: [
{
external: true,
targetPort: 1234,
},
{
exposedPort: 3456,
external: false,
targetPort: 2345,
},
],
clientCertificateMode: azure_native.app.IngressClientCertificateMode.Accept,
corsPolicy: {
allowCredentials: true,
allowedHeaders: [
"HEADER1",
"HEADER2",
],
allowedMethods: [
"GET",
"POST",
],
allowedOrigins: [
"https://a.test.com",
"https://b.test.com",
],
exposeHeaders: [
"HEADER3",
"HEADER4",
],
maxAge: 1234,
},
customDomains: [
{
bindingType: azure_native.app.BindingType.SniEnabled,
certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
name: "www.my-name.com",
},
{
bindingType: azure_native.app.BindingType.SniEnabled,
certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
name: "www.my-other-name.com",
},
],
external: true,
ipSecurityRestrictions: [
{
action: azure_native.app.Action.Allow,
description: "Allowing all IP's within the subnet below to access containerapp",
ipAddressRange: "192.168.1.1/32",
name: "Allow work IP A subnet",
},
{
action: azure_native.app.Action.Allow,
description: "Allowing all IP's within the subnet below to access containerapp",
ipAddressRange: "192.168.1.1/8",
name: "Allow work IP B subnet",
},
],
stickySessions: {
affinity: azure_native.app.Affinity.Sticky,
},
targetPort: 3000,
traffic: [{
label: "production",
revisionName: "testcontainerApp0-ab1234",
weight: 100,
}],
},
maxInactiveRevisions: 10,
revisionTransitionThreshold: 100,
service: {
type: "redis",
},
},
containerAppName: "testcontainerApp0",
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location: "East US",
patchingConfiguration: {
patchingMode: azure_native.app.PatchingMode.Automatic,
},
resourceGroupName: "rg",
template: {
containers: [{
image: "",
imageType: azure_native.app.ImageType.CloudBuild,
name: "testcontainerApp0",
probes: [{
httpGet: {
httpHeaders: [{
name: "Custom-Header",
value: "Awesome",
}],
path: "/health",
port: 8080,
},
initialDelaySeconds: 3,
periodSeconds: 3,
type: azure_native.app.Type.Liveness,
}],
volumeMounts: [
{
mountPath: "/mnt/path1",
subPath: "subPath1",
volumeName: "azurefile",
},
{
mountPath: "/mnt/path2",
subPath: "subPath2",
volumeName: "nfsazurefile",
},
],
}],
initContainers: [{
args: [
"-c",
"while true; do echo hello; sleep 10;done",
],
command: ["/bin/sh"],
image: "repo/testcontainerApp0:v4",
name: "testinitcontainerApp0",
resources: {
cpu: 0.2,
memory: "100Mi",
},
}],
scale: {
cooldownPeriod: 350,
maxReplicas: 5,
minReplicas: 1,
pollingInterval: 35,
rules: [{
custom: {
metadata: {
concurrentRequests: "50",
},
type: "http",
},
name: "httpscalingrule",
}],
},
serviceBinds: [{
clientType: "dotnet",
customizedKeys: {
DesiredKey: "defaultKey",
},
name: "redisService",
serviceId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/redisService",
}],
volumes: [
{
name: "azurefile",
storageName: "storage",
storageType: azure_native.app.StorageType.AzureFile,
},
{
name: "nfsazurefile",
storageName: "nfsStorage",
storageType: azure_native.app.StorageType.NfsAzureFile,
},
],
},
workloadProfileName: "My-GP-01",
});
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"dapr": {
"app_port": 3000,
"app_protocol": azure_native.app.AppProtocol.HTTP,
"enable_api_logging": True,
"enabled": True,
"http_max_request_size": 10,
"http_read_buffer_size": 30,
"log_level": azure_native.app.LogLevel.DEBUG,
},
"ingress": {
"additional_port_mappings": [
{
"external": True,
"target_port": 1234,
},
{
"exposed_port": 3456,
"external": False,
"target_port": 2345,
},
],
"client_certificate_mode": azure_native.app.IngressClientCertificateMode.ACCEPT,
"cors_policy": {
"allow_credentials": True,
"allowed_headers": [
"HEADER1",
"HEADER2",
],
"allowed_methods": [
"GET",
"POST",
],
"allowed_origins": [
"https://a.test.com",
"https://b.test.com",
],
"expose_headers": [
"HEADER3",
"HEADER4",
],
"max_age": 1234,
},
"custom_domains": [
{
"binding_type": azure_native.app.BindingType.SNI_ENABLED,
"certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
"name": "www.my-name.com",
},
{
"binding_type": azure_native.app.BindingType.SNI_ENABLED,
"certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
"name": "www.my-other-name.com",
},
],
"external": True,
"ip_security_restrictions": [
{
"action": azure_native.app.Action.ALLOW,
"description": "Allowing all IP's within the subnet below to access containerapp",
"ip_address_range": "192.168.1.1/32",
"name": "Allow work IP A subnet",
},
{
"action": azure_native.app.Action.ALLOW,
"description": "Allowing all IP's within the subnet below to access containerapp",
"ip_address_range": "192.168.1.1/8",
"name": "Allow work IP B subnet",
},
],
"sticky_sessions": {
"affinity": azure_native.app.Affinity.STICKY,
},
"target_port": 3000,
"traffic": [{
"label": "production",
"revision_name": "testcontainerApp0-ab1234",
"weight": 100,
}],
},
"max_inactive_revisions": 10,
"revision_transition_threshold": 100,
"service": {
"type": "redis",
},
},
container_app_name="testcontainerApp0",
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location="East US",
patching_configuration={
"patching_mode": azure_native.app.PatchingMode.AUTOMATIC,
},
resource_group_name="rg",
template={
"containers": [{
"image": "",
"image_type": azure_native.app.ImageType.CLOUD_BUILD,
"name": "testcontainerApp0",
"probes": [{
"http_get": {
"http_headers": [{
"name": "Custom-Header",
"value": "Awesome",
}],
"path": "/health",
"port": 8080,
},
"initial_delay_seconds": 3,
"period_seconds": 3,
"type": azure_native.app.Type.LIVENESS,
}],
"volume_mounts": [
{
"mount_path": "/mnt/path1",
"sub_path": "subPath1",
"volume_name": "azurefile",
},
{
"mount_path": "/mnt/path2",
"sub_path": "subPath2",
"volume_name": "nfsazurefile",
},
],
}],
"init_containers": [{
"args": [
"-c",
"while true; do echo hello; sleep 10;done",
],
"command": ["/bin/sh"],
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi",
},
}],
"scale": {
"cooldown_period": 350,
"max_replicas": 5,
"min_replicas": 1,
"polling_interval": 35,
"rules": [{
"custom": {
"metadata": {
"concurrentRequests": "50",
},
"type": "http",
},
"name": "httpscalingrule",
}],
},
"service_binds": [{
"client_type": "dotnet",
"customized_keys": {
"DesiredKey": "defaultKey",
},
"name": "redisService",
"service_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/redisService",
}],
"volumes": [
{
"name": "azurefile",
"storage_name": "storage",
"storage_type": azure_native.app.StorageType.AZURE_FILE,
},
{
"name": "nfsazurefile",
"storage_name": "nfsStorage",
"storage_type": azure_native.app.StorageType.NFS_AZURE_FILE,
},
],
},
workload_profile_name="My-GP-01")
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
dapr:
appPort: 3000
appProtocol: http
enableApiLogging: true
enabled: true
httpMaxRequestSize: 10
httpReadBufferSize: 30
logLevel: debug
ingress:
additionalPortMappings:
- external: true
targetPort: 1234
- exposedPort: 3456
external: false
targetPort: 2345
clientCertificateMode: accept
corsPolicy:
allowCredentials: true
allowedHeaders:
- HEADER1
- HEADER2
allowedMethods:
- GET
- POST
allowedOrigins:
- https://a.test.com
- https://b.test.com
exposeHeaders:
- HEADER3
- HEADER4
maxAge: 1234
customDomains:
- bindingType: SniEnabled
certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com
name: www.my-name.com
- bindingType: SniEnabled
certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com
name: www.my-other-name.com
external: true
ipSecurityRestrictions:
- action: Allow
description: Allowing all IP's within the subnet below to access containerapp
ipAddressRange: 192.168.1.1/32
name: Allow work IP A subnet
- action: Allow
description: Allowing all IP's within the subnet below to access containerapp
ipAddressRange: 192.168.1.1/8
name: Allow work IP B subnet
stickySessions:
affinity: sticky
targetPort: 3000
traffic:
- label: production
revisionName: testcontainerApp0-ab1234
weight: 100
maxInactiveRevisions: 10
revisionTransitionThreshold: 100
service:
type: redis
containerAppName: testcontainerApp0
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
location: East US
patchingConfiguration:
patchingMode: Automatic
resourceGroupName: rg
template:
containers:
- image: ""
imageType: CloudBuild
name: testcontainerApp0
probes:
- httpGet:
httpHeaders:
- name: Custom-Header
value: Awesome
path: /health
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
type: Liveness
volumeMounts:
- mountPath: /mnt/path1
subPath: subPath1
volumeName: azurefile
- mountPath: /mnt/path2
subPath: subPath2
volumeName: nfsazurefile
initContainers:
- args:
- -c
- while true; do echo hello; sleep 10;done
command:
- /bin/sh
image: repo/testcontainerApp0:v4
name: testinitcontainerApp0
resources:
cpu: 0.2
memory: 100Mi
scale:
cooldownPeriod: 350
maxReplicas: 5
minReplicas: 1
pollingInterval: 35
rules:
- custom:
metadata:
concurrentRequests: '50'
type: http
name: httpscalingrule
serviceBinds:
- clientType: dotnet
customizedKeys:
DesiredKey: defaultKey
name: redisService
serviceId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/redisService
volumes:
- name: azurefile
storageName: storage
storageType: AzureFile
- name: nfsazurefile
storageName: nfsStorage
storageType: NfsAzureFile
workloadProfileName: My-GP-01
Create or Update Tcp App
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
Ingress = new AzureNative.App.Inputs.IngressArgs
{
ExposedPort = 4000,
External = true,
TargetPort = 3000,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
RevisionName = "testcontainerAppTcp-ab1234",
Weight = 100,
},
},
Transport = AzureNative.App.IngressTransportMethod.Tcp,
},
},
ContainerAppName = "testcontainerAppTcp",
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Location = "East US",
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "repo/testcontainerAppTcp:v1",
Name = "testcontainerAppTcp",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
InitialDelaySeconds = 3,
PeriodSeconds = 3,
TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
{
Port = 8080,
},
Type = AzureNative.App.Type.Liveness,
},
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
CooldownPeriod = 350,
MaxReplicas = 5,
MinReplicas = 1,
PollingInterval = 35,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
Name = "tcpscalingrule",
Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
{
Metadata =
{
{ "concurrentConnections", "50" },
},
},
},
},
},
},
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
Ingress: &app.IngressArgs{
ExposedPort: pulumi.Int(4000),
External: pulumi.Bool(true),
TargetPort: pulumi.Int(3000),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
RevisionName: pulumi.String("testcontainerAppTcp-ab1234"),
Weight: pulumi.Int(100),
},
},
Transport: pulumi.String(app.IngressTransportMethodTcp),
},
},
ContainerAppName: pulumi.String("testcontainerAppTcp"),
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String("repo/testcontainerAppTcp:v1"),
Name: pulumi.String("testcontainerAppTcp"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
InitialDelaySeconds: pulumi.Int(3),
PeriodSeconds: pulumi.Int(3),
TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
Port: pulumi.Int(8080),
},
Type: pulumi.String(app.TypeLiveness),
},
},
},
},
Scale: &app.ScaleArgs{
CooldownPeriod: pulumi.Int(350),
MaxReplicas: pulumi.Int(5),
MinReplicas: pulumi.Int(1),
PollingInterval: pulumi.Int(35),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
Name: pulumi.String("tcpscalingrule"),
Tcp: &app.TcpScaleRuleArgs{
Metadata: pulumi.StringMap{
"concurrentConnections": pulumi.String("50"),
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.ingress(IngressArgs.builder()
.exposedPort(4000)
.external(true)
.targetPort(3000)
.traffic(TrafficWeightArgs.builder()
.revisionName("testcontainerAppTcp-ab1234")
.weight(100)
.build())
.transport("tcp")
.build())
.build())
.containerAppName("testcontainerAppTcp")
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.location("East US")
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("repo/testcontainerAppTcp:v1")
.name("testcontainerAppTcp")
.probes(ContainerAppProbeArgs.builder()
.initialDelaySeconds(3)
.periodSeconds(3)
.tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
.port(8080)
.build())
.type("Liveness")
.build())
.build())
.scale(ScaleArgs.builder()
.cooldownPeriod(350)
.maxReplicas(5)
.minReplicas(1)
.pollingInterval(35)
.rules(ScaleRuleArgs.builder()
.name("tcpscalingrule")
.tcp(TcpScaleRuleArgs.builder()
.metadata(Map.of("concurrentConnections", "50"))
.build())
.build())
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
ingress: {
exposedPort: 4000,
external: true,
targetPort: 3000,
traffic: [{
revisionName: "testcontainerAppTcp-ab1234",
weight: 100,
}],
transport: azure_native.app.IngressTransportMethod.Tcp,
},
},
containerAppName: "testcontainerAppTcp",
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location: "East US",
resourceGroupName: "rg",
template: {
containers: [{
image: "repo/testcontainerAppTcp:v1",
name: "testcontainerAppTcp",
probes: [{
initialDelaySeconds: 3,
periodSeconds: 3,
tcpSocket: {
port: 8080,
},
type: azure_native.app.Type.Liveness,
}],
}],
scale: {
cooldownPeriod: 350,
maxReplicas: 5,
minReplicas: 1,
pollingInterval: 35,
rules: [{
name: "tcpscalingrule",
tcp: {
metadata: {
concurrentConnections: "50",
},
},
}],
},
},
});
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"ingress": {
"exposed_port": 4000,
"external": True,
"target_port": 3000,
"traffic": [{
"revision_name": "testcontainerAppTcp-ab1234",
"weight": 100,
}],
"transport": azure_native.app.IngressTransportMethod.TCP,
},
},
container_app_name="testcontainerAppTcp",
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location="East US",
resource_group_name="rg",
template={
"containers": [{
"image": "repo/testcontainerAppTcp:v1",
"name": "testcontainerAppTcp",
"probes": [{
"initial_delay_seconds": 3,
"period_seconds": 3,
"tcp_socket": {
"port": 8080,
},
"type": azure_native.app.Type.LIVENESS,
}],
}],
"scale": {
"cooldown_period": 350,
"max_replicas": 5,
"min_replicas": 1,
"polling_interval": 35,
"rules": [{
"name": "tcpscalingrule",
"tcp": {
"metadata": {
"concurrentConnections": "50",
},
},
}],
},
})
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
ingress:
exposedPort: 4000
external: true
targetPort: 3000
traffic:
- revisionName: testcontainerAppTcp-ab1234
weight: 100
transport: tcp
containerAppName: testcontainerAppTcp
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
location: East US
resourceGroupName: rg
template:
containers:
- image: repo/testcontainerAppTcp:v1
name: testcontainerAppTcp
probes:
- initialDelaySeconds: 3
periodSeconds: 3
tcpSocket:
port: 8080
type: Liveness
scale:
cooldownPeriod: 350
maxReplicas: 5
minReplicas: 1
pollingInterval: 35
rules:
- name: tcpscalingrule
tcp:
metadata:
concurrentConnections: '50'
Create ContainerApp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerApp(name: string, args: ContainerAppArgs, opts?: CustomResourceOptions);
@overload
def ContainerApp(resource_name: str,
args: ContainerAppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerApp(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
environment_id: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
kind: Optional[Union[str, Kind]] = None,
configuration: Optional[ConfigurationArgs] = None,
managed_by: Optional[str] = None,
managed_environment_id: Optional[str] = None,
patching_configuration: Optional[ContainerAppPatchingConfigurationArgs] = None,
container_app_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[TemplateArgs] = None,
workload_profile_name: Optional[str] = None)
func NewContainerApp(ctx *Context, name string, args ContainerAppArgs, opts ...ResourceOption) (*ContainerApp, error)
public ContainerApp(string name, ContainerAppArgs args, CustomResourceOptions? opts = null)
public ContainerApp(String name, ContainerAppArgs args)
public ContainerApp(String name, ContainerAppArgs args, CustomResourceOptions options)
type: azure-native:app:ContainerApp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var containerAppResource = new AzureNative.App.ContainerApp("containerAppResource", new()
{
ResourceGroupName = "string",
Location = "string",
EnvironmentId = "string",
ExtendedLocation = new AzureNative.App.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
Identity = new AzureNative.App.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Kind = "string",
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
ActiveRevisionsMode = "string",
Dapr = new AzureNative.App.Inputs.DaprArgs
{
AppHealth = new AzureNative.App.Inputs.DaprAppHealthArgs
{
Enabled = false,
Path = "string",
ProbeIntervalSeconds = 0,
ProbeTimeoutMilliseconds = 0,
Threshold = 0,
},
AppId = "string",
AppPort = 0,
AppProtocol = "string",
EnableApiLogging = false,
Enabled = false,
HttpMaxRequestSize = 0,
HttpReadBufferSize = 0,
LogLevel = "string",
MaxConcurrency = 0,
},
IdentitySettings = new[]
{
new AzureNative.App.Inputs.IdentitySettingsArgs
{
Identity = "string",
Lifecycle = "string",
},
},
Ingress = new AzureNative.App.Inputs.IngressArgs
{
AdditionalPortMappings = new[]
{
new AzureNative.App.Inputs.IngressPortMappingArgs
{
External = false,
TargetPort = 0,
ExposedPort = 0,
},
},
AllowInsecure = false,
ClientCertificateMode = "string",
CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
{
AllowedOrigins = new[]
{
"string",
},
AllowCredentials = false,
AllowedHeaders = new[]
{
"string",
},
AllowedMethods = new[]
{
"string",
},
ExposeHeaders = new[]
{
"string",
},
MaxAge = 0,
},
CustomDomains = new[]
{
new AzureNative.App.Inputs.CustomDomainArgs
{
Name = "string",
BindingType = "string",
CertificateId = "string",
},
},
ExposedPort = 0,
External = false,
IpSecurityRestrictions = new[]
{
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = "string",
IpAddressRange = "string",
Name = "string",
Description = "string",
},
},
StickySessions = new AzureNative.App.Inputs.IngressStickySessionsArgs
{
Affinity = "string",
},
TargetPort = 0,
TargetPortHttpScheme = "string",
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
Label = "string",
LatestRevision = false,
RevisionName = "string",
Weight = 0,
},
},
Transport = "string",
},
MaxInactiveRevisions = 0,
Registries = new[]
{
new AzureNative.App.Inputs.RegistryCredentialsArgs
{
Identity = "string",
PasswordSecretRef = "string",
Server = "string",
Username = "string",
},
},
RevisionTransitionThreshold = 0,
Runtime = new AzureNative.App.Inputs.RuntimeArgs
{
Dotnet = new AzureNative.App.Inputs.RuntimeDotnetArgs
{
AutoConfigureDataProtection = false,
},
Java = new AzureNative.App.Inputs.RuntimeJavaArgs
{
EnableMetrics = false,
JavaAgent = new AzureNative.App.Inputs.RuntimeJavaAgentArgs
{
Enabled = false,
Logging = new AzureNative.App.Inputs.RuntimeLoggingArgs
{
LoggerSettings = new[]
{
new AzureNative.App.Inputs.LoggerSettingArgs
{
Level = "string",
Logger = "string",
},
},
},
},
},
},
Secrets = new[]
{
new AzureNative.App.Inputs.SecretArgs
{
Identity = "string",
KeyVaultUrl = "string",
Name = "string",
Value = "string",
},
},
Service = new AzureNative.App.Inputs.ServiceArgs
{
Type = "string",
},
TargetLabel = "string",
},
ManagedBy = "string",
ManagedEnvironmentId = "string",
PatchingConfiguration = new AzureNative.App.Inputs.ContainerAppPatchingConfigurationArgs
{
PatchingMode = "string",
},
ContainerAppName = "string",
Tags =
{
{ "string", "string" },
},
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Args = new[]
{
"string",
},
Command = new[]
{
"string",
},
Env = new[]
{
new AzureNative.App.Inputs.EnvironmentVarArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Image = "string",
ImageType = "string",
Name = "string",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
FailureThreshold = 0,
HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
{
Port = 0,
Host = "string",
HttpHeaders = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
{
Name = "string",
Value = "string",
},
},
Path = "string",
Scheme = "string",
},
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
{
Port = 0,
Host = "string",
},
TerminationGracePeriodSeconds = 0,
TimeoutSeconds = 0,
Type = "string",
},
},
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0,
Gpu = 0,
Memory = "string",
},
VolumeMounts = new[]
{
new AzureNative.App.Inputs.VolumeMountArgs
{
MountPath = "string",
SubPath = "string",
VolumeName = "string",
},
},
},
},
InitContainers = new[]
{
new AzureNative.App.Inputs.InitContainerArgs
{
Args = new[]
{
"string",
},
Command = new[]
{
"string",
},
Env = new[]
{
new AzureNative.App.Inputs.EnvironmentVarArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Image = "string",
ImageType = "string",
Name = "string",
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0,
Gpu = 0,
Memory = "string",
},
VolumeMounts = new[]
{
new AzureNative.App.Inputs.VolumeMountArgs
{
MountPath = "string",
SubPath = "string",
VolumeName = "string",
},
},
},
},
RevisionSuffix = "string",
Scale = new AzureNative.App.Inputs.ScaleArgs
{
CooldownPeriod = 0,
MaxReplicas = 0,
MinReplicas = 0,
PollingInterval = 0,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
AzureQueue = new AzureNative.App.Inputs.QueueScaleRuleArgs
{
AccountName = "string",
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Identity = "string",
QueueLength = 0,
QueueName = "string",
},
Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Identity = "string",
Metadata =
{
{ "string", "string" },
},
Type = "string",
},
Http = new AzureNative.App.Inputs.HttpScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Identity = "string",
Metadata =
{
{ "string", "string" },
},
},
Name = "string",
Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Identity = "string",
Metadata =
{
{ "string", "string" },
},
},
},
},
},
ServiceBinds = new[]
{
new AzureNative.App.Inputs.ServiceBindArgs
{
ClientType = "string",
CustomizedKeys =
{
{ "string", "string" },
},
Name = "string",
ServiceId = "string",
},
},
TerminationGracePeriodSeconds = 0,
Volumes = new[]
{
new AzureNative.App.Inputs.VolumeArgs
{
MountOptions = "string",
Name = "string",
Secrets = new[]
{
new AzureNative.App.Inputs.SecretVolumeItemArgs
{
Path = "string",
SecretRef = "string",
},
},
StorageName = "string",
StorageType = "string",
},
},
},
WorkloadProfileName = "string",
});
example, err := app.NewContainerApp(ctx, "containerAppResource", &app.ContainerAppArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
ExtendedLocation: &app.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Identity: &app.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Kind: pulumi.String("string"),
Configuration: &app.ConfigurationArgs{
ActiveRevisionsMode: pulumi.String("string"),
Dapr: &app.DaprArgs{
AppHealth: &app.DaprAppHealthArgs{
Enabled: pulumi.Bool(false),
Path: pulumi.String("string"),
ProbeIntervalSeconds: pulumi.Int(0),
ProbeTimeoutMilliseconds: pulumi.Int(0),
Threshold: pulumi.Int(0),
},
AppId: pulumi.String("string"),
AppPort: pulumi.Int(0),
AppProtocol: pulumi.String("string"),
EnableApiLogging: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
HttpMaxRequestSize: pulumi.Int(0),
HttpReadBufferSize: pulumi.Int(0),
LogLevel: pulumi.String("string"),
MaxConcurrency: pulumi.Int(0),
},
IdentitySettings: app.IdentitySettingsArray{
&app.IdentitySettingsArgs{
Identity: pulumi.String("string"),
Lifecycle: pulumi.String("string"),
},
},
Ingress: &app.IngressArgs{
AdditionalPortMappings: app.IngressPortMappingArray{
&app.IngressPortMappingArgs{
External: pulumi.Bool(false),
TargetPort: pulumi.Int(0),
ExposedPort: pulumi.Int(0),
},
},
AllowInsecure: pulumi.Bool(false),
ClientCertificateMode: pulumi.String("string"),
CorsPolicy: &app.CorsPolicyArgs{
AllowedOrigins: pulumi.StringArray{
pulumi.String("string"),
},
AllowCredentials: pulumi.Bool(false),
AllowedHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("string"),
},
ExposeHeaders: pulumi.StringArray{
pulumi.String("string"),
},
MaxAge: pulumi.Int(0),
},
CustomDomains: app.CustomDomainArray{
&app.CustomDomainArgs{
Name: pulumi.String("string"),
BindingType: pulumi.String("string"),
CertificateId: pulumi.String("string"),
},
},
ExposedPort: pulumi.Int(0),
External: pulumi.Bool(false),
IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String("string"),
IpAddressRange: pulumi.String("string"),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
StickySessions: &app.IngressStickySessionsArgs{
Affinity: pulumi.String("string"),
},
TargetPort: pulumi.Int(0),
TargetPortHttpScheme: pulumi.String("string"),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
Label: pulumi.String("string"),
LatestRevision: pulumi.Bool(false),
RevisionName: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
Transport: pulumi.String("string"),
},
MaxInactiveRevisions: pulumi.Int(0),
Registries: app.RegistryCredentialsArray{
&app.RegistryCredentialsArgs{
Identity: pulumi.String("string"),
PasswordSecretRef: pulumi.String("string"),
Server: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
RevisionTransitionThreshold: pulumi.Int(0),
Runtime: &app.RuntimeArgs{
Dotnet: &app.RuntimeDotnetArgs{
AutoConfigureDataProtection: pulumi.Bool(false),
},
Java: &app.RuntimeJavaArgs{
EnableMetrics: pulumi.Bool(false),
JavaAgent: &app.RuntimeJavaAgentArgs{
Enabled: pulumi.Bool(false),
Logging: &app.RuntimeLoggingArgs{
LoggerSettings: app.LoggerSettingArray{
&app.LoggerSettingArgs{
Level: pulumi.String("string"),
Logger: pulumi.String("string"),
},
},
},
},
},
},
Secrets: app.SecretArray{
&app.SecretArgs{
Identity: pulumi.String("string"),
KeyVaultUrl: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Service: &app.ServiceArgs{
Type: pulumi.String("string"),
},
TargetLabel: pulumi.String("string"),
},
ManagedBy: pulumi.String("string"),
ManagedEnvironmentId: pulumi.String("string"),
PatchingConfiguration: &app.ContainerAppPatchingConfigurationArgs{
PatchingMode: pulumi.String("string"),
},
ContainerAppName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.StringArray{
pulumi.String("string"),
},
Env: app.EnvironmentVarArray{
&app.EnvironmentVarArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
ImageType: pulumi.String("string"),
Name: pulumi.String("string"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
FailureThreshold: pulumi.Int(0),
HttpGet: &app.ContainerAppProbeHttpGetArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
&app.ContainerAppProbeHttpHeadersArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Scheme: pulumi.String("string"),
},
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
},
TerminationGracePeriodSeconds: pulumi.Float64(0),
TimeoutSeconds: pulumi.Int(0),
Type: pulumi.String("string"),
},
},
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0),
Gpu: pulumi.Float64(0),
Memory: pulumi.String("string"),
},
VolumeMounts: app.VolumeMountArray{
&app.VolumeMountArgs{
MountPath: pulumi.String("string"),
SubPath: pulumi.String("string"),
VolumeName: pulumi.String("string"),
},
},
},
},
InitContainers: app.InitContainerArray{
&app.InitContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.StringArray{
pulumi.String("string"),
},
Env: app.EnvironmentVarArray{
&app.EnvironmentVarArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
ImageType: pulumi.String("string"),
Name: pulumi.String("string"),
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0),
Gpu: pulumi.Float64(0),
Memory: pulumi.String("string"),
},
VolumeMounts: app.VolumeMountArray{
&app.VolumeMountArgs{
MountPath: pulumi.String("string"),
SubPath: pulumi.String("string"),
VolumeName: pulumi.String("string"),
},
},
},
},
RevisionSuffix: pulumi.String("string"),
Scale: &app.ScaleArgs{
CooldownPeriod: pulumi.Int(0),
MaxReplicas: pulumi.Int(0),
MinReplicas: pulumi.Int(0),
PollingInterval: pulumi.Int(0),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
AzureQueue: &app.QueueScaleRuleArgs{
AccountName: pulumi.String("string"),
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Identity: pulumi.String("string"),
QueueLength: pulumi.Int(0),
QueueName: pulumi.String("string"),
},
Custom: &app.CustomScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Identity: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Type: pulumi.String("string"),
},
Http: &app.HttpScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Identity: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Tcp: &app.TcpScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Identity: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
},
},
ServiceBinds: app.ServiceBindArray{
&app.ServiceBindArgs{
ClientType: pulumi.String("string"),
CustomizedKeys: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
ServiceId: pulumi.String("string"),
},
},
TerminationGracePeriodSeconds: pulumi.Float64(0),
Volumes: app.VolumeArray{
&app.VolumeArgs{
MountOptions: pulumi.String("string"),
Name: pulumi.String("string"),
Secrets: app.SecretVolumeItemArray{
&app.SecretVolumeItemArgs{
Path: pulumi.String("string"),
SecretRef: pulumi.String("string"),
},
},
StorageName: pulumi.String("string"),
StorageType: pulumi.String("string"),
},
},
},
WorkloadProfileName: pulumi.String("string"),
})
var containerAppResource = new ContainerApp("containerAppResource", ContainerAppArgs.builder()
.resourceGroupName("string")
.location("string")
.environmentId("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.kind("string")
.configuration(ConfigurationArgs.builder()
.activeRevisionsMode("string")
.dapr(DaprArgs.builder()
.appHealth(DaprAppHealthArgs.builder()
.enabled(false)
.path("string")
.probeIntervalSeconds(0)
.probeTimeoutMilliseconds(0)
.threshold(0)
.build())
.appId("string")
.appPort(0)
.appProtocol("string")
.enableApiLogging(false)
.enabled(false)
.httpMaxRequestSize(0)
.httpReadBufferSize(0)
.logLevel("string")
.maxConcurrency(0)
.build())
.identitySettings(IdentitySettingsArgs.builder()
.identity("string")
.lifecycle("string")
.build())
.ingress(IngressArgs.builder()
.additionalPortMappings(IngressPortMappingArgs.builder()
.external(false)
.targetPort(0)
.exposedPort(0)
.build())
.allowInsecure(false)
.clientCertificateMode("string")
.corsPolicy(CorsPolicyArgs.builder()
.allowedOrigins("string")
.allowCredentials(false)
.allowedHeaders("string")
.allowedMethods("string")
.exposeHeaders("string")
.maxAge(0)
.build())
.customDomains(CustomDomainArgs.builder()
.name("string")
.bindingType("string")
.certificateId("string")
.build())
.exposedPort(0)
.external(false)
.ipSecurityRestrictions(IpSecurityRestrictionRuleArgs.builder()
.action("string")
.ipAddressRange("string")
.name("string")
.description("string")
.build())
.stickySessions(IngressStickySessionsArgs.builder()
.affinity("string")
.build())
.targetPort(0)
.targetPortHttpScheme("string")
.traffic(TrafficWeightArgs.builder()
.label("string")
.latestRevision(false)
.revisionName("string")
.weight(0)
.build())
.transport("string")
.build())
.maxInactiveRevisions(0)
.registries(RegistryCredentialsArgs.builder()
.identity("string")
.passwordSecretRef("string")
.server("string")
.username("string")
.build())
.revisionTransitionThreshold(0)
.runtime(RuntimeArgs.builder()
.dotnet(RuntimeDotnetArgs.builder()
.autoConfigureDataProtection(false)
.build())
.java(RuntimeJavaArgs.builder()
.enableMetrics(false)
.javaAgent(RuntimeJavaAgentArgs.builder()
.enabled(false)
.logging(RuntimeLoggingArgs.builder()
.loggerSettings(LoggerSettingArgs.builder()
.level("string")
.logger("string")
.build())
.build())
.build())
.build())
.build())
.secrets(SecretArgs.builder()
.identity("string")
.keyVaultUrl("string")
.name("string")
.value("string")
.build())
.service(ServiceArgs.builder()
.type("string")
.build())
.targetLabel("string")
.build())
.managedBy("string")
.managedEnvironmentId("string")
.patchingConfiguration(ContainerAppPatchingConfigurationArgs.builder()
.patchingMode("string")
.build())
.containerAppName("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")
.imageType("string")
.name("string")
.probes(ContainerAppProbeArgs.builder()
.failureThreshold(0)
.httpGet(ContainerAppProbeHttpGetArgs.builder()
.port(0)
.host("string")
.httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
.name("string")
.value("string")
.build())
.path("string")
.scheme("string")
.build())
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
.port(0)
.host("string")
.build())
.terminationGracePeriodSeconds(0.0)
.timeoutSeconds(0)
.type("string")
.build())
.resources(ContainerResourcesArgs.builder()
.cpu(0.0)
.gpu(0.0)
.memory("string")
.build())
.volumeMounts(VolumeMountArgs.builder()
.mountPath("string")
.subPath("string")
.volumeName("string")
.build())
.build())
.initContainers(InitContainerArgs.builder()
.args("string")
.command("string")
.env(EnvironmentVarArgs.builder()
.name("string")
.secretRef("string")
.value("string")
.build())
.image("string")
.imageType("string")
.name("string")
.resources(ContainerResourcesArgs.builder()
.cpu(0.0)
.gpu(0.0)
.memory("string")
.build())
.volumeMounts(VolumeMountArgs.builder()
.mountPath("string")
.subPath("string")
.volumeName("string")
.build())
.build())
.revisionSuffix("string")
.scale(ScaleArgs.builder()
.cooldownPeriod(0)
.maxReplicas(0)
.minReplicas(0)
.pollingInterval(0)
.rules(ScaleRuleArgs.builder()
.azureQueue(QueueScaleRuleArgs.builder()
.accountName("string")
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.identity("string")
.queueLength(0)
.queueName("string")
.build())
.custom(CustomScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.identity("string")
.metadata(Map.of("string", "string"))
.type("string")
.build())
.http(HttpScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.identity("string")
.metadata(Map.of("string", "string"))
.build())
.name("string")
.tcp(TcpScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.identity("string")
.metadata(Map.of("string", "string"))
.build())
.build())
.build())
.serviceBinds(ServiceBindArgs.builder()
.clientType("string")
.customizedKeys(Map.of("string", "string"))
.name("string")
.serviceId("string")
.build())
.terminationGracePeriodSeconds(0.0)
.volumes(VolumeArgs.builder()
.mountOptions("string")
.name("string")
.secrets(SecretVolumeItemArgs.builder()
.path("string")
.secretRef("string")
.build())
.storageName("string")
.storageType("string")
.build())
.build())
.workloadProfileName("string")
.build());
container_app_resource = azure_native.app.ContainerApp("containerAppResource",
resource_group_name="string",
location="string",
environment_id="string",
extended_location={
"name": "string",
"type": "string",
},
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
kind="string",
configuration={
"active_revisions_mode": "string",
"dapr": {
"app_health": {
"enabled": False,
"path": "string",
"probe_interval_seconds": 0,
"probe_timeout_milliseconds": 0,
"threshold": 0,
},
"app_id": "string",
"app_port": 0,
"app_protocol": "string",
"enable_api_logging": False,
"enabled": False,
"http_max_request_size": 0,
"http_read_buffer_size": 0,
"log_level": "string",
"max_concurrency": 0,
},
"identity_settings": [{
"identity": "string",
"lifecycle": "string",
}],
"ingress": {
"additional_port_mappings": [{
"external": False,
"target_port": 0,
"exposed_port": 0,
}],
"allow_insecure": False,
"client_certificate_mode": "string",
"cors_policy": {
"allowed_origins": ["string"],
"allow_credentials": False,
"allowed_headers": ["string"],
"allowed_methods": ["string"],
"expose_headers": ["string"],
"max_age": 0,
},
"custom_domains": [{
"name": "string",
"binding_type": "string",
"certificate_id": "string",
}],
"exposed_port": 0,
"external": False,
"ip_security_restrictions": [{
"action": "string",
"ip_address_range": "string",
"name": "string",
"description": "string",
}],
"sticky_sessions": {
"affinity": "string",
},
"target_port": 0,
"target_port_http_scheme": "string",
"traffic": [{
"label": "string",
"latest_revision": False,
"revision_name": "string",
"weight": 0,
}],
"transport": "string",
},
"max_inactive_revisions": 0,
"registries": [{
"identity": "string",
"password_secret_ref": "string",
"server": "string",
"username": "string",
}],
"revision_transition_threshold": 0,
"runtime": {
"dotnet": {
"auto_configure_data_protection": False,
},
"java": {
"enable_metrics": False,
"java_agent": {
"enabled": False,
"logging": {
"logger_settings": [{
"level": "string",
"logger": "string",
}],
},
},
},
},
"secrets": [{
"identity": "string",
"key_vault_url": "string",
"name": "string",
"value": "string",
}],
"service": {
"type": "string",
},
"target_label": "string",
},
managed_by="string",
managed_environment_id="string",
patching_configuration={
"patching_mode": "string",
},
container_app_name="string",
tags={
"string": "string",
},
template={
"containers": [{
"args": ["string"],
"command": ["string"],
"env": [{
"name": "string",
"secret_ref": "string",
"value": "string",
}],
"image": "string",
"image_type": "string",
"name": "string",
"probes": [{
"failure_threshold": 0,
"http_get": {
"port": 0,
"host": "string",
"http_headers": [{
"name": "string",
"value": "string",
}],
"path": "string",
"scheme": "string",
},
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"tcp_socket": {
"port": 0,
"host": "string",
},
"termination_grace_period_seconds": 0,
"timeout_seconds": 0,
"type": "string",
}],
"resources": {
"cpu": 0,
"gpu": 0,
"memory": "string",
},
"volume_mounts": [{
"mount_path": "string",
"sub_path": "string",
"volume_name": "string",
}],
}],
"init_containers": [{
"args": ["string"],
"command": ["string"],
"env": [{
"name": "string",
"secret_ref": "string",
"value": "string",
}],
"image": "string",
"image_type": "string",
"name": "string",
"resources": {
"cpu": 0,
"gpu": 0,
"memory": "string",
},
"volume_mounts": [{
"mount_path": "string",
"sub_path": "string",
"volume_name": "string",
}],
}],
"revision_suffix": "string",
"scale": {
"cooldown_period": 0,
"max_replicas": 0,
"min_replicas": 0,
"polling_interval": 0,
"rules": [{
"azure_queue": {
"account_name": "string",
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"identity": "string",
"queue_length": 0,
"queue_name": "string",
},
"custom": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"identity": "string",
"metadata": {
"string": "string",
},
"type": "string",
},
"http": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"identity": "string",
"metadata": {
"string": "string",
},
},
"name": "string",
"tcp": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"identity": "string",
"metadata": {
"string": "string",
},
},
}],
},
"service_binds": [{
"client_type": "string",
"customized_keys": {
"string": "string",
},
"name": "string",
"service_id": "string",
}],
"termination_grace_period_seconds": 0,
"volumes": [{
"mount_options": "string",
"name": "string",
"secrets": [{
"path": "string",
"secret_ref": "string",
}],
"storage_name": "string",
"storage_type": "string",
}],
},
workload_profile_name="string")
const containerAppResource = new azure_native.app.ContainerApp("containerAppResource", {
resourceGroupName: "string",
location: "string",
environmentId: "string",
extendedLocation: {
name: "string",
type: "string",
},
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
kind: "string",
configuration: {
activeRevisionsMode: "string",
dapr: {
appHealth: {
enabled: false,
path: "string",
probeIntervalSeconds: 0,
probeTimeoutMilliseconds: 0,
threshold: 0,
},
appId: "string",
appPort: 0,
appProtocol: "string",
enableApiLogging: false,
enabled: false,
httpMaxRequestSize: 0,
httpReadBufferSize: 0,
logLevel: "string",
maxConcurrency: 0,
},
identitySettings: [{
identity: "string",
lifecycle: "string",
}],
ingress: {
additionalPortMappings: [{
external: false,
targetPort: 0,
exposedPort: 0,
}],
allowInsecure: false,
clientCertificateMode: "string",
corsPolicy: {
allowedOrigins: ["string"],
allowCredentials: false,
allowedHeaders: ["string"],
allowedMethods: ["string"],
exposeHeaders: ["string"],
maxAge: 0,
},
customDomains: [{
name: "string",
bindingType: "string",
certificateId: "string",
}],
exposedPort: 0,
external: false,
ipSecurityRestrictions: [{
action: "string",
ipAddressRange: "string",
name: "string",
description: "string",
}],
stickySessions: {
affinity: "string",
},
targetPort: 0,
targetPortHttpScheme: "string",
traffic: [{
label: "string",
latestRevision: false,
revisionName: "string",
weight: 0,
}],
transport: "string",
},
maxInactiveRevisions: 0,
registries: [{
identity: "string",
passwordSecretRef: "string",
server: "string",
username: "string",
}],
revisionTransitionThreshold: 0,
runtime: {
dotnet: {
autoConfigureDataProtection: false,
},
java: {
enableMetrics: false,
javaAgent: {
enabled: false,
logging: {
loggerSettings: [{
level: "string",
logger: "string",
}],
},
},
},
},
secrets: [{
identity: "string",
keyVaultUrl: "string",
name: "string",
value: "string",
}],
service: {
type: "string",
},
targetLabel: "string",
},
managedBy: "string",
managedEnvironmentId: "string",
patchingConfiguration: {
patchingMode: "string",
},
containerAppName: "string",
tags: {
string: "string",
},
template: {
containers: [{
args: ["string"],
command: ["string"],
env: [{
name: "string",
secretRef: "string",
value: "string",
}],
image: "string",
imageType: "string",
name: "string",
probes: [{
failureThreshold: 0,
httpGet: {
port: 0,
host: "string",
httpHeaders: [{
name: "string",
value: "string",
}],
path: "string",
scheme: "string",
},
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
tcpSocket: {
port: 0,
host: "string",
},
terminationGracePeriodSeconds: 0,
timeoutSeconds: 0,
type: "string",
}],
resources: {
cpu: 0,
gpu: 0,
memory: "string",
},
volumeMounts: [{
mountPath: "string",
subPath: "string",
volumeName: "string",
}],
}],
initContainers: [{
args: ["string"],
command: ["string"],
env: [{
name: "string",
secretRef: "string",
value: "string",
}],
image: "string",
imageType: "string",
name: "string",
resources: {
cpu: 0,
gpu: 0,
memory: "string",
},
volumeMounts: [{
mountPath: "string",
subPath: "string",
volumeName: "string",
}],
}],
revisionSuffix: "string",
scale: {
cooldownPeriod: 0,
maxReplicas: 0,
minReplicas: 0,
pollingInterval: 0,
rules: [{
azureQueue: {
accountName: "string",
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
identity: "string",
queueLength: 0,
queueName: "string",
},
custom: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
identity: "string",
metadata: {
string: "string",
},
type: "string",
},
http: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
identity: "string",
metadata: {
string: "string",
},
},
name: "string",
tcp: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
identity: "string",
metadata: {
string: "string",
},
},
}],
},
serviceBinds: [{
clientType: "string",
customizedKeys: {
string: "string",
},
name: "string",
serviceId: "string",
}],
terminationGracePeriodSeconds: 0,
volumes: [{
mountOptions: "string",
name: "string",
secrets: [{
path: "string",
secretRef: "string",
}],
storageName: "string",
storageType: "string",
}],
},
workloadProfileName: "string",
});
type: azure-native:app:ContainerApp
properties:
configuration:
activeRevisionsMode: string
dapr:
appHealth:
enabled: false
path: string
probeIntervalSeconds: 0
probeTimeoutMilliseconds: 0
threshold: 0
appId: string
appPort: 0
appProtocol: string
enableApiLogging: false
enabled: false
httpMaxRequestSize: 0
httpReadBufferSize: 0
logLevel: string
maxConcurrency: 0
identitySettings:
- identity: string
lifecycle: string
ingress:
additionalPortMappings:
- exposedPort: 0
external: false
targetPort: 0
allowInsecure: false
clientCertificateMode: string
corsPolicy:
allowCredentials: false
allowedHeaders:
- string
allowedMethods:
- string
allowedOrigins:
- string
exposeHeaders:
- string
maxAge: 0
customDomains:
- bindingType: string
certificateId: string
name: string
exposedPort: 0
external: false
ipSecurityRestrictions:
- action: string
description: string
ipAddressRange: string
name: string
stickySessions:
affinity: string
targetPort: 0
targetPortHttpScheme: string
traffic:
- label: string
latestRevision: false
revisionName: string
weight: 0
transport: string
maxInactiveRevisions: 0
registries:
- identity: string
passwordSecretRef: string
server: string
username: string
revisionTransitionThreshold: 0
runtime:
dotnet:
autoConfigureDataProtection: false
java:
enableMetrics: false
javaAgent:
enabled: false
logging:
loggerSettings:
- level: string
logger: string
secrets:
- identity: string
keyVaultUrl: string
name: string
value: string
service:
type: string
targetLabel: string
containerAppName: string
environmentId: string
extendedLocation:
name: string
type: string
identity:
type: string
userAssignedIdentities:
- string
kind: string
location: string
managedBy: string
managedEnvironmentId: string
patchingConfiguration:
patchingMode: string
resourceGroupName: string
tags:
string: string
template:
containers:
- args:
- string
command:
- string
env:
- name: string
secretRef: string
value: string
image: string
imageType: string
name: string
probes:
- failureThreshold: 0
httpGet:
host: string
httpHeaders:
- name: string
value: string
path: string
port: 0
scheme: string
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
tcpSocket:
host: string
port: 0
terminationGracePeriodSeconds: 0
timeoutSeconds: 0
type: string
resources:
cpu: 0
gpu: 0
memory: string
volumeMounts:
- mountPath: string
subPath: string
volumeName: string
initContainers:
- args:
- string
command:
- string
env:
- name: string
secretRef: string
value: string
image: string
imageType: string
name: string
resources:
cpu: 0
gpu: 0
memory: string
volumeMounts:
- mountPath: string
subPath: string
volumeName: string
revisionSuffix: string
scale:
cooldownPeriod: 0
maxReplicas: 0
minReplicas: 0
pollingInterval: 0
rules:
- azureQueue:
accountName: string
auth:
- secretRef: string
triggerParameter: string
identity: string
queueLength: 0
queueName: string
custom:
auth:
- secretRef: string
triggerParameter: string
identity: string
metadata:
string: string
type: string
http:
auth:
- secretRef: string
triggerParameter: string
identity: string
metadata:
string: string
name: string
tcp:
auth:
- secretRef: string
triggerParameter: string
identity: string
metadata:
string: string
serviceBinds:
- clientType: string
customizedKeys:
string: string
name: string
serviceId: string
terminationGracePeriodSeconds: 0
volumes:
- mountOptions: string
name: string
secrets:
- path: string
secretRef: string
storageName: string
storageType: string
workloadProfileName: 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 - The name of the resource group. The name is case insensitive.
- Configuration
Pulumi.
Azure Native. App. Inputs. Configuration - Non versioned Container App configuration properties.
- Container
App stringName - Name of the Container App.
- Environment
Id string - Resource ID of environment.
- Extended
Location Pulumi.Azure Native. App. Inputs. Extended Location - The complex type of the extended location.
- Identity
Pulumi.
Azure Native. App. Inputs. Managed Service Identity - managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
- Kind
string | Pulumi.
Azure Native. App. Kind - Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
- Location string
- The geo-location where the resource lives
- Managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- Managed
Environment stringId - Deprecated. Resource ID of the Container App's environment.
- Patching
Configuration Pulumi.Azure Native. App. Inputs. Container App Patching Configuration - Container App auto patch configuration.
- Dictionary<string, string>
- Resource tags.
- Template
Pulumi.
Azure Native. App. Inputs. Template - Container App versioned application definition.
- Workload
Profile stringName - Workload profile name to pin for container app execution.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Configuration
Configuration
Args - Non versioned Container App configuration properties.
- Container
App stringName - Name of the Container App.
- Environment
Id string - Resource ID of environment.
- Extended
Location ExtendedLocation Args - The complex type of the extended location.
- Identity
Managed
Service Identity Args - managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
- Kind string | Kind
- Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
- Location string
- The geo-location where the resource lives
- Managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- Managed
Environment stringId - Deprecated. Resource ID of the Container App's environment.
- Patching
Configuration ContainerApp Patching Configuration Args - Container App auto patch configuration.
- map[string]string
- Resource tags.
- Template
Template
Args - Container App versioned application definition.
- Workload
Profile stringName - Workload profile name to pin for container app execution.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- configuration Configuration
- Non versioned Container App configuration properties.
- container
App StringName - Name of the Container App.
- environment
Id String - Resource ID of environment.
- extended
Location ExtendedLocation - The complex type of the extended location.
- identity
Managed
Service Identity - managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
- kind String | Kind
- Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
- location String
- The geo-location where the resource lives
- managed
By String - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- managed
Environment StringId - Deprecated. Resource ID of the Container App's environment.
- patching
Configuration ContainerApp Patching Configuration - Container App auto patch configuration.
- Map<String,String>
- Resource tags.
- template Template
- Container App versioned application definition.
- workload
Profile StringName - Workload profile name to pin for container app execution.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- configuration Configuration
- Non versioned Container App configuration properties.
- container
App stringName - Name of the Container App.
- environment
Id string - Resource ID of environment.
- extended
Location ExtendedLocation - The complex type of the extended location.
- identity
Managed
Service Identity - managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
- kind string | Kind
- Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
- location string
- The geo-location where the resource lives
- managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- managed
Environment stringId - Deprecated. Resource ID of the Container App's environment.
- patching
Configuration ContainerApp Patching Configuration - Container App auto patch configuration.
- {[key: string]: string}
- Resource tags.
- template Template
- Container App versioned application definition.
- workload
Profile stringName - Workload profile name to pin for container app execution.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- configuration
Configuration
Args - Non versioned Container App configuration properties.
- container_
app_ strname - Name of the Container App.
- environment_
id str - Resource ID of environment.
- extended_
location ExtendedLocation Args - The complex type of the extended location.
- identity
Managed
Service Identity Args - managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
- kind str | Kind
- Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
- location str
- The geo-location where the resource lives
- managed_
by str - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- managed_
environment_ strid - Deprecated. Resource ID of the Container App's environment.
- patching_
configuration ContainerApp Patching Configuration Args - Container App auto patch configuration.
- Mapping[str, str]
- Resource tags.
- template
Template
Args - Container App versioned application definition.
- workload_
profile_ strname - Workload profile name to pin for container app execution.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- configuration Property Map
- Non versioned Container App configuration properties.
- container
App StringName - Name of the Container App.
- environment
Id String - Resource ID of environment.
- extended
Location Property Map - The complex type of the extended location.
- identity Property Map
- managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
- kind String | "workflow"
- Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
- location String
- The geo-location where the resource lives
- managed
By String - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- managed
Environment StringId - Deprecated. Resource ID of the Container App's environment.
- patching
Configuration Property Map - Container App auto patch configuration.
- Map<String>
- Resource tags.
- template Property Map
- Container App versioned application definition.
- workload
Profile StringName - Workload profile name to pin for container app execution.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerApp resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Custom
Domain stringVerification Id - Id used to verify domain name ownership
- Deployment
Errors string - Any errors that occurred during deployment
- Event
Stream stringEndpoint - The endpoint of the eventstream of the container app.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Ready stringRevision Name - Name of the latest ready revision of the Container App.
- 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.
- Name string
- The name of the resource
- Outbound
Ip List<string>Addresses - Outbound IP Addresses for container app.
- Provisioning
State string - Provisioning state of the Container App.
- Running
Status string - Running status of the Container App.
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Custom
Domain stringVerification Id - Id used to verify domain name ownership
- Deployment
Errors string - Any errors that occurred during deployment
- Event
Stream stringEndpoint - The endpoint of the eventstream of the container app.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Ready stringRevision Name - Name of the latest ready revision of the Container App.
- 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.
- Name string
- The name of the resource
- Outbound
Ip []stringAddresses - Outbound IP Addresses for container app.
- Provisioning
State string - Provisioning state of the Container App.
- Running
Status string - Running status of the Container App.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- custom
Domain StringVerification Id - Id used to verify domain name ownership
- deployment
Errors String - Any errors that occurred during deployment
- event
Stream StringEndpoint - The endpoint of the eventstream of the container app.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Ready StringRevision Name - Name of the latest ready revision of the Container App.
- 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.
- name String
- The name of the resource
- outbound
Ip List<String>Addresses - Outbound IP Addresses for container app.
- provisioning
State String - Provisioning state of the Container App.
- running
Status String - Running status of the Container App.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- custom
Domain stringVerification Id - Id used to verify domain name ownership
- deployment
Errors string - Any errors that occurred during deployment
- event
Stream stringEndpoint - The endpoint of the eventstream of the container app.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Ready stringRevision Name - Name of the latest ready revision of the Container App.
- 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.
- name string
- The name of the resource
- outbound
Ip string[]Addresses - Outbound IP Addresses for container app.
- provisioning
State string - Provisioning state of the Container App.
- running
Status string - Running status of the Container App.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- custom_
domain_ strverification_ id - Id used to verify domain name ownership
- deployment_
errors str - Any errors that occurred during deployment
- event_
stream_ strendpoint - The endpoint of the eventstream of the container app.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
ready_ strrevision_ name - Name of the latest ready revision of the Container App.
- 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.
- name str
- The name of the resource
- outbound_
ip_ Sequence[str]addresses - Outbound IP Addresses for container app.
- provisioning_
state str - Provisioning state of the Container App.
- running_
status str - Running status of the Container App.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- custom
Domain StringVerification Id - Id used to verify domain name ownership
- deployment
Errors String - Any errors that occurred during deployment
- event
Stream StringEndpoint - The endpoint of the eventstream of the container app.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Ready StringRevision Name - Name of the latest ready revision of the Container App.
- 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.
- name String
- The name of the resource
- outbound
Ip List<String>Addresses - Outbound IP Addresses for container app.
- provisioning
State String - Provisioning state of the Container App.
- running
Status String - Running status of the Container App.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
Action, ActionArgs
- Allow
- Allow
- Deny
- Deny
- Action
Allow - Allow
- Action
Deny - Deny
- Allow
- Allow
- Deny
- Deny
- Allow
- Allow
- Deny
- Deny
- ALLOW
- Allow
- DENY
- Deny
- "Allow"
- Allow
- "Deny"
- Deny
ActiveRevisionsMode, ActiveRevisionsModeArgs
- Multiple
- Multiple
- Single
- Single
- Labels
- Labels
- Active
Revisions Mode Multiple - Multiple
- Active
Revisions Mode Single - Single
- Active
Revisions Mode Labels - Labels
- Multiple
- Multiple
- Single
- Single
- Labels
- Labels
- Multiple
- Multiple
- Single
- Single
- Labels
- Labels
- MULTIPLE
- Multiple
- SINGLE
- Single
- LABELS
- Labels
- "Multiple"
- Multiple
- "Single"
- Single
- "Labels"
- Labels
Affinity, AffinityArgs
- Sticky
- sticky
- None
- none
- Affinity
Sticky - sticky
- Affinity
None - none
- Sticky
- sticky
- None
- none
- Sticky
- sticky
- None
- none
- STICKY
- sticky
- NONE
- none
- "sticky"
- sticky
- "none"
- none
AppProtocol, AppProtocolArgs
- Http
- http
- Grpc
- grpc
- App
Protocol Http - http
- App
Protocol Grpc - grpc
- Http
- http
- Grpc
- grpc
- Http
- http
- Grpc
- grpc
- HTTP
- http
- GRPC
- grpc
- "http"
- http
- "grpc"
- grpc
BindingType, BindingTypeArgs
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- Auto
- Auto
- Binding
Type Disabled - Disabled
- Binding
Type Sni Enabled - SniEnabled
- Binding
Type Auto - Auto
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- Auto
- Auto
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- Auto
- Auto
- DISABLED
- Disabled
- SNI_ENABLED
- SniEnabled
- AUTO
- Auto
- "Disabled"
- Disabled
- "Sni
Enabled" - SniEnabled
- "Auto"
- Auto
Configuration, ConfigurationArgs
- Active
Revisions string | Pulumi.Mode Azure Native. App. Active Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- Dapr
Pulumi.
Azure Native. App. Inputs. Dapr - Dapr configuration for the Container App.
- Identity
Settings List<Pulumi.Azure Native. App. Inputs. Identity Settings> - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- Ingress
Pulumi.
Azure Native. App. Inputs. Ingress - Ingress configurations.
- Max
Inactive intRevisions - Optional. Max inactive revisions a Container App can have.
- Registries
List<Pulumi.
Azure Native. App. Inputs. Registry Credentials> - Collection of private container registry credentials for containers used by the Container app
- Revision
Transition intThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- Runtime
Pulumi.
Azure Native. App. Inputs. Runtime - App runtime configuration for the Container App.
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Secret> - Collection of secrets used by a Container app
- Service
Pulumi.
Azure Native. App. Inputs. Service - Container App to be a dev Container App Service
- Target
Label string - Required in labels revisions mode. Label to apply to newly created revision.
- Active
Revisions string | ActiveMode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- Dapr Dapr
- Dapr configuration for the Container App.
- Identity
Settings []IdentitySettings - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- Ingress Ingress
- Ingress configurations.
- Max
Inactive intRevisions - Optional. Max inactive revisions a Container App can have.
- Registries
[]Registry
Credentials - Collection of private container registry credentials for containers used by the Container app
- Revision
Transition intThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- Runtime Runtime
- App runtime configuration for the Container App.
- Secrets []Secret
- Collection of secrets used by a Container app
- Service Service
- Container App to be a dev Container App Service
- Target
Label string - Required in labels revisions mode. Label to apply to newly created revision.
- active
Revisions String | ActiveMode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr Dapr
- Dapr configuration for the Container App.
- identity
Settings List<IdentitySettings> - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress Ingress
- Ingress configurations.
- max
Inactive IntegerRevisions - Optional. Max inactive revisions a Container App can have.
- registries
List<Registry
Credentials> - Collection of private container registry credentials for containers used by the Container app
- revision
Transition IntegerThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime Runtime
- App runtime configuration for the Container App.
- secrets List<Secret>
- Collection of secrets used by a Container app
- service Service
- Container App to be a dev Container App Service
- target
Label String - Required in labels revisions mode. Label to apply to newly created revision.
- active
Revisions string | ActiveMode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr Dapr
- Dapr configuration for the Container App.
- identity
Settings IdentitySettings[] - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress Ingress
- Ingress configurations.
- max
Inactive numberRevisions - Optional. Max inactive revisions a Container App can have.
- registries
Registry
Credentials[] - Collection of private container registry credentials for containers used by the Container app
- revision
Transition numberThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime Runtime
- App runtime configuration for the Container App.
- secrets Secret[]
- Collection of secrets used by a Container app
- service Service
- Container App to be a dev Container App Service
- target
Label string - Required in labels revisions mode. Label to apply to newly created revision.
- active_
revisions_ str | Activemode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr Dapr
- Dapr configuration for the Container App.
- identity_
settings Sequence[IdentitySettings] - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress Ingress
- Ingress configurations.
- max_
inactive_ intrevisions - Optional. Max inactive revisions a Container App can have.
- registries
Sequence[Registry
Credentials] - Collection of private container registry credentials for containers used by the Container app
- revision_
transition_ intthreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime Runtime
- App runtime configuration for the Container App.
- secrets Sequence[Secret]
- Collection of secrets used by a Container app
- service Service
- Container App to be a dev Container App Service
- target_
label str - Required in labels revisions mode. Label to apply to newly created revision.
- active
Revisions String | "Multiple" | "Single" | "Labels"Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr Property Map
- Dapr configuration for the Container App.
- identity
Settings List<Property Map> - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress Property Map
- Ingress configurations.
- max
Inactive NumberRevisions - Optional. Max inactive revisions a Container App can have.
- registries List<Property Map>
- Collection of private container registry credentials for containers used by the Container app
- revision
Transition NumberThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime Property Map
- App runtime configuration for the Container App.
- secrets List<Property Map>
- Collection of secrets used by a Container app
- service Property Map
- Container App to be a dev Container App Service
- target
Label String - Required in labels revisions mode. Label to apply to newly created revision.
ConfigurationResponse, ConfigurationResponseArgs
- Active
Revisions stringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- Dapr
Pulumi.
Azure Native. App. Inputs. Dapr Response - Dapr configuration for the Container App.
- Identity
Settings List<Pulumi.Azure Native. App. Inputs. Identity Settings Response> - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- Ingress
Pulumi.
Azure Native. App. Inputs. Ingress Response - Ingress configurations.
- Max
Inactive intRevisions - Optional. Max inactive revisions a Container App can have.
- Registries
List<Pulumi.
Azure Native. App. Inputs. Registry Credentials Response> - Collection of private container registry credentials for containers used by the Container app
- Revision
Transition intThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- Runtime
Pulumi.
Azure Native. App. Inputs. Runtime Response - App runtime configuration for the Container App.
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Secret Response> - Collection of secrets used by a Container app
- Service
Pulumi.
Azure Native. App. Inputs. Service Response - Container App to be a dev Container App Service
- Target
Label string - Required in labels revisions mode. Label to apply to newly created revision.
- Active
Revisions stringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- Dapr
Dapr
Response - Dapr configuration for the Container App.
- Identity
Settings []IdentitySettings Response - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- Ingress
Ingress
Response - Ingress configurations.
- Max
Inactive intRevisions - Optional. Max inactive revisions a Container App can have.
- Registries
[]Registry
Credentials Response - Collection of private container registry credentials for containers used by the Container app
- Revision
Transition intThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- Runtime
Runtime
Response - App runtime configuration for the Container App.
- Secrets
[]Secret
Response - Collection of secrets used by a Container app
- Service
Service
Response - Container App to be a dev Container App Service
- Target
Label string - Required in labels revisions mode. Label to apply to newly created revision.
- active
Revisions StringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- identity
Settings List<IdentitySettings Response> - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress
Ingress
Response - Ingress configurations.
- max
Inactive IntegerRevisions - Optional. Max inactive revisions a Container App can have.
- registries
List<Registry
Credentials Response> - Collection of private container registry credentials for containers used by the Container app
- revision
Transition IntegerThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime
Runtime
Response - App runtime configuration for the Container App.
- secrets
List<Secret
Response> - Collection of secrets used by a Container app
- service
Service
Response - Container App to be a dev Container App Service
- target
Label String - Required in labels revisions mode. Label to apply to newly created revision.
- active
Revisions stringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- identity
Settings IdentitySettings Response[] - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress
Ingress
Response - Ingress configurations.
- max
Inactive numberRevisions - Optional. Max inactive revisions a Container App can have.
- registries
Registry
Credentials Response[] - Collection of private container registry credentials for containers used by the Container app
- revision
Transition numberThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime
Runtime
Response - App runtime configuration for the Container App.
- secrets
Secret
Response[] - Collection of secrets used by a Container app
- service
Service
Response - Container App to be a dev Container App Service
- target
Label string - Required in labels revisions mode. Label to apply to newly created revision.
- active_
revisions_ strmode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- identity_
settings Sequence[IdentitySettings Response] - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress
Ingress
Response - Ingress configurations.
- max_
inactive_ intrevisions - Optional. Max inactive revisions a Container App can have.
- registries
Sequence[Registry
Credentials Response] - Collection of private container registry credentials for containers used by the Container app
- revision_
transition_ intthreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime
Runtime
Response - App runtime configuration for the Container App.
- secrets
Sequence[Secret
Response] - Collection of secrets used by a Container app
- service
Service
Response - Container App to be a dev Container App Service
- target_
label str - Required in labels revisions mode. Label to apply to newly created revision.
- active
Revisions StringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Single: Only one revision can be active at a time. Traffic weights cannot be used. This is the default.Multiple: Multiple revisions can be active, including optional traffic weights and labels.Labels: Only revisions with labels are active. Traffic weights can be applied to labels.
- dapr Property Map
- Dapr configuration for the Container App.
- identity
Settings List<Property Map> - Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- ingress Property Map
- Ingress configurations.
- max
Inactive NumberRevisions - Optional. Max inactive revisions a Container App can have.
- registries List<Property Map>
- Collection of private container registry credentials for containers used by the Container app
- revision
Transition NumberThreshold - Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- runtime Property Map
- App runtime configuration for the Container App.
- secrets List<Property Map>
- Collection of secrets used by a Container app
- service Property Map
- Container App to be a dev Container App Service
- target
Label String - Required in labels revisions mode. Label to apply to newly created revision.
Container, ContainerArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var> - Container environment variables.
- Image string
- Container image tag.
- Image
Type string | Pulumi.Azure Native. App. Image Type - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Probes
List<Pulumi.
Azure Native. App. Inputs. Container App Probe> - List of probes for the container.
- Resources
Pulumi.
Azure Native. App. Inputs. Container Resources - Container resource requirements.
- Volume
Mounts List<Pulumi.Azure Native. App. Inputs. Volume Mount> - Container volume mounts.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var - Container environment variables.
- Image string
- Container image tag.
- Image
Type string | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Probes
[]Container
App Probe - List of probes for the container.
- Resources
Container
Resources - Container resource requirements.
- Volume
Mounts []VolumeMount - Container volume mounts.
- 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.
- image
Type String | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- probes
List<Container
App Probe> - List of probes for the container.
- resources
Container
Resources - Container resource requirements.
- volume
Mounts List<VolumeMount> - Container volume mounts.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var[] - Container environment variables.
- image string
- Container image tag.
- image
Type string | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name string
- Custom container name.
- probes
Container
App Probe[] - List of probes for the container.
- resources
Container
Resources - Container resource requirements.
- volume
Mounts VolumeMount[] - Container volume mounts.
- 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.
- image_
type str | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name str
- Custom container name.
- probes
Sequence[Container
App Probe] - List of probes for the container.
- resources
Container
Resources - Container resource requirements.
- volume_
mounts Sequence[VolumeMount] - Container volume mounts.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env List<Property Map>
- Container environment variables.
- image String
- Container image tag.
- image
Type String | "CloudBuild" | "Container Image" - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- probes List<Property Map>
- List of probes for the container.
- resources Property Map
- Container resource requirements.
- volume
Mounts List<Property Map> - Container volume mounts.
ContainerAppPatchingConfiguration, ContainerAppPatchingConfigurationArgs
- Patching
Mode string | Pulumi.Azure Native. App. Patching Mode - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- Patching
Mode string | PatchingMode - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching
Mode String | PatchingMode - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching
Mode string | PatchingMode - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching_
mode str | PatchingMode - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching
Mode String | "Automatic" | "Manual" | "Disabled" - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
ContainerAppProbe, ContainerAppProbeArgs
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get Pulumi.Azure Native. App. Inputs. Container App Probe Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket Pulumi.Azure Native. App. Inputs. Container App Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace doublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type
string | Pulumi.
Azure Native. App. Type - The type of probe.
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get ContainerApp Probe Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket ContainerApp Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace float64Period Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type string | Type
- The type of probe.
- failure
Threshold Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get ContainerApp Probe Http Get - HTTPGet specifies the http request to perform.
- initial
Delay IntegerSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Integer - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket ContainerApp Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace DoublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String | Type
- The type of probe.
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get ContainerApp Probe Http Get - HTTPGet specifies the http request to perform.
- initial
Delay numberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket ContainerApp Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace numberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type string | Type
- The type of probe.
- failure_
threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http_
get ContainerApp Probe Http Get - HTTPGet specifies the http request to perform.
- initial_
delay_ intseconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period_
seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success_
threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp_
socket ContainerApp Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination_
grace_ floatperiod_ seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout_
seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type str | Type
- The type of probe.
- failure
Threshold Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get Property Map - HTTPGet specifies the http request to perform.
- initial
Delay NumberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket Property Map - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace NumberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String | "Liveness" | "Readiness" | "Startup"
- The type of probe.
ContainerAppProbeHttpGet, ContainerAppProbeHttpGetArgs
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers List<Pulumi.Azure Native. App. Inputs. Container App Probe Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme
string | Pulumi.
Azure Native. App. Scheme - Scheme to use for connecting to the host. Defaults to HTTP.
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers []ContainerApp Probe Http Headers - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Integer
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<ContainerApp Probe Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers ContainerApp Probe Http Headers[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server.
- scheme string | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host str
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http_
headers Sequence[ContainerApp Probe Http Headers] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server.
- scheme str | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String | "HTTP" | "HTTPS"
- Scheme to use for connecting to the host. Defaults to HTTP.
ContainerAppProbeHttpHeaders, ContainerAppProbeHttpHeadersArgs
ContainerAppProbeResponse, ContainerAppProbeResponseArgs
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get Pulumi.Azure Native. App. Inputs. Container App Probe Response Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket Pulumi.Azure Native. App. Inputs. Container App Probe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace doublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type string
- The type of probe.
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get ContainerApp Probe Response Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket ContainerApp Probe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace float64Period Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type string
- The type of probe.
- failure
Threshold Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get ContainerApp Probe Response Http Get - HTTPGet specifies the http request to perform.
- initial
Delay IntegerSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Integer - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket ContainerApp Probe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace DoublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String
- The type of probe.
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get ContainerApp Probe Response Http Get - HTTPGet specifies the http request to perform.
- initial
Delay numberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket ContainerApp Probe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace numberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type string
- The type of probe.
- failure_
threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http_
get ContainerApp Probe Response Http Get - HTTPGet specifies the http request to perform.
- initial_
delay_ intseconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period_
seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success_
threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp_
socket ContainerApp Probe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination_
grace_ floatperiod_ seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout_
seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type str
- The type of probe.
- failure
Threshold Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get Property Map - HTTPGet specifies the http request to perform.
- initial
Delay NumberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket Property Map - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace NumberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String
- The type of probe.
ContainerAppProbeResponseHttpGet, ContainerAppProbeResponseHttpGetArgs
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers List<Pulumi.Azure Native. App. Inputs. Container App Probe Response Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers []ContainerApp Probe Response Http Headers - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Integer
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<ContainerApp Probe Response Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String
- Scheme to use for connecting to the host. Defaults to HTTP.
- port number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers ContainerApp Probe Response Http Headers[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server.
- scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host str
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http_
headers Sequence[ContainerApp Probe Response Http Headers] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server.
- scheme str
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String
- Scheme to use for connecting to the host. Defaults to HTTP.
ContainerAppProbeResponseHttpHeaders, ContainerAppProbeResponseHttpHeadersArgs
ContainerAppProbeResponseTcpSocket, ContainerAppProbeResponseTcpSocketArgs
ContainerAppProbeTcpSocket, ContainerAppProbeTcpSocketArgs
ContainerAppResponsePatchingConfiguration, ContainerAppResponsePatchingConfigurationArgs
- Patching
Mode string - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- Patching
Mode string - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching
Mode String - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching
Mode string - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching_
mode str - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
- patching
Mode String - Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.
ContainerResources, ContainerResourcesArgs
ContainerResourcesResponse, ContainerResourcesResponseArgs
- Ephemeral
Storage string - Ephemeral Storage, e.g. "1Gi"
- Cpu double
- Required CPU in cores, e.g. 0.5
- Gpu double
- Required GPU in cores for GPU based app, e.g. 1.0
- Memory string
- Required memory, e.g. "250Mb"
- Ephemeral
Storage string - Ephemeral Storage, e.g. "1Gi"
- Cpu float64
- Required CPU in cores, e.g. 0.5
- Gpu float64
- Required GPU in cores for GPU based app, e.g. 1.0
- Memory string
- Required memory, e.g. "250Mb"
- ephemeral
Storage String - Ephemeral Storage, e.g. "1Gi"
- cpu Double
- Required CPU in cores, e.g. 0.5
- gpu Double
- Required GPU in cores for GPU based app, e.g. 1.0
- memory String
- Required memory, e.g. "250Mb"
- ephemeral
Storage string - Ephemeral Storage, e.g. "1Gi"
- cpu number
- Required CPU in cores, e.g. 0.5
- gpu number
- Required GPU in cores for GPU based app, e.g. 1.0
- memory string
- Required memory, e.g. "250Mb"
- ephemeral_
storage str - Ephemeral Storage, e.g. "1Gi"
- cpu float
- Required CPU in cores, e.g. 0.5
- gpu float
- Required GPU in cores for GPU based app, e.g. 1.0
- memory str
- Required memory, e.g. "250Mb"
- ephemeral
Storage String - Ephemeral Storage, e.g. "1Gi"
- cpu Number
- Required CPU in cores, e.g. 0.5
- gpu Number
- Required GPU in cores for GPU based app, e.g. 1.0
- 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.
Azure Native. App. Inputs. Environment Var Response> - Container environment variables.
- Image string
- Container image tag.
- Image
Type string - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Probes
List<Pulumi.
Azure Native. App. Inputs. Container App Probe Response> - List of probes for the container.
- Resources
Pulumi.
Azure Native. App. Inputs. Container Resources Response - Container resource requirements.
- Volume
Mounts List<Pulumi.Azure Native. App. Inputs. Volume Mount Response> - Container volume mounts.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var Response - Container environment variables.
- Image string
- Container image tag.
- Image
Type string - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Probes
[]Container
App Probe Response - List of probes for the container.
- Resources
Container
Resources Response - Container resource requirements.
- Volume
Mounts []VolumeMount Response - Container volume mounts.
- 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.
- image
Type String - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- probes
List<Container
App Probe Response> - List of probes for the container.
- resources
Container
Resources Response - Container resource requirements.
- volume
Mounts List<VolumeMount Response> - Container volume mounts.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var Response[] - Container environment variables.
- image string
- Container image tag.
- image
Type string - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name string
- Custom container name.
- probes
Container
App Probe Response[] - List of probes for the container.
- resources
Container
Resources Response - Container resource requirements.
- volume
Mounts VolumeMount Response[] - Container volume mounts.
- 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.
- image_
type str - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name str
- Custom container name.
- probes
Sequence[Container
App Probe Response] - List of probes for the container.
- resources
Container
Resources Response - Container resource requirements.
- volume_
mounts Sequence[VolumeMount Response] - Container volume mounts.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env List<Property Map>
- Container environment variables.
- image String
- Container image tag.
- image
Type String - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- probes List<Property Map>
- List of probes for the container.
- resources Property Map
- Container resource requirements.
- volume
Mounts List<Property Map> - Container volume mounts.
CorsPolicy, CorsPolicyArgs
- Allowed
Origins List<string> - Specifies the content for the access-control-allow-origins header
- Allow
Credentials bool - Specifies whether the resource allows credentials
- Allowed
Headers List<string> - Specifies the content for the access-control-allow-headers header
- Allowed
Methods List<string> - Specifies the content for the access-control-allow-methods header
- Expose
Headers List<string> - Specifies the content for the access-control-expose-headers header
- Max
Age int - Specifies the content for the access-control-max-age header
- Allowed
Origins []string - Specifies the content for the access-control-allow-origins header
- Allow
Credentials bool - Specifies whether the resource allows credentials
- Allowed
Headers []string - Specifies the content for the access-control-allow-headers header
- Allowed
Methods []string - Specifies the content for the access-control-allow-methods header
- Expose
Headers []string - Specifies the content for the access-control-expose-headers header
- Max
Age int - Specifies the content for the access-control-max-age header
- allowed
Origins List<String> - Specifies the content for the access-control-allow-origins header
- allow
Credentials Boolean - Specifies whether the resource allows credentials
- allowed
Headers List<String> - Specifies the content for the access-control-allow-headers header
- allowed
Methods List<String> - Specifies the content for the access-control-allow-methods header
- expose
Headers List<String> - Specifies the content for the access-control-expose-headers header
- max
Age Integer - Specifies the content for the access-control-max-age header
- allowed
Origins string[] - Specifies the content for the access-control-allow-origins header
- allow
Credentials boolean - Specifies whether the resource allows credentials
- allowed
Headers string[] - Specifies the content for the access-control-allow-headers header
- allowed
Methods string[] - Specifies the content for the access-control-allow-methods header
- expose
Headers string[] - Specifies the content for the access-control-expose-headers header
- max
Age number - Specifies the content for the access-control-max-age header
- allowed_
origins Sequence[str] - Specifies the content for the access-control-allow-origins header
- allow_
credentials bool - Specifies whether the resource allows credentials
- allowed_
headers Sequence[str] - Specifies the content for the access-control-allow-headers header
- allowed_
methods Sequence[str] - Specifies the content for the access-control-allow-methods header
- expose_
headers Sequence[str] - Specifies the content for the access-control-expose-headers header
- max_
age int - Specifies the content for the access-control-max-age header
- allowed
Origins List<String> - Specifies the content for the access-control-allow-origins header
- allow
Credentials Boolean - Specifies whether the resource allows credentials
- allowed
Headers List<String> - Specifies the content for the access-control-allow-headers header
- allowed
Methods List<String> - Specifies the content for the access-control-allow-methods header
- expose
Headers List<String> - Specifies the content for the access-control-expose-headers header
- max
Age Number - Specifies the content for the access-control-max-age header
CorsPolicyResponse, CorsPolicyResponseArgs
- Allowed
Origins List<string> - Specifies the content for the access-control-allow-origins header
- Allow
Credentials bool - Specifies whether the resource allows credentials
- Allowed
Headers List<string> - Specifies the content for the access-control-allow-headers header
- Allowed
Methods List<string> - Specifies the content for the access-control-allow-methods header
- Expose
Headers List<string> - Specifies the content for the access-control-expose-headers header
- Max
Age int - Specifies the content for the access-control-max-age header
- Allowed
Origins []string - Specifies the content for the access-control-allow-origins header
- Allow
Credentials bool - Specifies whether the resource allows credentials
- Allowed
Headers []string - Specifies the content for the access-control-allow-headers header
- Allowed
Methods []string - Specifies the content for the access-control-allow-methods header
- Expose
Headers []string - Specifies the content for the access-control-expose-headers header
- Max
Age int - Specifies the content for the access-control-max-age header
- allowed
Origins List<String> - Specifies the content for the access-control-allow-origins header
- allow
Credentials Boolean - Specifies whether the resource allows credentials
- allowed
Headers List<String> - Specifies the content for the access-control-allow-headers header
- allowed
Methods List<String> - Specifies the content for the access-control-allow-methods header
- expose
Headers List<String> - Specifies the content for the access-control-expose-headers header
- max
Age Integer - Specifies the content for the access-control-max-age header
- allowed
Origins string[] - Specifies the content for the access-control-allow-origins header
- allow
Credentials boolean - Specifies whether the resource allows credentials
- allowed
Headers string[] - Specifies the content for the access-control-allow-headers header
- allowed
Methods string[] - Specifies the content for the access-control-allow-methods header
- expose
Headers string[] - Specifies the content for the access-control-expose-headers header
- max
Age number - Specifies the content for the access-control-max-age header
- allowed_
origins Sequence[str] - Specifies the content for the access-control-allow-origins header
- allow_
credentials bool - Specifies whether the resource allows credentials
- allowed_
headers Sequence[str] - Specifies the content for the access-control-allow-headers header
- allowed_
methods Sequence[str] - Specifies the content for the access-control-allow-methods header
- expose_
headers Sequence[str] - Specifies the content for the access-control-expose-headers header
- max_
age int - Specifies the content for the access-control-max-age header
- allowed
Origins List<String> - Specifies the content for the access-control-allow-origins header
- allow
Credentials Boolean - Specifies whether the resource allows credentials
- allowed
Headers List<String> - Specifies the content for the access-control-allow-headers header
- allowed
Methods List<String> - Specifies the content for the access-control-allow-methods header
- expose
Headers List<String> - Specifies the content for the access-control-expose-headers header
- max
Age Number - Specifies the content for the access-control-max-age header
CustomDomain, CustomDomainArgs
- Name string
- Hostname.
- Binding
Type string | Pulumi.Azure Native. App. Binding Type - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- Name string
- Hostname.
- Binding
Type string | BindingType - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String | BindingType - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name string
- Hostname.
- binding
Type string | BindingType - Custom Domain binding type.
- certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name str
- Hostname.
- binding_
type str | BindingType - Custom Domain binding type.
- certificate_
id str - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String | "Disabled" | "SniEnabled" | "Auto" - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
CustomDomainResponse, CustomDomainResponseArgs
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name string
- Hostname.
- binding
Type string - Custom Domain binding type.
- certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name str
- Hostname.
- binding_
type str - Custom Domain binding type.
- certificate_
id str - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
CustomScaleRule, CustomScaleRuleArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth> - Authentication secrets for the custom scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the custom scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- 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
Health Pulumi.Azure Native. App. Inputs. Dapr App Health - Dapr application health check configuration
- App
Id string - Dapr application identifier
- App
Port int - Tells Dapr which port your application is listening on
- App
Protocol string | Pulumi.Azure Native. App. App Protocol - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- Enable
Api boolLogging - Enables API logging for the Dapr sidecar
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- Http
Max intRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- Http
Read intBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- Log
Level string | Pulumi.Azure Native. App. Log Level - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- Max
Concurrency int - Maximum number of concurrent requests, events handled by the Dapr sidecar
- App
Health DaprApp Health - Dapr application health check configuration
- App
Id string - Dapr application identifier
- App
Port int - Tells Dapr which port your application is listening on
- App
Protocol string | AppProtocol - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- Enable
Api boolLogging - Enables API logging for the Dapr sidecar
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- Http
Max intRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- Http
Read intBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- Log
Level string | LogLevel - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- Max
Concurrency int - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app
Health DaprApp Health - Dapr application health check configuration
- app
Id String - Dapr application identifier
- app
Port Integer - Tells Dapr which port your application is listening on
- app
Protocol String | AppProtocol - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable
Api BooleanLogging - Enables API logging for the Dapr sidecar
- enabled Boolean
- Boolean indicating if the Dapr side car is enabled
- http
Max IntegerRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http
Read IntegerBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log
Level String | LogLevel - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max
Concurrency Integer - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app
Health DaprApp Health - Dapr application health check configuration
- app
Id string - Dapr application identifier
- app
Port number - Tells Dapr which port your application is listening on
- app
Protocol string | AppProtocol - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable
Api booleanLogging - Enables API logging for the Dapr sidecar
- enabled boolean
- Boolean indicating if the Dapr side car is enabled
- http
Max numberRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http
Read numberBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log
Level string | LogLevel - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max
Concurrency number - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app_
health DaprApp Health - Dapr application health check configuration
- app_
id str - Dapr application identifier
- app_
port int - Tells Dapr which port your application is listening on
- app_
protocol str | AppProtocol - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable_
api_ boollogging - Enables API logging for the Dapr sidecar
- enabled bool
- Boolean indicating if the Dapr side car is enabled
- http_
max_ intrequest_ size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http_
read_ intbuffer_ size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log_
level str | LogLevel - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max_
concurrency int - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app
Health Property Map - Dapr application health check configuration
- app
Id String - Dapr application identifier
- app
Port Number - Tells Dapr which port your application is listening on
- app
Protocol String | "http" | "grpc" - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable
Api BooleanLogging - Enables API logging for the Dapr sidecar
- enabled Boolean
- Boolean indicating if the Dapr side car is enabled
- http
Max NumberRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http
Read NumberBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log
Level String | "info" | "debug" | "warn" | "error" - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max
Concurrency Number - Maximum number of concurrent requests, events handled by the Dapr sidecar
DaprAppHealth, DaprAppHealthArgs
- Enabled bool
- Boolean indicating if the health probe is enabled
- Path string
- Path for the health probe
- Probe
Interval intSeconds - Interval for the health probe in seconds
- Probe
Timeout intMilliseconds - Timeout for the health probe in milliseconds
- Threshold int
- Threshold for the health probe
- Enabled bool
- Boolean indicating if the health probe is enabled
- Path string
- Path for the health probe
- Probe
Interval intSeconds - Interval for the health probe in seconds
- Probe
Timeout intMilliseconds - Timeout for the health probe in milliseconds
- Threshold int
- Threshold for the health probe
- enabled Boolean
- Boolean indicating if the health probe is enabled
- path String
- Path for the health probe
- probe
Interval IntegerSeconds - Interval for the health probe in seconds
- probe
Timeout IntegerMilliseconds - Timeout for the health probe in milliseconds
- threshold Integer
- Threshold for the health probe
- enabled boolean
- Boolean indicating if the health probe is enabled
- path string
- Path for the health probe
- probe
Interval numberSeconds - Interval for the health probe in seconds
- probe
Timeout numberMilliseconds - Timeout for the health probe in milliseconds
- threshold number
- Threshold for the health probe
- enabled bool
- Boolean indicating if the health probe is enabled
- path str
- Path for the health probe
- probe_
interval_ intseconds - Interval for the health probe in seconds
- probe_
timeout_ intmilliseconds - Timeout for the health probe in milliseconds
- threshold int
- Threshold for the health probe
- enabled Boolean
- Boolean indicating if the health probe is enabled
- path String
- Path for the health probe
- probe
Interval NumberSeconds - Interval for the health probe in seconds
- probe
Timeout NumberMilliseconds - Timeout for the health probe in milliseconds
- threshold Number
- Threshold for the health probe
DaprResponse, DaprResponseArgs
- App
Health Pulumi.Azure Native. App. Inputs. Dapr Response App Health - Dapr application health check configuration
- App
Id string - Dapr application identifier
- App
Port int - Tells Dapr which port your application is listening on
- App
Protocol string - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- Enable
Api boolLogging - Enables API logging for the Dapr sidecar
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- Http
Max intRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- Http
Read intBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- Log
Level string - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- Max
Concurrency int - Maximum number of concurrent requests, events handled by the Dapr sidecar
- App
Health DaprResponse App Health - Dapr application health check configuration
- App
Id string - Dapr application identifier
- App
Port int - Tells Dapr which port your application is listening on
- App
Protocol string - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- Enable
Api boolLogging - Enables API logging for the Dapr sidecar
- Enabled bool
- Boolean indicating if the Dapr side car is enabled
- Http
Max intRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- Http
Read intBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- Log
Level string - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- Max
Concurrency int - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app
Health DaprResponse App Health - Dapr application health check configuration
- app
Id String - Dapr application identifier
- app
Port Integer - Tells Dapr which port your application is listening on
- app
Protocol String - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable
Api BooleanLogging - Enables API logging for the Dapr sidecar
- enabled Boolean
- Boolean indicating if the Dapr side car is enabled
- http
Max IntegerRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http
Read IntegerBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log
Level String - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max
Concurrency Integer - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app
Health DaprResponse App Health - Dapr application health check configuration
- app
Id string - Dapr application identifier
- app
Port number - Tells Dapr which port your application is listening on
- app
Protocol string - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable
Api booleanLogging - Enables API logging for the Dapr sidecar
- enabled boolean
- Boolean indicating if the Dapr side car is enabled
- http
Max numberRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http
Read numberBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log
Level string - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max
Concurrency number - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app_
health DaprResponse App Health - Dapr application health check configuration
- app_
id str - Dapr application identifier
- app_
port int - Tells Dapr which port your application is listening on
- app_
protocol str - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable_
api_ boollogging - Enables API logging for the Dapr sidecar
- enabled bool
- Boolean indicating if the Dapr side car is enabled
- http_
max_ intrequest_ size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http_
read_ intbuffer_ size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log_
level str - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max_
concurrency int - Maximum number of concurrent requests, events handled by the Dapr sidecar
- app
Health Property Map - Dapr application health check configuration
- app
Id String - Dapr application identifier
- app
Port Number - Tells Dapr which port your application is listening on
- app
Protocol String - Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
- enable
Api BooleanLogging - Enables API logging for the Dapr sidecar
- enabled Boolean
- Boolean indicating if the Dapr side car is enabled
- http
Max NumberRequest Size - Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
- http
Read NumberBuffer Size - Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
- log
Level String - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- max
Concurrency Number - Maximum number of concurrent requests, events handled by the Dapr sidecar
DaprResponseAppHealth, DaprResponseAppHealthArgs
- Enabled bool
- Boolean indicating if the health probe is enabled
- Path string
- Path for the health probe
- Probe
Interval intSeconds - Interval for the health probe in seconds
- Probe
Timeout intMilliseconds - Timeout for the health probe in milliseconds
- Threshold int
- Threshold for the health probe
- Enabled bool
- Boolean indicating if the health probe is enabled
- Path string
- Path for the health probe
- Probe
Interval intSeconds - Interval for the health probe in seconds
- Probe
Timeout intMilliseconds - Timeout for the health probe in milliseconds
- Threshold int
- Threshold for the health probe
- enabled Boolean
- Boolean indicating if the health probe is enabled
- path String
- Path for the health probe
- probe
Interval IntegerSeconds - Interval for the health probe in seconds
- probe
Timeout IntegerMilliseconds - Timeout for the health probe in milliseconds
- threshold Integer
- Threshold for the health probe
- enabled boolean
- Boolean indicating if the health probe is enabled
- path string
- Path for the health probe
- probe
Interval numberSeconds - Interval for the health probe in seconds
- probe
Timeout numberMilliseconds - Timeout for the health probe in milliseconds
- threshold number
- Threshold for the health probe
- enabled bool
- Boolean indicating if the health probe is enabled
- path str
- Path for the health probe
- probe_
interval_ intseconds - Interval for the health probe in seconds
- probe_
timeout_ intmilliseconds - Timeout for the health probe in milliseconds
- threshold int
- Threshold for the health probe
- enabled Boolean
- Boolean indicating if the health probe is enabled
- path String
- Path for the health probe
- probe
Interval NumberSeconds - Interval for the health probe in seconds
- probe
Timeout NumberMilliseconds - Timeout for the health probe in milliseconds
- threshold Number
- Threshold for the health probe
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.
ExtendedLocation, ExtendedLocationArgs
- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. App. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location - CustomLocation
- Extended
Location Types Custom Location - CustomLocation
- Custom
Location - CustomLocation
- Custom
Location - CustomLocation
- CUSTOM_LOCATION
- CustomLocation
- "Custom
Location" - CustomLocation
HttpScaleRule, HttpScaleRuleArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth> - Authentication secrets for the custom scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata Dictionary<string, string>
- Metadata properties to describe http scale rule.
- Auth
[]Scale
Rule Auth - Authentication secrets for the custom scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata map[string]string
- Metadata properties to describe http scale rule.
- auth
List<Scale
Rule Auth> - Authentication secrets for the custom scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String,String>
- Metadata properties to describe http scale rule.
- auth
Scale
Rule Auth[] - Authentication secrets for the custom scale rule.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata {[key: string]: string}
- Metadata properties to describe http scale rule.
- auth
Sequence[Scale
Rule Auth] - Authentication secrets for the custom scale rule.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Mapping[str, str]
- Metadata properties to describe http scale rule.
- auth List<Property Map>
- Authentication secrets for the custom scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String>
- Metadata properties to describe http scale rule.
HttpScaleRuleResponse, HttpScaleRuleResponseArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the custom scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata Dictionary<string, string>
- Metadata properties to describe http scale rule.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the custom scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata map[string]string
- Metadata properties to describe http scale rule.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the custom scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String,String>
- Metadata properties to describe http scale rule.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the custom scale rule.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata {[key: string]: string}
- Metadata properties to describe http scale rule.
- auth
Sequence[Scale
Rule Auth Response] - Authentication secrets for the custom scale rule.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Mapping[str, str]
- Metadata properties to describe http scale rule.
- auth List<Property Map>
- Authentication secrets for the custom scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String>
- Metadata properties to describe http scale rule.
IdentitySettings, IdentitySettingsArgs
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Lifecycle
string | Pulumi.
Azure Native. App. Identity Settings Life Cycle - Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Lifecycle
string | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- lifecycle
String | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- lifecycle
string | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- lifecycle
str | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- lifecycle String | "Init" | "Main" | "None" | "All"
- Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
IdentitySettingsLifeCycle, IdentitySettingsLifeCycleArgs
- Init
- Init
- Main
- Main
- None
- None
- All
- All
- Identity
Settings Life Cycle Init - Init
- Identity
Settings Life Cycle Main - Main
- Identity
Settings Life Cycle None - None
- Identity
Settings Life Cycle All - All
- Init
- Init
- Main
- Main
- None
- None
- All
- All
- Init
- Init
- Main
- Main
- None
- None
- All
- All
- INIT
- Init
- MAIN
- Main
- NONE
- None
- ALL
- All
- "Init"
- Init
- "Main"
- Main
- "None"
- None
- "All"
- All
IdentitySettingsResponse, IdentitySettingsResponseArgs
ImageType, ImageTypeArgs
- Cloud
Build - CloudBuild
- Container
Image - ContainerImage
- Image
Type Cloud Build - CloudBuild
- Image
Type Container Image - ContainerImage
- Cloud
Build - CloudBuild
- Container
Image - ContainerImage
- Cloud
Build - CloudBuild
- Container
Image - ContainerImage
- CLOUD_BUILD
- CloudBuild
- CONTAINER_IMAGE
- ContainerImage
- "Cloud
Build" - CloudBuild
- "Container
Image" - ContainerImage
Ingress, IngressArgs
- Additional
Port List<Pulumi.Mappings Azure Native. App. Inputs. Ingress Port Mapping> - Settings to expose additional ports on container app
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- Client
Certificate string | Pulumi.Mode Azure Native. App. Ingress Client Certificate Mode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- Cors
Policy Pulumi.Azure Native. App. Inputs. Cors Policy - CORS policy for container app
- Custom
Domains List<Pulumi.Azure Native. App. Inputs. Custom Domain> - custom domain bindings for Container Apps' hostnames.
- Exposed
Port int - Exposed Port in containers for TCP traffic from ingress
- External bool
- Bool indicating if app exposes an external http endpoint
- Ip
Security List<Pulumi.Restrictions Azure Native. App. Inputs. Ip Security Restriction Rule> - Rules to restrict incoming IP address.
- Sticky
Sessions Pulumi.Azure Native. App. Inputs. Ingress Sticky Sessions - Sticky Sessions for Single Revision Mode
- Target
Port int - Target Port in containers for traffic from ingress
- Target
Port string | Pulumi.Http Scheme Azure Native. App. Ingress Target Port Http Scheme - Whether an http app listens on http or https
- Traffic
List<Pulumi.
Azure Native. App. Inputs. Traffic Weight> - Traffic weights for app's revisions
- Transport
string | Pulumi.
Azure Native. App. Ingress Transport Method - Ingress transport protocol
- Additional
Port []IngressMappings Port Mapping - Settings to expose additional ports on container app
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- Client
Certificate string | IngressMode Client Certificate Mode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- Cors
Policy CorsPolicy - CORS policy for container app
- Custom
Domains []CustomDomain - custom domain bindings for Container Apps' hostnames.
- Exposed
Port int - Exposed Port in containers for TCP traffic from ingress
- External bool
- Bool indicating if app exposes an external http endpoint
- Ip
Security []IpRestrictions Security Restriction Rule - Rules to restrict incoming IP address.
- Sticky
Sessions IngressSticky Sessions - Sticky Sessions for Single Revision Mode
- Target
Port int - Target Port in containers for traffic from ingress
- Target
Port string | IngressHttp Scheme Target Port Http Scheme - Whether an http app listens on http or https
- Traffic
[]Traffic
Weight - Traffic weights for app's revisions
- Transport
string | Ingress
Transport Method - Ingress transport protocol
- additional
Port List<IngressMappings Port Ming> - Settings to expose additional ports on container app
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client
Certificate String | IngressMode Client Certificate Mode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors
Policy CorsPolicy - CORS policy for container app
- custom
Domains List<CustomDomain> - custom domain bindings for Container Apps' hostnames.
- exposed
Port Integer - Exposed Port in containers for TCP traffic from ingress
- external Boolean
- Bool indicating if app exposes an external http endpoint
- ip
Security List<IpRestrictions Security Restriction Rule> - Rules to restrict incoming IP address.
- sticky
Sessions IngressSticky Sessions - Sticky Sessions for Single Revision Mode
- target
Port Integer - Target Port in containers for traffic from ingress
- target
Port String | IngressHttp Scheme Target Port Http Scheme - Whether an http app listens on http or https
- traffic
List<Traffic
Weight> - Traffic weights for app's revisions
- transport
String | Ingress
Transport Method - Ingress transport protocol
- additional
Port IngressMappings Port Mapping[] - Settings to expose additional ports on container app
- allow
Insecure boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client
Certificate string | IngressMode Client Certificate Mode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors
Policy CorsPolicy - CORS policy for container app
- custom
Domains CustomDomain[] - custom domain bindings for Container Apps' hostnames.
- exposed
Port number - Exposed Port in containers for TCP traffic from ingress
- external boolean
- Bool indicating if app exposes an external http endpoint
- ip
Security IpRestrictions Security Restriction Rule[] - Rules to restrict incoming IP address.
- sticky
Sessions IngressSticky Sessions - Sticky Sessions for Single Revision Mode
- target
Port number - Target Port in containers for traffic from ingress
- target
Port string | IngressHttp Scheme Target Port Http Scheme - Whether an http app listens on http or https
- traffic
Traffic
Weight[] - Traffic weights for app's revisions
- transport
string | Ingress
Transport Method - Ingress transport protocol
- additional_
port_ Sequence[Ingressmappings Port Mapping] - Settings to expose additional ports on container app
- allow_
insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client_
certificate_ str | Ingressmode Client Certificate Mode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors_
policy CorsPolicy - CORS policy for container app
- custom_
domains Sequence[CustomDomain] - custom domain bindings for Container Apps' hostnames.
- exposed_
port int - Exposed Port in containers for TCP traffic from ingress
- external bool
- Bool indicating if app exposes an external http endpoint
- ip_
security_ Sequence[Iprestrictions Security Restriction Rule] - Rules to restrict incoming IP address.
- sticky_
sessions IngressSticky Sessions - Sticky Sessions for Single Revision Mode
- target_
port int - Target Port in containers for traffic from ingress
- target_
port_ str | Ingresshttp_ scheme Target Port Http Scheme - Whether an http app listens on http or https
- traffic
Sequence[Traffic
Weight] - Traffic weights for app's revisions
- transport
str | Ingress
Transport Method - Ingress transport protocol
- additional
Port List<Property Map>Mappings - Settings to expose additional ports on container app
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client
Certificate String | "ignore" | "accept" | "require"Mode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors
Policy Property Map - CORS policy for container app
- custom
Domains List<Property Map> - custom domain bindings for Container Apps' hostnames.
- exposed
Port Number - Exposed Port in containers for TCP traffic from ingress
- external Boolean
- Bool indicating if app exposes an external http endpoint
- ip
Security List<Property Map>Restrictions - Rules to restrict incoming IP address.
- sticky
Sessions Property Map - Sticky Sessions for Single Revision Mode
- target
Port Number - Target Port in containers for traffic from ingress
- target
Port String | "http" | "https"Http Scheme - Whether an http app listens on http or https
- traffic List<Property Map>
- Traffic weights for app's revisions
- transport String | "auto" | "http" | "http2" | "tcp"
- Ingress transport protocol
IngressClientCertificateMode, IngressClientCertificateModeArgs
- Ignore
- ignore
- Accept
- accept
- Require
- require
- Ingress
Client Certificate Mode Ignore - ignore
- Ingress
Client Certificate Mode Accept - accept
- Ingress
Client Certificate Mode Require - require
- Ignore
- ignore
- Accept
- accept
- Require
- require
- Ignore
- ignore
- Accept
- accept
- Require
- require
- IGNORE
- ignore
- ACCEPT
- accept
- REQUIRE
- require
- "ignore"
- ignore
- "accept"
- accept
- "require"
- require
IngressPortMapping, IngressPortMappingArgs
- External bool
- Specifies whether the app port is accessible outside of the environment
- Target
Port int - Specifies the port user's container listens on
- Exposed
Port int - Specifies the exposed port for the target port. If not specified, it defaults to target port
- External bool
- Specifies whether the app port is accessible outside of the environment
- Target
Port int - Specifies the port user's container listens on
- Exposed
Port int - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external Boolean
- Specifies whether the app port is accessible outside of the environment
- target
Port Integer - Specifies the port user's container listens on
- exposed
Port Integer - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external boolean
- Specifies whether the app port is accessible outside of the environment
- target
Port number - Specifies the port user's container listens on
- exposed
Port number - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external bool
- Specifies whether the app port is accessible outside of the environment
- target_
port int - Specifies the port user's container listens on
- exposed_
port int - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external Boolean
- Specifies whether the app port is accessible outside of the environment
- target
Port Number - Specifies the port user's container listens on
- exposed
Port Number - Specifies the exposed port for the target port. If not specified, it defaults to target port
IngressPortMappingResponse, IngressPortMappingResponseArgs
- External bool
- Specifies whether the app port is accessible outside of the environment
- Target
Port int - Specifies the port user's container listens on
- Exposed
Port int - Specifies the exposed port for the target port. If not specified, it defaults to target port
- External bool
- Specifies whether the app port is accessible outside of the environment
- Target
Port int - Specifies the port user's container listens on
- Exposed
Port int - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external Boolean
- Specifies whether the app port is accessible outside of the environment
- target
Port Integer - Specifies the port user's container listens on
- exposed
Port Integer - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external boolean
- Specifies whether the app port is accessible outside of the environment
- target
Port number - Specifies the port user's container listens on
- exposed
Port number - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external bool
- Specifies whether the app port is accessible outside of the environment
- target_
port int - Specifies the port user's container listens on
- exposed_
port int - Specifies the exposed port for the target port. If not specified, it defaults to target port
- external Boolean
- Specifies whether the app port is accessible outside of the environment
- target
Port Number - Specifies the port user's container listens on
- exposed
Port Number - Specifies the exposed port for the target port. If not specified, it defaults to target port
IngressResponse, IngressResponseArgs
- Fqdn string
- Hostname.
- Additional
Port List<Pulumi.Mappings Azure Native. App. Inputs. Ingress Port Mapping Response> - Settings to expose additional ports on container app
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- Client
Certificate stringMode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- Cors
Policy Pulumi.Azure Native. App. Inputs. Cors Policy Response - CORS policy for container app
- Custom
Domains List<Pulumi.Azure Native. App. Inputs. Custom Domain Response> - custom domain bindings for Container Apps' hostnames.
- Exposed
Port int - Exposed Port in containers for TCP traffic from ingress
- External bool
- Bool indicating if app exposes an external http endpoint
- Ip
Security List<Pulumi.Restrictions Azure Native. App. Inputs. Ip Security Restriction Rule Response> - Rules to restrict incoming IP address.
- Sticky
Sessions Pulumi.Azure Native. App. Inputs. Ingress Response Sticky Sessions - Sticky Sessions for Single Revision Mode
- Target
Port int - Target Port in containers for traffic from ingress
- Target
Port stringHttp Scheme - Whether an http app listens on http or https
- Traffic
List<Pulumi.
Azure Native. App. Inputs. Traffic Weight Response> - Traffic weights for app's revisions
- Transport string
- Ingress transport protocol
- Fqdn string
- Hostname.
- Additional
Port []IngressMappings Port Mapping Response - Settings to expose additional ports on container app
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- Client
Certificate stringMode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- Cors
Policy CorsPolicy Response - CORS policy for container app
- Custom
Domains []CustomDomain Response - custom domain bindings for Container Apps' hostnames.
- Exposed
Port int - Exposed Port in containers for TCP traffic from ingress
- External bool
- Bool indicating if app exposes an external http endpoint
- Ip
Security []IpRestrictions Security Restriction Rule Response - Rules to restrict incoming IP address.
- Sticky
Sessions IngressResponse Sticky Sessions - Sticky Sessions for Single Revision Mode
- Target
Port int - Target Port in containers for traffic from ingress
- Target
Port stringHttp Scheme - Whether an http app listens on http or https
- Traffic
[]Traffic
Weight Response - Traffic weights for app's revisions
- Transport string
- Ingress transport protocol
- fqdn String
- Hostname.
- additional
Port List<IngressMappings Port Ming Response> - Settings to expose additional ports on container app
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client
Certificate StringMode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors
Policy CorsPolicy Response - CORS policy for container app
- custom
Domains List<CustomDomain Response> - custom domain bindings for Container Apps' hostnames.
- exposed
Port Integer - Exposed Port in containers for TCP traffic from ingress
- external Boolean
- Bool indicating if app exposes an external http endpoint
- ip
Security List<IpRestrictions Security Restriction Rule Response> - Rules to restrict incoming IP address.
- sticky
Sessions IngressResponse Sticky Sessions - Sticky Sessions for Single Revision Mode
- target
Port Integer - Target Port in containers for traffic from ingress
- target
Port StringHttp Scheme - Whether an http app listens on http or https
- traffic
List<Traffic
Weight Response> - Traffic weights for app's revisions
- transport String
- Ingress transport protocol
- fqdn string
- Hostname.
- additional
Port IngressMappings Port Mapping Response[] - Settings to expose additional ports on container app
- allow
Insecure boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client
Certificate stringMode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors
Policy CorsPolicy Response - CORS policy for container app
- custom
Domains CustomDomain Response[] - custom domain bindings for Container Apps' hostnames.
- exposed
Port number - Exposed Port in containers for TCP traffic from ingress
- external boolean
- Bool indicating if app exposes an external http endpoint
- ip
Security IpRestrictions Security Restriction Rule Response[] - Rules to restrict incoming IP address.
- sticky
Sessions IngressResponse Sticky Sessions - Sticky Sessions for Single Revision Mode
- target
Port number - Target Port in containers for traffic from ingress
- target
Port stringHttp Scheme - Whether an http app listens on http or https
- traffic
Traffic
Weight Response[] - Traffic weights for app's revisions
- transport string
- Ingress transport protocol
- fqdn str
- Hostname.
- additional_
port_ Sequence[Ingressmappings Port Mapping Response] - Settings to expose additional ports on container app
- allow_
insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client_
certificate_ strmode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors_
policy CorsPolicy Response - CORS policy for container app
- custom_
domains Sequence[CustomDomain Response] - custom domain bindings for Container Apps' hostnames.
- exposed_
port int - Exposed Port in containers for TCP traffic from ingress
- external bool
- Bool indicating if app exposes an external http endpoint
- ip_
security_ Sequence[Iprestrictions Security Restriction Rule Response] - Rules to restrict incoming IP address.
- sticky_
sessions IngressResponse Sticky Sessions - Sticky Sessions for Single Revision Mode
- target_
port int - Target Port in containers for traffic from ingress
- target_
port_ strhttp_ scheme - Whether an http app listens on http or https
- traffic
Sequence[Traffic
Weight Response] - Traffic weights for app's revisions
- transport str
- Ingress transport protocol
- fqdn String
- Hostname.
- additional
Port List<Property Map>Mappings - Settings to expose additional ports on container app
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client
Certificate StringMode - Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- cors
Policy Property Map - CORS policy for container app
- custom
Domains List<Property Map> - custom domain bindings for Container Apps' hostnames.
- exposed
Port Number - Exposed Port in containers for TCP traffic from ingress
- external Boolean
- Bool indicating if app exposes an external http endpoint
- ip
Security List<Property Map>Restrictions - Rules to restrict incoming IP address.
- sticky
Sessions Property Map - Sticky Sessions for Single Revision Mode
- target
Port Number - Target Port in containers for traffic from ingress
- target
Port StringHttp Scheme - Whether an http app listens on http or https
- traffic List<Property Map>
- Traffic weights for app's revisions
- transport String
- Ingress transport protocol
IngressResponseStickySessions, IngressResponseStickySessionsArgs
- Affinity string
- Sticky Session Affinity
- Affinity string
- Sticky Session Affinity
- affinity String
- Sticky Session Affinity
- affinity string
- Sticky Session Affinity
- affinity str
- Sticky Session Affinity
- affinity String
- Sticky Session Affinity
IngressStickySessions, IngressStickySessionsArgs
- Affinity
string | Pulumi.
Azure Native. App. Affinity - Sticky Session Affinity
- affinity String | "sticky" | "none"
- Sticky Session Affinity
IngressTargetPortHttpScheme, IngressTargetPortHttpSchemeArgs
- Http
- http
- Https
- https
- Ingress
Target Port Http Scheme Http - http
- Ingress
Target Port Http Scheme Https - https
- Http
- http
- Https
- https
- Http
- http
- Https
- https
- HTTP
- http
- HTTPS
- https
- "http"
- http
- "https"
- https
IngressTransportMethod, IngressTransportMethodArgs
- Auto
- auto
- Http
- http
- Http2
- http2
- Tcp
- tcp
- Ingress
Transport Method Auto - auto
- Ingress
Transport Method Http - http
- Ingress
Transport Method Http2 - http2
- Ingress
Transport Method Tcp - tcp
- Auto
- auto
- Http
- http
- Http2
- http2
- Tcp
- tcp
- Auto
- auto
- Http
- http
- Http2
- http2
- Tcp
- tcp
- AUTO
- auto
- HTTP
- http
- HTTP2
- http2
- TCP
- tcp
- "auto"
- auto
- "http"
- http
- "http2"
- http2
- "tcp"
- tcp
InitContainer, InitContainerArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var> - Container environment variables.
- Image string
- Container image tag.
- Image
Type string | Pulumi.Azure Native. App. Image Type - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Resources
Pulumi.
Azure Native. App. Inputs. Container Resources - Container resource requirements.
- Volume
Mounts List<Pulumi.Azure Native. App. Inputs. Volume Mount> - Container volume mounts.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var - Container environment variables.
- Image string
- Container image tag.
- Image
Type string | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Resources
Container
Resources - Container resource requirements.
- Volume
Mounts []VolumeMount - Container volume mounts.
- 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.
- image
Type String | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- resources
Container
Resources - Container resource requirements.
- volume
Mounts List<VolumeMount> - Container volume mounts.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var[] - Container environment variables.
- image string
- Container image tag.
- image
Type string | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name string
- Custom container name.
- resources
Container
Resources - Container resource requirements.
- volume
Mounts VolumeMount[] - Container volume mounts.
- 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.
- image_
type str | ImageType - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name str
- Custom container name.
- resources
Container
Resources - Container resource requirements.
- volume_
mounts Sequence[VolumeMount] - Container volume mounts.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env List<Property Map>
- Container environment variables.
- image String
- Container image tag.
- image
Type String | "CloudBuild" | "Container Image" - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- resources Property Map
- Container resource requirements.
- volume
Mounts List<Property Map> - Container volume mounts.
InitContainerResponse, InitContainerResponseArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var Response> - Container environment variables.
- Image string
- Container image tag.
- Image
Type string - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Resources
Pulumi.
Azure Native. App. Inputs. Container Resources Response - Container resource requirements.
- Volume
Mounts List<Pulumi.Azure Native. App. Inputs. Volume Mount Response> - Container volume mounts.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var Response - Container environment variables.
- Image string
- Container image tag.
- Image
Type string - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- Name string
- Custom container name.
- Resources
Container
Resources Response - Container resource requirements.
- Volume
Mounts []VolumeMount Response - Container volume mounts.
- 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.
- image
Type String - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- resources
Container
Resources Response - Container resource requirements.
- volume
Mounts List<VolumeMount Response> - Container volume mounts.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var Response[] - Container environment variables.
- image string
- Container image tag.
- image
Type string - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name string
- Custom container name.
- resources
Container
Resources Response - Container resource requirements.
- volume
Mounts VolumeMount Response[] - Container volume mounts.
- 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.
- image_
type str - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name str
- Custom container name.
- resources
Container
Resources Response - Container resource requirements.
- volume_
mounts Sequence[VolumeMount Response] - Container volume mounts.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env List<Property Map>
- Container environment variables.
- image String
- Container image tag.
- image
Type String - The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.
- name String
- Custom container name.
- resources Property Map
- Container resource requirements.
- volume
Mounts List<Property Map> - Container volume mounts.
IpSecurityRestrictionRule, IpSecurityRestrictionRuleArgs
- Action
string | Pulumi.
Azure Native. App. Action - Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- Ip
Address stringRange - CIDR notation to match incoming IP address
- Name string
- Name for the IP restriction rule.
- Description string
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- Action string | Action
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- Ip
Address stringRange - CIDR notation to match incoming IP address
- Name string
- Name for the IP restriction rule.
- Description string
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action String | Action
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip
Address StringRange - CIDR notation to match incoming IP address
- name String
- Name for the IP restriction rule.
- description String
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action string | Action
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip
Address stringRange - CIDR notation to match incoming IP address
- name string
- Name for the IP restriction rule.
- description string
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action str | Action
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip_
address_ strrange - CIDR notation to match incoming IP address
- name str
- Name for the IP restriction rule.
- description str
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action String | "Allow" | "Deny"
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip
Address StringRange - CIDR notation to match incoming IP address
- name String
- Name for the IP restriction rule.
- description String
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
IpSecurityRestrictionRuleResponse, IpSecurityRestrictionRuleResponseArgs
- Action string
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- Ip
Address stringRange - CIDR notation to match incoming IP address
- Name string
- Name for the IP restriction rule.
- Description string
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- Action string
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- Ip
Address stringRange - CIDR notation to match incoming IP address
- Name string
- Name for the IP restriction rule.
- Description string
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action String
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip
Address StringRange - CIDR notation to match incoming IP address
- name String
- Name for the IP restriction rule.
- description String
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action string
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip
Address stringRange - CIDR notation to match incoming IP address
- name string
- Name for the IP restriction rule.
- description string
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action str
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip_
address_ strrange - CIDR notation to match incoming IP address
- name str
- Name for the IP restriction rule.
- description str
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- action String
- Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
- ip
Address StringRange - CIDR notation to match incoming IP address
- name String
- Name for the IP restriction rule.
- description String
- Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
Kind, KindArgs
- Workflowapp
- workflowapp
- Kind
Workflowapp - workflowapp
- Workflowapp
- workflowapp
- Workflowapp
- workflowapp
- WORKFLOWAPP
- workflowapp
- "workflowapp"
- workflowapp
Level, LevelArgs
- Off
- off
- Error
- error
- Info
- info
- Debug
- debug
- Trace
- trace
- Warn
- warn
- Level
Off - off
- Level
Error - error
- Level
Info - info
- Level
Debug - debug
- Level
Trace - trace
- Level
Warn - warn
- Off
- off
- Error
- error
- Info
- info
- Debug
- debug
- Trace
- trace
- Warn
- warn
- Off
- off
- Error
- error
- Info
- info
- Debug
- debug
- Trace
- trace
- Warn
- warn
- OFF
- off
- ERROR
- error
- INFO
- info
- DEBUG
- debug
- TRACE
- trace
- WARN
- warn
- "off"
- off
- "error"
- error
- "info"
- info
- "debug"
- debug
- "trace"
- trace
- "warn"
- warn
LogLevel, LogLevelArgs
- Info
- info
- Debug
- debug
- Warn
- warn
- Error
- error
- Log
Level Info - info
- Log
Level Debug - debug
- Log
Level Warn - warn
- Log
Level Error - error
- Info
- info
- Debug
- debug
- Warn
- warn
- Error
- error
- Info
- info
- Debug
- debug
- Warn
- warn
- Error
- error
- INFO
- info
- DEBUG
- debug
- WARN
- warn
- ERROR
- error
- "info"
- info
- "debug"
- debug
- "warn"
- warn
- "error"
- error
LoggerSetting, LoggerSettingArgs
- Level
string | Pulumi.
Azure Native. App. Level - The specified logger's log level.
- Logger string
- Logger name.
- level String | "off" | "error" | "info" | "debug" | "trace" | "warn"
- The specified logger's log level.
- logger String
- Logger name.
LoggerSettingResponse, LoggerSettingResponseArgs
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
string | Pulumi.
Azure Native. App. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. App. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
PatchingMode, PatchingModeArgs
- Automatic
- Automatic
- Manual
- Manual
- Disabled
- Disabled
- Patching
Mode Automatic - Automatic
- Patching
Mode Manual - Manual
- Patching
Mode Disabled - Disabled
- Automatic
- Automatic
- Manual
- Manual
- Disabled
- Disabled
- Automatic
- Automatic
- Manual
- Manual
- Disabled
- Disabled
- AUTOMATIC
- Automatic
- MANUAL
- Manual
- DISABLED
- Disabled
- "Automatic"
- Automatic
- "Manual"
- Manual
- "Disabled"
- Disabled
QueueScaleRule, QueueScaleRuleArgs
- Account
Name string - Storage account name. required if using managed identity to authenticate
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth> - Authentication secrets for the queue scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- Account
Name string - Storage account name. required if using managed identity to authenticate
- Auth
[]Scale
Rule Auth - Authentication secrets for the queue scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- account
Name String - Storage account name. required if using managed identity to authenticate
- auth
List<Scale
Rule Auth> - Authentication secrets for the queue scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue
Length Integer - Queue length.
- queue
Name String - Queue name.
- account
Name string - Storage account name. required if using managed identity to authenticate
- auth
Scale
Rule Auth[] - Authentication secrets for the queue scale rule.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue
Length number - Queue length.
- queue
Name string - Queue name.
- account_
name str - Storage account name. required if using managed identity to authenticate
- auth
Sequence[Scale
Rule Auth] - Authentication secrets for the queue scale rule.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue_
length int - Queue length.
- queue_
name str - Queue name.
- account
Name String - Storage account name. required if using managed identity to authenticate
- auth List<Property Map>
- Authentication secrets for the queue scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue
Length Number - Queue length.
- queue
Name String - Queue name.
QueueScaleRuleResponse, QueueScaleRuleResponseArgs
- Account
Name string - Storage account name. required if using managed identity to authenticate
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the queue scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- Account
Name string - Storage account name. required if using managed identity to authenticate
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the queue scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- account
Name String - Storage account name. required if using managed identity to authenticate
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the queue scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue
Length Integer - Queue length.
- queue
Name String - Queue name.
- account
Name string - Storage account name. required if using managed identity to authenticate
- auth
Scale
Rule Auth Response[] - Authentication secrets for the queue scale rule.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue
Length number - Queue length.
- queue
Name string - Queue name.
- account_
name str - Storage account name. required if using managed identity to authenticate
- auth
Sequence[Scale
Rule Auth Response] - Authentication secrets for the queue scale rule.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue_
length int - Queue length.
- queue_
name str - Queue name.
- account
Name String - Storage account name. required if using managed identity to authenticate
- auth List<Property Map>
- Authentication secrets for the queue scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- queue
Length Number - Queue length.
- queue
Name String - Queue name.
RegistryCredentials, RegistryCredentialsArgs
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
- identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret stringRef - The name of the Secret that contains the registry login password
- server string
- Container Registry Server
- username string
- Container Registry Username
- identity str
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password_
secret_ strref - The name of the Secret that contains the registry login password
- server str
- Container Registry Server
- username str
- Container Registry Username
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- 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
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the Secret that contains the registry login password
- Server string
- Container Registry Server
- Username string
- Container Registry Username
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
- identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret stringRef - The name of the Secret that contains the registry login password
- server string
- Container Registry Server
- username string
- Container Registry Username
- identity str
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password_
secret_ strref - The name of the Secret that contains the registry login password
- server str
- Container Registry Server
- username str
- Container Registry Username
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the Secret that contains the registry login password
- server String
- Container Registry Server
- username String
- Container Registry Username
Runtime, RuntimeArgs
- Dotnet
Pulumi.
Azure Native. App. Inputs. Runtime Dotnet - .NET app configuration
- Java
Pulumi.
Azure Native. App. Inputs. Runtime Java - Java app configuration
- Dotnet
Runtime
Dotnet - .NET app configuration
- Java
Runtime
Java - Java app configuration
- dotnet
Runtime
Dotnet - .NET app configuration
- java
Runtime
Java - Java app configuration
- dotnet
Runtime
Dotnet - .NET app configuration
- java
Runtime
Java - Java app configuration
- dotnet
Runtime
Dotnet - .NET app configuration
- java
Runtime
Java - Java app configuration
- dotnet Property Map
- .NET app configuration
- java Property Map
- Java app configuration
RuntimeDotnet, RuntimeDotnetArgs
- Auto
Configure boolData Protection - Auto configure the ASP.NET Core Data Protection feature
- Auto
Configure boolData Protection - Auto configure the ASP.NET Core Data Protection feature
- auto
Configure BooleanData Protection - Auto configure the ASP.NET Core Data Protection feature
- auto
Configure booleanData Protection - Auto configure the ASP.NET Core Data Protection feature
- auto_
configure_ booldata_ protection - Auto configure the ASP.NET Core Data Protection feature
- auto
Configure BooleanData Protection - Auto configure the ASP.NET Core Data Protection feature
RuntimeJava, RuntimeJavaArgs
- Enable
Metrics bool - Enable jmx core metrics for the java app
- Java
Agent Pulumi.Azure Native. App. Inputs. Runtime Java Agent - Diagnostic capabilities achieved by java agent
- Enable
Metrics bool - Enable jmx core metrics for the java app
- Java
Agent RuntimeJava Agent - Diagnostic capabilities achieved by java agent
- enable
Metrics Boolean - Enable jmx core metrics for the java app
- java
Agent RuntimeJava Agent - Diagnostic capabilities achieved by java agent
- enable
Metrics boolean - Enable jmx core metrics for the java app
- java
Agent RuntimeJava Agent - Diagnostic capabilities achieved by java agent
- enable_
metrics bool - Enable jmx core metrics for the java app
- java_
agent RuntimeJava Agent - Diagnostic capabilities achieved by java agent
- enable
Metrics Boolean - Enable jmx core metrics for the java app
- java
Agent Property Map - Diagnostic capabilities achieved by java agent
RuntimeJavaAgent, RuntimeJavaAgentArgs
- Enabled bool
- Enable java agent injection for the java app.
- Logging
Pulumi.
Azure Native. App. Inputs. Runtime Logging - Capabilities on the java logging scenario.
- Enabled bool
- Enable java agent injection for the java app.
- Logging
Runtime
Logging - Capabilities on the java logging scenario.
- enabled Boolean
- Enable java agent injection for the java app.
- logging
Runtime
Logging - Capabilities on the java logging scenario.
- enabled boolean
- Enable java agent injection for the java app.
- logging
Runtime
Logging - Capabilities on the java logging scenario.
- enabled bool
- Enable java agent injection for the java app.
- logging
Runtime
Logging - Capabilities on the java logging scenario.
- enabled Boolean
- Enable java agent injection for the java app.
- logging Property Map
- Capabilities on the java logging scenario.
RuntimeLogging, RuntimeLoggingArgs
- Logger
Settings List<Pulumi.Azure Native. App. Inputs. Logger Setting> - Settings of the logger for the java app.
- Logger
Settings []LoggerSetting - Settings of the logger for the java app.
- logger
Settings List<LoggerSetting> - Settings of the logger for the java app.
- logger
Settings LoggerSetting[] - Settings of the logger for the java app.
- logger_
settings Sequence[LoggerSetting] - Settings of the logger for the java app.
- logger
Settings List<Property Map> - Settings of the logger for the java app.
RuntimeResponse, RuntimeResponseArgs
- Dotnet
Pulumi.
Azure Native. App. Inputs. Runtime Response Dotnet - .NET app configuration
- Java
Pulumi.
Azure Native. App. Inputs. Runtime Response Java - Java app configuration
- Dotnet
Runtime
Response Dotnet - .NET app configuration
- Java
Runtime
Response Java - Java app configuration
- dotnet
Runtime
Response Dotnet - .NET app configuration
- java
Runtime
Response Java - Java app configuration
- dotnet
Runtime
Response Dotnet - .NET app configuration
- java
Runtime
Response Java - Java app configuration
- dotnet
Runtime
Response Dotnet - .NET app configuration
- java
Runtime
Response Java - Java app configuration
- dotnet Property Map
- .NET app configuration
- java Property Map
- Java app configuration
RuntimeResponseDotnet, RuntimeResponseDotnetArgs
- Auto
Configure boolData Protection - Auto configure the ASP.NET Core Data Protection feature
- Auto
Configure boolData Protection - Auto configure the ASP.NET Core Data Protection feature
- auto
Configure BooleanData Protection - Auto configure the ASP.NET Core Data Protection feature
- auto
Configure booleanData Protection - Auto configure the ASP.NET Core Data Protection feature
- auto_
configure_ booldata_ protection - Auto configure the ASP.NET Core Data Protection feature
- auto
Configure BooleanData Protection - Auto configure the ASP.NET Core Data Protection feature
RuntimeResponseJava, RuntimeResponseJavaArgs
- Enable
Metrics bool - Enable jmx core metrics for the java app
- Java
Agent Pulumi.Azure Native. App. Inputs. Runtime Response Java Agent - Diagnostic capabilities achieved by java agent
- Enable
Metrics bool - Enable jmx core metrics for the java app
- Java
Agent RuntimeResponse Java Agent - Diagnostic capabilities achieved by java agent
- enable
Metrics Boolean - Enable jmx core metrics for the java app
- java
Agent RuntimeResponse Java Agent - Diagnostic capabilities achieved by java agent
- enable
Metrics boolean - Enable jmx core metrics for the java app
- java
Agent RuntimeResponse Java Agent - Diagnostic capabilities achieved by java agent
- enable_
metrics bool - Enable jmx core metrics for the java app
- java_
agent RuntimeResponse Java Agent - Diagnostic capabilities achieved by java agent
- enable
Metrics Boolean - Enable jmx core metrics for the java app
- java
Agent Property Map - Diagnostic capabilities achieved by java agent
RuntimeResponseJavaAgent, RuntimeResponseJavaAgentArgs
- Enabled bool
- Enable java agent injection for the java app.
- Logging
Pulumi.
Azure Native. App. Inputs. Runtime Response Logging - Capabilities on the java logging scenario.
- Enabled bool
- Enable java agent injection for the java app.
- Logging
Runtime
Response Logging - Capabilities on the java logging scenario.
- enabled Boolean
- Enable java agent injection for the java app.
- logging
Runtime
Response Logging - Capabilities on the java logging scenario.
- enabled boolean
- Enable java agent injection for the java app.
- logging
Runtime
Response Logging - Capabilities on the java logging scenario.
- enabled bool
- Enable java agent injection for the java app.
- logging
Runtime
Response Logging - Capabilities on the java logging scenario.
- enabled Boolean
- Enable java agent injection for the java app.
- logging Property Map
- Capabilities on the java logging scenario.
RuntimeResponseLogging, RuntimeResponseLoggingArgs
- Logger
Settings List<Pulumi.Azure Native. App. Inputs. Logger Setting Response> - Settings of the logger for the java app.
- Logger
Settings []LoggerSetting Response - Settings of the logger for the java app.
- logger
Settings List<LoggerSetting Response> - Settings of the logger for the java app.
- logger
Settings LoggerSetting Response[] - Settings of the logger for the java app.
- logger_
settings Sequence[LoggerSetting Response] - Settings of the logger for the java app.
- logger
Settings List<Property Map> - Settings of the logger for the java app.
Scale, ScaleArgs
- Cooldown
Period int - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Polling
Interval int - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Scale Rule> - Scaling rules.
- Cooldown
Period int - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Polling
Interval int - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- Rules
[]Scale
Rule - Scaling rules.
- cooldown
Period Integer - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max
Replicas Integer - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Integer - Optional. Minimum number of container replicas.
- polling
Interval Integer - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules
List<Scale
Rule> - Scaling rules.
- cooldown
Period number - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max
Replicas number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas number - Optional. Minimum number of container replicas.
- polling
Interval number - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules
Scale
Rule[] - Scaling rules.
- cooldown_
period int - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max_
replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min_
replicas int - Optional. Minimum number of container replicas.
- polling_
interval int - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules
Sequence[Scale
Rule] - Scaling rules.
- cooldown
Period Number - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max
Replicas Number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Number - Optional. Minimum number of container replicas.
- polling
Interval Number - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules List<Property Map>
- Scaling rules.
ScaleResponse, ScaleResponseArgs
- Cooldown
Period int - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Polling
Interval int - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Response> - Scaling rules.
- Cooldown
Period int - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Polling
Interval int - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- Rules
[]Scale
Rule Response - Scaling rules.
- cooldown
Period Integer - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max
Replicas Integer - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Integer - Optional. Minimum number of container replicas.
- polling
Interval Integer - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules
List<Scale
Rule Response> - Scaling rules.
- cooldown
Period number - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max
Replicas number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas number - Optional. Minimum number of container replicas.
- polling
Interval number - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules
Scale
Rule Response[] - Scaling rules.
- cooldown_
period int - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max_
replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min_
replicas int - Optional. Minimum number of container replicas.
- polling_
interval int - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules
Sequence[Scale
Rule Response] - Scaling rules.
- cooldown
Period Number - Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.
- max
Replicas Number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Number - Optional. Minimum number of container replicas.
- polling
Interval Number - Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.
- rules List<Property Map>
- Scaling rules.
ScaleRule, ScaleRuleArgs
- Azure
Queue Pulumi.Azure Native. App. Inputs. Queue Scale Rule - Azure Queue based scaling.
- Custom
Pulumi.
Azure Native. App. Inputs. Custom Scale Rule - Custom scale rule.
- Http
Pulumi.
Azure Native. App. Inputs. Http Scale Rule - HTTP requests based scaling.
- Name string
- Scale Rule Name
- Tcp
Pulumi.
Azure Native. App. Inputs. Tcp Scale Rule - Tcp requests based scaling.
- 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
- Tcp
Tcp
Scale Rule - Tcp requests based scaling.
- 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
- tcp
Tcp
Scale Rule - Tcp requests based scaling.
- 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
- tcp
Tcp
Scale Rule - Tcp requests based scaling.
- 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
- tcp
Tcp
Scale Rule - Tcp requests based scaling.
- 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
- tcp Property Map
- Tcp requests based scaling.
ScaleRuleAuth, ScaleRuleAuthArgs
- Secret
Ref string - Name of the secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- Secret
Ref string - Name of the secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- secret
Ref String - Name of the secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
- secret
Ref string - Name of the secret from which to pull the auth params.
- trigger
Parameter string - Trigger Parameter that uses the secret
- secret_
ref str - Name of the secret from which to pull the auth params.
- trigger_
parameter str - Trigger Parameter that uses the secret
- secret
Ref String - Name of the 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 secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- Secret
Ref string - Name of the secret from which to pull the auth params.
- Trigger
Parameter string - Trigger Parameter that uses the secret
- secret
Ref String - Name of the secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
- secret
Ref string - Name of the secret from which to pull the auth params.
- trigger
Parameter string - Trigger Parameter that uses the secret
- secret_
ref str - Name of the secret from which to pull the auth params.
- trigger_
parameter str - Trigger Parameter that uses the secret
- secret
Ref String - Name of the secret from which to pull the auth params.
- trigger
Parameter String - Trigger Parameter that uses the secret
ScaleRuleResponse, ScaleRuleResponseArgs
- Azure
Queue Pulumi.Azure Native. App. Inputs. Queue Scale Rule Response - Azure Queue based scaling.
- Custom
Pulumi.
Azure Native. App. Inputs. Custom Scale Rule Response - Custom scale rule.
- Http
Pulumi.
Azure Native. App. Inputs. Http Scale Rule Response - HTTP requests based scaling.
- Name string
- Scale Rule Name
- Tcp
Pulumi.
Azure Native. App. Inputs. Tcp Scale Rule Response - Tcp requests based scaling.
- 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
- Tcp
Tcp
Scale Rule Response - Tcp requests based scaling.
- 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
- tcp
Tcp
Scale Rule Response - Tcp requests based scaling.
- 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
- tcp
Tcp
Scale Rule Response - Tcp requests based scaling.
- 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
- tcp
Tcp
Scale Rule Response - Tcp requests based scaling.
- 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
- tcp Property Map
- Tcp requests based scaling.
Scheme, SchemeArgs
- HTTP
- HTTP
- HTTPS
- HTTPS
- Scheme
HTTP - HTTP
- Scheme
HTTPS - HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
Secret, SecretArgs
- Identity string
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- Key
Vault stringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- Name string
- Secret Name.
- Value string
- Secret Value.
- Identity string
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- Key
Vault stringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- Name string
- Secret Name.
- Value string
- Secret Value.
- identity String
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key
Vault StringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name String
- Secret Name.
- value String
- Secret Value.
- identity string
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key
Vault stringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name string
- Secret Name.
- value string
- Secret Value.
- identity str
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key_
vault_ strurl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name str
- Secret Name.
- value str
- Secret Value.
- identity String
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key
Vault StringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name String
- Secret Name.
- value String
- Secret Value.
SecretResponse, SecretResponseArgs
- Identity string
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- Key
Vault stringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- Name string
- Secret Name.
- Identity string
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- Key
Vault stringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- Name string
- Secret Name.
- identity String
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key
Vault StringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name String
- Secret Name.
- identity string
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key
Vault stringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name string
- Secret Name.
- identity str
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key_
vault_ strurl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name str
- Secret Name.
- identity String
- Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- key
Vault StringUrl - Azure Key Vault URL pointing to the secret referenced by the container app.
- name String
- Secret Name.
SecretVolumeItem, SecretVolumeItemArgs
- path str
- Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
- secret_
ref str - Name of the Container App secret from which to pull the secret value.
SecretVolumeItemResponse, SecretVolumeItemResponseArgs
- path str
- Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
- secret_
ref str - Name of the Container App secret from which to pull the secret value.
Service, ServiceArgs
- Type string
- Dev ContainerApp service type
- Type string
- Dev ContainerApp service type
- type String
- Dev ContainerApp service type
- type string
- Dev ContainerApp service type
- type str
- Dev ContainerApp service type
- type String
- Dev ContainerApp service type
ServiceBind, ServiceBindArgs
- Client
Type string - Type of the client to be used to connect to the service
- Customized
Keys Dictionary<string, string> - Customized keys for customizing injected values to the app
- Name string
- Name of the service bind
- Service
Id string - Resource id of the target service
- Client
Type string - Type of the client to be used to connect to the service
- Customized
Keys map[string]string - Customized keys for customizing injected values to the app
- Name string
- Name of the service bind
- Service
Id string - Resource id of the target service
- client
Type String - Type of the client to be used to connect to the service
- customized
Keys Map<String,String> - Customized keys for customizing injected values to the app
- name String
- Name of the service bind
- service
Id String - Resource id of the target service
- client
Type string - Type of the client to be used to connect to the service
- customized
Keys {[key: string]: string} - Customized keys for customizing injected values to the app
- name string
- Name of the service bind
- service
Id string - Resource id of the target service
- client_
type str - Type of the client to be used to connect to the service
- customized_
keys Mapping[str, str] - Customized keys for customizing injected values to the app
- name str
- Name of the service bind
- service_
id str - Resource id of the target service
- client
Type String - Type of the client to be used to connect to the service
- customized
Keys Map<String> - Customized keys for customizing injected values to the app
- name String
- Name of the service bind
- service
Id String - Resource id of the target service
ServiceBindResponse, ServiceBindResponseArgs
- Client
Type string - Type of the client to be used to connect to the service
- Customized
Keys Dictionary<string, string> - Customized keys for customizing injected values to the app
- Name string
- Name of the service bind
- Service
Id string - Resource id of the target service
- Client
Type string - Type of the client to be used to connect to the service
- Customized
Keys map[string]string - Customized keys for customizing injected values to the app
- Name string
- Name of the service bind
- Service
Id string - Resource id of the target service
- client
Type String - Type of the client to be used to connect to the service
- customized
Keys Map<String,String> - Customized keys for customizing injected values to the app
- name String
- Name of the service bind
- service
Id String - Resource id of the target service
- client
Type string - Type of the client to be used to connect to the service
- customized
Keys {[key: string]: string} - Customized keys for customizing injected values to the app
- name string
- Name of the service bind
- service
Id string - Resource id of the target service
- client_
type str - Type of the client to be used to connect to the service
- customized_
keys Mapping[str, str] - Customized keys for customizing injected values to the app
- name str
- Name of the service bind
- service_
id str - Resource id of the target service
- client
Type String - Type of the client to be used to connect to the service
- customized
Keys Map<String> - Customized keys for customizing injected values to the app
- name String
- Name of the service bind
- service
Id String - Resource id of the target service
ServiceResponse, ServiceResponseArgs
- Type string
- Dev ContainerApp service type
- Type string
- Dev ContainerApp service type
- type String
- Dev ContainerApp service type
- type string
- Dev ContainerApp service type
- type str
- Dev ContainerApp service type
- type String
- Dev ContainerApp service type
StorageType, StorageTypeArgs
- Azure
File - AzureFile
- Empty
Dir - EmptyDir
- Secret
- Secret
- Nfs
Azure File - NfsAzureFile
- Smb
- Smb
- Storage
Type Azure File - AzureFile
- Storage
Type Empty Dir - EmptyDir
- Storage
Type Secret - Secret
- Storage
Type Nfs Azure File - NfsAzureFile
- Storage
Type Smb - Smb
- Azure
File - AzureFile
- Empty
Dir - EmptyDir
- Secret
- Secret
- Nfs
Azure File - NfsAzureFile
- Smb
- Smb
- Azure
File - AzureFile
- Empty
Dir - EmptyDir
- Secret
- Secret
- Nfs
Azure File - NfsAzureFile
- Smb
- Smb
- AZURE_FILE
- AzureFile
- EMPTY_DIR
- EmptyDir
- SECRET
- Secret
- NFS_AZURE_FILE
- NfsAzureFile
- SMB
- Smb
- "Azure
File" - AzureFile
- "Empty
Dir" - EmptyDir
- "Secret"
- Secret
- "Nfs
Azure File" - NfsAzureFile
- "Smb"
- Smb
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TcpScaleRule, TcpScaleRuleArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth> - Authentication secrets for the tcp scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata Dictionary<string, string>
- Metadata properties to describe tcp scale rule.
- Auth
[]Scale
Rule Auth - Authentication secrets for the tcp scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata map[string]string
- Metadata properties to describe tcp scale rule.
- auth
List<Scale
Rule Auth> - Authentication secrets for the tcp scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String,String>
- Metadata properties to describe tcp scale rule.
- auth
Scale
Rule Auth[] - Authentication secrets for the tcp scale rule.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata {[key: string]: string}
- Metadata properties to describe tcp scale rule.
- auth
Sequence[Scale
Rule Auth] - Authentication secrets for the tcp scale rule.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Mapping[str, str]
- Metadata properties to describe tcp scale rule.
- auth List<Property Map>
- Authentication secrets for the tcp scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String>
- Metadata properties to describe tcp scale rule.
TcpScaleRuleResponse, TcpScaleRuleResponseArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the tcp scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata Dictionary<string, string>
- Metadata properties to describe tcp scale rule.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the tcp scale rule.
- Identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- Metadata map[string]string
- Metadata properties to describe tcp scale rule.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the tcp scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String,String>
- Metadata properties to describe tcp scale rule.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the tcp scale rule.
- identity string
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata {[key: string]: string}
- Metadata properties to describe tcp scale rule.
- auth
Sequence[Scale
Rule Auth Response] - Authentication secrets for the tcp scale rule.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Mapping[str, str]
- Metadata properties to describe tcp scale rule.
- auth List<Property Map>
- Authentication secrets for the tcp scale rule.
- identity String
- The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- metadata Map<String>
- Metadata properties to describe tcp scale rule.
Template, TemplateArgs
- Containers
List<Pulumi.
Azure Native. App. Inputs. Container> - List of container definitions for the Container App.
- Init
Containers List<Pulumi.Azure Native. App. Inputs. Init Container> - List of specialized containers that run before app containers.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale
Pulumi.
Azure Native. App. Inputs. Scale - Scaling properties for the Container App.
- Service
Binds List<Pulumi.Azure Native. App. Inputs. Service Bind> - List of container app services bound to the app
- Termination
Grace doublePeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- Volumes
List<Pulumi.
Azure Native. App. Inputs. Volume> - List of volume definitions for the Container App.
- Containers []Container
- List of container definitions for the Container App.
- Init
Containers []InitContainer - List of specialized containers that run before app containers.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale Scale
- Scaling properties for the Container App.
- Service
Binds []ServiceBind - List of container app services bound to the app
- Termination
Grace float64Period Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- Volumes []Volume
- List of volume definitions for the Container App.
- containers List<Container>
- List of container definitions for the Container App.
- init
Containers List<InitContainer> - List of specialized containers that run before app containers.
- revision
Suffix String - User friendly suffix that is appended to the revision name
- scale Scale
- Scaling properties for the Container App.
- service
Binds List<ServiceBind> - List of container app services bound to the app
- termination
Grace DoublePeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes List<Volume>
- List of volume definitions for the Container App.
- containers Container[]
- List of container definitions for the Container App.
- init
Containers InitContainer[] - List of specialized containers that run before app containers.
- revision
Suffix string - User friendly suffix that is appended to the revision name
- scale Scale
- Scaling properties for the Container App.
- service
Binds ServiceBind[] - List of container app services bound to the app
- termination
Grace numberPeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes Volume[]
- List of volume definitions for the Container App.
- containers Sequence[Container]
- List of container definitions for the Container App.
- init_
containers Sequence[InitContainer] - List of specialized containers that run before app containers.
- revision_
suffix str - User friendly suffix that is appended to the revision name
- scale Scale
- Scaling properties for the Container App.
- service_
binds Sequence[ServiceBind] - List of container app services bound to the app
- termination_
grace_ floatperiod_ seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes Sequence[Volume]
- List of volume definitions for the Container App.
- containers List<Property Map>
- List of container definitions for the Container App.
- init
Containers List<Property Map> - List of specialized containers that run before app containers.
- revision
Suffix String - User friendly suffix that is appended to the revision name
- scale Property Map
- Scaling properties for the Container App.
- service
Binds List<Property Map> - List of container app services bound to the app
- termination
Grace NumberPeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes List<Property Map>
- List of volume definitions for the Container App.
TemplateResponse, TemplateResponseArgs
- Containers
List<Pulumi.
Azure Native. App. Inputs. Container Response> - List of container definitions for the Container App.
- Init
Containers List<Pulumi.Azure Native. App. Inputs. Init Container Response> - List of specialized containers that run before app containers.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale
Pulumi.
Azure Native. App. Inputs. Scale Response - Scaling properties for the Container App.
- Service
Binds List<Pulumi.Azure Native. App. Inputs. Service Bind Response> - List of container app services bound to the app
- Termination
Grace doublePeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- Volumes
List<Pulumi.
Azure Native. App. Inputs. Volume Response> - List of volume definitions for the Container App.
- Containers
[]Container
Response - List of container definitions for the Container App.
- Init
Containers []InitContainer Response - List of specialized containers that run before app containers.
- Revision
Suffix string - User friendly suffix that is appended to the revision name
- Scale
Scale
Response - Scaling properties for the Container App.
- Service
Binds []ServiceBind Response - List of container app services bound to the app
- Termination
Grace float64Period Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- Volumes
[]Volume
Response - List of volume definitions for the Container App.
- containers
List<Container
Response> - List of container definitions for the Container App.
- init
Containers List<InitContainer Response> - List of specialized containers that run before app containers.
- revision
Suffix String - User friendly suffix that is appended to the revision name
- scale
Scale
Response - Scaling properties for the Container App.
- service
Binds List<ServiceBind Response> - List of container app services bound to the app
- termination
Grace DoublePeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes
List<Volume
Response> - List of volume definitions for the Container App.
- containers
Container
Response[] - List of container definitions for the Container App.
- init
Containers InitContainer Response[] - List of specialized containers that run before app containers.
- revision
Suffix string - User friendly suffix that is appended to the revision name
- scale
Scale
Response - Scaling properties for the Container App.
- service
Binds ServiceBind Response[] - List of container app services bound to the app
- termination
Grace numberPeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes
Volume
Response[] - List of volume definitions for the Container App.
- containers
Sequence[Container
Response] - List of container definitions for the Container App.
- init_
containers Sequence[InitContainer Response] - List of specialized containers that run before app containers.
- revision_
suffix str - User friendly suffix that is appended to the revision name
- scale
Scale
Response - Scaling properties for the Container App.
- service_
binds Sequence[ServiceBind Response] - List of container app services bound to the app
- termination_
grace_ floatperiod_ seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes
Sequence[Volume
Response] - List of volume definitions for the Container App.
- containers List<Property Map>
- List of container definitions for the Container App.
- init
Containers List<Property Map> - List of specialized containers that run before app containers.
- revision
Suffix String - User friendly suffix that is appended to the revision name
- scale Property Map
- Scaling properties for the Container App.
- service
Binds List<Property Map> - List of container app services bound to the app
- termination
Grace NumberPeriod Seconds - Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
- volumes List<Property Map>
- List of volume definitions for the Container App.
TrafficWeight, TrafficWeightArgs
- Label string
- Associates a traffic label with 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
- Label string
- Associates a traffic label with 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
- label String
- Associates a traffic label with 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
- label string
- Associates a traffic label with 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
- label str
- Associates a traffic label with a revision
- latest_
revision bool - Indicates that the traffic weight belongs to a latest stable revision
- revision_
name str - Name of a revision
- weight int
- Traffic weight assigned to a revision
- label String
- Associates a traffic label with a revision
- 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
- Label string
- Associates a traffic label with 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
- Label string
- Associates a traffic label with 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
- label String
- Associates a traffic label with 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
- label string
- Associates a traffic label with 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
- label str
- Associates a traffic label with a revision
- latest_
revision bool - Indicates that the traffic weight belongs to a latest stable revision
- revision_
name str - Name of a revision
- weight int
- Traffic weight assigned to a revision
- label String
- Associates a traffic label with a revision
- 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
Type, TypeArgs
- Liveness
- Liveness
- Readiness
- Readiness
- Startup
- Startup
- Type
Liveness - Liveness
- Type
Readiness - Readiness
- Type
Startup - Startup
- Liveness
- Liveness
- Readiness
- Readiness
- Startup
- Startup
- Liveness
- Liveness
- Readiness
- Readiness
- Startup
- Startup
- LIVENESS
- Liveness
- READINESS
- Readiness
- STARTUP
- Startup
- "Liveness"
- Liveness
- "Readiness"
- Readiness
- "Startup"
- Startup
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Volume, VolumeArgs
- Mount
Options string - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- Name string
- Volume name.
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Secret Volume Item> - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- Storage
Name string - Name of storage resource. No need to provide for EmptyDir and Secret.
- Storage
Type string | Pulumi.Azure Native. App. Storage Type - Storage type for the volume. If not provided, use EmptyDir.
- Mount
Options string - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- Name string
- Volume name.
- Secrets
[]Secret
Volume Item - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- Storage
Name string - Name of storage resource. No need to provide for EmptyDir and Secret.
- Storage
Type string | StorageType - Storage type for the volume. If not provided, use EmptyDir.
- mount
Options String - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name String
- Volume name.
- secrets
List<Secret
Volume Item> - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage
Name String - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage
Type String | StorageType - Storage type for the volume. If not provided, use EmptyDir.
- mount
Options string - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name string
- Volume name.
- secrets
Secret
Volume Item[] - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage
Name string - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage
Type string | StorageType - Storage type for the volume. If not provided, use EmptyDir.
- mount_
options str - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name str
- Volume name.
- secrets
Sequence[Secret
Volume Item] - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage_
name str - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage_
type str | StorageType - Storage type for the volume. If not provided, use EmptyDir.
- mount
Options String - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name String
- Volume name.
- secrets List<Property Map>
- List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage
Name String - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage
Type String | "AzureFile" | "Empty Dir" | "Secret" | "Nfs Azure File" | "Smb" - Storage type for the volume. If not provided, use EmptyDir.
VolumeMount, VolumeMountArgs
- Mount
Path string - Path within the container at which the volume should be mounted.Must not contain ':'.
- Sub
Path string - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- Volume
Name string - This must match the Name of a Volume.
- Mount
Path string - Path within the container at which the volume should be mounted.Must not contain ':'.
- Sub
Path string - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- Volume
Name string - This must match the Name of a Volume.
- mount
Path String - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume
Name String - This must match the Name of a Volume.
- mount
Path string - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub
Path string - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume
Name string - This must match the Name of a Volume.
- mount_
path str - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub_
path str - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume_
name str - This must match the Name of a Volume.
- mount
Path String - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume
Name String - This must match the Name of a Volume.
VolumeMountResponse, VolumeMountResponseArgs
- Mount
Path string - Path within the container at which the volume should be mounted.Must not contain ':'.
- Sub
Path string - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- Volume
Name string - This must match the Name of a Volume.
- Mount
Path string - Path within the container at which the volume should be mounted.Must not contain ':'.
- Sub
Path string - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- Volume
Name string - This must match the Name of a Volume.
- mount
Path String - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume
Name String - This must match the Name of a Volume.
- mount
Path string - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub
Path string - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume
Name string - This must match the Name of a Volume.
- mount_
path str - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub_
path str - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume_
name str - This must match the Name of a Volume.
- mount
Path String - Path within the container at which the volume should be mounted.Must not contain ':'.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
- volume
Name String - This must match the Name of a Volume.
VolumeResponse, VolumeResponseArgs
- Mount
Options string - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- Name string
- Volume name.
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Secret Volume Item Response> - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- Storage
Name string - Name of storage resource. No need to provide for EmptyDir and Secret.
- Storage
Type string - Storage type for the volume. If not provided, use EmptyDir.
- Mount
Options string - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- Name string
- Volume name.
- Secrets
[]Secret
Volume Item Response - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- Storage
Name string - Name of storage resource. No need to provide for EmptyDir and Secret.
- Storage
Type string - Storage type for the volume. If not provided, use EmptyDir.
- mount
Options String - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name String
- Volume name.
- secrets
List<Secret
Volume Item Response> - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage
Name String - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage
Type String - Storage type for the volume. If not provided, use EmptyDir.
- mount
Options string - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name string
- Volume name.
- secrets
Secret
Volume Item Response[] - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage
Name string - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage
Type string - Storage type for the volume. If not provided, use EmptyDir.
- mount_
options str - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name str
- Volume name.
- secrets
Sequence[Secret
Volume Item Response] - List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage_
name str - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage_
type str - Storage type for the volume. If not provided, use EmptyDir.
- mount
Options String - Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- name String
- Volume name.
- secrets List<Property Map>
- List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
- storage
Name String - Name of storage resource. No need to provide for EmptyDir and Secret.
- storage
Type String - Storage type for the volume. If not provided, use EmptyDir.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:app:ContainerApp testcontainerAppTcp /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0