InboundNatRuleFragment Class
A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.
- Inheritance
-
msrest.serialization.ModelInboundNatRuleFragment
Constructor
InboundNatRuleFragment(*, transport_protocol: str | TransportProtocol | None = None, frontend_port: int | None = None, backend_port: int | None = None, **kwargs)
Parameters
Name | Description |
---|---|
transport_protocol
Required
|
The transport protocol for the endpoint. Possible values include: "Tcp", "Udp". |
frontend_port
Required
|
The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically. |
backend_port
Required
|
The port to which the external traffic will be redirected. |
Keyword-Only Parameters
Name | Description |
---|---|
transport_protocol
Required
|
|
frontend_port
Required
|
|
backend_port
Required
|
|
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