'Return a DiskType object based on a name and optional zone.
:param  name: The name of the DiskType
:type   name: ``str``
:keyword  zone: The zone to search for the DiskType in (set to
\'all\' to search all zones)
:type     zone: ``str`` :class:`GCEZone` or ``None``
:return:  A DiskType object for the name
:rtype:   :class:`GCEDiskType`'

def ex_get_disktype(self, name, zone=None):

    zone = self._set_zone(zone)
    request = ('/zones/%s/diskTypes/%s' % (zone.name, name))
    response = self.connection.request(request, method='GET').object
    return self._to_disktype(response)
