def get(self, resource_group_name, route_table_name, route_name, **kwargs):
    'Gets the specified route from a route table.\n\n        :param resource_group_name: The name of the resource group.\n        :type resource_group_name: str\n        :param route_table_name: The name of the route table.\n        :type route_table_name: str\n        :param route_name: The name of the route.\n        :type route_name: str\n        :keyword callable cls: A custom type or function that will be passed the direct response\n        :return: Route, or the result of cls(response)\n        :rtype: ~azure.mgmt.network.v2020_08_01.models.Route\n        :raises: ~azure.core.exceptions.HttpResponseError\n        '
    cls = kwargs.pop('cls', None)
    error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
    error_map.update(kwargs.pop('error_map', {}))
    api_version = '2020-08-01'
    accept = 'application/json'
    url = self.get.metadata['url']
    path_format_arguments = {'resourceGroupName': self._serialize.url('resource_group_name', resource_group_name, 'str'), 'routeTableName': self._serialize.url('route_table_name', route_table_name, 'str'), 'routeName': self._serialize.url('route_name', route_name, 'str'), 'subscriptionId': self._serialize.url('self._config.subscription_id', self._config.subscription_id, 'str')}
    url = self._client.format_url(url, **path_format_arguments)
    query_parameters = {}
    query_parameters['api-version'] = self._serialize.query('api_version', api_version, 'str')
    header_parameters = {}
    header_parameters['Accept'] = self._serialize.header('accept', accept, 'str')
    request = self._client.get(url, query_parameters, header_parameters)
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
    response = pipeline_response.http_response
    if (response.status_code not in [200]):
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        raise HttpResponseError(response=response, error_format=ARMErrorFormat)
    deserialized = self._deserialize('Route', pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized
Gets the specified route from a route table.

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param route_table_name: The name of the route table.
:type route_table_name: str
:param route_name: The name of the route.
:type route_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Route, or the result of cls(response)
:rtype: ~azure.mgmt.network.v2020_08_01.models.Route
:raises: ~azure.core.exceptions.HttpResponseError
def get(self, resource_group_name, route_table_name, route_name, **kwargs):
    'Gets the specified route from a route table.\n\n        :param resource_group_name: The name of the resource group.\n        :type resource_group_name: str\n        :param route_table_name: The name of the route table.\n        :type route_table_name: str\n        :param route_name: The name of the route.\n        :type route_name: str\n        :keyword callable cls: A custom type or function that will be passed the direct response\n        :return: Route, or the result of cls(response)\n        :rtype: ~azure.mgmt.network.v2020_08_01.models.Route\n        :raises: ~azure.core.exceptions.HttpResponseError\n        '
    cls = kwargs.pop('cls', None)
    error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
    error_map.update(kwargs.pop('error_map', {}))
    api_version = '2020-08-01'
    accept = 'application/json'
    url = self.get.metadata['url']
    path_format_arguments = {'resourceGroupName': self._serialize.url('resource_group_name', resource_group_name, 'str'), 'routeTableName': self._serialize.url('route_table_name', route_table_name, 'str'), 'routeName': self._serialize.url('route_name', route_name, 'str'), 'subscriptionId': self._serialize.url('self._config.subscription_id', self._config.subscription_id, 'str')}
    url = self._client.format_url(url, **path_format_arguments)
    query_parameters = {}
    query_parameters['api-version'] = self._serialize.query('api_version', api_version, 'str')
    header_parameters = {}
    header_parameters['Accept'] = self._serialize.header('accept', accept, 'str')
    request = self._client.get(url, query_parameters, header_parameters)
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
    response = pipeline_response.http_response
    if (response.status_code not in [200]):
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        raise HttpResponseError(response=response, error_format=ARMErrorFormat)
    deserialized = self._deserialize('Route', pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized