# Data Object - HostFirewallRuleset(vim.host.Ruleset)

Property of
  HostFirewallInfo
Extends
  DynamicData
See also
  HostFirewallRule, HostFirewallRulesetIpList

## Data Object Description

Data object that describes a single network ruleset that can be allowed or blocked by the firewall using the HostFirewallSystem object.

Properties

Name | Type | Description
--- | --- | ---
allowedHosts* | HostFirewallRulesetIpList | List of ipaddress to allow access to the service Since vSphere API 5.0
enabled | xsd:boolean | Flag indicating whether the ruleset is enabled. If the ruleset is enabled, all ports specified in the ruleset are opened by the firewall.
key | xsd:string | Brief identifier for the ruleset.
label | xsd:string | Display label for the ruleset.
required | xsd:boolean | Flag indicating whether the ruleset is required and cannot be disabled.
rule | HostFirewallRule[] | List of rules within the ruleset.
service* | xsd:string | Managed service (if any) that uses this ruleset. Must be one of the services listed in service.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostFirewallRuleset"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="label" type="xsd:string"/> <element name="required" type="xsd:boolean"/> <element name="rule" type="vsan:HostFirewallRule" maxOccurs="unbounded"/> <element name="service" type="xsd:string" minOccurs="0"/> <element name="enabled" type="xsd:boolean"/> <element name="allowedHosts" type="vsan:HostFirewallRulesetIpList" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>