1. Registry
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. getAccountIamGroupV2
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
databricks logo databricks logo
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi

    Public Beta

    API Documentation

    Reads a single account group by its internal ID.

    Example Usage

    Example usage:

    Look up an account group by its internal ID.

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = databricks.getAccountIamGroupV2({
        groupId: "123456789",
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.get_account_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.GetAccountIamGroupV2(ctx, &databricks.LookupAccountIamGroupV2Args{
    			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.GetAccountIamGroupV2.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.GetAccountIamGroupV2Args;
    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.getAccountIamGroupV2(GetAccountIamGroupV2Args.builder()
                .groupId("123456789")
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: databricks:getAccountIamGroupV2
          arguments:
            groupId: '123456789'
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    data "databricks_getaccountiamgroupv2" "this" {
      group_id = "123456789"
    }
    

    Using getAccountIamGroupV2

    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 getAccountIamGroupV2(args: GetAccountIamGroupV2Args, opts?: InvokeOptions): Promise<GetAccountIamGroupV2Result>
    function getAccountIamGroupV2Output(args: GetAccountIamGroupV2OutputArgs, opts?: InvokeOutputOptions): Output<GetAccountIamGroupV2Result>
    def get_account_iam_group_v2(group_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAccountIamGroupV2Result
    def get_account_iam_group_v2_output(group_id: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountIamGroupV2Result]
    func LookupAccountIamGroupV2(ctx *Context, args *LookupAccountIamGroupV2Args, opts ...InvokeOption) (*LookupAccountIamGroupV2Result, error)
    func LookupAccountIamGroupV2Output(ctx *Context, args *LookupAccountIamGroupV2OutputArgs, opts ...InvokeOption) LookupAccountIamGroupV2ResultOutput

    > Note: This function is named LookupAccountIamGroupV2 in the Go SDK.

    public static class GetAccountIamGroupV2 
    {
        public static Task<GetAccountIamGroupV2Result> InvokeAsync(GetAccountIamGroupV2Args args, InvokeOptions? opts = null)
        public static Output<GetAccountIamGroupV2Result> Invoke(GetAccountIamGroupV2InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountIamGroupV2Result> Invoke(GetAccountIamGroupV2InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAccountIamGroupV2Result> getAccountIamGroupV2(GetAccountIamGroupV2Args args, InvokeOptions options)
    public static Output<GetAccountIamGroupV2Result> getAccountIamGroupV2(GetAccountIamGroupV2Args args, InvokeOptions options)
    public static Output<GetAccountIamGroupV2Result> getAccountIamGroupV2(GetAccountIamGroupV2Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: databricks:index/getAccountIamGroupV2:getAccountIamGroupV2
      arguments:
        # arguments dictionary
    data "databricks_get_account_iam_group_v2" "name" {
        # arguments
    }

    The following arguments are supported:

    GroupId string
    Internal group ID of the group in Databricks
    GroupId string
    Internal group ID of the group in Databricks
    group_id string
    Internal group ID of the group in Databricks
    groupId String
    Internal group ID of the group in Databricks
    groupId string
    Internal group ID of the group in Databricks
    group_id str
    Internal group ID of the group in Databricks
    groupId String
    Internal group ID of the group in Databricks

    getAccountIamGroupV2 Result

    The following output properties are available:

    AccountId string
    (string) - The parent account ID for group in Databricks
    ExternalId string
    (string) - ExternalId of the group in the customer's IdP
    GroupId string
    (string) - Internal group ID of the group in Databricks
    GroupName string
    (string) - Display name of the group
    AccountId string
    (string) - The parent account ID for group in Databricks
    ExternalId string
    (string) - ExternalId of the group in the customer's IdP
    GroupId string
    (string) - Internal group ID of the group in Databricks
    GroupName string
    (string) - Display name of the group
    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
    accountId String
    (string) - The parent account ID for group in Databricks
    externalId String
    (string) - ExternalId of the group in the customer's IdP
    groupId String
    (string) - Internal group ID of the group in Databricks
    groupName String
    (string) - Display name of the group
    accountId string
    (string) - The parent account ID for group in Databricks
    externalId string
    (string) - ExternalId of the group in the customer's IdP
    groupId string
    (string) - Internal group ID of the group in Databricks
    groupName string
    (string) - Display name of the group
    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
    accountId String
    (string) - The parent account ID for group in Databricks
    externalId String
    (string) - ExternalId of the group in the customer's IdP
    groupId String
    (string) - Internal group ID of the group in Databricks
    groupName String
    (string) - Display name of the group

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo databricks logo
    Viewing docs for Databricks v1.109.0
    published on Tuesday, Sep 8, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial