Databricks

Pulumi Official
Package maintained by Pulumi
v0.4.0 published on Wednesday, Apr 20, 2022 by Pulumi

getGroup

The following resources are used in the same context:

  • End to end workspace management guide
  • databricks.Cluster to create Databricks Clusters.
  • databricks.Directory to manage directories in Databricks Workpace.
  • databricks_group_member to attach users and groups as group members.
  • databricks.Permissions to manage access control in Databricks workspace.
  • databricks.User to manage users, that could be added to databricks.Group within the workspace.

Using getGroup

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 getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
function getGroupOutput(args: GetGroupOutputArgs, opts?: InvokeOptions): Output<GetGroupResult>
def get_group(allow_cluster_create: Optional[bool] = None,
              allow_instance_pool_create: Optional[bool] = None,
              child_groups: Optional[Sequence[str]] = None,
              databricks_sql_access: Optional[bool] = None,
              display_name: Optional[str] = None,
              external_id: Optional[str] = None,
              groups: Optional[Sequence[str]] = None,
              instance_profiles: Optional[Sequence[str]] = None,
              members: Optional[Sequence[str]] = None,
              recursive: Optional[bool] = None,
              service_principals: Optional[Sequence[str]] = None,
              users: Optional[Sequence[str]] = None,
              workspace_access: Optional[bool] = None,
              opts: Optional[InvokeOptions] = None) -> GetGroupResult
def get_group_output(allow_cluster_create: Optional[pulumi.Input[bool]] = None,
              allow_instance_pool_create: Optional[pulumi.Input[bool]] = None,
              child_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              databricks_sql_access: Optional[pulumi.Input[bool]] = None,
              display_name: Optional[pulumi.Input[str]] = None,
              external_id: Optional[pulumi.Input[str]] = None,
              groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              instance_profiles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              recursive: Optional[pulumi.Input[bool]] = None,
              service_principals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              workspace_access: Optional[pulumi.Input[bool]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]
func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput

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

public static class GetGroup 
{
    public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetGroupResult> Invoke(GetGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: databricks:index/getGroup:getGroup
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DisplayName string

Display name of the group. The group must exist before this resource can be planned.

AllowClusterCreate bool

True if group members can create clusters

AllowInstancePoolCreate bool

True if group members can create instance pools

ChildGroups List<string>

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

DatabricksSqlAccess bool
ExternalId string

ID of the group in an external identity provider.

Groups List<string>

Set of group identifiers, that can be modified with databricks_group_member resource.

InstanceProfiles List<string>

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

Members List<string>

Deprecated:

Please use users, service_principals, and child_groups instead

Recursive bool

Collect information for all nested groups. Defaults to true.

ServicePrincipals List<string>

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

Users List<string>

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

WorkspaceAccess bool
DisplayName string

Display name of the group. The group must exist before this resource can be planned.

AllowClusterCreate bool

True if group members can create clusters

AllowInstancePoolCreate bool

True if group members can create instance pools

ChildGroups []string

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

DatabricksSqlAccess bool
ExternalId string

ID of the group in an external identity provider.

Groups []string

Set of group identifiers, that can be modified with databricks_group_member resource.

InstanceProfiles []string

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

Members []string

Deprecated:

Please use users, service_principals, and child_groups instead

Recursive bool

Collect information for all nested groups. Defaults to true.

ServicePrincipals []string

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

Users []string

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

WorkspaceAccess bool
displayName String

Display name of the group. The group must exist before this resource can be planned.

allowClusterCreate Boolean

True if group members can create clusters

allowInstancePoolCreate Boolean

True if group members can create instance pools

childGroups List<String>

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

databricksSqlAccess Boolean
externalId String

ID of the group in an external identity provider.

groups List<String>

Set of group identifiers, that can be modified with databricks_group_member resource.

instanceProfiles List<String>

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members List<String>

Deprecated:

Please use users, service_principals, and child_groups instead

recursive Boolean

Collect information for all nested groups. Defaults to true.

servicePrincipals List<String>

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users List<String>

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

workspaceAccess Boolean
displayName string

Display name of the group. The group must exist before this resource can be planned.

allowClusterCreate boolean

True if group members can create clusters

allowInstancePoolCreate boolean

True if group members can create instance pools

childGroups string[]

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

databricksSqlAccess boolean
externalId string

ID of the group in an external identity provider.

groups string[]

Set of group identifiers, that can be modified with databricks_group_member resource.

instanceProfiles string[]

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members string[]

Deprecated:

Please use users, service_principals, and child_groups instead

recursive boolean

Collect information for all nested groups. Defaults to true.

servicePrincipals string[]

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users string[]

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

workspaceAccess boolean
display_name str

Display name of the group. The group must exist before this resource can be planned.

allow_cluster_create bool

True if group members can create clusters

allow_instance_pool_create bool

True if group members can create instance pools

child_groups Sequence[str]

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

databricks_sql_access bool
external_id str

ID of the group in an external identity provider.

groups Sequence[str]

Set of group identifiers, that can be modified with databricks_group_member resource.

instance_profiles Sequence[str]

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members Sequence[str]

Deprecated:

Please use users, service_principals, and child_groups instead

recursive bool

Collect information for all nested groups. Defaults to true.

service_principals Sequence[str]

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users Sequence[str]

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

workspace_access bool
displayName String

Display name of the group. The group must exist before this resource can be planned.

allowClusterCreate Boolean

True if group members can create clusters

allowInstancePoolCreate Boolean

True if group members can create instance pools

childGroups List<String>

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

databricksSqlAccess Boolean
externalId String

ID of the group in an external identity provider.

groups List<String>

Set of group identifiers, that can be modified with databricks_group_member resource.

instanceProfiles List<String>

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members List<String>

Deprecated:

Please use users, service_principals, and child_groups instead

recursive Boolean

Collect information for all nested groups. Defaults to true.

servicePrincipals List<String>

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users List<String>

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

workspaceAccess Boolean

getGroup Result

The following output properties are available:

ChildGroups List<string>

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

DisplayName string
ExternalId string

ID of the group in an external identity provider.

Groups List<string>

Set of group identifiers, that can be modified with databricks_group_member resource.

Id string

The provider-assigned unique ID for this managed resource.

InstanceProfiles List<string>

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

Members List<string>

Deprecated:

Please use users, service_principals, and child_groups instead

ServicePrincipals List<string>

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

Users List<string>

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

AllowClusterCreate bool

True if group members can create clusters

AllowInstancePoolCreate bool

True if group members can create instance pools

DatabricksSqlAccess bool
Recursive bool
WorkspaceAccess bool
ChildGroups []string

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

DisplayName string
ExternalId string

ID of the group in an external identity provider.

Groups []string

Set of group identifiers, that can be modified with databricks_group_member resource.

Id string

The provider-assigned unique ID for this managed resource.

InstanceProfiles []string

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

Members []string

Deprecated:

Please use users, service_principals, and child_groups instead

ServicePrincipals []string

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

Users []string

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

AllowClusterCreate bool

True if group members can create clusters

AllowInstancePoolCreate bool

True if group members can create instance pools

DatabricksSqlAccess bool
Recursive bool
WorkspaceAccess bool
childGroups List<String>

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

displayName String
externalId String

ID of the group in an external identity provider.

groups List<String>

Set of group identifiers, that can be modified with databricks_group_member resource.

id String

The provider-assigned unique ID for this managed resource.

instanceProfiles List<String>

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members List<String>

Deprecated:

Please use users, service_principals, and child_groups instead

servicePrincipals List<String>

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users List<String>

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

allowClusterCreate Boolean

True if group members can create clusters

allowInstancePoolCreate Boolean

True if group members can create instance pools

databricksSqlAccess Boolean
recursive Boolean
workspaceAccess Boolean
childGroups string[]

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

displayName string
externalId string

ID of the group in an external identity provider.

groups string[]

Set of group identifiers, that can be modified with databricks_group_member resource.

id string

The provider-assigned unique ID for this managed resource.

instanceProfiles string[]

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members string[]

Deprecated:

Please use users, service_principals, and child_groups instead

servicePrincipals string[]

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users string[]

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

allowClusterCreate boolean

True if group members can create clusters

allowInstancePoolCreate boolean

True if group members can create instance pools

databricksSqlAccess boolean
recursive boolean
workspaceAccess boolean
child_groups Sequence[str]

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

display_name str
external_id str

ID of the group in an external identity provider.

groups Sequence[str]

Set of group identifiers, that can be modified with databricks_group_member resource.

id str

The provider-assigned unique ID for this managed resource.

instance_profiles Sequence[str]

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members Sequence[str]

Deprecated:

Please use users, service_principals, and child_groups instead

service_principals Sequence[str]

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users Sequence[str]

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

allow_cluster_create bool

True if group members can create clusters

allow_instance_pool_create bool

True if group members can create instance pools

databricks_sql_access bool
recursive bool
workspace_access bool
childGroups List<String>

Set of databricks.Group identifiers, that can be modified with databricks_group_member resource.

displayName String
externalId String

ID of the group in an external identity provider.

groups List<String>

Set of group identifiers, that can be modified with databricks_group_member resource.

id String

The provider-assigned unique ID for this managed resource.

instanceProfiles List<String>

Set of instance profile ARNs, that can be modified by databricks.GroupInstanceProfile resource.

members List<String>

Deprecated:

Please use users, service_principals, and child_groups instead

servicePrincipals List<String>

Set of databricks.ServicePrincipal identifiers, that can be modified with databricks_group_member resource.

users List<String>

Set of databricks.User identifiers, that can be modified with databricks_group_member resource.

allowClusterCreate Boolean

True if group members can create clusters

allowInstancePoolCreate Boolean

True if group members can create instance pools

databricksSqlAccess Boolean
recursive Boolean
workspaceAccess Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-databricks
License
Apache-2.0
Notes

This Pulumi package is based on the databricks Terraform Provider.