NatVmRuleType

Type:
NatVmRuleType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents the NAT rule for port forwarding between VM NIC/port and external IP/port.
Since:
0.9
Schema:
network.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<NatVmRuleType xmlns="http://www.vmware.com/vcloud/v1.5">
    <ExternalIpAddress> IpAddressType </ExternalIpAddress>
    <ExternalPort> xs:int </ExternalPort>
    <VAppScopedVmId> xs:string </VAppScopedVmId>
    <VmNicId> xs:int </VmNicId>
    <InternalPort> xs:int </InternalPort>
    <Protocol> xs:string </Protocol>
</NatVmRuleType>

Elements

Element Type Occurrence Modifiable Since Description
VCloudExtension VCloudExtensionType 0..* always 0.9 An optional extension element that can contain an arbitrary number of elements and attributes.
ExternalIpAddress IpAddressType 0..1 always 0.9 External IP address to forward to.
ExternalPort int 1 always 0.9 External port to forward to.
VAppScopedVmId string 1 always 1.0 VAppScopedVmId of VM to which this rule applies.
VmNicId int 1 always 0.9 VM NIC ID to which this rule applies.
InternalPort int 1 always 0.9 Internal port to forward.
Protocol string 1 always 1.0 Protocol to forward. One of: TCP (forward TCP packets), UDP (forward UDP packets), TCP_UDP (forward TCP and UDP packets).