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 a single direct group membership, scoped to a workspace, identified by group and principal ID.
Example Usage
Example usage:
Look up a single direct group member by group and principal ID, using a workspace-scoped provider.
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getWorkspaceIamDirectGroupMemberV2({
groupId: 123456789,
principalId: "987654321",
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_workspace_iam_direct_group_member_v2(group_id=123456789,
principal_id="987654321")
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.GetWorkspaceIamDirectGroupMemberV2(ctx, &databricks.LookupWorkspaceIamDirectGroupMemberV2Args{
GroupId: 123456789,
PrincipalId: "987654321",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetWorkspaceIamDirectGroupMemberV2.Invoke(new()
{
GroupId = 123456789,
PrincipalId = "987654321",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetWorkspaceIamDirectGroupMemberV2Args;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = DatabricksFunctions.getWorkspaceIamDirectGroupMemberV2(GetWorkspaceIamDirectGroupMemberV2Args.builder()
.groupId(123456789)
.principalId("987654321")
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getWorkspaceIamDirectGroupMemberV2
arguments:
groupId: 1.23456789e+08
principalId: 9.87654321e+08
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getworkspaceiamdirectgroupmemberv2" "this" {
group_id = 123456789
principal_id = 987654321
}
Using getWorkspaceIamDirectGroupMemberV2
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 getWorkspaceIamDirectGroupMemberV2(args: GetWorkspaceIamDirectGroupMemberV2Args, opts?: InvokeOptions): Promise<GetWorkspaceIamDirectGroupMemberV2Result>
function getWorkspaceIamDirectGroupMemberV2Output(args: GetWorkspaceIamDirectGroupMemberV2OutputArgs, opts?: InvokeOutputOptions): Output<GetWorkspaceIamDirectGroupMemberV2Result>def get_workspace_iam_direct_group_member_v2(group_id: Optional[int] = None,
principal_id: Optional[str] = None,
provider_config: Optional[GetWorkspaceIamDirectGroupMemberV2ProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceIamDirectGroupMemberV2Result
def get_workspace_iam_direct_group_member_v2_output(group_id: pulumi.Input[Optional[int]] = None,
principal_id: pulumi.Input[Optional[str]] = None,
provider_config: pulumi.Input[Optional[GetWorkspaceIamDirectGroupMemberV2ProviderConfigArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkspaceIamDirectGroupMemberV2Result]func LookupWorkspaceIamDirectGroupMemberV2(ctx *Context, args *LookupWorkspaceIamDirectGroupMemberV2Args, opts ...InvokeOption) (*LookupWorkspaceIamDirectGroupMemberV2Result, error)
func LookupWorkspaceIamDirectGroupMemberV2Output(ctx *Context, args *LookupWorkspaceIamDirectGroupMemberV2OutputArgs, opts ...InvokeOption) LookupWorkspaceIamDirectGroupMemberV2ResultOutput> Note: This function is named LookupWorkspaceIamDirectGroupMemberV2 in the Go SDK.
public static class GetWorkspaceIamDirectGroupMemberV2
{
public static Task<GetWorkspaceIamDirectGroupMemberV2Result> InvokeAsync(GetWorkspaceIamDirectGroupMemberV2Args args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamDirectGroupMemberV2Result> Invoke(GetWorkspaceIamDirectGroupMemberV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamDirectGroupMemberV2Result> Invoke(GetWorkspaceIamDirectGroupMemberV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkspaceIamDirectGroupMemberV2Result> getWorkspaceIamDirectGroupMemberV2(GetWorkspaceIamDirectGroupMemberV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamDirectGroupMemberV2Result> getWorkspaceIamDirectGroupMemberV2(GetWorkspaceIamDirectGroupMemberV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamDirectGroupMemberV2Result> getWorkspaceIamDirectGroupMemberV2(GetWorkspaceIamDirectGroupMemberV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getWorkspaceIamDirectGroupMemberV2:getWorkspaceIamDirectGroupMemberV2
arguments:
# arguments dictionarydata "databricks_get_workspace_iam_direct_group_member_v2" "name" {
# arguments
}The following arguments are supported:
- Group
Id int - The internal ID of the group this member belongs to
- Principal
Id string - Internal ID of the principal in Databricks
- Provider
Config GetWorkspace Iam Direct Group Member V2Provider Config - Configure the provider for management through account provider.
- Group
Id int - The internal ID of the group this member belongs to
- Principal
Id string - Internal ID of the principal in Databricks
- Provider
Config GetWorkspace Iam Direct Group Member V2Provider Config - Configure the provider for management through account provider.
- group_
id number - The internal ID of the group this member belongs to
- principal_
id string - Internal ID of the principal in Databricks
- provider_
config object - Configure the provider for management through account provider.
- group
Id Integer - The internal ID of the group this member belongs to
- principal
Id String - Internal ID of the principal in Databricks
- provider
Config GetWorkspace Iam Direct Group Member V2Provider Config - Configure the provider for management through account provider.
- group
Id number - The internal ID of the group this member belongs to
- principal
Id string - Internal ID of the principal in Databricks
- provider
Config GetWorkspace Iam Direct Group Member V2Provider Config - Configure the provider for management through account provider.
- group_
id int - The internal ID of the group this member belongs to
- principal_
id str - Internal ID of the principal in Databricks
- provider_
config GetWorkspace Iam Direct Group Member V2Provider Config - Configure the provider for management through account provider.
- group
Id Number - The internal ID of the group this member belongs to
- principal
Id String - Internal ID of the principal in Databricks
- provider
Config Property Map - Configure the provider for management through account provider.
getWorkspaceIamDirectGroupMemberV2 Result
The following output properties are available:
- Display
Name string - (string) - Display name of the principal
- External
Id string - (string) - The external ID of the principal in Databricks
- Group
Id int - (integer) - The internal ID of the group this member belongs to
- Membership
Source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - Principal
Id string - (integer) - Internal ID of the principal in Databricks
- Principal
Type string - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Provider
Config GetWorkspace Iam Direct Group Member V2Provider Config
- Display
Name string - (string) - Display name of the principal
- External
Id string - (string) - The external ID of the principal in Databricks
- Group
Id int - (integer) - The internal ID of the group this member belongs to
- Membership
Source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - Principal
Id string - (integer) - Internal ID of the principal in Databricks
- Principal
Type string - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Provider
Config GetWorkspace Iam Direct Group Member V2Provider Config
- display_
name string - (string) - Display name of the principal
- external_
id string - (string) - The external ID of the principal in Databricks
- group_
id number - (integer) - The internal ID of the group this member belongs to
- membership_
source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal_
id string - (integer) - Internal ID of the principal in Databricks
- principal_
type string - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - provider_
config object
- display
Name String - (string) - Display name of the principal
- external
Id String - (string) - The external ID of the principal in Databricks
- group
Id Integer - (integer) - The internal ID of the group this member belongs to
- membership
Source String - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal
Id String - (integer) - Internal ID of the principal in Databricks
- principal
Type String - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - provider
Config GetWorkspace Iam Direct Group Member V2Provider Config
- display
Name string - (string) - Display name of the principal
- external
Id string - (string) - The external ID of the principal in Databricks
- group
Id number - (integer) - The internal ID of the group this member belongs to
- membership
Source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal
Id string - (integer) - Internal ID of the principal in Databricks
- principal
Type string - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - provider
Config GetWorkspace Iam Direct Group Member V2Provider Config
- display_
name str - (string) - Display name of the principal
- external_
id str - (string) - The external ID of the principal in Databricks
- group_
id int - (integer) - The internal ID of the group this member belongs to
- membership_
source str - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal_
id str - (integer) - Internal ID of the principal in Databricks
- principal_
type str - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - provider_
config GetWorkspace Iam Direct Group Member V2Provider Config
- display
Name String - (string) - Display name of the principal
- external
Id String - (string) - The external ID of the principal in Databricks
- group
Id Number - (integer) - The internal ID of the group this member belongs to
- membership
Source String - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal
Id String - (integer) - Internal ID of the principal in Databricks
- principal
Type String - (string) - The type of the principal (user/service principal/group). Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - provider
Config Property Map
Supporting Types
GetWorkspaceIamDirectGroupMemberV2ProviderConfig
- 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