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 the workspace, using a workspace-scoped provider.
Using getWorkspaceIamWorkspaceAssignmentsV2
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 getWorkspaceIamWorkspaceAssignmentsV2(args: GetWorkspaceIamWorkspaceAssignmentsV2Args, opts?: InvokeOptions): Promise<GetWorkspaceIamWorkspaceAssignmentsV2Result>
function getWorkspaceIamWorkspaceAssignmentsV2Output(args: GetWorkspaceIamWorkspaceAssignmentsV2OutputArgs, opts?: InvokeOutputOptions): Output<GetWorkspaceIamWorkspaceAssignmentsV2Result>def get_workspace_iam_workspace_assignments_v2(page_size: Optional[int] = None,
provider_config: Optional[GetWorkspaceIamWorkspaceAssignmentsV2ProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceIamWorkspaceAssignmentsV2Result
def get_workspace_iam_workspace_assignments_v2_output(page_size: pulumi.Input[Optional[int]] = None,
provider_config: pulumi.Input[Optional[GetWorkspaceIamWorkspaceAssignmentsV2ProviderConfigArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkspaceIamWorkspaceAssignmentsV2Result]func GetWorkspaceIamWorkspaceAssignmentsV2(ctx *Context, args *GetWorkspaceIamWorkspaceAssignmentsV2Args, opts ...InvokeOption) (*GetWorkspaceIamWorkspaceAssignmentsV2Result, error)
func GetWorkspaceIamWorkspaceAssignmentsV2Output(ctx *Context, args *GetWorkspaceIamWorkspaceAssignmentsV2OutputArgs, opts ...InvokeOption) GetWorkspaceIamWorkspaceAssignmentsV2ResultOutput> Note: This function is named GetWorkspaceIamWorkspaceAssignmentsV2 in the Go SDK.
public static class GetWorkspaceIamWorkspaceAssignmentsV2
{
public static Task<GetWorkspaceIamWorkspaceAssignmentsV2Result> InvokeAsync(GetWorkspaceIamWorkspaceAssignmentsV2Args args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamWorkspaceAssignmentsV2Result> Invoke(GetWorkspaceIamWorkspaceAssignmentsV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamWorkspaceAssignmentsV2Result> Invoke(GetWorkspaceIamWorkspaceAssignmentsV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkspaceIamWorkspaceAssignmentsV2Result> getWorkspaceIamWorkspaceAssignmentsV2(GetWorkspaceIamWorkspaceAssignmentsV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamWorkspaceAssignmentsV2Result> getWorkspaceIamWorkspaceAssignmentsV2(GetWorkspaceIamWorkspaceAssignmentsV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamWorkspaceAssignmentsV2Result> getWorkspaceIamWorkspaceAssignmentsV2(GetWorkspaceIamWorkspaceAssignmentsV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getWorkspaceIamWorkspaceAssignmentsV2:getWorkspaceIamWorkspaceAssignmentsV2
arguments:
# arguments dictionarydata "databricks_get_workspace_iam_workspace_assignments_v2" "name" {
# arguments
}The following arguments are supported:
- 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
- Provider
Config GetWorkspace Iam Workspace Assignments V2Provider Config - Configure the provider for management through account provider.
- 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
- Provider
Config GetWorkspace Iam Workspace Assignments V2Provider Config - Configure the provider for management through account provider.
- 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
- provider_
config object - Configure the provider for management through account provider.
- 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
- provider
Config GetWorkspace Iam Workspace Assignments V2Provider Config - Configure the provider for management through account provider.
- 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
- provider
Config GetWorkspace Iam Workspace Assignments V2Provider Config - Configure the provider for management through account provider.
- 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
- provider_
config GetWorkspace Iam Workspace Assignments V2Provider Config - Configure the provider for management through account provider.
- 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
- provider
Config Property Map - Configure the provider for management through account provider.
getWorkspaceIamWorkspaceAssignmentsV2 Result
The following output properties are available:
Supporting Types
GetWorkspaceIamWorkspaceAssignmentsV2ProviderConfig
- Workspace
Id string - (integer) - The workspace ID where the principal is assigned
- Workspace
Id string - (integer) - The workspace ID where the principal is assigned
- workspace_
id string - (integer) - The workspace ID where the principal is assigned
- workspace
Id String - (integer) - The workspace ID where the principal is assigned
- workspace
Id string - (integer) - The workspace ID where the principal is assigned
- workspace_
id str - (integer) - The workspace ID where the principal is assigned
- workspace
Id String - (integer) - The workspace ID where the principal is assigned
GetWorkspaceIamWorkspaceAssignmentsV2WorkspaceAssignment
- 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 - (integer) - The workspace ID where the principal is assigned
- Provider
Config GetWorkspace Iam Workspace Assignments V2Workspace Assignment Provider Config - Configure the provider for management through account provider.
- 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 - (integer) - The workspace ID where the principal is assigned
- Provider
Config GetWorkspace Iam Workspace Assignments V2Workspace Assignment Provider Config - Configure the provider for management through account provider.
- 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 - (integer) - The workspace ID where the principal is assigned
- provider_
config object - Configure the provider for management through account provider.
- 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 - (integer) - The workspace ID where the principal is assigned
- provider
Config GetWorkspace Iam Workspace Assignments V2Workspace Assignment Provider Config - Configure the provider for management through account provider.
- 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 - (integer) - The workspace ID where the principal is assigned
- provider
Config GetWorkspace Iam Workspace Assignments V2Workspace Assignment Provider Config - Configure the provider for management through account provider.
- 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 - (integer) - The workspace ID where the principal is assigned
- provider_
config GetWorkspace Iam Workspace Assignments V2Workspace Assignment Provider Config - Configure the provider for management through account provider.
- 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 - (integer) - The workspace ID where the principal is assigned
- provider
Config Property Map - Configure the provider for management through account provider.
GetWorkspaceIamWorkspaceAssignmentsV2WorkspaceAssignmentProviderConfig
- Workspace
Id string - (integer) - The workspace ID where the principal is assigned
- Workspace
Id string - (integer) - The workspace ID where the principal is assigned
- workspace_
id string - (integer) - The workspace ID where the principal is assigned
- workspace
Id String - (integer) - The workspace ID where the principal is assigned
- workspace
Id string - (integer) - The workspace ID where the principal is assigned
- workspace_
id str - (integer) - The workspace ID where the principal is assigned
- workspace
Id String - (integer) - The workspace ID where the principal is assigned
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