Edit

Share via


TaskDefinitionEndpoint Class

Definition

[System.Runtime.Serialization.DataContract]
public class TaskDefinitionEndpoint
type TaskDefinitionEndpoint = class
Public Class TaskDefinitionEndpoint
Inheritance
TaskDefinitionEndpoint
Attributes

Constructors

TaskDefinitionEndpoint()

Properties

ConnectionId

An ID that identifies a service connection to be used for authenticating endpoint requests.

KeySelector

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

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

Selector

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

TaskId that this endpoint belongs to.

Url

URL to GET.

Applies to