Parameter Value Provider ‘local://vsts/parameters/agentpool'

This parameter value provider supports the following types:

  • dropdown

Here's an example imaginary namespace manifest using this value provider:

namespace: NAMESPACE_ID
schema: local://vendor/namespace
parameters:
- id: parameter
  valueProvider: local://vsts/parameters/agentpool
payload:
  id: resource
  property: '{parameter}'

Optionally, it may take in a "createdBy" parameter value which corresponds to the TaskAgentPool.createdBy.displayName property as documented here.

namespace: NAMESPACE_ID
schema: local://vendor/namespace
parameters:
- id: parameter
  valueProvider: local://vsts/parameters/agentpool?createdBy=1ES Resource Management
payload:
  id: resource
  property: '{parameter}'