New-AzDatabricksWorkspaceProviderAuthorizationObject
Create an in-memory object for WorkspaceProviderAuthorization.
Syntax
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 aaaaaaaa-bbbb-cccc-1111-222222222222 -RoleDefinitionId bbbbbbbb-cccc-dddd-2222-333333333333
PrincipalId RoleDefinitionId
----------- ----------------
aaaaaaaa-bbbb-cccc-1111-222222222222 bbbbbbbb-cccc-dddd-2222-333333333333
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | 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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |