vCloud API Programming Guide
158
VMware, Inc.
NatType
The
NatType
element
specifies
how
network
address
translation
is
implemented
by
the
NAT
service.
Table 9
‐
3
shows
permitted
values
for
element
content
and
the
results
they
produce.
Policy
The
Policy
element
of
a
NatService
element
specifies
how
packets
are
handled
by
the
NAT
service.
Table 9
‐
4
shows
permitted
values
for
element
content
and
the
results
they
produce.
NatRule
The
NatRule
element
specifies
a
single
network
address
translation
rule.
OneToOneVmRule
The
OneToOneVmRule
element
describes
a
NAT
rule
that
specifies
network
address
translation
details
for
a
single
virtual
machine.
The
external
IP
address
can
be
specified
manually
or
assigned
automatically
at
deployment
time.
The
internal
IP
address
is
discovered
by
looking
up
the
specified
VmReference
and
NIC
ID.
Table 9-3.
NatType Element Values
Value
Result
ipTranslation
NAT
service
implemented
by
IP
address
translation
portForwarding
NAT
service
implemented
by
network
port
forwarding
Table 9-4.
NatService Policy Element Values
Value
Result
allowTraffic
Packets
of
this
type
pass
through
the
firewall
in
both
directions
allowTrafficIn
Only
inbound
packets
of
this
type
pass
through
the
firewall
Schema
Name
Min
Max
Type
Description
Description
0
1
xs:string
Optional
description
of
the
rule
OneToOneBasicRule
0
1
NatOneToOneBasicRuleType
Ignored
in
this
release
OneToOneVmRule
0
1
NatOneToOneVmRuleType
Specifies
network
address
translation
details
for
a
single
virtual
machine
PortForwardingRule
0
1
NatPortForwardingRuleType
Maps
an
IP
address
and
port
in
an
organization
network
to
an
external
IP
address
and
port
VmRule
0
1
NatVmRuleType
Maps
an
IP
address
and
port
in
a
vApp
network
to
an
external
IP
address
and
port
Schema
Name
Min
Max
Type
Description
MappingMode
1
1
NatMappingModeType
Specifies
how
IP
address
mapping
is
implemented
by
the
NAT
service
ExternalIP
0
1
IpAddressType
If
MappingMode
is
manual
,
specifies
the
external
IP
address
of
this
Vm
VAppScopedVmId
1
1
xs:string
Read
‐
only
identifier
created
on
import
VmNicId
1
1
xs:int
Device
number
of
the
NIC
on
the
referenced
virtual
machine
Summary of Contents for VCLOUD API 1.0 - TECHNICAL NOTE
Page 10: ...vCloud API Programming Guide 10 VMware Inc...
Page 20: ...vCloud API Programming Guide 20 VMware Inc...
Page 32: ...vCloud API Programming Guide 32 VMware Inc...
Page 90: ...vCloud API Programming Guide 90 VMware Inc...
Page 150: ...vCloud API Programming Guide 150 VMware Inc...
Page 170: ...vCloud API Programming Guide 170 VMware Inc...