# Fault - ShrinkDiskFault(vim.fault.ShrinkDiskFault)

Extends
  VimFault
Since
  vSphere API 5.1

## Fault Description

This exception is thrown when VirtualMachine.shrinkDisk encounters an error

Properties

Name | Type | Description
--- | --- | ---
diskId* | xsd:int | Disk Id of the virtual disk that caused the fault
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ShrinkDiskFault"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="diskId" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>