def read_namespaced_deployment_with_http_info(self, name, namespace, **kwargs):
all_params = ['<STR_LIT:name>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>all_params.append('<STR_LIT>')<EOL>all_params.append('<STR_LIT>')<EOL>all_params.append('<STR_LIT>')<EOL>all_params.append('<STR_LIT>')<EOL>params = locals()<EOL>for key, val in iteritems(params['<STR_LIT>']):<EOL><INDENT>if key not in all_params:<EOL><INDENT>raise TypeError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>" % key<EOL>)<EOL><DEDENT>params[key] = val<EOL><DEDENT>del params['<STR_LIT>']<EOL>if ('<STR_LIT:name>' not in params) or (params['<STR_LIT:name>'] is None):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if ('<STR_LIT>' not in params) or (params['<STR_LIT>'] is None):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>collection_formats = {}<EOL>path_params = {}<EOL>if '<STR_LIT:name>' in params:<EOL><INDENT>path_params['<STR_LIT:name>'] = params['<STR_LIT:name>']<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>path_params['<STR_LIT>'] = params['<STR_LIT>']<EOL><DEDENT>query_params = []<EOL>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>header_params = {}<EOL>form_params = []<EOL>local_var_files = {}<EOL>body_params = None<EOL>header_params['<STR_LIT>'] = self.api_client.select_header_accept(['<STR_LIT:application/json>', '<STR_LIT>', '<STR_LIT>'])<EOL>header_params['<STR_LIT:Content-Type>'] = self.api_client.select_header_content_type(['<STR_LIT>'])<EOL>auth_settings = ['<STR_LIT>']<EOL>return self.api_client.call_api('<STR_LIT>', '<STR_LIT:GET>',<EOL>path_params,<EOL>query_params,<EOL>header_params,<EOL>body=body_params,<EOL>post_params=form_params,<EOL>files=local_var_files,<EOL>response_type='<STR_LIT>',<EOL>auth_settings=auth_settings,<EOL>async_req=params.get('<STR_LIT>'),<EOL>_return_http_data_only=params.get('<STR_LIT>'),<EOL>_preload_content=params.get('<STR_LIT>', True),<EOL>_request_timeout=params.get('<STR_LIT>'),<EOL>collection_formats=collection_formats)<EOL>
read the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_deployment_with_http_info(name, namespace, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Deployment (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param str pretty: If 'true', then the output is pretty printed.
:param bool exact: Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
:param bool export: Should this value be exported.  Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
:return: ExtensionsV1beta1Deployment
         If the method is called asynchronously,
         returns the request thread.