VAppNetworkDescriptor_VmNatRule

VAppNetworkDescriptor_VmNatRule
VAppNetworkDescriptor_VmNatRule

Represents the NAT rule for port forwarding between VM NIC/port and external IP/port.

JSON Example
{
    "externalIpAddress": "10.71.80.255",
    "externalPort": 80,
    "internalPort": 88,
    "protocol": "TCP",
    "vmName": "myvm",
    "vmNicId": 0
}
string
externalIpAddress
Optional

External IP address to forward to.

integer As int32 As int32
externalPort
Optional

External port to forward to.

integer As int32 As int32
internalPort
Optional

Internal IP address to forward to.

string
protocol
Optional

Internal port to forward to.

string
vmName
Optional

The name of the VM.

integer As int32 As int32
vmNicId
Optional

VM NIC ID to which this rule applies.