Edit

Share via


New-AzDatabricksWorkspaceProviderAuthorizationObject

Create an in-memory object for WorkspaceProviderAuthorization.

Syntax

Default (Default)

New-AzDatabricksWorkspaceProviderAuthorizationObject
    -PrincipalId <String>
    -RoleDefinitionId <String>
    [<CommonParameters>]

Description

Create an in-memory object for WorkspaceProviderAuthorization.

Examples

Example 1: Create an in-memory object for WorkspaceProviderAuthorization.

New-AzDatabricksWorkspaceProviderAuthorizationObject -PrincipalId 024d7367-0890-4ad3-8140-e37374722820 -RoleDefinitionId 2124844c-7e23-48cc-bc52-a3af25f7a4ae
PrincipalId                          RoleDefinitionId
-----------                          ----------------
024d7367-0890-4ad3-8140-e37374722820 2124844c-7e23-48cc-bc52-a3af25f7a4ae

Create an in-memory object for WorkspaceProviderAuthorization.

Parameters

-PrincipalId

The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RoleDefinitionId

The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

WorkspaceProviderAuthorization