code: def _get_instance(self):
          
          try:
              instance = self.compute.virtual_machines.get(
                  self.running_instance_id, self.running_instance_id,
                  expand='instanceView'
              )
          except Exception as error:
              raise AzureCloudException(
                  'Unable to retrieve instance: {0}'.format(error)
              )
  
          return instance
docs: Return the instance matching the running_instance_id.