# Data Object - CnsVolumeOperationResult(vim.cns.VolumeOperationResult)

Property of
  CnsVolumeOperationBatchResult
Extended by
  CnsVolumeAttachResult, CnsVolumeCreateResult
Extends
  DynamicData
See also
  CnsVolumeId, LocalizedMethodFault
Since
  vSAN API vSAN 6.7U3

## Data Object Description

Base class for returning result of operation invoked on a specific volume.
Operations that require some additional fields in their result can extend this class. E.g. result classes for create and attach operations extend this class to add additional fields.
If an operation allows batch input, then the output should contain same number of result objects. One object corresponding to each input entry.
Since every result object will have its own fault, that fault will be limited to the corresponding input object and should not be used for overall operation failure.

Properties

Name | Type | Description
--- | --- | ---
fault* | LocalizedMethodFault | Fault, if any, corresponding to the specified volume ID that caused operation to fail. Absence of fault will indicate successful result. For create operation, volumeId field will not be set. Instead, volume name will be set, to associated fault with appropriate request. Please see CnsVolumeCreateResult for details.
volumeId* | CnsVolumeId | Unique identifier and datastore information for the volume. Result object for all operations, other than create, will get volumeId as part of its input parameter and should always have this field set. For the result of create operation, this field will not be set. Please see CnsVolumeCreateResult for details.
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="CnsVolumeOperationResult"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="volumeId" type="vsan:CnsVolumeId" minOccurs="0"/> <element name="fault" type="vsan:LocalizedMethodFault" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>