< Back

Remove-DatabricksCluster

Sat Jan 11, 2020 10:02 am

NAME Remove-DatabricksCluster



SYNOPSIS

Removes a Databricks cluster or set of clusters with the same name.





SYNTAX

Remove-DatabricksCluster [[-BearerToken] <String>] [[-Region] <String>] [[-ClusterName] <String>] [[-ClusterId]

<String>] [<CommonParameters>]





DESCRIPTION

Removes a Databricks cluster or set of clusters with the same 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



-ClusterName <String>

Optional. Will delete all clusters with this name.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ClusterId <String>

Optional. See Get-DatabricksClusters. Will delete this cluster only if provided.



Required? false

Position? 4

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



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



PS C:\\>Remove-DatabricksCluster -BearerToken $BearerToken -Region $Region -ClusterName 'Bob-1234'















RELATED LINKS