def get_zone(self, zone_id):
        zone = None
        zones = self.list_zones()
        for z in zones:
            if z.id == zone_id:
                zone = z

        if zone is None:
            raise ZoneDoesNotExistError(zone_id=zone_id, driver=self, value='')

        return zone
Return a Zone instance.
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/zonomi.py/ZonomiDNSDriver.get_zone