code: def get_list_of_processes(self, expand=None):
          
          query_parameters = {}
          if expand is not None:
              query_parameters['$expand'] = self._serialize.query('expand', expand, 'str')
          response = self._send(http_method='GET',
                                location_id='02cc6a73-5cfb-427d-8c8e-b49fb086e8af',
                                version='5.0-preview.2',
                                query_parameters=query_parameters)
          return self._deserialize('[ProcessInfo]', self._unwrap_collection(response))
docs: GetListOfProcesses.
          [Preview API] Get list of all processes including system and inherited.
          :param str expand:
          :rtype: [ProcessInfo]