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 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.
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 |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell