async def get(self, job_name: str, **kwargs: Any) -> '_models.Job':
    'Gets the job details.\n\n        Get the details of an Azure Site Recovery job.\n\n        :param job_name: Job identifier.\n        :type job_name: str\n        :keyword callable cls: A custom type or function that will be passed the direct response\n        :return: Job, or the result of cls(response)\n        :rtype: ~azure.mgmt.recoveryservicessiterecovery.models.Job\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 = '2021-06-01'
    accept = 'application/json'
    url = self.get.metadata['url']
    path_format_arguments = {'resourceName': self._serialize.url('self._config.resource_name', self._config.resource_name, 'str'), 'resourceGroupName': self._serialize.url('self._config.resource_group_name', self._config.resource_group_name, 'str'), 'subscriptionId': self._serialize.url('self._config.subscription_id', self._config.subscription_id, 'str'), 'jobName': self._serialize.url('job_name', job_name, '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 = (await 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('Job', pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized
Gets the job details.

Get the details of an Azure Site Recovery job.

:param job_name: Job identifier.
:type job_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Job, or the result of cls(response)
:rtype: ~azure.mgmt.recoveryservicessiterecovery.models.Job
:raises: ~azure.core.exceptions.HttpResponseError
async def get(self, job_name: str, **kwargs: Any) -> '_models.Job':
    'Gets the job details.\n\n        Get the details of an Azure Site Recovery job.\n\n        :param job_name: Job identifier.\n        :type job_name: str\n        :keyword callable cls: A custom type or function that will be passed the direct response\n        :return: Job, or the result of cls(response)\n        :rtype: ~azure.mgmt.recoveryservicessiterecovery.models.Job\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 = '2021-06-01'
    accept = 'application/json'
    url = self.get.metadata['url']
    path_format_arguments = {'resourceName': self._serialize.url('self._config.resource_name', self._config.resource_name, 'str'), 'resourceGroupName': self._serialize.url('self._config.resource_group_name', self._config.resource_group_name, 'str'), 'subscriptionId': self._serialize.url('self._config.subscription_id', self._config.subscription_id, 'str'), 'jobName': self._serialize.url('job_name', job_name, '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 = (await 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('Job', pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized