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 direct members of a group, scoped to a workspace.
Example Usage
Example usage:
List all direct members of a group, using a workspace-scoped provider.
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getWorkspaceIamDirectGroupMembersV2({
groupId: 123456789,
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_workspace_iam_direct_group_members_v2(group_id=123456789)
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.GetWorkspaceIamDirectGroupMembersV2(ctx, &databricks.GetWorkspaceIamDirectGroupMembersV2Args{
GroupId: 123456789,
}, 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.GetWorkspaceIamDirectGroupMembersV2.Invoke(new()
{
GroupId = 123456789,
});
});
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.GetWorkspaceIamDirectGroupMembersV2Args;
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.getWorkspaceIamDirectGroupMembersV2(GetWorkspaceIamDirectGroupMembersV2Args.builder()
.groupId(123456789)
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getWorkspaceIamDirectGroupMembersV2
arguments:
groupId: 1.23456789e+08
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getworkspaceiamdirectgroupmembersv2" "this" {
group_id = 123456789
}
Using getWorkspaceIamDirectGroupMembersV2
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 getWorkspaceIamDirectGroupMembersV2(args: GetWorkspaceIamDirectGroupMembersV2Args, opts?: InvokeOptions): Promise<GetWorkspaceIamDirectGroupMembersV2Result>
function getWorkspaceIamDirectGroupMembersV2Output(args: GetWorkspaceIamDirectGroupMembersV2OutputArgs, opts?: InvokeOutputOptions): Output<GetWorkspaceIamDirectGroupMembersV2Result>def get_workspace_iam_direct_group_members_v2(group_id: Optional[int] = None,
page_size: Optional[int] = None,
provider_config: Optional[GetWorkspaceIamDirectGroupMembersV2ProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceIamDirectGroupMembersV2Result
def get_workspace_iam_direct_group_members_v2_output(group_id: pulumi.Input[Optional[int]] = None,
page_size: pulumi.Input[Optional[int]] = None,
provider_config: pulumi.Input[Optional[GetWorkspaceIamDirectGroupMembersV2ProviderConfigArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkspaceIamDirectGroupMembersV2Result]func GetWorkspaceIamDirectGroupMembersV2(ctx *Context, args *GetWorkspaceIamDirectGroupMembersV2Args, opts ...InvokeOption) (*GetWorkspaceIamDirectGroupMembersV2Result, error)
func GetWorkspaceIamDirectGroupMembersV2Output(ctx *Context, args *GetWorkspaceIamDirectGroupMembersV2OutputArgs, opts ...InvokeOption) GetWorkspaceIamDirectGroupMembersV2ResultOutput> Note: This function is named GetWorkspaceIamDirectGroupMembersV2 in the Go SDK.
public static class GetWorkspaceIamDirectGroupMembersV2
{
public static Task<GetWorkspaceIamDirectGroupMembersV2Result> InvokeAsync(GetWorkspaceIamDirectGroupMembersV2Args args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamDirectGroupMembersV2Result> Invoke(GetWorkspaceIamDirectGroupMembersV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamDirectGroupMembersV2Result> Invoke(GetWorkspaceIamDirectGroupMembersV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkspaceIamDirectGroupMembersV2Result> getWorkspaceIamDirectGroupMembersV2(GetWorkspaceIamDirectGroupMembersV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamDirectGroupMembersV2Result> getWorkspaceIamDirectGroupMembersV2(GetWorkspaceIamDirectGroupMembersV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamDirectGroupMembersV2Result> getWorkspaceIamDirectGroupMembersV2(GetWorkspaceIamDirectGroupMembersV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getWorkspaceIamDirectGroupMembersV2:getWorkspaceIamDirectGroupMembersV2
arguments:
# arguments dictionarydata "databricks_get_workspace_iam_direct_group_members_v2" "name" {
# arguments
}The following arguments are supported:
- Group
Id int - Required. Internal ID of the group in Databricks whose direct members are being listed
- Page
Size int - The maximum number of members 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 Direct Group Members V2Provider Config - Configure the provider for management through account provider.
- Group
Id int - Required. Internal ID of the group in Databricks whose direct members are being listed
- Page
Size int - The maximum number of members 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 Direct Group Members V2Provider Config - Configure the provider for management through account provider.
- group_
id number - Required. Internal ID of the group in Databricks whose direct members are being listed
- page_
size number - The maximum number of members 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.
- group
Id Integer - Required. Internal ID of the group in Databricks whose direct members are being listed
- page
Size Integer - The maximum number of members 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 Direct Group Members V2Provider Config - Configure the provider for management through account provider.
- group
Id number - Required. Internal ID of the group in Databricks whose direct members are being listed
- page
Size number - The maximum number of members 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 Direct Group Members V2Provider Config - Configure the provider for management through account provider.
- group_
id int - Required. Internal ID of the group in Databricks whose direct members are being listed
- page_
size int - The maximum number of members 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 Direct Group Members V2Provider Config - Configure the provider for management through account provider.
- group
Id Number - Required. Internal ID of the group in Databricks whose direct members are being listed
- page
Size Number - The maximum number of members 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.
getWorkspaceIamDirectGroupMembersV2 Result
The following output properties are available:
- Direct
Group List<GetMembers Workspace Iam Direct Group Members V2Direct Group Member> - Group
Id int - (integer) - The internal ID of the group this member belongs to
- Page
Size int - Provider
Config GetWorkspace Iam Direct Group Members V2Provider Config
- Direct
Group []GetMembers Workspace Iam Direct Group Members V2Direct Group Member - Group
Id int - (integer) - The internal ID of the group this member belongs to
- Page
Size int - Provider
Config GetWorkspace Iam Direct Group Members V2Provider Config
- direct_
group_ list(object)members - group_
id number - (integer) - The internal ID of the group this member belongs to
- page_
size number - provider_
config object
- direct
Group List<GetMembers Workspace Iam Direct Group Members V2Direct Group Member> - group
Id Integer - (integer) - The internal ID of the group this member belongs to
- page
Size Integer - provider
Config GetWorkspace Iam Direct Group Members V2Provider Config
- direct
Group GetMembers Workspace Iam Direct Group Members V2Direct Group Member[] - group
Id number - (integer) - The internal ID of the group this member belongs to
- page
Size number - provider
Config GetWorkspace Iam Direct Group Members V2Provider Config
- direct_
group_ Sequence[Getmembers Workspace Iam Direct Group Members V2Direct Group Member] - group_
id int - (integer) - The internal ID of the group this member belongs to
- page_
size int - provider_
config GetWorkspace Iam Direct Group Members V2Provider Config
- direct
Group List<Property Map>Members - group
Id Number - (integer) - The internal ID of the group this member belongs to
- page
Size Number - provider
Config Property Map
Supporting Types
GetWorkspaceIamDirectGroupMembersV2DirectGroupMember
- Display
Name string - (string) - Display name of the principal
- External
Id string - (string) - The external ID of the principal in Databricks
- Group
Id int - Required. Internal ID of the group in Databricks whose direct members are being listed
- Membership
Source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - Principal
Id int - (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 Members V2Direct Group Member Provider Config - Configure the provider for management through account provider.
- Display
Name string - (string) - Display name of the principal
- External
Id string - (string) - The external ID of the principal in Databricks
- Group
Id int - Required. Internal ID of the group in Databricks whose direct members are being listed
- Membership
Source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - Principal
Id int - (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 Members V2Direct Group Member Provider Config - Configure the provider for management through account provider.
- display_
name string - (string) - Display name of the principal
- external_
id string - (string) - The external ID of the principal in Databricks
- group_
id number - Required. Internal ID of the group in Databricks whose direct members are being listed
- membership_
source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal_
id number - (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 - Configure the provider for management through account provider.
- display
Name String - (string) - Display name of the principal
- external
Id String - (string) - The external ID of the principal in Databricks
- group
Id Integer - Required. Internal ID of the group in Databricks whose direct members are being listed
- membership
Source String - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal
Id Integer - (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 Members V2Direct Group Member Provider Config - Configure the provider for management through account provider.
- display
Name string - (string) - Display name of the principal
- external
Id string - (string) - The external ID of the principal in Databricks
- group
Id number - Required. Internal ID of the group in Databricks whose direct members are being listed
- membership
Source string - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal
Id number - (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 Members V2Direct Group Member Provider Config - Configure the provider for management through account provider.
- display_
name str - (string) - Display name of the principal
- external_
id str - (string) - The external ID of the principal in Databricks
- group_
id int - Required. Internal ID of the group in Databricks whose direct members are being listed
- membership_
source str - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal_
id int - (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 Members V2Direct Group Member Provider Config - Configure the provider for management through account provider.
- display
Name String - (string) - Display name of the principal
- external
Id String - (string) - The external ID of the principal in Databricks
- group
Id Number - Required. Internal ID of the group in Databricks whose direct members are being listed
- membership
Source String - (string) - The source of group membership (internal or from identity provider). Possible values are:
IDENTITY_PROVIDER,INTERNAL - principal
Id Number - (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 - Configure the provider for management through account provider.
GetWorkspaceIamDirectGroupMembersV2DirectGroupMemberProviderConfig
- 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.
GetWorkspaceIamDirectGroupMembersV2ProviderConfig
- 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