Skip to content

Commit 2e8d9f8

Browse files
authored
[Synapse] Add TargetSparkConfiguration property for sjd and notebook (#20409)
* add TargetSparkConfiguration property for sjd and notebook * prettier check
1 parent a27c521 commit 2e8d9f8

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Notebook.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
"$ref": "#/definitions/BigDataPoolReference",
2020
"x-nullable": true
2121
},
22+
"targetSparkConfiguration": {
23+
"description": "The spark configuration of the spark job.",
24+
"$ref": "#/definitions/SparkConfigurationReference"
25+
},
2226
"sessionProperties": {
2327
"description": "Session properties.",
2428
"$ref": "#/definitions/NotebookSessionProperties",
@@ -65,6 +69,31 @@
6569
"cells"
6670
]
6771
},
72+
"SparkConfigurationReference": {
73+
"description": "Spark configuration reference.",
74+
"type": "object",
75+
"properties": {
76+
"type": {
77+
"description": "Spark configuration reference type.",
78+
"type": "string",
79+
"enum": [
80+
"SparkConfigurationReference"
81+
],
82+
"x-ms-enum": {
83+
"name": "SparkConfigurationReferenceType",
84+
"modelAsString": true
85+
}
86+
},
87+
"referenceName": {
88+
"description": "Reference spark configuration name.",
89+
"type": "string"
90+
}
91+
},
92+
"required": [
93+
"type",
94+
"referenceName"
95+
]
96+
},
6897
"BigDataPoolReference": {
6998
"description": "Big data pool reference.",
7099
"type": "object",

specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/SparkJobDefinition.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"description": "Big data pool reference.",
1919
"$ref": "./Notebook.json#/definitions/BigDataPoolReference"
2020
},
21+
"targetSparkConfiguration": {
22+
"description": "The spark configuration of the spark job.",
23+
"$ref": "./Notebook.json#/definitions/SparkConfigurationReference"
24+
},
2125
"requiredSparkVersion": {
2226
"description": "The required Spark version of the application.",
2327
"type": "string"

0 commit comments

Comments
 (0)