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
Reads the workspace identity detail for a principal — its principal type, assignment type (direct or indirect), and workspace activity status.
Using getWorkspaceIamWorkspaceIdentityDetailV2
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 getWorkspaceIamWorkspaceIdentityDetailV2(args: GetWorkspaceIamWorkspaceIdentityDetailV2Args, opts?: InvokeOptions): Promise<GetWorkspaceIamWorkspaceIdentityDetailV2Result>
function getWorkspaceIamWorkspaceIdentityDetailV2Output(args: GetWorkspaceIamWorkspaceIdentityDetailV2OutputArgs, opts?: InvokeOutputOptions): Output<GetWorkspaceIamWorkspaceIdentityDetailV2Result>def get_workspace_iam_workspace_identity_detail_v2(principal_id: Optional[str] = None,
provider_config: Optional[GetWorkspaceIamWorkspaceIdentityDetailV2ProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceIamWorkspaceIdentityDetailV2Result
def get_workspace_iam_workspace_identity_detail_v2_output(principal_id: pulumi.Input[Optional[str]] = None,
provider_config: pulumi.Input[Optional[GetWorkspaceIamWorkspaceIdentityDetailV2ProviderConfigArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkspaceIamWorkspaceIdentityDetailV2Result]func LookupWorkspaceIamWorkspaceIdentityDetailV2(ctx *Context, args *LookupWorkspaceIamWorkspaceIdentityDetailV2Args, opts ...InvokeOption) (*LookupWorkspaceIamWorkspaceIdentityDetailV2Result, error)
func LookupWorkspaceIamWorkspaceIdentityDetailV2Output(ctx *Context, args *LookupWorkspaceIamWorkspaceIdentityDetailV2OutputArgs, opts ...InvokeOption) LookupWorkspaceIamWorkspaceIdentityDetailV2ResultOutput> Note: This function is named LookupWorkspaceIamWorkspaceIdentityDetailV2 in the Go SDK.
public static class GetWorkspaceIamWorkspaceIdentityDetailV2
{
public static Task<GetWorkspaceIamWorkspaceIdentityDetailV2Result> InvokeAsync(GetWorkspaceIamWorkspaceIdentityDetailV2Args args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamWorkspaceIdentityDetailV2Result> Invoke(GetWorkspaceIamWorkspaceIdentityDetailV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamWorkspaceIdentityDetailV2Result> Invoke(GetWorkspaceIamWorkspaceIdentityDetailV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkspaceIamWorkspaceIdentityDetailV2Result> getWorkspaceIamWorkspaceIdentityDetailV2(GetWorkspaceIamWorkspaceIdentityDetailV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamWorkspaceIdentityDetailV2Result> getWorkspaceIamWorkspaceIdentityDetailV2(GetWorkspaceIamWorkspaceIdentityDetailV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamWorkspaceIdentityDetailV2Result> getWorkspaceIamWorkspaceIdentityDetailV2(GetWorkspaceIamWorkspaceIdentityDetailV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getWorkspaceIamWorkspaceIdentityDetailV2:getWorkspaceIamWorkspaceIdentityDetailV2
arguments:
# arguments dictionarydata "databricks_get_workspace_iam_workspace_identity_detail_v2" "name" {
# arguments
}The following arguments are supported:
- Principal
Id string - The internal ID of the principal (user/sp/group) in Databricks
- Provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config - Configure the provider for management through account provider.
- Principal
Id string - The internal ID of the principal (user/sp/group) in Databricks
- Provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config - Configure the provider for management through account provider.
- principal_
id string - The internal ID of the principal (user/sp/group) in Databricks
- provider_
config object - Configure the provider for management through account provider.
- principal
Id String - The internal ID of the principal (user/sp/group) in Databricks
- provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config - Configure the provider for management through account provider.
- principal
Id string - The internal ID of the principal (user/sp/group) in Databricks
- provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config - Configure the provider for management through account provider.
- principal_
id str - The internal ID of the principal (user/sp/group) in Databricks
- provider_
config GetWorkspace Iam Workspace Identity Detail V2Provider Config - Configure the provider for management through account provider.
- principal
Id String - The internal ID of the principal (user/sp/group) in Databricks
- provider
Config Property Map - Configure the provider for management through account provider.
getWorkspaceIamWorkspaceIdentityDetailV2 Result
The following output properties are available:
- Assignment
Type string - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - Principal
Id string - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Workspace
Identity stringStatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - Provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config
- Assignment
Type string - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - Principal
Id string - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Workspace
Identity stringStatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - Provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config
- assignment_
type string - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - principal_
id string - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace_
identity_ stringstatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - provider_
config object
- assignment
Type String - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - principal
Id String - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace
Identity StringStatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config
- assignment
Type string - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - principal
Id string - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace
Identity stringStatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - provider
Config GetWorkspace Iam Workspace Identity Detail V2Provider Config
- assignment_
type str - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - principal_
id str - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace_
identity_ strstatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - provider_
config GetWorkspace Iam Workspace Identity Detail V2Provider Config
- assignment
Type String - (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are:
DIRECT,INDIRECT - principal
Id String - (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). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - workspace
Identity StringStatus - (string) - The activity status of an identity in a Databricks workspace. Possible values are:
ACTIVE,INACTIVE - provider
Config Property Map
Supporting Types
GetWorkspaceIamWorkspaceIdentityDetailV2ProviderConfig
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id str - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
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