'Creates the Task to detach the storage adapters.
Provides the stor_adpt_mappings.  A list of pypowervm
VSCSIMappings or VFCMappings (depending on the storage adapter).
:param disk_dvr: The DiskAdapter for the VM.
:param instance: The nova instance.'

def __init__(self, disk_dvr, instance):

    super(DetachDisk, self).__init__('detach_disk', provides='stor_adpt_mappings')
    self.instance = instance
    self.disk_dvr = disk_dvr
