Package version:

Container App Ingress configuration.

interface Ingress {
    additionalPortMappings?: IngressPortMapping[];
    allowInsecure?: boolean;
    clientCertificateMode?: string;
    corsPolicy?: CorsPolicy;
    customDomains?: CustomDomain[];
    exposedPort?: number;
    external?: boolean;
    fqdn?: string;
    ipSecurityRestrictions?: IpSecurityRestrictionRule[];
    stickySessions?: IngressStickySessions;
    targetPort?: number;
    targetPortHttpScheme?: string;
    traffic?: TrafficWeight[];
    transport?: string;
}

Properties

additionalPortMappings?: IngressPortMapping[]

Settings to expose additional ports on container app

allowInsecure?: boolean

Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections

clientCertificateMode?: string

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.

corsPolicy?: CorsPolicy

CORS policy for container app

customDomains?: CustomDomain[]

custom domain bindings for Container Apps' hostnames.

exposedPort?: number

Exposed Port in containers for TCP traffic from ingress

external?: boolean

Bool indicating if app exposes an external http endpoint

fqdn?: string

Hostname. NOTE: This property will not be serialized. It can only be populated by the server.

ipSecurityRestrictions?: IpSecurityRestrictionRule[]

Rules to restrict incoming IP address.

stickySessions?: IngressStickySessions

Sticky Sessions for Single Revision Mode

targetPort?: number

Target Port in containers for traffic from ingress

targetPortHttpScheme?: string

Whether an http app listens on http or https

traffic?: TrafficWeight[]

Traffic weights for app's revisions

transport?: string

Ingress transport protocol