'Generic get by name implementation.
:arg str name: Resource name to search for.
:return: The resource found or None.'

def get_by_name(self, name):

    result = self.resource_client.get_by('name', name)
    return (result[0] if result else None)
