'Get vCenter profile ID for the given profile name.
:param profile_name: profile name
:return: vCenter profile ID
:raises ProfileNotFoundException:'

def get_profile_id(self, profile_name):

    profile_id = pbm.get_profile_id_by_name(self._session, profile_name)
    if (profile_id is None):
        LOG.error('Storage    profile:    %s    cannot    be    found    in    vCenter.', profile_name)
        raise vmdk_exceptions.ProfileNotFoundException(storage_profile=profile_name)
    LOG.debug('Storage    profile:    %(name)s    resolved    to    vCenter    profile    ID:    %(id)s.', {'name': profile_name, 'id': profile_id})
    return profile_id
