def get_pd_by_id(self, id):
        """
        Get ScaleIO ProtectionDomain object by its id
        :param name: ID of ProtectionDomain
        :return: ScaleIO ProctectionDomain object
        :raise KeyError: No ProtectionDomain with specified name found
        :rtype: ProtectionDomain object
        """
        for pd in self.conn.protection_domains:
            if pd.id == id:
                return pd
        raise KeyError("Protection Domain with ID " + id + " not found")
Get ScaleIO ProtectionDomain object by its id
        :param name: ID of ProtectionDomain
        :return: ScaleIO ProctectionDomain object
        :raise KeyError: No ProtectionDomain with specified name found
        :rtype: ProtectionDomain object