InboundNatRuleFragment Class

A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.

Inheritance
msrest.serialization.Model
InboundNatRuleFragment

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
int

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
int

The port to which the external traffic will be redirected.

Keyword-Only Parameters

Name Description
transport_protocol
Required
frontend_port
Required
backend_port
Required