Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3098,6 +3098,51 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel": {
"post": {
"tags": [
"triggerruns"
],
"operationId": "TriggerRuns_Cancel",
"x-ms-examples": {
"Triggers_Rerun": {
"$ref": "./examples/TriggerRuns_Cancel.json"
}
},
"description": "Cancel a single trigger instance by runId.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/factoryName"
},
{
"$ref": "#/parameters/triggerName"
},
{
"$ref": "#/parameters/runId"
},
{
"$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "TriggerRun has been cancelled."
},
"default": {
"description": "An error response received from the Azure Data Factory service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns": {
"post": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6574,7 +6574,7 @@
},
"reportStatusOnCallBack": {
"type": "object",
"description": "When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean)."
"description": "When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean)."
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"triggerName": "exampleTrigger",
"runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b",
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
"Date": "Sat, 16 Jun 2018 00:46:24 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1198",
"x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
"x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,42 @@
}
}
},
"/triggers/{triggerName}/triggerRuns/{runId}/cancel": {
"post": {
"tags": [
"triggerruns"
],
"operationId": "TriggerRun_CancelTriggerInstance",
"x-ms-examples": {
"Triggers_Rerun": {
"$ref": "./examples/TriggerRuns_Cancel.json"
}
},
"description": "Cancel single trigger instance by runId.",
"parameters": [
{
"$ref": "#/parameters/triggerName"
},
{
"$ref": "#/parameters/runId"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "TriggerRun has been cancelled."
},
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/queryTriggerRuns": {
"post": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"triggerName": "exampleTrigger",
"runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {
"headers": {
"Date": "Sat, 16 Jun 2018 00:46:24 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1198",
"x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
"x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
}
}
}
}