code: def get_status_from_resource(self, response):
          
          self._raise_if_bad_http_status_and_method(response)
          if self._is_empty(response):
              raise BadResponse('The response from long running operation '
                                'does not contain a body.')
  
          status = self._get_provisioning_state(response)
          self.status = status or 'Succeeded'
  
          self.parse_resource(response)
docs: Process the latest status update retrieved from the same URL as
          the previous request.
  
          :param requests.Response response: latest REST call response.
          :raises: BadResponse if status not 200 or 204.