# Data Object - HostService(vim.host.Service)

Property of
  HostServiceInfo
Extends
  DynamicData
See also
  HostServiceSourcePackage
Since
  2.0

## Data Object Description

Data object that describes a single service that runs on the host.

Properties

Name | Type | Description
--- | --- | ---
key | xsd:string | Brief identifier for the service.
label | xsd:string | Display label for the service.
policy | xsd:string | Service activation policy. See Policy
required | xsd:boolean | Flag indicating whether the service is required and cannot be disabled.
ruleset* | xsd:string[] | List of firewall rulesets used by this service. Must come from the list of rulesets in ruleset.
running | xsd:boolean | Flag indicating whether the service is currently running.
sourcePackage* | HostServiceSourcePackage | The source package associated with the service Since vSphere API 5.0
uninstallable | xsd:boolean | Deprecated. This flag is unimplemented and will always be set to false. Flag indicating whether the service can be uninstalled.
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="HostService"> <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="uninstallable" type="xsd:boolean"/> <element name="running" type="xsd:boolean"/> <element name="ruleset" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="policy" type="xsd:string"/> <element name="sourcePackage" type="vsan:HostServiceSourcePackage" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>