你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
数据工厂版本 1 (V1)
注意
本参考文档适用于Azure 数据工厂版本 1 (V1) 。
创建或更新
“创建或更新数据工厂”操作创建新数据工厂,或更新现有数据工厂的内容。
请求
可以构造“创建或更新数据工厂”请求,如下所示(建议使用 HTTPS)。
HTTP 谓词 | 请求 URI | HTTP 版本 |
---|---|---|
PUT | https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}?api-version={api-version} | HTTP/1.1 |
URI 参数
URI 参数 | 必需 | 说明 |
---|---|---|
订阅 ID | 是 | Azure 订阅 ID。 |
ResourceGroupName | 是 | 托管 Azure 数据工厂服务的资源组的唯一名称。 |
DataFactoryName | 是 | 要创建的数据工厂的名称。 |
API 版本 | 是 | 指定用于发出此请求的协议的版本。 |
请求标头
下表介绍请求标头。
请求头 | 必需 | 说明 |
---|---|---|
x-ms-client-request-id | 是 | 此请求的操作 ID。 |
请求正文
请求正文的格式如下所示:
{
"name": <name>,
"location": <location>,
"tags": <tags>,
"properties": <properties>
}
下表说明了请求正文的元素。
元素名称 | 必需 | 说明 |
---|---|---|
name | 是 | 指定数据工厂的名称。 |
location | 是 | 指定数据工厂支持的 Azure 位置。 |
标记 | 否 | 用于描述资源的键/值对列表。 |
properties | 否 | 数据工厂的属性。 |
响应
响应包括 HTTP 状态代码、一组响应标头和响应正文。
状态代码
200(正常)- 如果请求已成功完成。
202(已接受)- 如果已接受请求。
400(错误的请求)- 如果请求正文未通过验证。
404(找不到)- 如果订阅或资源组不存在。
412(不满足前提条件)- 如果不满足 If-Match 标头指定的条件。
501(未实现)- 如果验证未实现。
响应标头
此操作的响应包括以下标头。 该响应还可能包括其他标准 HTTP 标头。 所有标准标头都符合 HTTP/1.1 协议规范。
响应标头 | 说明 |
---|---|
x-ms-request-id | 当前操作的唯一标识符,由数据工厂服务生成。 |
x-ms-ratelimit-remaining-subscription-writes | 当前订阅的剩余限制。 |
x-ms-correlation-request-id | 指定请求的跟踪相关 ID;资源提供程序必须记录此 ID,以便可以通过 Azure 关联端到端请求。 |
x-ms-routing-request-id | Location+DateTime+correlation-request-ID |
日期 | 服务生成的 UTC 日期/时间值指示启动响应的时间。 |
位置 | 要创建或获取的对象的 URI。 |
响应正文
{
"name": "<Name>",
"id": "<ID>",
"type": "Microsoft.DataFactory/datafactories",
"location": "<location>",
"tags": "<tag>",
"properties": {
"dataFactoryId": "<DataFactoryID>",
"provisioningState": "<provisioningstate>",
"error": "<Error>",
"errorMessage": "<ErrorMessage>"
}
}
下表介绍响应正文的元素。
元素名称 | 说明 |
---|---|
name | 指定数据工厂的名称。 |
id | 指定数据工厂的标识 URL。 |
location | 指定数据工厂支持的 Azure 位置。 |
标记 | 用于描述资源的键/值对列表。 |
datafactoryID | 为此数据工厂自动生成的 ID。 |
provisioningstate | 指定数据工厂的当前设置状态。 成功创建数据工厂时,此元素的值为 Succeeded。 |
error | 指定是否在部署过程中发生了错误。 |
errormessage | 与错误相关的消息。 |
示例请求和响应
对于下面的示例 URI:
PUT: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01
请求标头:
Headers:
x-ms-client-request-id : 029a8839-027e-43c5-8854-af4388dcd232
请求正文:
Body:
{
"name": "RestDataFactory",
"location": "West US",
"tags": {}
}
将返回以下响应:
Status Code:
Created
Headers:
Pragma : no-cache
x-ms-request-id : 00000000-1111-1111-1111-000000000000
x-ms-ratelimit-remaining-subscription-writes: 11999
x-ms-correlation-request-id : 00000000-1111-2222-1111-000000000000
x-ms-routing-request-id : WESTUS:20141203T212810Z: 00000000-1111-2222-1111-000000000000
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Wed, 03 Dec 2014 21:28:09 GMT
Location : https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01
Server : Microsoft-IIS/8.5
X-Powered-By : ASP.NET
client-tracking-id : 10
The response includes the following XML body.
{
"name": "test",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test",
"type": "Microsoft.DataFactory/datafactories",
"location": "westus",
"tags": {},
"properties": {
"dataFactoryId": "39d4e663-cfcb-4ee9-ad19-92cf87de9197",
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
}
删除
删除特定数据工厂。
请求
可以按如下方式构造“删除数据工厂”请求(建议使用 HTTPS):
HTTP 谓词 | 请求 URI | HTTP 版本 |
---|---|---|
DELETE | https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}?api-version={api-version} | HTTP/1.1 |
URI 参数
URI 参数 | 必需 | 说明 |
---|---|---|
订阅 ID | 是 | Azure 订阅 ID。 |
ResourceGroupName | 是 | 托管 Azure 数据工厂的资源组的唯一名称。 |
DataFactoryName | 是 | 要删除的数据工厂的名称。 |
API 版本 | 是 | 指定用于发出此请求的协议的版本。 |
请求标头
下表介绍请求标头:
请求头 | 必需 | 说明 |
---|---|---|
x-ms-client-request-id | 是 | 此请求的操作 ID。 |
请求正文
无。
响应
响应包括 HTTP 状态代码、一组响应标头和响应正文。
状态代码
200(正常)- 如果请求已成功完成。
400(错误的请求)- 如果请求正文未通过验证。
404(找不到)- 如果订阅或资源组不存在。
412(不满足前提条件)- 如果不满足 If-Match 标头指定的条件。
501(未实现)- 如果验证未实现
响应标头
此操作的响应包括以下标头。 该响应还可能包括其他标准 HTTP 标头。 所有标准标头都符合 HTTP/1.1 协议规范。
响应标头 | 说明 |
---|---|
x-ms-request-id | 当前操作的唯一标识符,由服务生成。 |
x-ms-ratelimit-remaining-subscription-writes | 当前订阅的剩余限制。 |
x-ms-correlation-request-id | 指定请求的跟踪相关 ID;资源提供程序必须记录此项,以便可以通过 Azure 关联端到端请求。 |
x-ms-routing-request-id | Location+DateTime+correlation-request-ID |
日期 | 服务生成的 UTC 日期/时间值指示启动响应的时间。 |
响应正文
无。
示例请求和响应
示例 URI:
DELETE: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01
请求与以下标头一起发送:
x-ms-client-request-id : 00000000-1111-1111-1111-000000000000
在发送请求后,将返回以下响应:
Status Code:
OK
Headers:
Pragma : no-cache
x-ms-request-id : f8c04a54-259b-4085-b596-e6c97fa6433a
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-correlation-request-id : ad02c0f4-ca01-49fe-b1d2-5149629d2412
x-ms-routing-request-id : EASTUS:20160205T230719Z:ad02c0f4-ca01-49fe-b1d2-5149629d2412
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Fri, 05 Feb 2016 23:07:19 GMT
Server : Microsoft-IIS/8.5
X-Powered-By : ASP.NET
Body:
Get
获取有关指定数据工厂的信息。
请求
可以按如下方式构造“获取数据工厂”请求(建议使用 HTTPS):
HTTP 谓词 | 请求 URI | HTTP 版本 |
---|---|---|
GET | https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}?api-version={api-version} | HTTP/1.1 |
URI 参数
URI 参数 | 必需 | 说明 |
---|---|---|
订阅 ID | 是 | Azure 订阅 ID |
ResourceGroupName | 是 | 托管 Azure 数据工厂的资源组的唯一名称。 |
DataFactoryName | 是 | 要获取的数据工厂的名称。 |
API 版本 | 是 | 指定用于发出此请求的协议的版本。 |
请求标头
下表介绍请求标头。
请求头 | 必需 | 说明 |
---|---|---|
x-ms-client-request-id | 是 | 此请求的操作 ID。 |
请求正文
无。
响应
响应包括 HTTP 状态代码、一组响应标头和响应正文。
状态代码
200(正常)- 如果请求已成功完成。
400(错误的请求)- 如果请求正文未通过验证。
404(找不到)- 如果订阅或资源组不存在。
412(不满足前提条件)- 如果不满足 If-Match 标头指定的条件。
501(未实现)- 如果验证未实现
响应标头
此操作的响应包括以下标头。 该响应还可能包括其他标准 HTTP 标头。 所有标准标头都符合 HTTP/1.1 协议规范。
响应标头 | 说明 |
---|---|
x-ms-request-id | 当前操作的唯一标识符,由服务生成。 |
x-ms-ratelimit-remaining-subscription-writes | 当前订阅的剩余限制。 |
x-ms-correlation-request-id | 指定请求的跟踪相关 ID;资源提供程序必须记录此项,以便可以通过 Azure 关联端到端请求。 |
x-ms-routing-request-id | Location+DateTime+correlation-request-ID |
日期 | 服务生成的 UTC 日期/时间值指示启动响应的时间 |
响应正文
{
"name": "<Name>",
"id": "<ID>",
"type": "Microsoft.DataFactory/datafactories",
"location": "<location>",
"tags": "<tag>",
"properties": {
"dataFactoryId": "<DataFactoryID>",
"provisioningState": "<provisioningstate>",
"error": "<Error>",
"errorMessage": "<ErrorMessage>"
}
}
下表介绍响应正文的元素。
元素名称 | 说明 |
---|---|
name | 指定数据工厂的名称 |
id | 指定数据工厂的标识 URL。 |
location | 指定数据工厂支持的 Azure 位置 |
标记 | 用于描述资源的键/值对列表 |
datafactoryID | 为此数据工厂自动生成的 ID。 |
provisioningstate | 指定数据工厂的当前设置状态。 成功创建数据工厂时,此元素的值为 Succeeded |
error | 指定是否在部署过程中发生了任何错误。 |
errormessage | 与错误相关的消息 |
示例请求和响应
示例 URI:
GET: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test?api-version=2015-10-01
该请求与以下标头一起发送。
x-ms-client-request-id : 00000000-1111-1111-1111-000000000000
在发送请求后,将返回以下响应。
Status Code:
OK
Headers:
Pragma : no-cache
x-ms-request-id : 00000000-1111-1111-1111-000000000000
x-ms-ratelimit-remaining-subscription-writes: 799986
x-ms-correlation-request-id : 00000000-1111-2222-1111-000000000000
x-ms-routing-request-id : WESTUS:20141203T221428Z: 00000000-1111-2222-1111-000000000000
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Wed, 03 Dec 2014 22:14:27 GMT
Server : Microsoft-IIS/8.5
X-Powered-By : ASP.NET
The response includes the following XML body.
{
"name": "test",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test",
"type": "Microsoft.DataFactory/datafactories",
"location": "westus",
"tags": {},
"properties": {
"dataFactoryId": "00000000-1111-1111-1111-000000000000",
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
}
列出
Lists资源组中所有数据工厂的信息。
请求
List Data Factories 请求可以按如下方式构造(建议使用 HTTPS):
HTTP 谓词 | 请求 URI | HTTP 版本 |
---|---|---|
GET | https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories?api-version={api-version} | HTTP/1.1 |
URI 参数
URI 参数 | 必需 | 说明 |
---|---|---|
订阅 ID | 是 | Azure 订阅 ID。 |
ResourceGroupName | 是 | 托管 Azure 数据工厂服务的资源组的唯一名称。 |
API 版本 | 是 | 指定用于发出此请求的协议的版本。 |
请求标头
下表介绍请求标头。
请求头 | 必需 | 说明 |
---|---|---|
x-ms-client-request-id | 是 | 此请求的操作 ID。 |
请求正文
无。
响应
响应包括 HTTP 状态代码、一组响应标头和响应正文。
状态代码
200(正常)- 如果请求已成功完成。
400(错误的请求)- 如果请求正文未通过验证。
404(找不到)- 如果订阅或资源组不存在。
412(不满足前提条件)- 如果不满足 If-Match 标头指定的条件。
响应标头
此操作的响应包括以下标头。 该响应还可能包括其他标准 HTTP 标头。 所有标准标头都符合 HTTP/1.1 协议规范。
响应标头 | 说明 |
---|---|
x-ms-request-id | 当前操作的唯一标识符,由服务生成。 |
x-ms-ratelimit-remaining-subscription-writes | 当前订阅的剩余限制。 |
x-ms-correlation-request-id | 指定请求的跟踪相关 ID。 资源提供程序 必须 记录此日志,以便端到端请求可以在 Azure 中关联。 |
x-ms-routing-request-id | Location+DateTime+correlation-request-ID |
日期 | 服务生成的 UTC 日期/时间值指示启动响应的时间。 |
响应正文
{
"value": [
{
"name": <name1> ,
"id": <id>,
"type": "Microsoft.DataFactory/datafactories",
"location": <location>,
"tags": {},
"properties": {
"dataFactoryId": <datafactoryID>
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
},
{
"name": <name2> ,
"id": <id>,
"type": "Microsoft.DataFactory/datafactories",
"location": <location>,
"tags": {},
"properties": {
"dataFactoryId": <datafactoryID>
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
}
]
}
下表介绍响应正文的元素。
元素名称 | 说明 |
---|---|
name | 指定数据工厂的名称。 |
id | 指定数据工厂的标识 URL。 |
location | 指定数据工厂支持的 Azure 位置。 |
标记 | 描述资源的键值对的列表。 |
datafactoryID | 为此数据工厂自动生成的 ID。 |
provisioningstate | 指定数据工厂的当前设置状态。 成功创建数据工厂时,此元素的值为 Succeeded。 |
error | 指定在部署期间出现的任何错误。 |
errormessage | 与错误相关的消息。 |
如果记录超过 100 条,则通过 nextLink 将一次获得 100 条记录:
{
"value": [
{
"name": <name1> ,
"id": <id>,
"type": "Microsoft.DataFactory/datafactories",
"location": <location>,
"tags": {},
"properties": {
"dataFactoryId": <datafactoryID>,
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
},
{
"name": <name2> ,
"id": <id>,
"type": "Microsoft.DataFactory/datafactories",
"location": <location>,
"tags": {},
"properties": {
"dataFactoryId": <datafactoryID>,
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
}
],
"nextLink": "https://management.azure.com/subscriptions/{subscription ID>/resourcegroups/{Resource group name>/providers/Microsoft.DataFactory/datafactories?api-version=2015-10-01&%24skipToken=MSExNiFSR0YwWVVGeWRHbG1ZV04wCjEhNTIhUkVGZlpUSXlaR1UyTXpndFpURTJNeTAwWXpZNUxUaGhNR0l0Wm1VMU1ETmpOakF4T0RObA%3d%3d"
}
使用 nextLink URL 发送下一个请求以获取下一组记录。 可能需要在 nextLink URL 中用双引号 (“”) 将 & 括起来。 一次仅返回 100 条记录。
示例请求和响应
示例 URI:
GET: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories?api-version=2015-10-01
该请求与以下标头一起发送。
x-ms-client-request-id : 00000000-1111-1111-1111-000000000000
在发送请求后,将返回以下响应。
Status Code:
OK
Headers:
Pragma : no-cache
x-ms-request-id : 00000000-1111-1111-1111-000000000000
x-ms-ratelimit-remaining-subscription-writes: 799986
x-ms-correlation-request-id : 00000000-1111-2222-1111-000000000000
x-ms-routing-request-id : WESTUS:20141203T221428Z: 00000000-1111-2222-1111-000000000000
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Wed, 03 Dec 2014 22:14:27 GMT
Server : Microsoft-IIS/8.5
X-Powered-By : ASP.NET
The response includes the following XML body.
{
"value": [
{
"name": "test",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test",
"type": "Microsoft.DataFactory/datafactories",
"location": "westus",
"tags": {},
"properties": {
"dataFactoryId": "00000000-1111-1111-1111-000000000000",
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
},
{
"name": "test2",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adf/providers/Microsoft.DataFactory/datafactories/test2",
"type": "Microsoft.DataFactory/datafactories",
"location": "westus",
"tags": {},
"properties": {
"dataFactoryId": "00000000-1111-1111-1111-000000000001",
"provisioningState": "Succeeded",
"error": null,
"errorMessage": null
}
}
]
}
列出活动窗口
Lists与数据工厂关联的活动窗口实例的第一页,以及指向下一页的链接。
请求
可以按如下所示构造获取活动窗口请求, (建议) HTTPS:
HTTP 谓词 | 请求 URI | HTTP 版本 |
---|---|---|
POST | https://management.azure.com/subscriptions/{SubscriptionID}/resourcegroups/{ResourceGroupName}/providers/Microsoft.DataFactory/datafactories/{DataFactoryName}/activitywindows?api-version={api-version} | HTTP/1.1 |
URI 参数
URI 参数 | 必需 | 说明 |
---|---|---|
订阅 ID | 是 | Azure 订阅 ID。 |
ResourceGroupName | 是 | 托管 Azure 数据工厂的资源组的名称。 |
DataFactoryName | 是 | 数据工厂的名称。 |
API 版本 | 是 | 指定用于发出此请求的协议的版本。 |
请求标头
下表介绍请求标头。
请求头 | 必需 | 说明 |
---|---|---|
x-ms-client-request-id | 是 | 此请求的操作 ID。 |
请求正文
元素名称 | 说明 | 必需 |
---|---|---|
筛选器 | 使用 Azure 搜索筛选器语法指定的活动窗口筛选器。 有关详细信息,请参阅https://msdn.microsoft.com/library/azure/dn798921.aspx。 | 否 |
OrderBy | 按指定的活动窗口属性对响应进行排序。 这是逗号分隔属性的列表。 例如:WindowStart、PercentComplete。 通过 befault,顺序是 ASC) (升序。 如果希望列表按降序排序,请指定 DESC。 | 否 |
顶部 | 要列出的活动窗口数。 | 否 |
RunStart | 活动窗口运行的开始时间。 | 否 |
RunEnd | 活动窗口运行的结束时间。 | 否 |
WindowStart | 活动窗口的开始时间。 | 否 |
WindowEnd | 活动窗口的结束时间。 | 否 |
WindowState | 活动窗口的状态。 必须是 本文中指定的值之一。 | 否 |
WindowSubstate | 活动窗口的子状态。 必须是 本文中指定的值之一。 | 否 |
响应
响应包括 HTTP 状态代码、一组响应标头和响应正文。
状态代码
200(正常)- 如果请求已成功完成。
400(错误的请求)- 如果请求正文未通过验证。
404(找不到)- 如果订阅或资源组不存在。
响应标头
此操作的响应包括以下标头。 该响应还可能包括其他标准 HTTP 标头。 所有标准标头都符合 HTTP/1.1 协议规范。
响应标头 | 说明 |
---|---|
x-ms-request-id | 当前操作的唯一标识符,由服务生成。 |
x-ms-ratelimit-remaining-subscription-writes | 当前订阅的剩余限制。 |
x-ms-correlation-request-id | 指定请求的跟踪相关 ID。 资源提供程序必须记录此项,以便可以通过 Azure 关联端到端请求。 |
x-ms-routing-request-id | Location+DateTime+correlation-request-ID |
日期 | 服务生成的 UTC 日期/时间值指示启动响应的时间。 |
响应正文
{
"value": {
"activityWindows": [
{
"resourceGroupName": "<resource group name>",
"dataFactoryName": "<data factory name>",
"pipelineName": "<pipeline name>",
"activityName": "<Pipeline activity name.>",
"linkedServiceName": "<linked service name>",
"activityType": "<The activity type>",
"runAttempts": "<Number of activity run attempts.>",
"runStart": "<start time of the last run>",
"runEnd": "<end time of the last run>",
"duration": "<duration of the activity window>",
"percentComplete": "<percent completion of activity window>",
"windowStart": "<window start time>",
"windowEnd": "<window end time>",
"windowState": "<window state>",
"windowSubstate": "<window substate>",
"inputDatasets": "[<input dataset names>]",
"outputDatasets": [
"<output dataset names>"
],
"inputDatasetIds":["<input dataset ids>"],
"outputDatasetIds": [
"<output dataset ids>"
]
}
],
"lastUpdate":"<The approximate time for the last activity windows>",
"aggregates": {}
},
"nextLink": "<Link to next page>"
}
示例请求和响应
示例 URI:
POST:https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ADF/providers/Microsoft.DataFactory/datafactories/dfName/activitywindows?api-version=2015-10-01
请求将使用以下标头和正文发送:
标头:
x-ms-client-request-id : 00000000-1111-1111-1111-000000000000
正文:
{
"top": 5
}
在发送请求后,将返回以下响应。
Status Code:
OK
Headers:
Pragma : no-cache
x-ms-request-id : 00000000-1111-1111-1111-000000000000
x-ms-ratelimit-remaining-subscription-writes: 799985
x-ms-correlation-request-id : 00000000-1111-2222-1111-000000000000
x-ms-routing-request-id : WESTUS:20141203T213307Z: 00000000-1111-2222-1111-000000000000
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Wed, 03 Dec 2014 21:33:07 GMT
Server : Microsoft-IIS/8.5
X-Powered-By : ASP.NET
响应包括以下 XML 正文。
"value": {
"activityWindows": [
{
"resourceGroupName": "rgName",
"dataFactoryName": "dfName",
"pipelineName": "DA_WikipediaClickEvents",
"activityName": "DA_WikipediaClickEvents",
"linkedServiceName": "LS_Wikipedia",
"activityType": "Copy",
"runAttempts": 1,
"runStart": "2016-01-26T21:41:48.636Z",
"runEnd": "2016-01-26T21:41:48.886Z",
"duration": "00:00:00.0000250",
"percentComplete": 100,
"windowStart": "2016-01-25T01:00:00Z",
"windowEnd": "2016-01-25T02:00:00Z",
"windowState": "Pending",
"windowSubstate": "Validating",
"inputDatasets": ["DA_WikipediaEvents"],
"outputDatasets": [
"DA_WikipediaClickEvents"
],
"inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],
"outputDatasetIds": [
"1e4a0e42-5df3-4a7e-9860-7f75d306ff75"
]
},
{
"resourceGroupName": "rgName",
"dataFactoryName": "dfName",
"pipelineName": "DA_WikipediaClickEvents",
"activityName": "DA_WikipediaClickEvents",
"linkedServiceName": "LS_Wikipedia",
"activityType": "Copy",
"runAttempts": 1,
"runStart": "2016-01-26T21:41:48.636Z",
"runEnd": "2016-01-26T21:41:48.886Z",
"duration": "00:00:00.0000250",
"percentComplete": 100,
"windowStart": "2016-01-25T02:00:00Z",
"windowEnd": "2016-01-25T03:00:00Z",
"windowState": "Pending",
"windowSubstate": "Validating",
"inputDatasets": ["DA_WikipediaEvents"],
"outputDatasets": [
"DA_WikipediaClickEvents"
],
"inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],
"outputDatasetIds": [
"1e4a0e42-5df3-4a7e-9860-7f75d306ff75"
]
},
{
"resourceGroupName": "rgName",
"dataFactoryName": "dfName",
"pipelineName": "DA_WikipediaClickEvents",
"activityName": "DA_WikipediaClickEvents",
"linkedServiceName": "LS_Wikipedia",
"activityType": "Copy",
"runAttempts": 1,
"runStart": "2016-01-26T21:41:48.636Z",
"runEnd": "2016-01-26T21:41:48.886Z",
"duration": "00:00:00.0000250",
"percentComplete": 100,
"windowStart": "2016-01-03:00:00Z",
"windowEnd": "2016-01-25T04:00:00Z",
"windowState": "Pending",
"windowSubstate": "Validating",
"inputDatasets": ["DA_WikipediaEvents"],
"outputDatasets": [
"DA_WikipediaClickEvents"
],
"inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],
"outputDatasetIds": [
"1e4a0e42-5df3-4a7e-9860-7f75d306ff75"
]
},
{
"resourceGroupName": "rgName",
"dataFactoryName": "dfName",
"pipelineName": "DA_WikipediaClickEvents",
"activityName": "DA_WikipediaClickEvents",
"linkedServiceName": "LS_Wikipedia",
"activityType": "Copy",
"runAttempts": 1,
"runStart": "2016-01-26T21:41:48.636Z",
"runEnd": "2016-01-26T21:41:48.886Z",
"duration": "00:00:00.0000250",
"percentComplete": 100,
"windowStart": "2016-01-04:00:00Z",
"windowEnd": "2016-01-25T05:00:00Z",
"windowState": "Pending",
"windowSubstate": "Validating",
"inputDatasets": ["DA_WikipediaEvents"],
"outputDatasets": [
"DA_WikipediaClickEvents"
],
"inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],
"outputDatasetIds": [
"1e4a0e42-5df3-4a7e-9860-7f75d306ff75"
]
},
{
"resourceGroupName": "rgName",
"dataFactoryName": "dfName",
"pipelineName": "DA_WikipediaClickEvents",
"activityName": "DA_WikipediaClickEvents",
"linkedServiceName": "LS_Wikipedia",
"activityType": "Copy",
"runAttempts": 1,
"runStart": "2016-01-26T21:41:48.636Z",
"runEnd": "2016-01-26T21:41:48.886Z",
"duration": "00:00:00.0000250",
"percentComplete": 100,
"windowStart": "2016-01-25T05:00:00Z",
"windowEnd": "2016-01-25T06:00:00Z",
"windowState": "Pending",
"windowSubstate": "Validating",
"inputDatasets": ["DA_WikipediaEvents"],
"outputDatasets": [
"DA_WikipediaClickEvents"
],
"inputDatasetIds": ["308F5E07-5B0C-4AE9-95EB-9CEF26CFDD21"],
"outputDatasetIds": [
"1e4a0e42-5df3-4a7e-9860-7f75d306ff75"
]
}
],
"lastUpdate": "2016-01-26T21:43:45.6837301+00:00",
"aggregates": {}
},
"nextLink": "https://localhost:86/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgName/datafactories/dfName/activitywindows/skip=FG154H?ApiVerion01012015"}
使用 nextLink URL 获取下一页的结果。
在请求正文中使用筛选器
{
"filter": "(ActivityName eq 'BlobToSqlCopyActivity') and (PipelineName eq 'DP_WikipediaSamplePipeline')"
}