1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. getGroup
dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi

dbtcloud.getGroup

Explore with Pulumi AI

dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi

Retrieve group details

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>
Copy
def get_group(group_id: Optional[int] = None,
              opts: Optional[InvokeOptions] = None) -> GetGroupResult
def get_group_output(group_id: Optional[pulumi.Input[int]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]
Copy
func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
public static Output<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: dbtcloud:index/getGroup:getGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GroupId This property is required. int
The ID of the group
GroupId This property is required. int
The ID of the group
groupId This property is required. Integer
The ID of the group
groupId This property is required. number
The ID of the group
group_id This property is required. int
The ID of the group
groupId This property is required. Number
The ID of the group

getGroup Result

The following output properties are available:

AssignByDefault bool
Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
GroupId int
The ID of the group
GroupPermissions List<Pulumi.DbtCloud.Outputs.GetGroupGroupPermission>
Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
Id int
The ID of this resource
Name string
Group name
SsoMappingGroups List<string>
SSO mapping group names for this group
AssignByDefault bool
Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
GroupId int
The ID of the group
GroupPermissions []GetGroupGroupPermission
Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
Id int
The ID of this resource
Name string
Group name
SsoMappingGroups []string
SSO mapping group names for this group
assignByDefault Boolean
Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
groupId Integer
The ID of the group
groupPermissions List<GetGroupGroupPermission>
Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
id Integer
The ID of this resource
name String
Group name
ssoMappingGroups List<String>
SSO mapping group names for this group
assignByDefault boolean
Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
groupId number
The ID of the group
groupPermissions GetGroupGroupPermission[]
Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
id number
The ID of this resource
name string
Group name
ssoMappingGroups string[]
SSO mapping group names for this group
assign_by_default bool
Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
group_id int
The ID of the group
group_permissions Sequence[GetGroupGroupPermission]
Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
id int
The ID of this resource
name str
Group name
sso_mapping_groups Sequence[str]
SSO mapping group names for this group
assignByDefault Boolean
Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
groupId Number
The ID of the group
groupPermissions List<Property Map>
Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
id Number
The ID of this resource
name String
Group name
ssoMappingGroups List<String>
SSO mapping group names for this group

Supporting Types

GetGroupGroupPermission

AllProjects This property is required. bool
Whether access should be provided for all projects or not.
PermissionSet This property is required. string
Set of permissions to apply. The permissions allowed are the same as the ones for the dbtcloud.Group resource.
ProjectId This property is required. int
Project ID to apply this permission to for this group.
WritableEnvironmentCategories This property is required. List<string>
What types of environments to apply Write permissions to.
AllProjects This property is required. bool
Whether access should be provided for all projects or not.
PermissionSet This property is required. string
Set of permissions to apply. The permissions allowed are the same as the ones for the dbtcloud.Group resource.
ProjectId This property is required. int
Project ID to apply this permission to for this group.
WritableEnvironmentCategories This property is required. []string
What types of environments to apply Write permissions to.
allProjects This property is required. Boolean
Whether access should be provided for all projects or not.
permissionSet This property is required. String
Set of permissions to apply. The permissions allowed are the same as the ones for the dbtcloud.Group resource.
projectId This property is required. Integer
Project ID to apply this permission to for this group.
writableEnvironmentCategories This property is required. List<String>
What types of environments to apply Write permissions to.
allProjects This property is required. boolean
Whether access should be provided for all projects or not.
permissionSet This property is required. string
Set of permissions to apply. The permissions allowed are the same as the ones for the dbtcloud.Group resource.
projectId This property is required. number
Project ID to apply this permission to for this group.
writableEnvironmentCategories This property is required. string[]
What types of environments to apply Write permissions to.
all_projects This property is required. bool
Whether access should be provided for all projects or not.
permission_set This property is required. str
Set of permissions to apply. The permissions allowed are the same as the ones for the dbtcloud.Group resource.
project_id This property is required. int
Project ID to apply this permission to for this group.
writable_environment_categories This property is required. Sequence[str]
What types of environments to apply Write permissions to.
allProjects This property is required. Boolean
Whether access should be provided for all projects or not.
permissionSet This property is required. String
Set of permissions to apply. The permissions allowed are the same as the ones for the dbtcloud.Group resource.
projectId This property is required. Number
Project ID to apply this permission to for this group.
writableEnvironmentCategories This property is required. List<String>
What types of environments to apply Write permissions to.

Package Details

Repository
dbtcloud pulumi/pulumi-dbtcloud
License
Apache-2.0
Notes
This Pulumi package is based on the dbtcloud Terraform Provider.
dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi