< Back

Start-DatabricksJob

Sat Jan 11, 2020 10:07 am

NAME Start-DatabricksJob



SYNOPSIS

Starts a Databricks Job by id or name.





SYNTAX

Start-DatabricksJob [[-BearerToken] <String>] [[-Region] <String>] [[-JobName] <String>] [[-JobId] <String>]

[[-PythonParameters] <String[]>] [[-JarParameters] <String[]>] [[-SparkSubmitParameters] <String[]>]

[[-NotebookParametersJson] <String>] [<CommonParameters>]





DESCRIPTION

Starts a Databricks Job by id or name.





PARAMETERS

-BearerToken <String>

Your Databricks Bearer token to authenticate to your workspace (see User Settings in Datatbricks WebUI)



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Region <String>

Azure Region - must match the URL of your Databricks workspace, example northeurope



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JobName <String>

Optional. Start Job(s) matching this name (note that names are not unique in Databricks)



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JobId <String>

Optional. Will start Job with this Id.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PythonParameters <String[]>

Optional. Array for parameters for job, for example "--pyFiles", "dbfs:/myscript.py", "myparam"



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JarParameters <String[]>

Optional. Array for parameters for job, for example "--pyFiles", "dbfs:/myscript.py", "myparam"



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SparkSubmitParameters <String[]>

Optional. Array for parameters for job, for example "--pyFiles", "dbfs:/myscript.py", "myparam"



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NotebookParametersJson <String>



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Simon D'Morias / Data Thirst Ltd





RELATED LINKS