Editar

Partilhar via


TaskDefinitionEndpoint interface

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 <c>Url</c>.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. <example> The following keyselector defines an Json for extracting nodes named 'ServiceName'. <code> endpoint.KeySelector = "jsonpath://ServiceName"; </code></example>

scope

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

selector

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

taskId

TaskId that this endpoint belongs to.

url

URL to GET.

Property Details

connectionId

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

connectionId: string

Property Value

string

keySelector

An Json based keyselector to filter response returned by fetching the endpoint <c>Url</c>.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. <example> The following keyselector defines an Json for extracting nodes named 'ServiceName'. <code> endpoint.KeySelector = "jsonpath://ServiceName"; </code></example>

keySelector: string

Property Value

string

scope

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

scope: string

Property Value

string

selector

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

selector: string

Property Value

string

taskId

TaskId that this endpoint belongs to.

taskId: string

Property Value

string

url

URL to GET.

url: string

Property Value

string