Azure Container Apps · JSON Structure
Azure Container Apps Configuration Structure
Non-versioned Container App configuration properties.
Type: object
Properties: 6
AzureContainersDaprKubernetesMicroservicesServerless
Configuration is a JSON Structure definition published by Azure Container Apps, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
secrets
activeRevisionsMode
ingress
registries
dapr
maxInactiveRevisions
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-apps/refs/heads/main/json-structure/azure-container-apps-configuration-structure.json",
"description": "Non-versioned Container App configuration properties.",
"type": "object",
"properties": {
"secrets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Secret"
}
},
"activeRevisionsMode": {
"type": "string",
"enum": [
"Multiple",
"Single"
]
},
"ingress": {
"type": "object",
"properties": {
"fqdn": {
"type": "string",
"readOnly": true
},
"external": {
"type": "boolean",
"default": false
},
"targetPort": {
"type": "int32"
},
"exposedPort": {
"type": "int32"
},
"transport": {
"type": "string",
"enum": [
"auto",
"http",
"http2",
"tcp"
],
"default": "auto"
},
"traffic": {
"type": "array",
"items": {
"type": "object",
"properties": {
"revisionName": {
"type": "string"
},
"weight": {
"type": "int32"
},
"latestRevision": {
"type": "boolean"
},
"label": {
"type": "string"
}
}
}
},
"customDomains": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"bindingType": {
"type": "string",
"enum": [
"Disabled",
"SniEnabled"
]
},
"certificateId": {
"type": "string"
}
}
}
},
"allowInsecure": {
"type": "boolean",
"default": false
},
"ipSecurityRestrictions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"ipAddressRange": {
"type": "string"
},
"action": {
"type": "string",
"enum": [
"Allow",
"Deny"
]
}
}
}
},
"stickySessions": {
"type": "object",
"properties": {
"affinity": {
"type": "string",
"enum": [
"sticky",
"none"
]
}
}
},
"clientCertificateMode": {
"type": "string",
"enum": [
"accept",
"require",
"ignore"
]
},
"corsPolicy": {
"type": "object",
"properties": {
"allowedOrigins": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedMethods": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedHeaders": {
"type": "array",
"items": {
"type": "string"
}
},
"exposeHeaders": {
"type": "array",
"items": {
"type": "string"
}
},
"maxAge": {
"type": "int32"
},
"allowCredentials": {
"type": "boolean"
}
}
}
}
},
"registries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"server": {
"type": "string"
},
"username": {
"type": "string"
},
"passwordSecretRef": {
"type": "string"
},
"identity": {
"type": "string"
}
}
}
},
"dapr": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"appId": {
"type": "string"
},
"appProtocol": {
"type": "string",
"enum": [
"http",
"grpc"
]
},
"appPort": {
"type": "int32"
},
"httpReadBufferSize": {
"type": "int32"
},
"httpMaxRequestSize": {
"type": "int32"
},
"logLevel": {
"type": "string",
"enum": [
"info",
"debug",
"warn",
"error"
]
},
"enableApiLogging": {
"type": "boolean"
}
}
},
"maxInactiveRevisions": {
"type": "int32"
}
},
"name": "Configuration"
}