VMware Cloud Director API - GatewayNatRuleType

VMware Cloud Director API - GatewayNatRuleType

GatewayNatRuleType

Type:
GatewayNatRuleType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents the SNAT and DNAT rules.
Since:
5.1
Schema:
network.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<GatewayNatRuleType xmlns="http://www.vmware.com/vcloud/v1.5">
    <Interface href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <OriginalIp> IpAddressType </OriginalIp>
    <OriginalPort> xs:string </OriginalPort>
    <TranslatedIp> IpAddressType </TranslatedIp>
    <TranslatedPort> xs:string </TranslatedPort>
    <Protocol> xs:string </Protocol>
    <IcmpSubType> xs:string </IcmpSubType>
</GatewayNatRuleType>

Elements

Element Type Required Modifiable Since Deprecated Description
IcmpSubType string No always 5.1 ICMP subtype. One of: address-mask-request, address-mask-reply, destination-unreachable, echo-request, echo-reply, parameter-problem, redirect, router-advertisement, router-solicitation, source-quench, time-exceeded, timestamp-request, timestamp-reply, any.
Interface ReferenceType No always 5.1 Interface to which rule is applied.
OriginalIp IpAddressType Yes always 5.1 Original IP for rule.
OriginalPort string No always 5.1 Original port for rule.
Protocol string No always 5.1 Protocol for rule.
TranslatedIp IpAddressType Yes always 5.1 Translated IP for rule.
TranslatedPort string No always 5.1 Translated port for rule.
VCloudExtension VCloudExtensionType No always 5.1 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.