Skip to content
Closed
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
208 changes: 208 additions & 0 deletions schemas/2018-06-01/Microsoft.DataFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -11958,6 +11958,9 @@
},
{
"$ref": "#/definitions/ExecuteDataFlowActivity"
},
{
"$ref": "#/definitions/ScriptActivity"
}
],
"properties": {
Expand Down Expand Up @@ -24877,6 +24880,211 @@
],
"description": "Custom script action to run on HDI ondemand cluster once it's up."
},
"ScriptActivity": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Script"
]
},
"typeProperties": {
"oneOf": [
{
"$ref": "#/definitions/ScriptActivityTypeProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Script activity properties."
}
},
"required": [
"type",
"typeProperties"
],
"description": "Script activity type."
},
"ScriptActivityParameter": {
"type": "object",
"properties": {
"direction": {
"oneOf": [
{
"type": "string",
"enum": [
"Input",
"Output",
"InputOutput"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The direction of the parameter."
},
"name": {
"type": "object",
"properties": {},
"description": "The name of the parameter. Type: string (or Expression with resultType string)."
},
"size": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The size of the output direction parameter."
},
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"Boolean",
"DateTime",
"DateTimeOffset",
"Decimal",
"Double",
"Guid",
"Int16",
"Int32",
"Int64",
"Single",
"String",
"Timespan"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of the parameter."
},
"value": {
"type": "object",
"properties": {},
"description": "The value of the parameter."
}
},
"description": "Parameters of a script block."
},
"ScriptActivityScriptBlock": {
"type": "object",
"properties": {
"parameters": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/ScriptActivityParameter"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Array of script parameters. Type: array."
},
"text": {
"type": "object",
"properties": {},
"description": "The query text. Type: string (or Expression with resultType string)."
},
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"Query",
"NonQuery"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of the query. Type: string."
}
},
"required": [
"text",
"type"
],
"description": "Script block of scripts."
},
"ScriptActivityTypeProperties": {
"type": "object",
"properties": {
"logSettings": {
"oneOf": [
{
"$ref": "#/definitions/ScriptActivityTypePropertiesLogSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Log settings of script activity."
},
"scripts": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/ScriptActivityScriptBlock"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Array of script blocks. Type: array."
}
},
"description": "Script activity properties."
},
"ScriptActivityTypePropertiesLogSettings": {
"type": "object",
"properties": {
"logDestination": {
"oneOf": [
{
"type": "string",
"enum": [
"ActivityOutput",
"ExternalStore"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The destination of logs. Type: string."
},
"logLocationSettings": {
"oneOf": [
{
"$ref": "#/definitions/LogLocationSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Log location settings."
}
},
"required": [
"logDestination"
],
"description": "Log settings of script activity."
},
"SecretBase": {
"type": "object",
"oneOf": [
Expand Down