azure-native.app.ContainerApp
Explore with Pulumi AI
Container App. Azure REST API version: 2022-10-01. Prior API version in Azure Native 1.x: 2022-03-01.
Other available API versions: 2022-01-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview.
Note: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the KeyVaultUrl
property. If you encounter the error “invalid: value or keyVaultUrl and identity should be provided” with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.
Example Usage
Create or Update Container App
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
Dapr = new AzureNative.App.Inputs.DaprArgs
{
AppPort = 3000,
AppProtocol = AzureNative.App.AppProtocol.Http,
EnableApiLogging = true,
Enabled = true,
HttpMaxRequestSize = 10,
HttpReadBufferSize = 30,
LogLevel = AzureNative.App.LogLevel.Debug,
},
Ingress = new AzureNative.App.Inputs.IngressArgs
{
ClientCertificateMode = AzureNative.App.IngressClientCertificateMode.Accept,
CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
{
AllowCredentials = true,
AllowedHeaders = new[]
{
"HEADER1",
"HEADER2",
},
AllowedMethods = new[]
{
"GET",
"POST",
},
AllowedOrigins = new[]
{
"https://a.test.com",
"https://b.test.com",
},
ExposeHeaders = new[]
{
"HEADER3",
"HEADER4",
},
MaxAge = 1234,
},
CustomDomains = new[]
{
new AzureNative.App.Inputs.CustomDomainArgs
{
BindingType = AzureNative.App.BindingType.SniEnabled,
CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
Name = "www.my-name.com",
},
new AzureNative.App.Inputs.CustomDomainArgs
{
BindingType = AzureNative.App.BindingType.SniEnabled,
CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
Name = "www.my-other-name.com",
},
},
External = true,
IpSecurityRestrictions = new[]
{
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = AzureNative.App.Action.Allow,
Description = "Allowing all IP's within the subnet below to access containerapp",
IpAddressRange = "192.168.1.1/32",
Name = "Allow work IP A subnet",
},
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = AzureNative.App.Action.Allow,
Description = "Allowing all IP's within the subnet below to access containerapp",
IpAddressRange = "192.168.1.1/8",
Name = "Allow work IP B subnet",
},
},
TargetPort = 3000,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
Label = "production",
RevisionName = "testcontainerapp0-ab1234",
Weight = 100,
},
},
},
MaxInactiveRevisions = 10,
},
ContainerAppName = "testcontainerapp0",
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Location = "East US",
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "repo/testcontainerapp0:v1",
Name = "testcontainerapp0",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
{
HttpHeaders = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
{
Name = "Custom-Header",
Value = "Awesome",
},
},
Path = "/health",
Port = 8080,
},
InitialDelaySeconds = 3,
PeriodSeconds = 3,
Type = AzureNative.App.Type.Liveness,
},
},
},
},
InitContainers = new[]
{
new AzureNative.App.Inputs.InitContainerArgs
{
Args = new[]
{
"-c",
"while true; do echo hello; sleep 10;done",
},
Command = new[]
{
"/bin/sh",
},
Image = "repo/testcontainerapp0:v4",
Name = "testinitcontainerApp0",
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0.5,
Memory = "1Gi",
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
MaxReplicas = 5,
MinReplicas = 1,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
{
Metadata =
{
{ "concurrentRequests", "50" },
},
Type = "http",
},
Name = "httpscalingrule",
},
},
},
},
WorkloadProfileType = "GeneralPurpose",
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
Dapr: &app.DaprArgs{
AppPort: pulumi.Int(3000),
AppProtocol: pulumi.String(app.AppProtocolHttp),
EnableApiLogging: pulumi.Bool(true),
Enabled: pulumi.Bool(true),
HttpMaxRequestSize: pulumi.Int(10),
HttpReadBufferSize: pulumi.Int(30),
LogLevel: pulumi.String(app.LogLevelDebug),
},
Ingress: &app.IngressArgs{
ClientCertificateMode: pulumi.String(app.IngressClientCertificateModeAccept),
CorsPolicy: &app.CorsPolicyArgs{
AllowCredentials: pulumi.Bool(true),
AllowedHeaders: pulumi.StringArray{
pulumi.String("HEADER1"),
pulumi.String("HEADER2"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("GET"),
pulumi.String("POST"),
},
AllowedOrigins: pulumi.StringArray{
pulumi.String("https://a.test.com"),
pulumi.String("https://b.test.com"),
},
ExposeHeaders: pulumi.StringArray{
pulumi.String("HEADER3"),
pulumi.String("HEADER4"),
},
MaxAge: pulumi.Int(1234),
},
CustomDomains: app.CustomDomainArray{
&app.CustomDomainArgs{
BindingType: pulumi.String(app.BindingTypeSniEnabled),
CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
Name: pulumi.String("www.my-name.com"),
},
&app.CustomDomainArgs{
BindingType: pulumi.String(app.BindingTypeSniEnabled),
CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com"),
Name: pulumi.String("www.my-other-name.com"),
},
},
External: pulumi.Bool(true),
IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String(app.ActionAllow),
Description: pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
IpAddressRange: pulumi.String("192.168.1.1/32"),
Name: pulumi.String("Allow work IP A subnet"),
},
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String(app.ActionAllow),
Description: pulumi.String("Allowing all IP's within the subnet below to access containerapp"),
IpAddressRange: pulumi.String("192.168.1.1/8"),
Name: pulumi.String("Allow work IP B subnet"),
},
},
TargetPort: pulumi.Int(3000),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
Label: pulumi.String("production"),
RevisionName: pulumi.String("testcontainerapp0-ab1234"),
Weight: pulumi.Int(100),
},
},
},
MaxInactiveRevisions: pulumi.Int(10),
},
ContainerAppName: pulumi.String("testcontainerapp0"),
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String("repo/testcontainerapp0:v1"),
Name: pulumi.String("testcontainerapp0"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
HttpGet: &app.ContainerAppProbeHttpGetArgs{
HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
&app.ContainerAppProbeHttpHeadersArgs{
Name: pulumi.String("Custom-Header"),
Value: pulumi.String("Awesome"),
},
},
Path: pulumi.String("/health"),
Port: pulumi.Int(8080),
},
InitialDelaySeconds: pulumi.Int(3),
PeriodSeconds: pulumi.Int(3),
Type: pulumi.String(app.TypeLiveness),
},
},
},
},
InitContainers: app.InitContainerArray{
&app.InitContainerArgs{
Args: pulumi.StringArray{
pulumi.String("-c"),
pulumi.String("while true; do echo hello; sleep 10;done"),
},
Command: pulumi.StringArray{
pulumi.String("/bin/sh"),
},
Image: pulumi.String("repo/testcontainerapp0:v4"),
Name: pulumi.String("testinitcontainerApp0"),
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0.5),
Memory: pulumi.String("1Gi"),
},
},
},
Scale: &app.ScaleArgs{
MaxReplicas: pulumi.Int(5),
MinReplicas: pulumi.Int(1),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
Custom: &app.CustomScaleRuleArgs{
Metadata: pulumi.StringMap{
"concurrentRequests": pulumi.String("50"),
},
Type: pulumi.String("http"),
},
Name: pulumi.String("httpscalingrule"),
},
},
},
},
WorkloadProfileType: pulumi.String("GeneralPurpose"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.DaprArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.CorsPolicyArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.dapr(DaprArgs.builder()
.appPort(3000)
.appProtocol("http")
.enableApiLogging(true)
.enabled(true)
.httpMaxRequestSize(10)
.httpReadBufferSize(30)
.logLevel("debug")
.build())
.ingress(IngressArgs.builder()
.clientCertificateMode("accept")
.corsPolicy(CorsPolicyArgs.builder()
.allowCredentials(true)
.allowedHeaders(
"HEADER1",
"HEADER2")
.allowedMethods(
"GET",
"POST")
.allowedOrigins(
"https://a.test.com",
"https://b.test.com")
.exposeHeaders(
"HEADER3",
"HEADER4")
.maxAge(1234)
.build())
.customDomains(
CustomDomainArgs.builder()
.bindingType("SniEnabled")
.certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com")
.name("www.my-name.com")
.build(),
CustomDomainArgs.builder()
.bindingType("SniEnabled")
.certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")
.name("www.my-other-name.com")
.build())
.external(true)
.ipSecurityRestrictions(
IpSecurityRestrictionRuleArgs.builder()
.action("Allow")
.description("Allowing all IP's within the subnet below to access containerapp")
.ipAddressRange("192.168.1.1/32")
.name("Allow work IP A subnet")
.build(),
IpSecurityRestrictionRuleArgs.builder()
.action("Allow")
.description("Allowing all IP's within the subnet below to access containerapp")
.ipAddressRange("192.168.1.1/8")
.name("Allow work IP B subnet")
.build())
.targetPort(3000)
.traffic(TrafficWeightArgs.builder()
.label("production")
.revisionName("testcontainerapp0-ab1234")
.weight(100)
.build())
.build())
.maxInactiveRevisions(10)
.build())
.containerAppName("testcontainerapp0")
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.location("East US")
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("repo/testcontainerapp0:v1")
.name("testcontainerapp0")
.probes(ContainerAppProbeArgs.builder()
.httpGet(ContainerAppProbeHttpGetArgs.builder()
.httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
.name("Custom-Header")
.value("Awesome")
.build())
.path("/health")
.port(8080)
.build())
.initialDelaySeconds(3)
.periodSeconds(3)
.type("Liveness")
.build())
.build())
.initContainers(InitContainerArgs.builder()
.args(
"-c",
"while true; do echo hello; sleep 10;done")
.command("/bin/sh")
.image("repo/testcontainerapp0:v4")
.name("testinitcontainerApp0")
.resources(ContainerResourcesArgs.builder()
.cpu(0.5)
.memory("1Gi")
.build())
.build())
.scale(ScaleArgs.builder()
.maxReplicas(5)
.minReplicas(1)
.rules(ScaleRuleArgs.builder()
.custom(CustomScaleRuleArgs.builder()
.metadata(Map.of("concurrentRequests", "50"))
.type("http")
.build())
.name("httpscalingrule")
.build())
.build())
.build())
.workloadProfileType("GeneralPurpose")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"dapr": {
"app_port": 3000,
"app_protocol": azure_native.app.AppProtocol.HTTP,
"enable_api_logging": True,
"enabled": True,
"http_max_request_size": 10,
"http_read_buffer_size": 30,
"log_level": azure_native.app.LogLevel.DEBUG,
},
"ingress": {
"client_certificate_mode": azure_native.app.IngressClientCertificateMode.ACCEPT,
"cors_policy": {
"allow_credentials": True,
"allowed_headers": [
"HEADER1",
"HEADER2",
],
"allowed_methods": [
"GET",
"POST",
],
"allowed_origins": [
"https://a.test.com",
"https://b.test.com",
],
"expose_headers": [
"HEADER3",
"HEADER4",
],
"max_age": 1234,
},
"custom_domains": [
{
"binding_type": azure_native.app.BindingType.SNI_ENABLED,
"certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
"name": "www.my-name.com",
},
{
"binding_type": azure_native.app.BindingType.SNI_ENABLED,
"certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
"name": "www.my-other-name.com",
},
],
"external": True,
"ip_security_restrictions": [
{
"action": azure_native.app.Action.ALLOW,
"description": "Allowing all IP's within the subnet below to access containerapp",
"ip_address_range": "192.168.1.1/32",
"name": "Allow work IP A subnet",
},
{
"action": azure_native.app.Action.ALLOW,
"description": "Allowing all IP's within the subnet below to access containerapp",
"ip_address_range": "192.168.1.1/8",
"name": "Allow work IP B subnet",
},
],
"target_port": 3000,
"traffic": [{
"label": "production",
"revision_name": "testcontainerapp0-ab1234",
"weight": 100,
}],
},
"max_inactive_revisions": 10,
},
container_app_name="testcontainerapp0",
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location="East US",
resource_group_name="rg",
template={
"containers": [{
"image": "repo/testcontainerapp0:v1",
"name": "testcontainerapp0",
"probes": [{
"http_get": {
"http_headers": [{
"name": "Custom-Header",
"value": "Awesome",
}],
"path": "/health",
"port": 8080,
},
"initial_delay_seconds": 3,
"period_seconds": 3,
"type": azure_native.app.Type.LIVENESS,
}],
}],
"init_containers": [{
"args": [
"-c",
"while true; do echo hello; sleep 10;done",
],
"command": ["/bin/sh"],
"image": "repo/testcontainerapp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.5,
"memory": "1Gi",
},
}],
"scale": {
"max_replicas": 5,
"min_replicas": 1,
"rules": [{
"custom": {
"metadata": {
"concurrentRequests": "50",
},
"type": "http",
},
"name": "httpscalingrule",
}],
},
},
workload_profile_type="GeneralPurpose")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
dapr: {
appPort: 3000,
appProtocol: azure_native.app.AppProtocol.Http,
enableApiLogging: true,
enabled: true,
httpMaxRequestSize: 10,
httpReadBufferSize: 30,
logLevel: azure_native.app.LogLevel.Debug,
},
ingress: {
clientCertificateMode: azure_native.app.IngressClientCertificateMode.Accept,
corsPolicy: {
allowCredentials: true,
allowedHeaders: [
"HEADER1",
"HEADER2",
],
allowedMethods: [
"GET",
"POST",
],
allowedOrigins: [
"https://a.test.com",
"https://b.test.com",
],
exposeHeaders: [
"HEADER3",
"HEADER4",
],
maxAge: 1234,
},
customDomains: [
{
bindingType: azure_native.app.BindingType.SniEnabled,
certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com",
name: "www.my-name.com",
},
{
bindingType: azure_native.app.BindingType.SniEnabled,
certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com",
name: "www.my-other-name.com",
},
],
external: true,
ipSecurityRestrictions: [
{
action: azure_native.app.Action.Allow,
description: "Allowing all IP's within the subnet below to access containerapp",
ipAddressRange: "192.168.1.1/32",
name: "Allow work IP A subnet",
},
{
action: azure_native.app.Action.Allow,
description: "Allowing all IP's within the subnet below to access containerapp",
ipAddressRange: "192.168.1.1/8",
name: "Allow work IP B subnet",
},
],
targetPort: 3000,
traffic: [{
label: "production",
revisionName: "testcontainerapp0-ab1234",
weight: 100,
}],
},
maxInactiveRevisions: 10,
},
containerAppName: "testcontainerapp0",
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location: "East US",
resourceGroupName: "rg",
template: {
containers: [{
image: "repo/testcontainerapp0:v1",
name: "testcontainerapp0",
probes: [{
httpGet: {
httpHeaders: [{
name: "Custom-Header",
value: "Awesome",
}],
path: "/health",
port: 8080,
},
initialDelaySeconds: 3,
periodSeconds: 3,
type: azure_native.app.Type.Liveness,
}],
}],
initContainers: [{
args: [
"-c",
"while true; do echo hello; sleep 10;done",
],
command: ["/bin/sh"],
image: "repo/testcontainerapp0:v4",
name: "testinitcontainerApp0",
resources: {
cpu: 0.5,
memory: "1Gi",
},
}],
scale: {
maxReplicas: 5,
minReplicas: 1,
rules: [{
custom: {
metadata: {
concurrentRequests: "50",
},
type: "http",
},
name: "httpscalingrule",
}],
},
},
workloadProfileType: "GeneralPurpose",
});
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
dapr:
appPort: 3000
appProtocol: http
enableApiLogging: true
enabled: true
httpMaxRequestSize: 10
httpReadBufferSize: 30
logLevel: debug
ingress:
clientCertificateMode: accept
corsPolicy:
allowCredentials: true
allowedHeaders:
- HEADER1
- HEADER2
allowedMethods:
- GET
- POST
allowedOrigins:
- https://a.test.com
- https://b.test.com
exposeHeaders:
- HEADER3
- HEADER4
maxAge: 1234
customDomains:
- bindingType: SniEnabled
certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com
name: www.my-name.com
- bindingType: SniEnabled
certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com
name: www.my-other-name.com
external: true
ipSecurityRestrictions:
- action: Allow
description: Allowing all IP's within the subnet below to access containerapp
ipAddressRange: 192.168.1.1/32
name: Allow work IP A subnet
- action: Allow
description: Allowing all IP's within the subnet below to access containerapp
ipAddressRange: 192.168.1.1/8
name: Allow work IP B subnet
targetPort: 3000
traffic:
- label: production
revisionName: testcontainerapp0-ab1234
weight: 100
maxInactiveRevisions: 10
containerAppName: testcontainerapp0
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
location: East US
resourceGroupName: rg
template:
containers:
- image: repo/testcontainerapp0:v1
name: testcontainerapp0
probes:
- httpGet:
httpHeaders:
- name: Custom-Header
value: Awesome
path: /health
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
type: Liveness
initContainers:
- args:
- -c
- while true; do echo hello; sleep 10;done
command:
- /bin/sh
image: repo/testcontainerapp0:v4
name: testinitcontainerApp0
resources:
cpu: 0.5
memory: 1Gi
scale:
maxReplicas: 5
minReplicas: 1
rules:
- custom:
metadata:
concurrentRequests: '50'
type: http
name: httpscalingrule
workloadProfileType: GeneralPurpose
Create or Update Tcp App
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerApp = new AzureNative.App.ContainerApp("containerApp", new()
{
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
Ingress = new AzureNative.App.Inputs.IngressArgs
{
ExposedPort = 4000,
External = true,
TargetPort = 3000,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
RevisionName = "testcontainerapptcp-ab1234",
Weight = 100,
},
},
Transport = AzureNative.App.IngressTransportMethod.Tcp,
},
},
ContainerAppName = "testcontainerapptcp",
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Location = "East US",
ResourceGroupName = "rg",
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Image = "repo/testcontainerapptcp:v1",
Name = "testcontainerapptcp",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
InitialDelaySeconds = 3,
PeriodSeconds = 3,
TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
{
Port = 8080,
},
Type = AzureNative.App.Type.Liveness,
},
},
},
},
Scale = new AzureNative.App.Inputs.ScaleArgs
{
MaxReplicas = 5,
MinReplicas = 1,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
Name = "tcpscalingrule",
Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
{
Metadata =
{
{ "concurrentConnections", "50" },
},
},
},
},
},
},
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerApp(ctx, "containerApp", &app.ContainerAppArgs{
Configuration: &app.ConfigurationArgs{
Ingress: &app.IngressArgs{
ExposedPort: pulumi.Int(4000),
External: pulumi.Bool(true),
TargetPort: pulumi.Int(3000),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
RevisionName: pulumi.String("testcontainerapptcp-ab1234"),
Weight: pulumi.Int(100),
},
},
Transport: pulumi.String(app.IngressTransportMethodTcp),
},
},
ContainerAppName: pulumi.String("testcontainerapptcp"),
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("rg"),
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Image: pulumi.String("repo/testcontainerapptcp:v1"),
Name: pulumi.String("testcontainerapptcp"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
InitialDelaySeconds: pulumi.Int(3),
PeriodSeconds: pulumi.Int(3),
TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
Port: pulumi.Int(8080),
},
Type: pulumi.String(app.TypeLiveness),
},
},
},
},
Scale: &app.ScaleArgs{
MaxReplicas: pulumi.Int(5),
MinReplicas: pulumi.Int(1),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
Name: pulumi.String("tcpscalingrule"),
Tcp: &app.TcpScaleRuleArgs{
Metadata: pulumi.StringMap{
"concurrentConnections": pulumi.String("50"),
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerApp;
import com.pulumi.azurenative.app.ContainerAppArgs;
import com.pulumi.azurenative.app.inputs.ConfigurationArgs;
import com.pulumi.azurenative.app.inputs.IngressArgs;
import com.pulumi.azurenative.app.inputs.TemplateArgs;
import com.pulumi.azurenative.app.inputs.ScaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerApp = new ContainerApp("containerApp", ContainerAppArgs.builder()
.configuration(ConfigurationArgs.builder()
.ingress(IngressArgs.builder()
.exposedPort(4000)
.external(true)
.targetPort(3000)
.traffic(TrafficWeightArgs.builder()
.revisionName("testcontainerapptcp-ab1234")
.weight(100)
.build())
.transport("tcp")
.build())
.build())
.containerAppName("testcontainerapptcp")
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.location("East US")
.resourceGroupName("rg")
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.image("repo/testcontainerapptcp:v1")
.name("testcontainerapptcp")
.probes(ContainerAppProbeArgs.builder()
.initialDelaySeconds(3)
.periodSeconds(3)
.tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
.port(8080)
.build())
.type("Liveness")
.build())
.build())
.scale(ScaleArgs.builder()
.maxReplicas(5)
.minReplicas(1)
.rules(ScaleRuleArgs.builder()
.name("tcpscalingrule")
.tcp(TcpScaleRuleArgs.builder()
.metadata(Map.of("concurrentConnections", "50"))
.build())
.build())
.build())
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
container_app = azure_native.app.ContainerApp("containerApp",
configuration={
"ingress": {
"exposed_port": 4000,
"external": True,
"target_port": 3000,
"traffic": [{
"revision_name": "testcontainerapptcp-ab1234",
"weight": 100,
}],
"transport": azure_native.app.IngressTransportMethod.TCP,
},
},
container_app_name="testcontainerapptcp",
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location="East US",
resource_group_name="rg",
template={
"containers": [{
"image": "repo/testcontainerapptcp:v1",
"name": "testcontainerapptcp",
"probes": [{
"initial_delay_seconds": 3,
"period_seconds": 3,
"tcp_socket": {
"port": 8080,
},
"type": azure_native.app.Type.LIVENESS,
}],
}],
"scale": {
"max_replicas": 5,
"min_replicas": 1,
"rules": [{
"name": "tcpscalingrule",
"tcp": {
"metadata": {
"concurrentConnections": "50",
},
},
}],
},
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerApp = new azure_native.app.ContainerApp("containerApp", {
configuration: {
ingress: {
exposedPort: 4000,
external: true,
targetPort: 3000,
traffic: [{
revisionName: "testcontainerapptcp-ab1234",
weight: 100,
}],
transport: azure_native.app.IngressTransportMethod.Tcp,
},
},
containerAppName: "testcontainerapptcp",
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
location: "East US",
resourceGroupName: "rg",
template: {
containers: [{
image: "repo/testcontainerapptcp:v1",
name: "testcontainerapptcp",
probes: [{
initialDelaySeconds: 3,
periodSeconds: 3,
tcpSocket: {
port: 8080,
},
type: azure_native.app.Type.Liveness,
}],
}],
scale: {
maxReplicas: 5,
minReplicas: 1,
rules: [{
name: "tcpscalingrule",
tcp: {
metadata: {
concurrentConnections: "50",
},
},
}],
},
},
});
resources:
containerApp:
type: azure-native:app:ContainerApp
properties:
configuration:
ingress:
exposedPort: 4000
external: true
targetPort: 3000
traffic:
- revisionName: testcontainerapptcp-ab1234
weight: 100
transport: tcp
containerAppName: testcontainerapptcp
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
location: East US
resourceGroupName: rg
template:
containers:
- image: repo/testcontainerapptcp:v1
name: testcontainerapptcp
probes:
- initialDelaySeconds: 3
periodSeconds: 3
tcpSocket:
port: 8080
type: Liveness
scale:
maxReplicas: 5
minReplicas: 1
rules:
- name: tcpscalingrule
tcp:
metadata:
concurrentConnections: '50'
Create ContainerApp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerApp(name: string, args: ContainerAppArgs, opts?: CustomResourceOptions);
@overload
def ContainerApp(resource_name: str,
args: ContainerAppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerApp(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
configuration: Optional[ConfigurationArgs] = None,
container_app_name: Optional[str] = None,
environment_id: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
location: Optional[str] = None,
managed_environment_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[TemplateArgs] = None,
workload_profile_type: Optional[str] = None)
func NewContainerApp(ctx *Context, name string, args ContainerAppArgs, opts ...ResourceOption) (*ContainerApp, error)
public ContainerApp(string name, ContainerAppArgs args, CustomResourceOptions? opts = null)
public ContainerApp(String name, ContainerAppArgs args)
public ContainerApp(String name, ContainerAppArgs args, CustomResourceOptions options)
type: azure-native:app:ContainerApp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerAppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var containerAppResource = new AzureNative.App.ContainerApp("containerAppResource", new()
{
ResourceGroupName = "string",
Configuration = new AzureNative.App.Inputs.ConfigurationArgs
{
ActiveRevisionsMode = "string",
Dapr = new AzureNative.App.Inputs.DaprArgs
{
AppId = "string",
AppPort = 0,
AppProtocol = "string",
EnableApiLogging = false,
Enabled = false,
HttpMaxRequestSize = 0,
HttpReadBufferSize = 0,
LogLevel = "string",
},
Ingress = new AzureNative.App.Inputs.IngressArgs
{
AllowInsecure = false,
ClientCertificateMode = "string",
CorsPolicy = new AzureNative.App.Inputs.CorsPolicyArgs
{
AllowedOrigins = new[]
{
"string",
},
AllowCredentials = false,
AllowedHeaders = new[]
{
"string",
},
AllowedMethods = new[]
{
"string",
},
ExposeHeaders = new[]
{
"string",
},
MaxAge = 0,
},
CustomDomains = new[]
{
new AzureNative.App.Inputs.CustomDomainArgs
{
Name = "string",
BindingType = "string",
CertificateId = "string",
},
},
ExposedPort = 0,
External = false,
IpSecurityRestrictions = new[]
{
new AzureNative.App.Inputs.IpSecurityRestrictionRuleArgs
{
Action = "string",
IpAddressRange = "string",
Name = "string",
Description = "string",
},
},
TargetPort = 0,
Traffic = new[]
{
new AzureNative.App.Inputs.TrafficWeightArgs
{
Label = "string",
LatestRevision = false,
RevisionName = "string",
Weight = 0,
},
},
Transport = "string",
},
MaxInactiveRevisions = 0,
Registries = new[]
{
new AzureNative.App.Inputs.RegistryCredentialsArgs
{
Identity = "string",
PasswordSecretRef = "string",
Server = "string",
Username = "string",
},
},
Secrets = new[]
{
new AzureNative.App.Inputs.SecretArgs
{
Identity = "string",
KeyVaultUrl = "string",
Name = "string",
Value = "string",
},
},
},
ContainerAppName = "string",
EnvironmentId = "string",
ExtendedLocation = new AzureNative.App.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
Identity = new AzureNative.App.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Location = "string",
ManagedEnvironmentId = "string",
Tags =
{
{ "string", "string" },
},
Template = new AzureNative.App.Inputs.TemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.ContainerArgs
{
Args = new[]
{
"string",
},
Command = new[]
{
"string",
},
Env = new[]
{
new AzureNative.App.Inputs.EnvironmentVarArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Image = "string",
Name = "string",
Probes = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeArgs
{
FailureThreshold = 0,
HttpGet = new AzureNative.App.Inputs.ContainerAppProbeHttpGetArgs
{
Port = 0,
Host = "string",
HttpHeaders = new[]
{
new AzureNative.App.Inputs.ContainerAppProbeHttpHeadersArgs
{
Name = "string",
Value = "string",
},
},
Path = "string",
Scheme = "string",
},
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TcpSocket = new AzureNative.App.Inputs.ContainerAppProbeTcpSocketArgs
{
Port = 0,
Host = "string",
},
TerminationGracePeriodSeconds = 0,
TimeoutSeconds = 0,
Type = "string",
},
},
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0,
Memory = "string",
},
VolumeMounts = new[]
{
new AzureNative.App.Inputs.VolumeMountArgs
{
MountPath = "string",
SubPath = "string",
VolumeName = "string",
},
},
},
},
InitContainers = new[]
{
new AzureNative.App.Inputs.InitContainerArgs
{
Args = new[]
{
"string",
},
Command = new[]
{
"string",
},
Env = new[]
{
new AzureNative.App.Inputs.EnvironmentVarArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Image = "string",
Name = "string",
Resources = new AzureNative.App.Inputs.ContainerResourcesArgs
{
Cpu = 0,
Memory = "string",
},
VolumeMounts = new[]
{
new AzureNative.App.Inputs.VolumeMountArgs
{
MountPath = "string",
SubPath = "string",
VolumeName = "string",
},
},
},
},
RevisionSuffix = "string",
Scale = new AzureNative.App.Inputs.ScaleArgs
{
MaxReplicas = 0,
MinReplicas = 0,
Rules = new[]
{
new AzureNative.App.Inputs.ScaleRuleArgs
{
AzureQueue = new AzureNative.App.Inputs.QueueScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
QueueLength = 0,
QueueName = "string",
},
Custom = new AzureNative.App.Inputs.CustomScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Metadata =
{
{ "string", "string" },
},
Type = "string",
},
Http = new AzureNative.App.Inputs.HttpScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Metadata =
{
{ "string", "string" },
},
},
Name = "string",
Tcp = new AzureNative.App.Inputs.TcpScaleRuleArgs
{
Auth = new[]
{
new AzureNative.App.Inputs.ScaleRuleAuthArgs
{
SecretRef = "string",
TriggerParameter = "string",
},
},
Metadata =
{
{ "string", "string" },
},
},
},
},
},
Volumes = new[]
{
new AzureNative.App.Inputs.VolumeArgs
{
MountOptions = "string",
Name = "string",
Secrets = new[]
{
new AzureNative.App.Inputs.SecretVolumeItemArgs
{
Path = "string",
SecretRef = "string",
},
},
StorageName = "string",
StorageType = "string",
},
},
},
WorkloadProfileType = "string",
});
example, err := app.NewContainerApp(ctx, "containerAppResource", &app.ContainerAppArgs{
ResourceGroupName: pulumi.String("string"),
Configuration: &app.ConfigurationArgs{
ActiveRevisionsMode: pulumi.String("string"),
Dapr: &app.DaprArgs{
AppId: pulumi.String("string"),
AppPort: pulumi.Int(0),
AppProtocol: pulumi.String("string"),
EnableApiLogging: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
HttpMaxRequestSize: pulumi.Int(0),
HttpReadBufferSize: pulumi.Int(0),
LogLevel: pulumi.String("string"),
},
Ingress: &app.IngressArgs{
AllowInsecure: pulumi.Bool(false),
ClientCertificateMode: pulumi.String("string"),
CorsPolicy: &app.CorsPolicyArgs{
AllowedOrigins: pulumi.StringArray{
pulumi.String("string"),
},
AllowCredentials: pulumi.Bool(false),
AllowedHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AllowedMethods: pulumi.StringArray{
pulumi.String("string"),
},
ExposeHeaders: pulumi.StringArray{
pulumi.String("string"),
},
MaxAge: pulumi.Int(0),
},
CustomDomains: app.CustomDomainArray{
&app.CustomDomainArgs{
Name: pulumi.String("string"),
BindingType: pulumi.String("string"),
CertificateId: pulumi.String("string"),
},
},
ExposedPort: pulumi.Int(0),
External: pulumi.Bool(false),
IpSecurityRestrictions: app.IpSecurityRestrictionRuleArray{
&app.IpSecurityRestrictionRuleArgs{
Action: pulumi.String("string"),
IpAddressRange: pulumi.String("string"),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
TargetPort: pulumi.Int(0),
Traffic: app.TrafficWeightArray{
&app.TrafficWeightArgs{
Label: pulumi.String("string"),
LatestRevision: pulumi.Bool(false),
RevisionName: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
Transport: pulumi.String("string"),
},
MaxInactiveRevisions: pulumi.Int(0),
Registries: app.RegistryCredentialsArray{
&app.RegistryCredentialsArgs{
Identity: pulumi.String("string"),
PasswordSecretRef: pulumi.String("string"),
Server: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Secrets: app.SecretArray{
&app.SecretArgs{
Identity: pulumi.String("string"),
KeyVaultUrl: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
ContainerAppName: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
ExtendedLocation: &app.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Identity: &app.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
ManagedEnvironmentId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Template: &app.TemplateArgs{
Containers: app.ContainerArray{
&app.ContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.StringArray{
pulumi.String("string"),
},
Env: app.EnvironmentVarArray{
&app.EnvironmentVarArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
Name: pulumi.String("string"),
Probes: app.ContainerAppProbeArray{
&app.ContainerAppProbeArgs{
FailureThreshold: pulumi.Int(0),
HttpGet: &app.ContainerAppProbeHttpGetArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
HttpHeaders: app.ContainerAppProbeHttpHeadersArray{
&app.ContainerAppProbeHttpHeadersArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Scheme: pulumi.String("string"),
},
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TcpSocket: &app.ContainerAppProbeTcpSocketArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
},
TerminationGracePeriodSeconds: pulumi.Float64(0),
TimeoutSeconds: pulumi.Int(0),
Type: pulumi.String("string"),
},
},
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0),
Memory: pulumi.String("string"),
},
VolumeMounts: app.VolumeMountArray{
&app.VolumeMountArgs{
MountPath: pulumi.String("string"),
SubPath: pulumi.String("string"),
VolumeName: pulumi.String("string"),
},
},
},
},
InitContainers: app.InitContainerArray{
&app.InitContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.StringArray{
pulumi.String("string"),
},
Env: app.EnvironmentVarArray{
&app.EnvironmentVarArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
Name: pulumi.String("string"),
Resources: &app.ContainerResourcesArgs{
Cpu: pulumi.Float64(0),
Memory: pulumi.String("string"),
},
VolumeMounts: app.VolumeMountArray{
&app.VolumeMountArgs{
MountPath: pulumi.String("string"),
SubPath: pulumi.String("string"),
VolumeName: pulumi.String("string"),
},
},
},
},
RevisionSuffix: pulumi.String("string"),
Scale: &app.ScaleArgs{
MaxReplicas: pulumi.Int(0),
MinReplicas: pulumi.Int(0),
Rules: app.ScaleRuleArray{
&app.ScaleRuleArgs{
AzureQueue: &app.QueueScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
QueueLength: pulumi.Int(0),
QueueName: pulumi.String("string"),
},
Custom: &app.CustomScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Type: pulumi.String("string"),
},
Http: &app.HttpScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Tcp: &app.TcpScaleRuleArgs{
Auth: app.ScaleRuleAuthArray{
&app.ScaleRuleAuthArgs{
SecretRef: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
},
},
Volumes: app.VolumeArray{
&app.VolumeArgs{
MountOptions: pulumi.String("string"),
Name: pulumi.String("string"),
Secrets: app.SecretVolumeItemArray{
&app.SecretVolumeItemArgs{
Path: pulumi.String("string"),
SecretRef: pulumi.String("string"),
},
},
StorageName: pulumi.String("string"),
StorageType: pulumi.String("string"),
},
},
},
WorkloadProfileType: pulumi.String("string"),
})
var containerAppResource = new ContainerApp("containerAppResource", ContainerAppArgs.builder()
.resourceGroupName("string")
.configuration(ConfigurationArgs.builder()
.activeRevisionsMode("string")
.dapr(DaprArgs.builder()
.appId("string")
.appPort(0)
.appProtocol("string")
.enableApiLogging(false)
.enabled(false)
.httpMaxRequestSize(0)
.httpReadBufferSize(0)
.logLevel("string")
.build())
.ingress(IngressArgs.builder()
.allowInsecure(false)
.clientCertificateMode("string")
.corsPolicy(CorsPolicyArgs.builder()
.allowedOrigins("string")
.allowCredentials(false)
.allowedHeaders("string")
.allowedMethods("string")
.exposeHeaders("string")
.maxAge(0)
.build())
.customDomains(CustomDomainArgs.builder()
.name("string")
.bindingType("string")
.certificateId("string")
.build())
.exposedPort(0)
.external(false)
.ipSecurityRestrictions(IpSecurityRestrictionRuleArgs.builder()
.action("string")
.ipAddressRange("string")
.name("string")
.description("string")
.build())
.targetPort(0)
.traffic(TrafficWeightArgs.builder()
.label("string")
.latestRevision(false)
.revisionName("string")
.weight(0)
.build())
.transport("string")
.build())
.maxInactiveRevisions(0)
.registries(RegistryCredentialsArgs.builder()
.identity("string")
.passwordSecretRef("string")
.server("string")
.username("string")
.build())
.secrets(SecretArgs.builder()
.identity("string")
.keyVaultUrl("string")
.name("string")
.value("string")
.build())
.build())
.containerAppName("string")
.environmentId("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.location("string")
.managedEnvironmentId("string")
.tags(Map.of("string", "string"))
.template(TemplateArgs.builder()
.containers(ContainerArgs.builder()
.args("string")
.command("string")
.env(EnvironmentVarArgs.builder()
.name("string")
.secretRef("string")
.value("string")
.build())
.image("string")
.name("string")
.probes(ContainerAppProbeArgs.builder()
.failureThreshold(0)
.httpGet(ContainerAppProbeHttpGetArgs.builder()
.port(0)
.host("string")
.httpHeaders(ContainerAppProbeHttpHeadersArgs.builder()
.name("string")
.value("string")
.build())
.path("string")
.scheme("string")
.build())
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.tcpSocket(ContainerAppProbeTcpSocketArgs.builder()
.port(0)
.host("string")
.build())
.terminationGracePeriodSeconds(0)
.timeoutSeconds(0)
.type("string")
.build())
.resources(ContainerResourcesArgs.builder()
.cpu(0)
.memory("string")
.build())
.volumeMounts(VolumeMountArgs.builder()
.mountPath("string")
.subPath("string")
.volumeName("string")
.build())
.build())
.initContainers(InitContainerArgs.builder()
.args("string")
.command("string")
.env(EnvironmentVarArgs.builder()
.name("string")
.secretRef("string")
.value("string")
.build())
.image("string")
.name("string")
.resources(ContainerResourcesArgs.builder()
.cpu(0)
.memory("string")
.build())
.volumeMounts(VolumeMountArgs.builder()
.mountPath("string")
.subPath("string")
.volumeName("string")
.build())
.build())
.revisionSuffix("string")
.scale(ScaleArgs.builder()
.maxReplicas(0)
.minReplicas(0)
.rules(ScaleRuleArgs.builder()
.azureQueue(QueueScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.queueLength(0)
.queueName("string")
.build())
.custom(CustomScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.metadata(Map.of("string", "string"))
.type("string")
.build())
.http(HttpScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.metadata(Map.of("string", "string"))
.build())
.name("string")
.tcp(TcpScaleRuleArgs.builder()
.auth(ScaleRuleAuthArgs.builder()
.secretRef("string")
.triggerParameter("string")
.build())
.metadata(Map.of("string", "string"))
.build())
.build())
.build())
.volumes(VolumeArgs.builder()
.mountOptions("string")
.name("string")
.secrets(SecretVolumeItemArgs.builder()
.path("string")
.secretRef("string")
.build())
.storageName("string")
.storageType("string")
.build())
.build())
.workloadProfileType("string")
.build());
container_app_resource = azure_native.app.ContainerApp("containerAppResource",
resource_group_name="string",
configuration={
"active_revisions_mode": "string",
"dapr": {
"app_id": "string",
"app_port": 0,
"app_protocol": "string",
"enable_api_logging": False,
"enabled": False,
"http_max_request_size": 0,
"http_read_buffer_size": 0,
"log_level": "string",
},
"ingress": {
"allow_insecure": False,
"client_certificate_mode": "string",
"cors_policy": {
"allowed_origins": ["string"],
"allow_credentials": False,
"allowed_headers": ["string"],
"allowed_methods": ["string"],
"expose_headers": ["string"],
"max_age": 0,
},
"custom_domains": [{
"name": "string",
"binding_type": "string",
"certificate_id": "string",
}],
"exposed_port": 0,
"external": False,
"ip_security_restrictions": [{
"action": "string",
"ip_address_range": "string",
"name": "string",
"description": "string",
}],
"target_port": 0,
"traffic": [{
"label": "string",
"latest_revision": False,
"revision_name": "string",
"weight": 0,
}],
"transport": "string",
},
"max_inactive_revisions": 0,
"registries": [{
"identity": "string",
"password_secret_ref": "string",
"server": "string",
"username": "string",
}],
"secrets": [{
"identity": "string",
"key_vault_url": "string",
"name": "string",
"value": "string",
}],
},
container_app_name="string",
environment_id="string",
extended_location={
"name": "string",
"type": "string",
},
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
location="string",
managed_environment_id="string",
tags={
"string": "string",
},
template={
"containers": [{
"args": ["string"],
"command": ["string"],
"env": [{
"name": "string",
"secret_ref": "string",
"value": "string",
}],
"image": "string",
"name": "string",
"probes": [{
"failure_threshold": 0,
"http_get": {
"port": 0,
"host": "string",
"http_headers": [{
"name": "string",
"value": "string",
}],
"path": "string",
"scheme": "string",
},
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"tcp_socket": {
"port": 0,
"host": "string",
},
"termination_grace_period_seconds": 0,
"timeout_seconds": 0,
"type": "string",
}],
"resources": {
"cpu": 0,
"memory": "string",
},
"volume_mounts": [{
"mount_path": "string",
"sub_path": "string",
"volume_name": "string",
}],
}],
"init_containers": [{
"args": ["string"],
"command": ["string"],
"env": [{
"name": "string",
"secret_ref": "string",
"value": "string",
}],
"image": "string",
"name": "string",
"resources": {
"cpu": 0,
"memory": "string",
},
"volume_mounts": [{
"mount_path": "string",
"sub_path": "string",
"volume_name": "string",
}],
}],
"revision_suffix": "string",
"scale": {
"max_replicas": 0,
"min_replicas": 0,
"rules": [{
"azure_queue": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"queue_length": 0,
"queue_name": "string",
},
"custom": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"metadata": {
"string": "string",
},
"type": "string",
},
"http": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"metadata": {
"string": "string",
},
},
"name": "string",
"tcp": {
"auth": [{
"secret_ref": "string",
"trigger_parameter": "string",
}],
"metadata": {
"string": "string",
},
},
}],
},
"volumes": [{
"mount_options": "string",
"name": "string",
"secrets": [{
"path": "string",
"secret_ref": "string",
}],
"storage_name": "string",
"storage_type": "string",
}],
},
workload_profile_type="string")
const containerAppResource = new azure_native.app.ContainerApp("containerAppResource", {
resourceGroupName: "string",
configuration: {
activeRevisionsMode: "string",
dapr: {
appId: "string",
appPort: 0,
appProtocol: "string",
enableApiLogging: false,
enabled: false,
httpMaxRequestSize: 0,
httpReadBufferSize: 0,
logLevel: "string",
},
ingress: {
allowInsecure: false,
clientCertificateMode: "string",
corsPolicy: {
allowedOrigins: ["string"],
allowCredentials: false,
allowedHeaders: ["string"],
allowedMethods: ["string"],
exposeHeaders: ["string"],
maxAge: 0,
},
customDomains: [{
name: "string",
bindingType: "string",
certificateId: "string",
}],
exposedPort: 0,
external: false,
ipSecurityRestrictions: [{
action: "string",
ipAddressRange: "string",
name: "string",
description: "string",
}],
targetPort: 0,
traffic: [{
label: "string",
latestRevision: false,
revisionName: "string",
weight: 0,
}],
transport: "string",
},
maxInactiveRevisions: 0,
registries: [{
identity: "string",
passwordSecretRef: "string",
server: "string",
username: "string",
}],
secrets: [{
identity: "string",
keyVaultUrl: "string",
name: "string",
value: "string",
}],
},
containerAppName: "string",
environmentId: "string",
extendedLocation: {
name: "string",
type: "string",
},
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
location: "string",
managedEnvironmentId: "string",
tags: {
string: "string",
},
template: {
containers: [{
args: ["string"],
command: ["string"],
env: [{
name: "string",
secretRef: "string",
value: "string",
}],
image: "string",
name: "string",
probes: [{
failureThreshold: 0,
httpGet: {
port: 0,
host: "string",
httpHeaders: [{
name: "string",
value: "string",
}],
path: "string",
scheme: "string",
},
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
tcpSocket: {
port: 0,
host: "string",
},
terminationGracePeriodSeconds: 0,
timeoutSeconds: 0,
type: "string",
}],
resources: {
cpu: 0,
memory: "string",
},
volumeMounts: [{
mountPath: "string",
subPath: "string",
volumeName: "string",
}],
}],
initContainers: [{
args: ["string"],
command: ["string"],
env: [{
name: "string",
secretRef: "string",
value: "string",
}],
image: "string",
name: "string",
resources: {
cpu: 0,
memory: "string",
},
volumeMounts: [{
mountPath: "string",
subPath: "string",
volumeName: "string",
}],
}],
revisionSuffix: "string",
scale: {
maxReplicas: 0,
minReplicas: 0,
rules: [{
azureQueue: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
queueLength: 0,
queueName: "string",
},
custom: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
metadata: {
string: "string",
},
type: "string",
},
http: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
metadata: {
string: "string",
},
},
name: "string",
tcp: {
auth: [{
secretRef: "string",
triggerParameter: "string",
}],
metadata: {
string: "string",
},
},
}],
},
volumes: [{
mountOptions: "string",
name: "string",
secrets: [{
path: "string",
secretRef: "string",
}],
storageName: "string",
storageType: "string",
}],
},
workloadProfileType: "string",
});
type: azure-native:app:ContainerApp
properties:
configuration:
activeRevisionsMode: string
dapr:
appId: string
appPort: 0
appProtocol: string
enableApiLogging: false
enabled: false
httpMaxRequestSize: 0
httpReadBufferSize: 0
logLevel: string
ingress:
allowInsecure: false
clientCertificateMode: string
corsPolicy:
allowCredentials: false
allowedHeaders:
- string
allowedMethods:
- string
allowedOrigins:
- string
exposeHeaders:
- string
maxAge: 0
customDomains:
- bindingType: string
certificateId: string
name: string
exposedPort: 0
external: false
ipSecurityRestrictions:
- action: string
description: string
ipAddressRange: string
name: string
targetPort: 0
traffic:
- label: string
latestRevision: false
revisionName: string
weight: 0
transport: string
maxInactiveRevisions: 0
registries:
- identity: string
passwordSecretRef: string
server: string
username: string
secrets:
- identity: string
keyVaultUrl: string
name: string
value: string
containerAppName: string
environmentId: string
extendedLocation:
name: string
type: string
identity:
type: string
userAssignedIdentities:
- string
location: string
managedEnvironmentId: string
resourceGroupName: string
tags:
string: string
template:
containers:
- args:
- string
command:
- string
env:
- name: string
secretRef: string
value: string
image: string
name: string
probes:
- failureThreshold: 0
httpGet:
host: string
httpHeaders:
- name: string
value: string
path: string
port: 0
scheme: string
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
tcpSocket:
host: string
port: 0
terminationGracePeriodSeconds: 0
timeoutSeconds: 0
type: string
resources:
cpu: 0
memory: string
volumeMounts:
- mountPath: string
subPath: string
volumeName: string
initContainers:
- args:
- string
command:
- string
env:
- name: string
secretRef: string
value: string
image: string
name: string
resources:
cpu: 0
memory: string
volumeMounts:
- mountPath: string
subPath: string
volumeName: string
revisionSuffix: string
scale:
maxReplicas: 0
minReplicas: 0
rules:
- azureQueue:
auth:
- secretRef: string
triggerParameter: string
queueLength: 0
queueName: string
custom:
auth:
- secretRef: string
triggerParameter: string
metadata:
string: string
type: string
http:
auth:
- secretRef: string
triggerParameter: string
metadata:
string: string
name: string
tcp:
auth:
- secretRef: string
triggerParameter: string
metadata:
string: string
volumes:
- mountOptions: string
name: string
secrets:
- path: string
secretRef: string
storageName: string
storageType: string
workloadProfileType: string
ContainerApp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ContainerApp resource accepts the following input properties:
- 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.
- Location string
- The geo-location where the resource lives
- Managed
Environment stringId - Deprecated. Resource ID of the Container App's environment.
- Dictionary<string, string>
- Resource tags.
- Template
Pulumi.
Azure Native. App. Inputs. Template - Container App versioned application definition.
- Workload
Profile stringType - Workload profile type 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.
- Location string
- The geo-location where the resource lives
- Managed
Environment stringId - Deprecated. Resource ID of the Container App's environment.
- map[string]string
- Resource tags.
- Template
Template
Args - Container App versioned application definition.
- Workload
Profile stringType - Workload profile type 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.
- location String
- The geo-location where the resource lives
- managed
Environment StringId - Deprecated. Resource ID of the Container App's environment.
- Map<String,String>
- Resource tags.
- template Template
- Container App versioned application definition.
- workload
Profile StringType - Workload profile type 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.
- location string
- The geo-location where the resource lives
- managed
Environment stringId - Deprecated. Resource ID of the Container App's environment.
- {[key: string]: string}
- Resource tags.
- template Template
- Container App versioned application definition.
- workload
Profile stringType - Workload profile type 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.
- location str
- The geo-location where the resource lives
- managed_
environment_ strid - Deprecated. Resource ID of the Container App's environment.
- Mapping[str, str]
- Resource tags.
- template
Template
Args - Container App versioned application definition.
- workload_
profile_ strtype - Workload profile type 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.
- location String
- The geo-location where the resource lives
- managed
Environment StringId - Deprecated. Resource ID of the Container App's environment.
- Map<String>
- Resource tags.
- template Property Map
- Container App versioned application definition.
- workload
Profile StringType - Workload profile type to pin for container app execution.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerApp resource produces the following output properties:
- Custom
Domain stringVerification Id - Id used to verify domain name ownership
- 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.
- 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"
- Custom
Domain stringVerification Id - Id used to verify domain name ownership
- 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.
- 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"
- custom
Domain StringVerification Id - Id used to verify domain name ownership
- 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.
- 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"
- custom
Domain stringVerification Id - Id used to verify domain name ownership
- 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.
- 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"
- custom_
domain_ strverification_ id - Id used to verify domain name ownership
- 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.
- 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"
- custom
Domain StringVerification Id - Id used to verify domain name ownership
- 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.
- 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
- Active
Revisions Mode Multiple - Multiple
- Active
Revisions Mode Single - Single
- Multiple
- Multiple
- Single
- Single
- Multiple
- Multiple
- Single
- Single
- MULTIPLE
- Multiple
- SINGLE
- Single
- "Multiple"
- Multiple
- "Single"
- Single
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
- Binding
Type Disabled - Disabled
- Binding
Type Sni Enabled - SniEnabled
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- DISABLED
- Disabled
- SNI_ENABLED
- SniEnabled
- "Disabled"
- Disabled
- "Sni
Enabled" - SniEnabled
Configuration, ConfigurationArgs
- Active
Revisions string | Pulumi.Mode Azure Native. App. Active Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- Dapr
Pulumi.
Azure Native. App. Inputs. Dapr - Dapr configuration for the Container App.
- 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
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Secret> - Collection of secrets used by a Container app
- Active
Revisions string | ActiveMode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- Dapr Dapr
- Dapr configuration for the Container App.
- Ingress Ingress
- Ingress configurations.
- Max
Inactive 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
- Secrets []Secret
- Collection of secrets used by a Container app
- active
Revisions String | ActiveMode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr Dapr
- Dapr configuration for the Container App.
- ingress Ingress
- Ingress configurations.
- max
Inactive 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
- secrets List<Secret>
- Collection of secrets used by a Container app
- active
Revisions string | ActiveMode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr Dapr
- Dapr configuration for the Container App.
- ingress Ingress
- Ingress configurations.
- max
Inactive 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
- secrets Secret[]
- Collection of secrets used by a Container app
- active_
revisions_ str | Activemode Revisions Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr Dapr
- Dapr configuration for the Container App.
- ingress Ingress
- Ingress configurations.
- max_
inactive_ 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
- secrets Sequence[Secret]
- Collection of secrets used by a Container app
- active
Revisions String | "Multiple" | "Single"Mode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr Property Map
- Dapr configuration for the Container App.
- ingress Property Map
- Ingress configurations.
- 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
- secrets List<Property Map>
- Collection of secrets used by a Container app
ConfigurationResponse, ConfigurationResponseArgs
- Active
Revisions stringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- Dapr
Pulumi.
Azure Native. App. Inputs. Dapr Response - Dapr configuration for the Container App.
- 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
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Secret Response> - Collection of secrets used by a Container app
- Active
Revisions stringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- Dapr
Dapr
Response - Dapr configuration for the Container App.
- 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
- Secrets
[]Secret
Response - Collection of secrets used by a Container app
- active
Revisions StringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- 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
- secrets
List<Secret
Response> - Collection of secrets used by a Container app
- active
Revisions stringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- 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
- secrets
Secret
Response[] - Collection of secrets used by a Container app
- active_
revisions_ strmode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr
Dapr
Response - Dapr configuration for the Container App.
- 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
- secrets
Sequence[Secret
Response] - Collection of secrets used by a Container app
- active
Revisions StringMode - ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
- dapr Property Map
- Dapr configuration for the Container App.
- ingress Property Map
- Ingress configurations.
- 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
- secrets List<Property Map>
- Collection of secrets used by a Container app
Container, ContainerArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var> - Container environment variables.
- Image string
- Container image tag.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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
ContainerResources, ContainerResourcesArgs
ContainerResourcesResponse, ContainerResourcesResponseArgs
- Ephemeral
Storage string - Ephemeral Storage, e.g. "1Gi"
- Cpu double
- Required CPU in cores, e.g. 0.5
- 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
- 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
- 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
- memory string
- Required memory, e.g. "250Mb"
- ephemeral_
storage str - Ephemeral Storage, e.g. "1Gi"
- cpu float
- Required CPU in cores, e.g. 0.5
- memory str
- Required memory, e.g. "250Mb"
- ephemeral
Storage String - Ephemeral Storage, e.g. "1Gi"
- cpu Number
- Required CPU in cores, e.g. 0.5
- memory String
- Required memory, e.g. "250Mb"
ContainerResponse, ContainerResponseArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var Response> - Container environment variables.
- Image string
- Container image tag.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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> - allowed origins
- Allow
Credentials bool - allow credential or not
- Allowed
Headers List<string> - allowed HTTP headers
- Allowed
Methods List<string> - allowed HTTP methods
- Expose
Headers List<string> - expose HTTP headers
- Max
Age int - max time client can cache the result
- Allowed
Origins []string - allowed origins
- Allow
Credentials bool - allow credential or not
- Allowed
Headers []string - allowed HTTP headers
- Allowed
Methods []string - allowed HTTP methods
- Expose
Headers []string - expose HTTP headers
- Max
Age int - max time client can cache the result
- allowed
Origins List<String> - allowed origins
- allow
Credentials Boolean - allow credential or not
- allowed
Headers List<String> - allowed HTTP headers
- allowed
Methods List<String> - allowed HTTP methods
- expose
Headers List<String> - expose HTTP headers
- max
Age Integer - max time client can cache the result
- allowed
Origins string[] - allowed origins
- allow
Credentials boolean - allow credential or not
- allowed
Headers string[] - allowed HTTP headers
- allowed
Methods string[] - allowed HTTP methods
- expose
Headers string[] - expose HTTP headers
- max
Age number - max time client can cache the result
- allowed_
origins Sequence[str] - allowed origins
- allow_
credentials bool - allow credential or not
- allowed_
headers Sequence[str] - allowed HTTP headers
- allowed_
methods Sequence[str] - allowed HTTP methods
- expose_
headers Sequence[str] - expose HTTP headers
- max_
age int - max time client can cache the result
- allowed
Origins List<String> - allowed origins
- allow
Credentials Boolean - allow credential or not
- allowed
Headers List<String> - allowed HTTP headers
- allowed
Methods List<String> - allowed HTTP methods
- expose
Headers List<String> - expose HTTP headers
- max
Age Number - max time client can cache the result
CorsPolicyResponse, CorsPolicyResponseArgs
- Allowed
Origins List<string> - allowed origins
- Allow
Credentials bool - allow credential or not
- Allowed
Headers List<string> - allowed HTTP headers
- Allowed
Methods List<string> - allowed HTTP methods
- Expose
Headers List<string> - expose HTTP headers
- Max
Age int - max time client can cache the result
- Allowed
Origins []string - allowed origins
- Allow
Credentials bool - allow credential or not
- Allowed
Headers []string - allowed HTTP headers
- Allowed
Methods []string - allowed HTTP methods
- Expose
Headers []string - expose HTTP headers
- Max
Age int - max time client can cache the result
- allowed
Origins List<String> - allowed origins
- allow
Credentials Boolean - allow credential or not
- allowed
Headers List<String> - allowed HTTP headers
- allowed
Methods List<String> - allowed HTTP methods
- expose
Headers List<String> - expose HTTP headers
- max
Age Integer - max time client can cache the result
- allowed
Origins string[] - allowed origins
- allow
Credentials boolean - allow credential or not
- allowed
Headers string[] - allowed HTTP headers
- allowed
Methods string[] - allowed HTTP methods
- expose
Headers string[] - expose HTTP headers
- max
Age number - max time client can cache the result
- allowed_
origins Sequence[str] - allowed origins
- allow_
credentials bool - allow credential or not
- allowed_
headers Sequence[str] - allowed HTTP headers
- allowed_
methods Sequence[str] - allowed HTTP methods
- expose_
headers Sequence[str] - expose HTTP headers
- max_
age int - max time client can cache the result
- allowed
Origins List<String> - allowed origins
- allow
Credentials Boolean - allow credential or not
- allowed
Headers List<String> - allowed HTTP headers
- allowed
Methods List<String> - allowed HTTP methods
- expose
Headers List<String> - expose HTTP headers
- max
Age Number - max time client can cache the result
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.
- 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.
- 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.
- 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.
- name str
- Hostname.
- binding_
type str | BindingType - Custom Domain binding type.
- certificate_
id str - Resource Id of the Certificate to be bound to this hostname.
- name String
- Hostname.
- binding
Type String | "Disabled" | "SniEnabled" - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname.
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.
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname.
- name string
- Hostname.
- binding
Type string - Custom Domain binding type.
- certificate
Id string - Resource Id of the Certificate to be bound to this hostname.
- name str
- Hostname.
- binding_
type str - Custom Domain binding type.
- certificate_
id str - Resource Id of the Certificate to be bound to this hostname.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname.
CustomScaleRule, CustomScaleRuleArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth> - Authentication secrets for the custom scale rule.
- Metadata Dictionary<string, string>
- Metadata properties to describe custom scale rule.
- Type string
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- Auth
[]Scale
Rule Auth - Authentication secrets for the custom scale rule.
- Metadata map[string]string
- Metadata properties to describe custom scale rule.
- Type string
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth
List<Scale
Rule Auth> - Authentication secrets for the custom scale rule.
- metadata Map<String,String>
- Metadata properties to describe custom scale rule.
- type String
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth
Scale
Rule Auth[] - Authentication secrets for the custom scale rule.
- metadata {[key: string]: string}
- Metadata properties to describe custom scale rule.
- type string
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth
Sequence[Scale
Rule Auth] - Authentication secrets for the custom scale rule.
- metadata Mapping[str, str]
- Metadata properties to describe custom scale rule.
- type str
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth List<Property Map>
- Authentication secrets for the custom scale rule.
- metadata Map<String>
- Metadata properties to describe custom scale rule.
- type String
- Type of the custom scale rule eg: azure-servicebus, redis etc.
CustomScaleRuleResponse, CustomScaleRuleResponseArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the custom scale rule.
- Metadata Dictionary<string, string>
- Metadata properties to describe custom scale rule.
- Type string
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the custom scale rule.
- Metadata map[string]string
- Metadata properties to describe custom scale rule.
- Type string
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the custom scale rule.
- metadata Map<String,String>
- Metadata properties to describe custom scale rule.
- type String
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the custom scale rule.
- metadata {[key: string]: string}
- Metadata properties to describe custom scale rule.
- type string
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth
Sequence[Scale
Rule Auth Response] - Authentication secrets for the custom scale rule.
- metadata Mapping[str, str]
- Metadata properties to describe custom scale rule.
- type str
- Type of the custom scale rule eg: azure-servicebus, redis etc.
- auth List<Property Map>
- Authentication secrets for the custom scale rule.
- metadata Map<String>
- Metadata properties to describe custom scale rule.
- type String
- Type of the custom scale rule eg: azure-servicebus, redis etc.
Dapr, DaprArgs
- App
Id string - Dapr application identifier
- App
Port int - 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.
- 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.
- 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.
- 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.
- 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.
- 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.
DaprResponse, DaprResponseArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
- Metadata Dictionary<string, string>
- Metadata properties to describe http scale rule.
- Auth
[]Scale
Rule Auth - Authentication secrets for the custom scale rule.
- Metadata map[string]string
- Metadata properties to describe http scale rule.
- auth
List<Scale
Rule Auth> - Authentication secrets for the custom scale rule.
- metadata Map<String,String>
- Metadata properties to describe http scale rule.
- auth
Scale
Rule Auth[] - Authentication secrets for the custom scale rule.
- metadata {[key: string]: string}
- Metadata properties to describe http scale rule.
- auth
Sequence[Scale
Rule Auth] - Authentication secrets for the custom scale rule.
- metadata Mapping[str, str]
- Metadata properties to describe http scale rule.
- auth List<Property Map>
- Authentication secrets for the custom scale rule.
- metadata Map<String>
- Metadata properties to describe http scale rule.
HttpScaleRuleResponse, HttpScaleRuleResponseArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the custom scale rule.
- Metadata Dictionary<string, string>
- Metadata properties to describe http scale rule.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the custom scale rule.
- Metadata map[string]string
- Metadata properties to describe http scale rule.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the custom scale rule.
- metadata Map<String,String>
- Metadata properties to describe http scale rule.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the custom scale rule.
- metadata {[key: string]: string}
- Metadata properties to describe http scale rule.
- auth
Sequence[Scale
Rule Auth Response] - Authentication secrets for the custom scale rule.
- metadata Mapping[str, str]
- Metadata properties to describe http scale rule.
- auth List<Property Map>
- Authentication secrets for the custom scale rule.
- metadata Map<String>
- Metadata properties to describe http scale rule.
Ingress, IngressArgs
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- Target
Port int - Target Port in containers for traffic from ingress
- 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
- 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.
- Target
Port int - Target Port in containers for traffic from ingress
- Traffic
[]Traffic
Weight - Traffic weights for app's revisions
- Transport
string | Ingress
Transport Method - Ingress transport protocol
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target
Port Integer - Target Port in containers for traffic from ingress
- traffic
List<Traffic
Weight> - Traffic weights for app's revisions
- transport
String | Ingress
Transport Method - Ingress transport protocol
- allow
Insecure boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target
Port number - Target Port in containers for traffic from ingress
- traffic
Traffic
Weight[] - Traffic weights for app's revisions
- transport
string | Ingress
Transport Method - Ingress transport protocol
- allow_
insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target_
port int - Target Port in containers for traffic from ingress
- traffic
Sequence[Traffic
Weight] - Traffic weights for app's revisions
- transport
str | Ingress
Transport Method - Ingress transport protocol
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target
Port Number - Target Port in containers for traffic from ingress
- traffic List<Property Map>
- Traffic weights for app's revisions
- transport String | "auto" | "http" | "http2" | "tcp"
- Ingress transport protocol
IngressClientCertificateMode, IngressClientCertificateModeArgs
- Ignore
- ignore
- Accept
- accept
- Require
- require
- 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
IngressResponse, IngressResponseArgs
- Fqdn string
- Hostname.
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- Target
Port int - Target Port in containers for traffic from ingress
- Traffic
List<Pulumi.
Azure Native. App. Inputs. Traffic Weight Response> - Traffic weights for app's revisions
- Transport string
- Ingress transport protocol
- Fqdn string
- Hostname.
- Allow
Insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- Target
Port int - Target Port in containers for traffic from ingress
- Traffic
[]Traffic
Weight Response - Traffic weights for app's revisions
- Transport string
- Ingress transport protocol
- fqdn String
- Hostname.
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target
Port Integer - Target Port in containers for traffic from ingress
- traffic
List<Traffic
Weight Response> - Traffic weights for app's revisions
- transport String
- Ingress transport protocol
- fqdn string
- Hostname.
- allow
Insecure boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target
Port number - Target Port in containers for traffic from ingress
- traffic
Traffic
Weight Response[] - Traffic weights for app's revisions
- transport string
- Ingress transport protocol
- fqdn str
- Hostname.
- allow_
insecure bool - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- client_
certificate_ 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.
- target_
port int - Target Port in containers for traffic from ingress
- traffic
Sequence[Traffic
Weight Response] - Traffic weights for app's revisions
- transport str
- Ingress transport protocol
- fqdn String
- Hostname.
- allow
Insecure Boolean - Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
- 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.
- target
Port Number - Target Port in containers for traffic from ingress
- traffic List<Property Map>
- Traffic weights for app's revisions
- transport String
- Ingress transport protocol
IngressTransportMethod, IngressTransportMethodArgs
- Auto
- auto
- Http
- http
- Http2
- http2
- Tcp
- tcp
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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
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
QueueScaleRule, QueueScaleRuleArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth> - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- Auth
[]Scale
Rule Auth - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- auth
List<Scale
Rule Auth> - Authentication secrets for the queue scale rule.
- queue
Length Integer - Queue length.
- queue
Name String - Queue name.
- auth
Scale
Rule Auth[] - Authentication secrets for the queue scale rule.
- queue
Length number - Queue length.
- queue
Name string - Queue name.
- auth
Sequence[Scale
Rule Auth] - Authentication secrets for the queue scale rule.
- queue_
length int - Queue length.
- queue_
name str - Queue name.
- auth List<Property Map>
- Authentication secrets for the queue scale rule.
- queue
Length Number - Queue length.
- queue
Name String - Queue name.
QueueScaleRuleResponse, QueueScaleRuleResponseArgs
- Auth
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Auth Response> - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- Auth
[]Scale
Rule Auth Response - Authentication secrets for the queue scale rule.
- Queue
Length int - Queue length.
- Queue
Name string - Queue name.
- auth
List<Scale
Rule Auth Response> - Authentication secrets for the queue scale rule.
- queue
Length Integer - Queue length.
- queue
Name String - Queue name.
- auth
Scale
Rule Auth Response[] - Authentication secrets for the queue scale rule.
- queue
Length number - Queue length.
- queue
Name string - Queue name.
- auth
Sequence[Scale
Rule Auth Response] - Authentication secrets for the queue scale rule.
- queue_
length int - Queue length.
- queue_
name str - Queue name.
- auth List<Property Map>
- Authentication secrets for the queue scale rule.
- queue
Length Number - Queue length.
- queue
Name String - Queue name.
RegistryCredentials, RegistryCredentialsArgs
- 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
Scale, ScaleArgs
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Scale Rule> - Scaling rules.
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Rules
[]Scale
Rule - Scaling rules.
- max
Replicas Integer - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Integer - Optional. Minimum number of container replicas.
- rules
List<Scale
Rule> - Scaling rules.
- max
Replicas number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas number - Optional. Minimum number of container replicas.
- rules
Scale
Rule[] - Scaling rules.
- max_
replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min_
replicas int - Optional. Minimum number of container replicas.
- rules
Sequence[Scale
Rule] - Scaling rules.
- max
Replicas Number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Number - Optional. Minimum number of container replicas.
- rules List<Property Map>
- Scaling rules.
ScaleResponse, ScaleResponseArgs
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Scale Rule Response> - Scaling rules.
- Max
Replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- Min
Replicas int - Optional. Minimum number of container replicas.
- Rules
[]Scale
Rule Response - Scaling rules.
- max
Replicas Integer - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Integer - Optional. Minimum number of container replicas.
- rules
List<Scale
Rule Response> - Scaling rules.
- max
Replicas number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas number - Optional. Minimum number of container replicas.
- rules
Scale
Rule Response[] - Scaling rules.
- max_
replicas int - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min_
replicas int - Optional. Minimum number of container replicas.
- rules
Sequence[Scale
Rule Response] - Scaling rules.
- max
Replicas Number - Optional. Maximum number of container replicas. Defaults to 10 if not set.
- min
Replicas Number - Optional. Minimum number of container replicas.
- rules List<Property Map>
- Scaling rules.
ScaleRule, ScaleRuleArgs
- Azure
Queue Pulumi.Azure Native. 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.