'Deletes an Event Hub. This operation will also remove all associated
state.
hub_name:
Name of the event hub to delete.
fail_not_exist:
Specify whether to throw an exception if the event hub doesn\'t exist.'

def delete_event_hub(self, hub_name, fail_not_exist=False):

    _validate_not_none('hub_name', hub_name)
    request = HTTPRequest()
    request.method = 'DELETE'
    request.host = self._get_host()
    request.path = (('/' + _str(hub_name)) + '?api-version=2014-01')
    (request.path, request.query) = self._httpclient._update_request_uri_query(request)
    request.headers = self._update_service_bus_header(request)
    if (not fail_not_exist):
        try:
            self._perform_request(request)
            return True
        except AzureHttpError as ex:
            _dont_fail_not_exist(ex)
            return False
    else:
        self._perform_request(request)
        return True
