< Back

Get-DatabricksPermissionLevels

Sat Jan 11, 2020 9:58 am

NAME Get-DatabricksPermissionLevels



SYNOPSIS

Gets a list of permission levels available for an object





SYNTAX

Get-DatabricksPermissionLevels [[-BearerToken] <String>] [[-Region] <String>] [-DatabricksObjectType] <String>

[-DatabricksObjectId] <String> [<CommonParameters>]





DESCRIPTION

Gets a list of permission levels available for an object





PARAMETERS

-BearerToken <String>

Your Databricks Bearer token to authenticate to your workspace (see User Settings in Databricks 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



-DatabricksObjectType <String>

Job, Cluster or Instance-pool



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DatabricksObjectId <String>

JobUd, ClusterId or Instance-poolId



Required? true

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



C:\\PS>Get-DatabricksPermissionLevels -BearerToken $BearerToken -Region $Region -DatabricksObjectType "job"

-DatabricksObjectId 121



This example creates a scope called Test1 if it does not exist and a secret called MySecretName with a value of

P@ssword.











RELATED LINKS