# Data Object - VirtualMachineDefinedProfileSpec(vim.vm.DefinedProfileSpec)

Extends
  VirtualMachineProfileSpec
See also
  KeyValue, ReplicationSpec, VirtualMachineProfileRawData
Since
  vSphere API 5.5

## Data Object Description

Policy specification that carries a pre-defined Storage Policy to be associated with a Virtual Machine Home or a Virtual Disk object. Such a pre-defined policy can be either be vSphere Storage Administrator defined or may come from a set of pre-defined policies from Storage Vendor.

Neither the association nor the policy data is persisted in Virtual Machine configuration. This data is managed by the an extension of Virtual Center (Storage Policy Based Management).

Properties

Name | Type | Description
--- | --- | ---
profileData* | VirtualMachineProfileRawData | Profile data sent to the Storage Backend by vSphere. This data is provided by the SPBM component of the vSphere platform. This field should not be set by Virtual Center users.
profileId | xsd:string | Storage Policy Profile identification - Should be pbm.profileId but for implementation reasons, could not be.
profileParams* | KeyValue[] | Parameterized Storage Profiles Extra configuration that is not expressed as a capability in the Profile definition. Since vSphere API 6.7
replicationSpec* | ReplicationSpec | Specification containing replication related parameters, sent to the Replication Data Service provider. Since vSphere API 6.5
Properties inherited from VirtualMachineProfileSpec
None
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="VirtualMachineDefinedProfileSpec"> <complexContent> <extension base="vim25:VirtualMachineProfileSpec"> <sequence> <element name="profileId" type="xsd:string"/> <element name="replicationSpec" type="vim25:ReplicationSpec" minOccurs="0"/> <element name="profileData" type="vim25:VirtualMachineProfileRawData" minOccurs="0"/> <element name="profileParams" type="vim25:KeyValue" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>