|
27270 | 27270 | ], |
27271 | 27271 | "description": "A copy activity snowflake source." |
27272 | 27272 | }, |
| 27273 | + "SparkConfigurationParametrizationReference": { |
| 27274 | + "type": "object", |
| 27275 | + "properties": { |
| 27276 | + "referenceName": { |
| 27277 | + "type": "object", |
| 27278 | + "properties": {}, |
| 27279 | + "description": "Reference spark configuration name. Type: string (or Expression with resultType string)." |
| 27280 | + }, |
| 27281 | + "type": { |
| 27282 | + "oneOf": [ |
| 27283 | + { |
| 27284 | + "type": "string", |
| 27285 | + "enum": [ |
| 27286 | + "SparkConfigurationReference" |
| 27287 | + ] |
| 27288 | + }, |
| 27289 | + { |
| 27290 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 27291 | + } |
| 27292 | + ], |
| 27293 | + "description": "Spark configuration reference type." |
| 27294 | + } |
| 27295 | + }, |
| 27296 | + "required": [ |
| 27297 | + "referenceName", |
| 27298 | + "type" |
| 27299 | + ], |
| 27300 | + "description": "Spark configuration reference." |
| 27301 | + }, |
27273 | 27302 | "SparkDatasetTypeProperties": { |
27274 | 27303 | "type": "object", |
27275 | 27304 | "properties": { |
|
29246 | 29275 | "properties": {}, |
29247 | 29276 | "description": "Spark configuration properties, which will override the 'conf' of the spark job definition you provide." |
29248 | 29277 | }, |
| 29278 | + "configurationType": { |
| 29279 | + "oneOf": [ |
| 29280 | + { |
| 29281 | + "type": "string", |
| 29282 | + "enum": [ |
| 29283 | + "Default", |
| 29284 | + "Customized", |
| 29285 | + "Artifact" |
| 29286 | + ] |
| 29287 | + }, |
| 29288 | + { |
| 29289 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 29290 | + } |
| 29291 | + ], |
| 29292 | + "description": "The type of the spark config." |
| 29293 | + }, |
29249 | 29294 | "driverSize": { |
29250 | 29295 | "type": "object", |
29251 | 29296 | "properties": {}, |
@@ -29292,30 +29337,45 @@ |
29292 | 29337 | "description": "Additional files used for reference in the main definition file, which will override the 'jars' and 'files' of the spark job definition you provide." |
29293 | 29338 | }, |
29294 | 29339 | "numExecutors": { |
| 29340 | + "type": "object", |
| 29341 | + "properties": {}, |
| 29342 | + "description": "Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide. Type: integer (or Expression with resultType integer)." |
| 29343 | + }, |
| 29344 | + "pythonCodeReference": { |
29295 | 29345 | "oneOf": [ |
29296 | 29346 | { |
29297 | | - "type": "integer" |
| 29347 | + "type": "array", |
| 29348 | + "items": { |
| 29349 | + "type": "object", |
| 29350 | + "properties": {} |
| 29351 | + } |
29298 | 29352 | }, |
29299 | 29353 | { |
29300 | 29354 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
29301 | 29355 | } |
29302 | 29356 | ], |
29303 | | - "description": "Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide." |
| 29357 | + "description": "Additional python code files used for reference in the main definition file, which will override the 'pyFiles' of the spark job definition you provide." |
29304 | 29358 | }, |
29305 | | - "pythonCodeReference": { |
| 29359 | + "scanFolder": { |
| 29360 | + "type": "object", |
| 29361 | + "properties": {}, |
| 29362 | + "description": "Scanning subfolders from the root folder of the main definition file, these files will be added as reference files. The folders named 'jars', 'pyFiles', 'files' or 'archives' will be scanned, and the folders name are case sensitive. Type: boolean (or Expression with resultType boolean)." |
| 29363 | + }, |
| 29364 | + "sparkConfig": { |
29306 | 29365 | "oneOf": [ |
29307 | 29366 | { |
29308 | | - "type": "array", |
29309 | | - "items": { |
| 29367 | + "type": "object", |
| 29368 | + "additionalProperties": { |
29310 | 29369 | "type": "object", |
29311 | 29370 | "properties": {} |
29312 | | - } |
| 29371 | + }, |
| 29372 | + "properties": {} |
29313 | 29373 | }, |
29314 | 29374 | { |
29315 | 29375 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
29316 | 29376 | } |
29317 | 29377 | ], |
29318 | | - "description": "Additional python code files used for reference in the main definition file, which will override the 'pyFiles' of the spark job definition you provide." |
| 29378 | + "description": "Spark configuration property." |
29319 | 29379 | }, |
29320 | 29380 | "sparkJob": { |
29321 | 29381 | "oneOf": [ |
|
29338 | 29398 | } |
29339 | 29399 | ], |
29340 | 29400 | "description": "Big data pool reference type." |
| 29401 | + }, |
| 29402 | + "targetSparkConfiguration": { |
| 29403 | + "oneOf": [ |
| 29404 | + { |
| 29405 | + "$ref": "#/definitions/SparkConfigurationParametrizationReference" |
| 29406 | + }, |
| 29407 | + { |
| 29408 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 29409 | + } |
| 29410 | + ], |
| 29411 | + "description": "Spark configuration reference." |
29341 | 29412 | } |
29342 | 29413 | }, |
29343 | 29414 | "required": [ |
|
0 commit comments