Skip to content

Commit

Permalink
add databricks activity (#2568)
Browse files Browse the repository at this point in the history
  • Loading branch information
najian authored and jianghaolu committed Mar 2, 2018
1 parent b4fc5be commit 1fed5b4
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3847,6 +3847,18 @@
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
},
"headNodeSize": {
"type": "object",
"description": "Specifies the size of the head node for the HDInsight cluster."
},
"dataNodeSize": {
"type": "object",
"description": "Specifies the size of the data node for the HDInsight cluster."
},
"zookeeperNodeSize": {
"type": "object",
"description": "Specifies the size of the Zoo Keeper node for the HDInsight cluster."
}
},
"required": [
Expand Down Expand Up @@ -3919,6 +3931,71 @@
"accountName",
"tenant"
]
},
"AzureDatabricksLinkedService": {
"x-ms-discriminator-value": "AzureDatabricks",
"description": "Azure Databricks linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Azure Databricks linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AzureDatabricksLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"AzureDatabricksLinkedServiceTypeProperties": {
"description": "Azure Databricks linked service properties.",
"properties": {
"domain": {
"type": "object",
"description": "<REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string)."
},
"accessToken": {
"description": "Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string).",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"existingClusterId": {
"type": "object",
"description": "The id of an existing cluster that will be used for all runs of this job. Type: string (or Expression with resultType string)."
},
"newClusterVersion": {
"type": "object",
"description": "The Spark version of new cluster. Type: string (or Expression with resultType string)."
},
"newClusterNumOfWorker": {
"type": "object",
"description": "Number of worker nodes that new cluster should have. A string formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 as min and 10 as max. Type: string (or Expression with resultType string)."
},
"newClusterNodeType": {
"type": "object",
"description": "The node types of new cluster. Type: string (or Expression with resultType string)."
},
"newClusterSparkConf": {
"description": "a set of optional, user-specified Spark configuration key-value pairs.",
"type": "object",
"additionalProperties": {
"type": "object",
"description": "Type: string (or Expression with resultType string)."
}
},
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
}
},
"required": [
"domain",
"accessToken"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2728,6 +2728,45 @@
"condition",
"items"
]
},
"DatabricksNotebookActivity": {
"description": "DatabricksNotebook activity.",
"x-ms-discriminator-value": "DatabricksNotebook",
"allOf": [
{
"$ref": "#/definitions/ExecutionActivity"
}
],
"properties": {
"typeProperties": {
"x-ms-client-flatten": true,
"description": "Databricks Notebook activity properties.",
"$ref": "#/definitions/DatabricksNotebookActivityTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"DatabricksNotebookActivityTypeProperties": {
"description": "Databricks Notebook activity properties.",
"properties": {
"notebookPath": {
"type": "object",
"description": "The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string)."
},
"baseParameters": {
"description": "Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used.",
"type": "object",
"additionalProperties": {
"type": "object",
"description": "Type: string (or Expression with resultType string)."
}
}
},
"required": [
"notebookPath"
]
}
}
}

0 comments on commit 1fed5b4

Please sign in to comment.