VMware, Inc.
157
Chapter 9 User API Reference
FirewallRule
The
FirewallRule
element
defines
a
single
firewall
rule.
Policy
The
Policy
element
of
a
FirewallRule
specifies
how
packets
are
handled
by
the
firewall.
Table 9
‐
2
shows
permitted
values
for
element
content
and
the
results
they
produce.
Protocols
The
Protocols
element
specifies
the
protocols
to
which
firewall
rules
apply.
NatService
The
NatService
element
defines
the
network
address
translation
capabilities
of
a
network.
Schema
Name
Min
Max
Type
Description
IsEnabled
0
1
xs:boolean
True
if
the
rule
is
enabled
Description
0
1
xs:string
description
of
the
rule
Policy
0
1
FirewallPolicyType
Specifies
how
packets
are
handled
by
the
firewall
Protocols
0
1
ProtocolsType
Specifies
the
protocols
to
which
this
firewall
rule
applies
Port
1
1
xs:int
Specifies
the
network
port
to
which
this
firewall
rule
applies.
A
value
of
‐
1
matches
any
port.
DestinationIp
1
1
IpAddressType
Specifies
the
destination
IP
address,
inside
the
firewall,
to
which
this
firewall
rule
applies
Table 9-2.
FirewallRule Policy Element Values
Value
Result
drop
Drop
packets
of
this
type
allow
Allow
packets
of
this
type
to
pass
through
the
firewall
Schema
Name
Min
Max
Type
Description
Tcp
0
1
xs:boolean
True
if
the
firewall
rules
apply
to
the
TCP
protocol
Udp
0
1
xs:boolean
True
if
the
firewall
rules
apply
to
the
UDP
protocol
Schema
Name
Min
Max
Type
Description
IsEnabled
0
1
xs:boolean
True
if
the
service
is
enabled
NatType
0
1
NatTypeType
Specifies
how
Network
Address
Translation
is
implemented
by
the
NAT
service
Policy
0
1
NatPolicyType
Specifies
how
packets
are
handled
by
the
NAT
service
NatRule
0
n
NatRuleType
Specifies
a
single
NAT
rule
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...