FirewallRuleType

Type:
FirewallRuleType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents a firewall rule.
Since:
0.9
Schema:
network.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<FirewallRuleType xmlns="http://www.vmware.com/vcloud/v1.5">
    <IsEnabled> xs:boolean </IsEnabled>
    <Description> xs:string </Description>
    <Policy> xs:string </Policy>
    <Protocols>
        <Icmp> xs:boolean </Icmp>
        <Any> xs:boolean </Any>
    </Protocols>
    <Port> xs:int </Port>
    <DestinationIp> FirewallIpAddressType </DestinationIp>
    <SourcePort> xs:int </SourcePort>
    <SourceIp> FirewallIpAddressType </SourceIp>
    <Direction> xs:string </Direction>
    <EnableLogging> xs:boolean </EnableLogging>
</FirewallRuleType>

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.
IsEnabled boolean 0..1 always 0.9 Used to enable or disable the firewall rule. Default value is true.
Description string 0..1 always 0.9 A description of the rule.
Policy string 0..1 always 0.9 One of: drop (drop packets that match the rule), allow (allow packets that match the rule to pass through the firewall)
Protocols FirewallRuleType/Protocols 0..1 always 0.9 Specify the protocols to which the rule should be applied.
Port int 1 always 0.9 The port to which this rule applies. A value of -1 matches any port.
DestinationIp FirewallIpAddressType 1 always 1.0 Destination IP address to which the rule applies. A value of Any matches any IP address.
SourcePort int 1 always 1.5 Destination port to which this rule applies. A value of -1 matches any port.
SourceIp FirewallIpAddressType 1 always 1.5 Source IP address to which the rule applies. A value of Any matches any IP address.
Direction string 0..1 always 1.5 Direction of traffic to which rule applies. One of: in (rule applies to incoming traffic. This is the default value), out (rule applies to outgoing traffic).
EnableLogging boolean 0..1 always 1.5 Used to enable or disable firewall rule logging. Default value is false.