az synapse spark-job-definition
Manage spark job definitions in a synapse workspace.
Commands
Name | Description | Type | Status |
---|---|---|---|
az synapse spark-job-definition create |
Create a spark job definition. |
Core | GA |
az synapse spark-job-definition delete |
Delete a spark job definition. |
Core | GA |
az synapse spark-job-definition list |
List spark job definitions. |
Core | GA |
az synapse spark-job-definition show |
Get a spark job definition. |
Core | GA |
az synapse spark-job-definition update |
Update a spark job definition. |
Core | GA |
az synapse spark-job-definition wait |
Place the CLI in a waiting state until a condition of a spark job definition is met. |
Core | GA |
az synapse spark-job-definition create
Create a spark job definition.
az synapse spark-job-definition create --file
--name
--workspace-name
[--folder-path]
[--no-wait]
Examples
Create a spark job definition. Pay attention to add "@" at the front of the file path as the best practice for complex arguments like JSON string.
az synapse spark-job-definition create --workspace-name testsynapseworkspace \
--name testsjdname --file @"path/test.json" --folder-path 'folder/subfolder'
Required Parameters
Properties may be supplied from a JSON file using the @{path}
syntax or a JSON string.
The spark job definition name.
The workspace name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The folder that this spark job definition is in. If not specified, it will appear at the root level. Eg: folder/subfolder1.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark-job-definition delete
Delete a spark job definition.
az synapse spark-job-definition delete --name
--workspace-name
[--no-wait]
Examples
Delete a spark job definition.
az synapse spark-job-definition delete --workspace-name testsynapseworkspace \
--name testsjdname
Required Parameters
The spark job definition name.
The workspace name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark-job-definition list
List spark job definitions.
az synapse spark-job-definition list --workspace-name
Examples
List spark job definitions.
az synapse spark-job-definition list --workspace-name testsynapseworkspace
Required Parameters
The workspace name.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark-job-definition show
Get a spark job definition.
az synapse spark-job-definition show --name
--workspace-name
Examples
Get a spark job definition.
az synapse spark-job-definition show --workspace-name testsynapseworkspace \
--name testsjdname
Required Parameters
The spark job definition name.
The workspace name.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark-job-definition update
Update a spark job definition.
az synapse spark-job-definition update --file
--name
--workspace-name
[--folder-path]
[--no-wait]
Examples
Update a spark job definition. Pay attention to add "@" at the front of the file path as the best practice for complex arguments like JSON string.
az synapse spark-job-definition update --workspace-name testsynapseworkspace \
--name testsjdname --file @"path/test.json" --folder-path 'folder/subfolder'
Required Parameters
Properties may be supplied from a JSON file using the @{path}
syntax or a JSON string.
The spark job definition name.
The workspace name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The folder that this spark job definition is in. If not specified, it will appear at the root level. Eg: folder/subfolder1.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az synapse spark-job-definition wait
Place the CLI in a waiting state until a condition of a spark job definition is met.
az synapse spark-job-definition wait --name
--workspace-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
The spark job definition name.
The workspace name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |