Ingress Class
Container App Ingress configuration.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
Ingress(*, external: bool = False, target_port: int | None = None, transport: str | _models.IngressTransportMethod | None = None, traffic: List[_models.TrafficWeight] | None = None, allow_insecure: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
external
|
Bool indicating if app exposes an external http endpoint. Default value: False
|
target_port
|
Target Port in containers for traffic from ingress. Default value: None
|
transport
|
Ingress transport protocol. Known values are: "auto", "http", and "http2". Default value: None
|
traffic
|
Default value: None
|
allow_insecure
|
Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections. Default value: None
|
Variables
Name | Description |
---|---|
fqdn
|
Hostname. |
external
|
Bool indicating if app exposes an external http endpoint. |
target_port
|
Target Port in containers for traffic from ingress. |
transport
|
Ingress transport protocol. Known values are: "auto", "http", and "http2". |
traffic
|
|
allow_insecure
|
Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections. |