def _id_from_name(resource_config, resources, typename):
    return obj_from_name(resource_config, resources, typename).id
Return the id of the resource whose name matches the pattern.
dataset/ETHPy150Open openstack/rally/rally/task/types.py/_id_from_name