TaskDefinitionEndpoint interface

属性

connectionId

标识用于对终结点请求进行身份验证的服务连接的 ID。

keySelector

通过提取终结点 <c>URL</c>来筛选返回的基于 Json 的键数。基于 Json 的 keyselector 必须以“jsonpath:”为前缀。 KeySelector 可用于指定筛选器,以获取使用选择器指定的值的键。 <示例> 以下键elector 定义用于提取名为“ServiceName”的节点的 Json。 <代码> 终结点。KeySelector = “jsonpath://ServiceName”;</code></example>

scope

连接服务所理解的范围。 从本质上讲,现在为项目 ID。

selector

一个基于 XPath/Json 的选择器,用于筛选通过提取终结点 <c>URL</c>返回的响应。 基于 XPath 的选择器必须以字符串“xpath:”作为前缀。 基于 Json 的选择器必须以“jsonpath:”为前缀。 <示例> 以下选择器定义用于提取名为“ServiceName”的节点的 XPath。 <代码> 终结点。选择器 = “xpath://ServiceName”;</code></example>

taskId

此终结点所属的 TaskId。

url

用于 GET 的 URL。

属性详细信息

connectionId

标识用于对终结点请求进行身份验证的服务连接的 ID。

connectionId: string

属性值

string

keySelector

通过提取终结点 <c>URL</c>来筛选返回的基于 Json 的键数。基于 Json 的 keyselector 必须以“jsonpath:”为前缀。 KeySelector 可用于指定筛选器,以获取使用选择器指定的值的键。 <示例> 以下键elector 定义用于提取名为“ServiceName”的节点的 Json。 <代码> 终结点。KeySelector = “jsonpath://ServiceName”;</code></example>

keySelector: string

属性值

string

scope

连接服务所理解的范围。 从本质上讲,现在为项目 ID。

scope: string

属性值

string

selector

一个基于 XPath/Json 的选择器,用于筛选通过提取终结点 <c>URL</c>返回的响应。 基于 XPath 的选择器必须以字符串“xpath:”作为前缀。 基于 Json 的选择器必须以“jsonpath:”为前缀。 <示例> 以下选择器定义用于提取名为“ServiceName”的节点的 XPath。 <代码> 终结点。选择器 = “xpath://ServiceName”;</code></example>

selector: string

属性值

string

taskId

此终结点所属的 TaskId。

taskId: string

属性值

string

url

用于 GET 的 URL。

url: string

属性值

string