# Data Object - CnsVolumeExtendSpec(vim.cns.VolumeExtendSpec)

Parameter to
  CnsExtendVolume
Extends
  DynamicData
See also
  CnsVolumeId
Since
  vSAN API vSAN 6.7U3

## Data Object Description

Specifications for volume extend operation.
Extend operation is called to extend volume's capacity. The new non-negative capacity should be specified in MB.
Extend operation should be called by providing at least one ExtendSpec. If an array of empty spec is passed, the operation will fail.

Properties

Name | Type | Description
--- | --- | ---
capacityInMb | xsd:long | New capacityInMb for the volume.
volumeId | CnsVolumeId | Unique identifier for the volume.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CnsVolumeExtendSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="volumeId" type="vsan:CnsVolumeId"/> <element name="capacityInMb" type="xsd:long"/> </sequence> </extension> </complexContent> </complexType>