VMware Cloud Director API - FirewallService
FirewallServiceType
- Element:
- FirewallService
- Type:
- FirewallServiceType
- Namespace:
- http://www.vmware.com/vcloud/v1.5
- Description:
- Represents a network firewall service.
- Since:
- Schema:
- network.xsd
- Media type(s):
- None
- Extends:
- NetworkServiceType
- XML Representation:
-
<FirewallService xmlns="http://www.vmware.com/vcloud/v1.5">
<IsEnabled> xs:boolean </IsEnabled>
<DefaultAction> xs:string </DefaultAction>
<LogDefaultAction> xs:boolean </LogDefaultAction>
<FirewallRule>
<Id> xs:string </Id>
<IsEnabled> xs:boolean </IsEnabled>
<Description> xs:string </Description>
<Policy> xs:string </Policy>
<Protocols>
<Icmp> xs:boolean </Icmp>
<Any> xs:boolean </Any>
<Other> xs:string </Other>
</Protocols>
<IcmpSubType> xs:string </IcmpSubType>
<DestinationPortRange> xs:string </DestinationPortRange>
<DestinationIp> FirewallIpAddressType </DestinationIp>
<DestinationVm>
<VAppScopedVmId> xs:string </VAppScopedVmId>
<VmNicId> xs:int </VmNicId>
<IpType> xs:string </IpType>
</DestinationVm>
<SourcePortRange> xs:string </SourcePortRange>
<SourceIp> FirewallIpAddressType </SourceIp>
<SourceVm>
<VAppScopedVmId> xs:string </VAppScopedVmId>
<VmNicId> xs:int </VmNicId>
<IpType> xs:string </IpType>
</SourceVm>
<EnableLogging> xs:boolean </EnableLogging>
</FirewallRule>
</FirewallService>
-
Elements
-
Element Type Required Modifiable Since Deprecated Description DefaultAction string No always Default action of the firewall. One of: drop (Default. Drop packets that match the rule.), allow (Allow packets that match the rule to pass through the firewall) FirewallRule FirewallRuleType No always A firewall rule. IsEnabled boolean No always Enable or disable the service using this flag LogDefaultAction boolean No always Flag to enable logging for default action. Default value is false. VCloudExtension VCloudExtensionType No always An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.