< Back

Get-DatabricksClusters

Sat Jan 11, 2020 9:53 am

NAME Get-DatabricksClusters



SYNOPSIS

Get a list of Datbricks Clusters





SYNTAX

Get-DatabricksClusters -BearerToken <String> [-Region <String>] [-ClusterId <String>] [<CommonParameters>]



Get-DatabricksClusters [-Region <String>] [-ClusterId <String>] [<CommonParameters>]





DESCRIPTION

Get a list of Datbricks Clusters





PARAMETERS

-BearerToken <String>

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



Required? true

Position? named

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? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ClusterId <String>

Optional. Returns just a single cluster.



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue)

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



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



PS C:\\>Get-DatabricksClusters -BearerToken $BearerToken -Region $Region



Returns all clusters











RELATED LINKS