IngressPortMapping Class
Port mappings of container app ingress.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.appcontainers._serialization.ModelIngressPortMapping
Constructor
IngressPortMapping(*, external: bool, target_port: int, exposed_port: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
external
|
Specifies whether the app port is accessible outside of the environment. Required. |
target_port
|
Specifies the port user's container listens on. Required. |
exposed_port
|
Specifies the exposed port for the target port. If not specified, it defaults to target port. |
Variables
Name | Description |
---|---|
external
|
Specifies whether the app port is accessible outside of the environment. Required. |
target_port
|
Specifies the port user's container listens on. Required. |
exposed_port
|
Specifies the exposed port for the target port. If not specified, it defaults to target port. |
Azure SDK for Python