Gets a SAN Manager by name.

        Args:
            name: Name of the SAN Manager

        Returns:
            dict: SAN Manager.
172348
def get_by_name(self, name):
        
        san_managers = self._client.get_all()
        result = [x for x in san_managers if x['name'] == name]
        return result[0] if result else None
690470
def get_name(self):
        
        self.name = self.name or graceful_get(self.inspect(refresh=False), "Name")
        return self.name
1076268
def get_sds_by_name(self,name):
        
        for sds in self.sds:
            if sds.name == name:
                return sds
        raise KeyError("SDS of that name not found")
892518
def get(self, name=""):
        
        addrs = []

        with self._address_lock:
            for metadata in self._addresses.values():
                if (name == "" or
                        (name and name in metadata["service"])):
                    mda = copy.copy(metadata)
                    mda["receive_time"] = mda["receive_time"].isoformat()
                    addrs.append(mda)
        LOGGER.debug('return address %s', str(addrs))
        return addrs
369857
def get(self, name):
        ""
        for bucket in self:
            for k,v in self[bucket].items():
                if k == name:
                    return v
5442
def get_by_name(self, name):
        
        for p in self.project_list:
            if p.nme == name:
                return p
        return None
1272818
def name(self, name=None):
        ''''''
        if name:
            self._name = name
            return self
        return self._name
212550
def server_by_name(name, profile=None, **kwargs):
    '''
    
    '''
    conn = _auth(profile, **kwargs)
    return conn.server_by_name(name)
767475
def _name_helper(name: str):
    
    name = name.rstrip()
    if name.endswith(('.service', '.socket', '.target')):
        return name
    return name + '.service'
1360827
def _get(self, name):
        
        return self._stores.get(name, self._resolve(name))
243975
def get_available_name(self, name):
        
        local_available_name = self.local.get_available_name(name)
        remote_available_name = self.remote.get_available_name(name)

        if remote_available_name > local_available_name:
            return remote_available_name
        return local_available_name
813521
def vb_get_manager():
    '''
    
    '''
    global _virtualboxManager
    if _virtualboxManager is None and HAS_LIBS:
        salt.utils.compat.reload(vboxapi)
        _virtualboxManager = vboxapi.VirtualBoxManager(None, None)

    return _virtualboxManager
838168
def request_name(self, name):
        

        while name in self._blacklist:
            name += "_"
        self._blacklist.add(name)
        return name
1091370
def get_opener(self, name):
        
        if name not in self.registry:
            raise NoOpenerError("No opener for %s" % name)
        index = self.registry[name]
        return self.openers[index]
281926
def getbyname(self, name):
        
        if name not in self._schbyname:
            raise KeyError('name {0} not registered'.format(name))

        return self._schbyname[name]
268714
def get_execution_profile(self, name):
        
        profiles = self.cluster.profile_manager.profiles
        try:
            return profiles[name]
        except KeyError:
            raise ValueError("Invalid execution_profile: '%s'; valid profiles are %s" % (name, profiles.keys()))
3313
def name(self, name: str):
        

        self.pathName = os.path.join(self.path, name)