# Enum - HostServicePolicy(vim.host.Service.Policy)

## Enum Description

Set of valid service policy strings.

Enum Constants

Name | Description
--- | ---
automatic | Service should run if and only if it has open firewall ports.
off | Service should not be started when the host starts up.
on | Service should be started when the host starts up.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="HostServicePolicy"> <restriction base="xsd:string"> <enumeration value="on"/> <enumeration value="automatic"/> <enumeration value="off"/> </restriction> </simpleType>