def get_event_hub(self, hub_name):
        '''
        Retrieves an existing event hub.

        hub_name:
            Name of the event hub.
        '''
        _validate_not_none('hub_name', hub_name)
        request = HTTPRequest()
        request.method = 'GET'
        request.host = self._get_host()
        request.path = '/' + _str(hub_name) + ''
        request.path, request.query = self._httpclient._update_request_uri_query(request)  # pylint: disable=protected-access
        request.headers = self._update_service_bus_header(request)
        response = self._perform_request(request)

        return _convert_response_to_event_hub(response)
def get_event_hub(self, hub_name):
        
        _validate_not_none('hub_name', hub_name)
        request = HTTPRequest()
        request.method = 'GET'
        request.host = self._get_host()
        request.path = '/' + _str(hub_name) + ''
        request.path, request.query = self._httpclient._update_request_uri_query(request)  
        request.headers = self._update_service_bus_header(request)
        response = self._perform_request(request)

        return _convert_response_to_event_hub(response)
def get_event_hub ( self , hub_name ) : _validate_not_none ( 'hub_name' , hub_name ) request = HTTPRequest ( ) request . method = 'GET' request . host = self . _get_host ( ) request . path = '/' + _str ( hub_name ) + '' request . path , request . query = self . _httpclient . _update_request_uri_query ( request ) # pylint: disable=protected-access request . headers = self . _update_service_bus_header ( request ) response = self . _perform_request ( request ) return _convert_response_to_event_hub ( response )
Retrieves an existing event hub.

        hub_name:
            Name of the event hub.
Retrieves an existing event hub .