InboundNatRule Class

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

Constructor

InboundNatRule(*, transport_protocol: str | _models.TransportProtocol | None = None, frontend_port: int | None = None, backend_port: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
transport_protocol

The transport protocol for the endpoint. Known values are: "Tcp" and "Udp".

Default value: None
frontend_port
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.

Default value: None
backend_port
int

The port to which the external traffic will be redirected.

Default value: None

Variables

Name Description
transport_protocol

The transport protocol for the endpoint. Known values are: "Tcp" and "Udp".

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

The port to which the external traffic will be redirected.