title: Trigger azure pipeline when a new package is available in a feed
body: <p>I am attempting to trigger an azure pipeline using yaml when a new package is available in a feed inside azure artifacts. There is <a href="https://github.com/microsoft/azure-pipelines-yaml/blob/master/design/pipeline-resources.md" rel="nofollow noreferrer">documentation</a> indicating that you can trigger a pipeline when a new package is available.</p>
  <pre><code> resources:        # types: pipelines | builds | repositories | containers | packages
    packages:
    - package: string   # identifier for the package resource
      type: string   # the type of your package like Nuget, NPM etc.
      connection: string   # service connection for your package repo.
      package: string   # package definition
      version: string   # optional; the version of the package to download, defaults to latest published vession.
      tag: string   # optional; branch to pick the artifact; defaults to master branch
  </code></pre>
  <p>My package type is 'upack'. My pipeline and feed are in the same project. I tried to trigger the pipeline with below code.</p>
  <pre><code>resources:
    packages:
      - package: 'package-release' 
        type: 'upack'
        name: 'feedname'
        trigger: true 
  </code></pre>
  <p>Th pipe line execution shows the error &quot;No artifact type found corresponding to ID upack&quot;. Is this package type not supported? Any help would be appreciated.</p>