# Data Object - CnsVolumeCreateResult(vim.cns.VolumeCreateResult)

Extends
  CnsVolumeOperationResult
See also
  CnsPlacementResult
Since
  vSAN API vSAN 6.7U3

## Data Object Description

This class defines result for volume create operation.

Properties

Name | Type | Description
--- | --- | ---
name* | xsd:string | Client specified volume name in input. This field will be set along with fault field because if volume creation fails, then there won't be any volumeId to be set in the result.CNS API will not try to enforce any uniqueness for volume name. But it is highly recommended to not to have duplicate volume names, especially for a single invocation of the create operation.
placementResults* | CnsPlacementResult[] | Placement result for every datastore in the dynamic volume provisioning/create request. The size of this array will be equal to the size of vim.cns.VolumeCreateSpec.datastores. This is an optional field and will not be set for static volume provisioning and register volume operations. Since vSAN API vSAN 7.0U2
Properties inherited from CnsVolumeOperationResult
fault, volumeId
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="CnsVolumeCreateResult"> <complexContent> <extension base="vsan:CnsVolumeOperationResult"> <sequence> <element name="name" type="xsd:string" minOccurs="0"/> <element name="placementResults" type="vsan:CnsPlacementResult" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>