@distributed_trace
def get_method_local_null(self, api_version=None, **kwargs):
    'Get method with api-version modeled in the method.  pass in api-version = null to succeed.\n\n        :param api_version: This should appear as a method parameter, use value null, this should\n         result in no serialized parameter.\n        :type api_version: str\n        :keyword callable cls: A custom type or function that will be passed the direct response\n        :return: None, or the result of cls(response)\n        :rtype: None\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', {}))
    request = build_get_method_local_null_request(api_version=api_version, template_url=self.get_method_local_null.metadata['url'])
    request = _convert_request(request)
    request.url = self._client.format_url(request.url)
    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)
        error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
        raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
    if cls:
        return cls(pipeline_response, None, {})
Get method with api-version modeled in the method.  pass in api-version = null to succeed.

:param api_version: This should appear as a method parameter, use value null, this should
 result in no serialized parameter.
:type api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
@distributed_trace
def get_method_local_null(self, api_version=None, **kwargs):
    'Get method with api-version modeled in the method.  pass in api-version = null to succeed.\n\n        :param api_version: This should appear as a method parameter, use value null, this should\n         result in no serialized parameter.\n        :type api_version: str\n        :keyword callable cls: A custom type or function that will be passed the direct response\n        :return: None, or the result of cls(response)\n        :rtype: None\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', {}))
    request = build_get_method_local_null_request(api_version=api_version, template_url=self.get_method_local_null.metadata['url'])
    request = _convert_request(request)
    request.url = self._client.format_url(request.url)
    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)
        error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
        raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
    if cls:
        return cls(pipeline_response, None, {})