code: def get_service_endpoint_details(self, project, endpoint_id):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if endpoint_id is not None:
              route_values['endpointId'] = self._serialize.url('endpoint_id', endpoint_id, 'str')
          response = self._send(http_method='GET',
                                location_id='e85f1c62-adfc-4b74-b618-11a150fb195e',
                                version='5.0-preview.2',
                                route_values=route_values)
          return self._deserialize('ServiceEndpoint', response)
docs: GetServiceEndpointDetails.
          [Preview API] Get the service endpoint details.
          :param str project: Project ID or project name
          :param str endpoint_id: Id of the service endpoint.
          :rtype: :class:`<ServiceEndpoint> <azure.devops.v5_0.service_endpoint.models.ServiceEndpoint>`