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 @@ -7363,6 +7363,152 @@
}
}
},
"ScriptActivity": {
"description": "Script activity type.",
"x-ms-discriminator-value": "Script",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ExecutionActivity"
}
],
"properties": {
"typeProperties": {
"x-ms-client-flatten": true,
"description": "Script activity properties.",
"$ref": "#/definitions/ScriptActivityTypeProperties"
}
},
"required": [
"typeProperties",
"linkedServiceName"
]
},
"ScriptActivityTypeProperties": {
"description": "Script activity properties.",
"type": "object",
"properties": {
"scripts": {
"type": "array",
"description": "Array of script blocks. Type: array.",
"items": {
"$ref": "#/definitions/ScriptActivityScriptBlock"
}
},
"logSettings": {
"description": "Log settings of script activity.",
"type": "object",
"properties": {
"logDestination": {
"x-ms-enum": {
"name": "ScriptActivityLogDestination",
"modelAsString": true
},
"enum": [
"ActivityOutput",
"ExternalStore"
],
"type": "string",
"description": "The destination of logs. Type: string."
},
"logLocationSettings": {
"description": "Log location settings customer needs to provide when enabling log.",
"$ref": "#/definitions/LogLocationSettings"
}
},
"required": [
"logDestination"
]
}
}
},
"ScriptActivityScriptBlock": {
"description": "Script block of scripts.",
"type": "object",
"properties": {
"text": {
"type": "object",
"description": "The query text. Type: string (or Expression with resultType string)."
},
"type": {
"x-ms-enum": {
"name": "ScriptType",
"modelAsString": true
},
"enum": [
"Query",
"NonQuery"
],
"type": "string",
"description": "The type of the query. Type: string."
},
"parameters": {
"type": "array",
"description": "Array of script parameters. Type: array.",
"items": {
"$ref": "#/definitions/ScriptActivityParameter"
}
}
},
"required": [
"text",
"type"
]
},
"ScriptActivityParameter": {
"description": "Parameters of a script block.",
"type": "object",
"properties": {
"name": {
"type": "object",
"description": "The name of the parameter. Type: string (or Expression with resultType string)."
},
"type": {
"description": "The type of the parameter.",
"type": "string",
"enum": [
"Boolean",
"DateTime",
"DateTimeOffset",
"Decimal",
"Double",
"Guid",
"Int16",
"Int32",
"Int64",
"Single",
"String",
"Timespan"
],
"x-ms-enum": {
"name": "ScriptActivityParameterType",
"modelAsString": true
}
},
"value": {
"description": "The value of the parameter.",
"type": "object"
},
"direction": {
"description": "The direction of the parameter.",
"type": "string",
"enum": [
"Input",
"Output",
"InputOutput"
],
"x-ms-enum": {
"name": "ScriptActivityParameterDirection",
"modelAsString": true
}
},
"size": {
"description": "The size of the output direction parameter.",
"type": "integer",
"format": "int32"
}
}
},
"SharePointOnlineListSource": {
"description": "A copy activity source for sharePoint online list source.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7050,6 +7050,152 @@
"dataflow"
]
},
"ScriptActivity": {
"description": "Script activity type.",
"x-ms-discriminator-value": "Script",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ExecutionActivity"
}
],
"properties": {
"typeProperties": {
"x-ms-client-flatten": true,
"description": "Script activity properties.",
"$ref": "#/definitions/ScriptActivityTypeProperties"
}
},
"required": [
"typeProperties",
"linkedServiceName"
]
},
"ScriptActivityTypeProperties": {
"description": "Script activity properties.",
"type": "object",
"properties": {
"scripts": {
"type": "array",
"description": "Array of script blocks. Type: array.",
"items": {
"$ref": "#/definitions/ScriptActivityScriptBlock"
}
},
"logSettings": {
"description": "Log settings of script activity.",
"type": "object",
"properties": {
"logDestination": {
"x-ms-enum": {
"name": "ScriptActivityLogDestination",
"modelAsString": true
},
"enum": [
"ActivityOutput",
"ExternalStore"
],
"type": "string",
"description": "The destination of logs. Type: string."
},
"logLocationSettings": {
"description": "Log location settings customer needs to provide when enabling log.",
"$ref": "#/definitions/LogLocationSettings"
}
},
"required": [
"logDestination"
]
}
}
},
"ScriptActivityScriptBlock": {
"description": "Script block of scripts.",
"type": "object",
"properties": {
"text": {
"type": "object",
"description": "The query text. Type: string (or Expression with resultType string)."
},
"type": {
"x-ms-enum": {
"name": "ScriptType",
"modelAsString": true
},
"enum": [
"Query",
"NonQuery"
],
"type": "string",
"description": "The type of the query. Type: string."
},
"parameters": {
"type": "array",
"description": "Array of script parameters. Type: array.",
"items": {
"$ref": "#/definitions/ScriptActivityParameter"
}
}
},
"required": [
"text",
"type"
]
},
"ScriptActivityParameter": {
"description": "Parameters of a script block.",
"type": "object",
"properties": {
"name": {
"type": "object",
"description": "The name of the parameter. Type: string (or Expression with resultType string)."
},
"type": {
"description": "The type of the parameter.",
"type": "string",
"enum": [
"Boolean",
"DateTime",
"DateTimeOffset",
"Decimal",
"Double",
"Guid",
"Int16",
"Int32",
"Int64",
"Single",
"String",
"Timespan"
],
"x-ms-enum": {
"name": "ScriptActivityParameterType",
"modelAsString": true
}
},
"value": {
"description": "The value of the parameter.",
"type": "object"
},
"direction": {
"description": "The direction of the parameter.",
"type": "string",
"enum": [
"Input",
"Output",
"InputOutput"
],
"x-ms-enum": {
"name": "ScriptActivityParameterDirection",
"modelAsString": true
}
},
"size": {
"description": "The size of the output direction parameter.",
"type": "integer",
"format": "int32"
}
}
},
"SharePointOnlineListSource": {
"description": "A copy activity source for sharePoint online list source.",
"type": "object",
Expand Down
Loading