TaskDefinitionEndpoint

Last Update: 9/26/2016

Module path: TFS/DistributedTask/Contracts

Members

  • connectionId: string. An ID that identifies a service connection to be used for authenticating endpoint requests.

  • keySelector: string. An Json based keyselector to filter response returned by fetching the endpoint Url.A Json based keyselector must be prefixed with "jsonpath:". KeySelector can be used to specify the filter to get the keys for the values specified with Selector. The following keyselector defines an Json for extracting nodes named 'ServiceName'. endpoint.KeySelector = "jsonpath://ServiceName";

  • scope: string. The scope as understood by Connected Services. Essentialy, a project-id for now.

  • selector: string. An XPath/Json based selector to filter response returned by fetching the endpoint Url. An XPath based selector must be prefixed with the string "xpath:". A Json based selector must be prefixed with "jsonpath:". The following selector defines an XPath for extracting nodes named 'ServiceName'. endpoint.Selector = "xpath://ServiceName";

  • taskId: string. TaskId that this endpoint belongs to.

  • url: string. URL to GET.