< Back

Get-AzureDatabricksJobStatus

Sun Jan 19, 2020 6:07 pm

NAME Get-AzureDatabricksJobStatus



SYNOPSIS

Returns an object representing the status of a single job defined on an Azure Databricks instance.





SYNTAX

Get-AzureDatabricksJobStatus [-Connection] <Object> [[-JobID] <Int32>] [<CommonParameters>]





DESCRIPTION

Returns an object representing the status or outcome of all runs or a single job run defined on an Azure

Databricks instance. You can provide a RunID to filter for a specific job,

and the function also supports filters for running or completed jobs.





PARAMETERS

-Connection <Object>

An object that represents an Azure Databricks API connection where you want to get a list of job runs from.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JobID <Int32>

The JobID of the job you want the status of.



Required? false

Position? 2

Default value 0

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: Drew Furgiuele (@pittfurg), http://www.port1433.com

Website: https://www.igs.com

Copyright: (c) 2019 by IGS, licensed under MIT

License: MIT https://opensource.org/licenses/MIT



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AzureDatabricksJobStatus -Connection $Connection



Returns an array of objects that shows the outcome of all executions of all jobs on a given Azure Databricks

instance.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AzureDatabricksJobRun -Connection $Connection -JobID 1



Returns array of objects that shows the outcome executions of JobID 1 on a given Azure Databricks instance.











RELATED LINKS