Я зацикливаю полные действия по копированию пары в действии До в Azure ADF V2, в рамках этого я передаю "top" в качестве входного параметра в наборе данных "DS_HTTP_School1" для действия "COPY_HTTP_School".Здесь я хочу увеличивать «верхнее» значение внутри цикла каждый раз на 100 и должен передать обновленное значение моему API для нумерации страниц.
Помогите мне, как увеличить это значение для каждой итерации.{
"name": "PL_DATA_DS_HTTP_TO_BLOB_School2",
"properties": {
"description": "PL_DATA_DS_HTTP_TO_BLOB_School1",
"activities": [
{
"name": "Until1",
"type": "Until",
"typeProperties": {
"expression": {
"value": "@activity('COPY_HTTP_School').output",
"type": "Expression"
},
"activities": [
{
"name": "COPY_HTTP_School",
"type": "Copy",
"policy": {
"timeout": "7.00:00:00",
"retry": 3,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"typeProperties": {
"source": {
"type": "HttpSource",
"httpRequestTimeout": "00:01:40"
},
"sink": {
"type": "BlobSink"
},
"enableStaging": false,
"dataIntegrationUnits": 0
},
"inputs": [
{
"referenceName": "DS_HTTP_School1",
"type": "DatasetReference",
"parameters": {
"top": 100
}
}
],
"outputs": [
{
"referenceName": "DS_BLOB_Output_School",
"type": "DatasetReference"
}
]
},
{
"name": "COPY_School",
"type": "Copy",
"dependsOn": [
{
"activity": "COPY_HTTP_School",
"dependencyConditions": [
"Succeeded"
]
}
],
"policy": {
"timeout": "7.00:00:00",
"retry": 3,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"typeProperties": {
"source": {
"type": "BlobSource",
"recursive": false
},
"sink": {
"type": "SqlSink",
"writeBatchSize": 10000
},
"enableStaging": false,
"dataIntegrationUnits": 0,
"translator": {
"type": "TabularTranslator",
"columnMappings": {
"schoolid": "SchoolId",
"schoolname": "SchoolName",
"schoolnumber": "SchoolNumber",
"region": "RefRegionId",
"schooltype": "SchoolTypeId",
"authoritytypedesc": "AuthorityTypeDesc",
"email": "Email",
"agreedmaxresourcingroll": "AgreedMaxResourcingRoll",
"schoolstatusdate": "SchoolStatusDate"
}
}
},
"inputs": [
{
"referenceName": "DS_BLOB_School",
"type": "DatasetReference"
}
],
"outputs": [
{
"referenceName": "DS_ASQL_School",
"type": "DatasetReference"
}
]
}
],
"timeout": "7.00:00:00"
}
}
]
},
"type": "Microsoft.DataFactory/factories/pipelines"
}