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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python