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 group by its internal ID, using a workspace-scoped provider.
Example Usage
Example usage:
Look up a group by its internal ID, using a workspace-scoped provider.
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getWorkspaceIamGroupV2({
groupId: "123456789",
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_workspace_iam_group_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.GetWorkspaceIamGroupV2(ctx, &databricks.LookupWorkspaceIamGroupV2Args{
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.GetWorkspaceIamGroupV2.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.GetWorkspaceIamGroupV2Args;
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.getWorkspaceIamGroupV2(GetWorkspaceIamGroupV2Args.builder()
.groupId("123456789")
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getWorkspaceIamGroupV2
arguments:
groupId: '123456789'
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getworkspaceiamgroupv2" "this" {
group_id = "123456789"
}
Using getWorkspaceIamGroupV2
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 getWorkspaceIamGroupV2(args: GetWorkspaceIamGroupV2Args, opts?: InvokeOptions): Promise<GetWorkspaceIamGroupV2Result>
function getWorkspaceIamGroupV2Output(args: GetWorkspaceIamGroupV2OutputArgs, opts?: InvokeOutputOptions): Output<GetWorkspaceIamGroupV2Result>def get_workspace_iam_group_v2(group_id: Optional[str] = None,
provider_config: Optional[GetWorkspaceIamGroupV2ProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceIamGroupV2Result
def get_workspace_iam_group_v2_output(group_id: pulumi.Input[Optional[str]] = None,
provider_config: pulumi.Input[Optional[GetWorkspaceIamGroupV2ProviderConfigArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkspaceIamGroupV2Result]func LookupWorkspaceIamGroupV2(ctx *Context, args *LookupWorkspaceIamGroupV2Args, opts ...InvokeOption) (*LookupWorkspaceIamGroupV2Result, error)
func LookupWorkspaceIamGroupV2Output(ctx *Context, args *LookupWorkspaceIamGroupV2OutputArgs, opts ...InvokeOption) LookupWorkspaceIamGroupV2ResultOutput> Note: This function is named LookupWorkspaceIamGroupV2 in the Go SDK.
public static class GetWorkspaceIamGroupV2
{
public static Task<GetWorkspaceIamGroupV2Result> InvokeAsync(GetWorkspaceIamGroupV2Args args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamGroupV2Result> Invoke(GetWorkspaceIamGroupV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceIamGroupV2Result> Invoke(GetWorkspaceIamGroupV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkspaceIamGroupV2Result> getWorkspaceIamGroupV2(GetWorkspaceIamGroupV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamGroupV2Result> getWorkspaceIamGroupV2(GetWorkspaceIamGroupV2Args args, InvokeOptions options)
public static Output<GetWorkspaceIamGroupV2Result> getWorkspaceIamGroupV2(GetWorkspaceIamGroupV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getWorkspaceIamGroupV2:getWorkspaceIamGroupV2
arguments:
# arguments dictionarydata "databricks_get_workspace_iam_group_v2" "name" {
# arguments
}The following arguments are supported:
- Group
Id string - Internal group ID of the group in Databricks
- Provider
Config GetWorkspace Iam Group V2Provider Config - Configure the provider for management through account provider.
- Group
Id string - Internal group ID of the group in Databricks
- Provider
Config GetWorkspace Iam Group V2Provider Config - Configure the provider for management through account provider.
- group_
id string - Internal group ID of the group in Databricks
- provider_
config object - Configure the provider for management through account provider.
- group
Id String - Internal group ID of the group in Databricks
- provider
Config GetWorkspace Iam Group V2Provider Config - Configure the provider for management through account provider.
- group
Id string - Internal group ID of the group in Databricks
- provider
Config GetWorkspace Iam Group V2Provider Config - Configure the provider for management through account provider.
- group_
id str - Internal group ID of the group in Databricks
- provider_
config GetWorkspace Iam Group V2Provider Config - Configure the provider for management through account provider.
- group
Id String - Internal group ID of the group in Databricks
- provider
Config Property Map - Configure the provider for management through account provider.
getWorkspaceIamGroupV2 Result
The following output properties are available:
- Account
Id string - (string) - The parent account ID for group in Databricks
- External
Id string - (string) - ExternalId of the group in the customer's IdP
- Group
Id string - (string) - Internal group ID of the group in Databricks
- Group
Name string - (string) - Display name of the group
- Provider
Config GetWorkspace Iam Group V2Provider Config
- Account
Id string - (string) - The parent account ID for group in Databricks
- External
Id string - (string) - ExternalId of the group in the customer's IdP
- Group
Id string - (string) - Internal group ID of the group in Databricks
- Group
Name string - (string) - Display name of the group
- Provider
Config GetWorkspace Iam Group V2Provider Config
- account_
id string - (string) - The parent account ID for group in Databricks
- external_
id string - (string) - ExternalId of the group in the customer's IdP
- group_
id string - (string) - Internal group ID of the group in Databricks
- group_
name string - (string) - Display name of the group
- provider_
config object
- account
Id String - (string) - The parent account ID for group in Databricks
- external
Id String - (string) - ExternalId of the group in the customer's IdP
- group
Id String - (string) - Internal group ID of the group in Databricks
- group
Name String - (string) - Display name of the group
- provider
Config GetWorkspace Iam Group V2Provider Config
- account
Id string - (string) - The parent account ID for group in Databricks
- external
Id string - (string) - ExternalId of the group in the customer's IdP
- group
Id string - (string) - Internal group ID of the group in Databricks
- group
Name string - (string) - Display name of the group
- provider
Config GetWorkspace Iam Group V2Provider Config
- account_
id str - (string) - The parent account ID for group in Databricks
- external_
id str - (string) - ExternalId of the group in the customer's IdP
- group_
id str - (string) - Internal group ID of the group in Databricks
- group_
name str - (string) - Display name of the group
- provider_
config GetWorkspace Iam Group V2Provider Config
- account
Id String - (string) - The parent account ID for group in Databricks
- external
Id String - (string) - ExternalId of the group in the customer's IdP
- group
Id String - (string) - Internal group ID of the group in Databricks
- group
Name String - (string) - Display name of the group
- provider
Config Property Map
Supporting Types
GetWorkspaceIamGroupV2ProviderConfig
- 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