w.permission_migration: Permission Migration

class databricks.sdk.service.iam.PermissionMigrationAPI

This spec contains undocumented permission migration APIs used in https://github.com/databrickslabs/ucx.

migrate_permissions(workspace_id: int, from_workspace_group_name: str, to_account_group_name: str [, size: Optional[int]]) PermissionMigrationResponse

Migrate Permissions.

Migrate a batch of permissions from a workspace local group to an account group.

Parameters:
  • workspace_id – int WorkspaceId of the associated workspace where the permission migration will occur. Both workspace group and account group must be in this workspace.

  • from_workspace_group_name – str The name of the workspace group that permissions will be migrated from.

  • to_account_group_name – str The name of the account group that permissions will be migrated to.

  • size – int (optional) The maximum number of permissions that will be migrated.

Returns:

PermissionMigrationResponse