VMware, Inc.
159
Chapter 9 User API Reference
MappingMode
The
MappingMode
element
specifies
how
IP
address
mapping
is
implemented
by
the
NAT
service.
Table 9
‐
5
shows
permitted
values
for
element
content
and
the
results
they
produce.
PortForwardingRule
The
PortForwardingRule
element
describes
a
NAT
rule
that
maps
an
IP
address
and
port
in
an
organization
network
to
an
external
IP
address
and
port.
VmRule
The
VmRule
element
describes
a
NAT
rule
that
maps
an
IP
address
and
port
in
a
vApp
network
to
an
external
IP
address
and
port.
The
external
IP
address,
external
port,
and
internal
port
are
specified
in
the
element.
The
internal
IP
address
is
discovered
by
looking
up
the
specified
VmReference
and
VmNicId
.
Table 9-5.
MappingMode Element Values
Value
Result
manual
The
external
IP
address
is
specified
in
the
ExternalIP
element
automatic
The
external
IP
address
is
assigned
automatically
Schema
Name
Min
Max
Type
Description
ExternalIP
1
1
IpAddressType
IP
address
to
which
this
NAT
rule
maps
the
IP
address
specified
in
the
InternalIP
element
ExternalPort
1
1
xs:int
Network
port
to
which
this
NAT
rule
maps
the
port
number
specified
in
the
InternalPort
element
InternalIP
1
1
IpAddressType
IP
address
to
which
this
NAT
rule
maps
the
IP
address
specified
in
the
ExternalIp
element.
InternalPort
1
1
xs:int
Network
port
to
which
this
NAT
rule
maps
the
port
number
specified
in
the
ExternalPort
element.
Protocol
1
1
Layer4ProtocolType
Specifies
the
network
protocol
to
which
this
rule
applies
Schema
Name
Min
Max
Type
Description
ExternalIP
0
1
IpAddressType
IP
address
to
which
this
NAT
rule
maps
the
IP
address
specified
in
the
InternalIP
element.
ExternalPort
1
1
xs:int
The
network
port
to
which
this
NAT
rule
maps
the
port
number
specified
in
the
InternalPort
element.
VAppScopedVmId
1
1
xs:string
Read
‐
only
identifier
created
on
import
VmNicId
1
1
xs:int
The
device
number
of
the
NIC
on
the
referenced
virtual
machine.
InternalPort
1
1
xs:int
The
network
port
to
which
this
NAT
rule
maps
the
port
number
specified
in
the
ExternalPort
element.
Protocol
1
1
Layer4ProtocolType
Specifies
the
network
protocol
to
which
this
rule
applies
Содержание VCLOUD API 1.0 - TECHNICAL NOTE
Страница 10: ...vCloud API Programming Guide 10 VMware Inc...
Страница 20: ...vCloud API Programming Guide 20 VMware Inc...
Страница 32: ...vCloud API Programming Guide 32 VMware Inc...
Страница 90: ...vCloud API Programming Guide 90 VMware Inc...
Страница 150: ...vCloud API Programming Guide 150 VMware Inc...
Страница 170: ...vCloud API Programming Guide 170 VMware Inc...
Страница 202: ...vCloud API Programming Guide 202 VMware Inc...
Страница 212: ...vCloud API Programming Guide 212 VMware Inc...