code: def authorize_definition_resources(self, resources, project, definition_id):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if definition_id is not None:
              route_values['definitionId'] = self._serialize.url('definition_id', definition_id, 'int')
          content = self._serialize.body(resources, '[DefinitionResourceReference]')
          response = self._send(http_method='PATCH',
                                location_id='ea623316-1967-45eb-89ab-e9e6110cf2d6',
                                version='5.0-preview.1',
                                route_values=route_values,
                                content=content)
          return self._deserialize('[DefinitionResourceReference]', self._unwrap_collection(response))
docs: AuthorizeDefinitionResources.
          [Preview API]
          :param [DefinitionResourceReference] resources:
          :param str project: Project ID or project name
          :param int definition_id:
          :rtype: [DefinitionResourceReference]