InboundNatRuleFragment Class

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

Inheritance
InboundNatRuleFragment

Constructor

InboundNatRuleFragment(*, transport_protocol: Optional[Union[str, azure.mgmt.devtestlabs.models._dev_test_labs_client_enums.TransportProtocol]] = None, frontend_port: Optional[int] = None, backend_port: Optional[int] = None, **kwargs)

Parameters

transport_protocol
str or TransportProtocol
Required

The transport protocol for the endpoint. Possible values include: "Tcp", "Udp".

frontend_port
int
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
int
Required

The port to which the external traffic will be redirected.