

def ex_get_tag_key_by_name(self, name):
    '\n        Get a specific tag key by Name\n\n        :param name: Name of the tag key you want (required)\n        :type  name: ``str``\n\n        :rtype: :class:`DimensionDataTagKey`\n        '
    tag_keys = self.ex_list_tag_keys(name=name)
    if (len(tag_keys) != 1):
        raise ValueError(('No tags found with name %s' % name))
    return tag_keys[0]

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_get_tag_key_by_name/original