你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

InboundNatRule interface

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

Properties

backendPort

The port to which the external traffic will be redirected.

frontendPort

The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.

transportProtocol

The transport protocol for the endpoint.

Property Details

backendPort

The port to which the external traffic will be redirected.

backendPort?: number

Property Value

number

frontendPort

The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.

frontendPort?: number

Property Value

number

transportProtocol

The transport protocol for the endpoint.

transportProtocol?: string

Property Value

string