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

Extends
  PolicyOption
See also
  PolicyOption
Since
  vSphere API 4.0

## Data Object Description

DataObject represents a composite Policy that is created by the user using different PolicyOptions. The options set in the CompositePolicyOption should be derived from the possible options as indicated by the CompositePolicyOptionMetadata.

Properties

Name | Type | Description
--- | --- | ---
option* | PolicyOption[] | List of policy options that are composed and applicable for this composite policy option. The selected PolicyOptions in a CompositePolicyOption will be used in the policy. PolicyOptions need not be specified if they are not desired for the CompositePolicyOption. Order of PolicyOptions in the PolicyOption array is not significant. The host profile policy engine will not respect order of PolicyOptions. It will apply PolicyOptions in a pre-determined order. Clients of the API must produce PolicyOption in the same order as specified in the metadata.
Properties inherited from PolicyOption
id, parameter
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="CompositePolicyOption"> <complexContent> <extension base="sms:PolicyOption"> <sequence> <element name="option" type="sms:PolicyOption" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>