Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
published on Tuesday, Sep 8, 2026 by Pulumi
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
published on Tuesday, Sep 8, 2026 by Pulumi
Lists the principal assignments for a workspace.
Using getAccountIamWorkspaceAssignmentsV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAccountIamWorkspaceAssignmentsV2(args: GetAccountIamWorkspaceAssignmentsV2Args, opts?: InvokeOptions): Promise<GetAccountIamWorkspaceAssignmentsV2Result>
function getAccountIamWorkspaceAssignmentsV2Output(args: GetAccountIamWorkspaceAssignmentsV2OutputArgs, opts?: InvokeOutputOptions): Output<GetAccountIamWorkspaceAssignmentsV2Result>def get_account_iam_workspace_assignments_v2(page_size: Optional[int] = None,
workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountIamWorkspaceAssignmentsV2Result
def get_account_iam_workspace_assignments_v2_output(page_size: pulumi.Input[Optional[int]] = None,
workspace_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountIamWorkspaceAssignmentsV2Result]func GetAccountIamWorkspaceAssignmentsV2(ctx *Context, args *GetAccountIamWorkspaceAssignmentsV2Args, opts ...InvokeOption) (*GetAccountIamWorkspaceAssignmentsV2Result, error)
func GetAccountIamWorkspaceAssignmentsV2Output(ctx *Context, args *GetAccountIamWorkspaceAssignmentsV2OutputArgs, opts ...InvokeOption) GetAccountIamWorkspaceAssignmentsV2ResultOutput> Note: This function is named GetAccountIamWorkspaceAssignmentsV2 in the Go SDK.
public static class GetAccountIamWorkspaceAssignmentsV2
{
public static Task<GetAccountIamWorkspaceAssignmentsV2Result> InvokeAsync(GetAccountIamWorkspaceAssignmentsV2Args args, InvokeOptions? opts = null)
public static Output<GetAccountIamWorkspaceAssignmentsV2Result> Invoke(GetAccountIamWorkspaceAssignmentsV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAccountIamWorkspaceAssignmentsV2Result> Invoke(GetAccountIamWorkspaceAssignmentsV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAccountIamWorkspaceAssignmentsV2Result> getAccountIamWorkspaceAssignmentsV2(GetAccountIamWorkspaceAssignmentsV2Args args, InvokeOptions options)
public static Output<GetAccountIamWorkspaceAssignmentsV2Result> getAccountIamWorkspaceAssignmentsV2(GetAccountIamWorkspaceAssignmentsV2Args args, InvokeOptions options)
public static Output<GetAccountIamWorkspaceAssignmentsV2Result> getAccountIamWorkspaceAssignmentsV2(GetAccountIamWorkspaceAssignmentsV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getAccountIamWorkspaceAssignmentsV2:getAccountIamWorkspaceAssignmentsV2
arguments:
# arguments dictionarydata "databricks_get_account_iam_workspace_assignments_v2" "name" {
# arguments
}The following arguments are supported:
- Workspace
Id string - Required. The workspace ID for which the workspace assignments are being fetched
- Page
Size int - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- Workspace
Id string - Required. The workspace ID for which the workspace assignments are being fetched
- Page
Size int - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- workspace_
id string - Required. The workspace ID for which the workspace assignments are being fetched
- page_
size number - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- workspace
Id String - Required. The workspace ID for which the workspace assignments are being fetched
- page
Size Integer - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- workspace
Id string - Required. The workspace ID for which the workspace assignments are being fetched
- page
Size number - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- workspace_
id str - Required. The workspace ID for which the workspace assignments are being fetched
- page_
size int - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- workspace
Id String - Required. The workspace ID for which the workspace assignments are being fetched
- page
Size Number - The maximum number of workspace assignments to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
getAccountIamWorkspaceAssignmentsV2 Result
The following output properties are available:
- Workspace
Assignments List<GetAccount Iam Workspace Assignments V2Workspace Assignment> - Workspace
Id string - (integer) - The workspace ID where the principal is assigned
- Page
Size int
- Workspace
Assignments []GetAccount Iam Workspace Assignments V2Workspace Assignment - Workspace
Id string - (integer) - The workspace ID where the principal is assigned
- Page
Size int
- workspace_
assignments list(object) - workspace_
id string - (integer) - The workspace ID where the principal is assigned
- page_
size number
- workspace
Assignments List<GetAccount Iam Workspace Assignments V2Workspace Assignment> - workspace
Id String - (integer) - The workspace ID where the principal is assigned
- page
Size Integer
- workspace
Assignments GetAccount Iam Workspace Assignments V2Workspace Assignment[] - workspace
Id string - (integer) - The workspace ID where the principal is assigned
- page
Size number
- workspace_
assignments Sequence[GetAccount Iam Workspace Assignments V2Workspace Assignment] - workspace_
id str - (integer) - The workspace ID where the principal is assigned
- page_
size int
- workspace
Assignments List<Property Map> - workspace
Id String - (integer) - The workspace ID where the principal is assigned
- page
Size Number
Supporting Types
GetAccountIamWorkspaceAssignmentsV2WorkspaceAssignment
- Account
Id string - (string) - The account ID parent of the workspace where the principal is assigned
- Effective
Entitlements List<string> - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- Entitlements List<string>
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- Principal
Id int - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- Principal
Type string - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Workspace
Id int - Required. The workspace ID for which the workspace assignments are being fetched
- Account
Id string - (string) - The account ID parent of the workspace where the principal is assigned
- Effective
Entitlements []string - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- Entitlements []string
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- Principal
Id int - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- Principal
Type string - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Workspace
Id int - Required. The workspace ID for which the workspace assignments are being fetched
- account_
id string - (string) - The account ID parent of the workspace where the principal is assigned
- effective_
entitlements list(string) - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- entitlements list(string)
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- principal_
id number - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- principal_
type string - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace_
id number - Required. The workspace ID for which the workspace assignments are being fetched
- account
Id String - (string) - The account ID parent of the workspace where the principal is assigned
- effective
Entitlements List<String> - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- entitlements List<String>
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- principal
Id Integer - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- principal
Type String - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace
Id Integer - Required. The workspace ID for which the workspace assignments are being fetched
- account
Id string - (string) - The account ID parent of the workspace where the principal is assigned
- effective
Entitlements string[] - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- entitlements string[]
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- principal
Id number - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- principal
Type string - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace
Id number - Required. The workspace ID for which the workspace assignments are being fetched
- account_
id str - (string) - The account ID parent of the workspace where the principal is assigned
- effective_
entitlements Sequence[str] - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- entitlements Sequence[str]
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- principal_
id int - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- principal_
type str - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace_
id int - Required. The workspace ID for which the workspace assignments are being fetched
- account
Id String - (string) - The account ID parent of the workspace where the principal is assigned
- effective
Entitlements List<String> - (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through group membership. Get responses populate this field. List responses leave it empty
- entitlements List<String>
- (list of string) - Entitlements granted directly to the principal on this workspace. This is the only client-settable field. Create and update manage exactly this set, including entitlements the principal also holds through a group. List responses leave this field empty. Get a single principal to read its entitlements
- principal
Id Number - (integer) - The internal ID of the principal (user/sp/group) in Databricks
- principal
Type String - (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace
Id Number - Required. The workspace ID for which the workspace assignments are being fetched
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
published on Tuesday, Sep 8, 2026 by Pulumi