# Data Object - PolicyOption(vim.profile.PolicyOption)

Property of
  CompositePolicyOption, ProfilePolicy
Extended by
  CompositePolicyOption
Extends
  DynamicData
See also
  KeyAnyValue
Since
  vSphere API 4.0

## Data Object Description

The PolicyOption data object represents one or more configuration values. A policy option is one of the configuration options from the ProfilePolicyMetadata.possibleOption list.

Properties

Name | Type | Description
--- | --- | ---
id | xsd:string | Identifier for the policy option. This value matches one of the keys from the list of possible options in the policy metadata (ProfilePolicyMetadata.possibleOption[].id.key).
parameter* | KeyAnyValue[] | Parameters for the policy option. This list must include all parameters that are not marked as optional in the policy option metadata parameter list (ProfilePolicyMetadata.possibleOption[].parameter[].optional).
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="PolicyOption"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="id" type="xsd:string"/> <element name="parameter" type="pbm:KeyAnyValue" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>