1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getIdentityCenterGroups
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack

tencentcloud.getIdentityCenterGroups

Start a Neo task
Explain and create a tencentcloud.getIdentityCenterGroups resource
tencentcloud logo
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack

    Use this data source to query detailed information of identity center groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const identityCenterGroups = tencentcloud.getIdentityCenterGroups({
        zoneId: "z-xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    identity_center_groups = tencentcloud.get_identity_center_groups(zone_id="z-xxxxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetIdentityCenterGroups(ctx, &tencentcloud.GetIdentityCenterGroupsArgs{
    			ZoneId: "z-xxxxxx",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var identityCenterGroups = Tencentcloud.GetIdentityCenterGroups.Invoke(new()
        {
            ZoneId = "z-xxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetIdentityCenterGroupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 identityCenterGroups = TencentcloudFunctions.getIdentityCenterGroups(GetIdentityCenterGroupsArgs.builder()
                .zoneId("z-xxxxxx")
                .build());
    
        }
    }
    
    variables:
      identityCenterGroups:
        fn::invoke:
          function: tencentcloud:getIdentityCenterGroups
          arguments:
            zoneId: z-xxxxxx
    

    Using getIdentityCenterGroups

    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 getIdentityCenterGroups(args: GetIdentityCenterGroupsArgs, opts?: InvokeOptions): Promise<GetIdentityCenterGroupsResult>
    function getIdentityCenterGroupsOutput(args: GetIdentityCenterGroupsOutputArgs, opts?: InvokeOptions): Output<GetIdentityCenterGroupsResult>
    def get_identity_center_groups(filter: Optional[str] = None,
                                   filter_users: Optional[Sequence[str]] = None,
                                   group_type: Optional[str] = None,
                                   id: Optional[str] = None,
                                   result_output_file: Optional[str] = None,
                                   sort_field: Optional[str] = None,
                                   sort_type: Optional[str] = None,
                                   zone_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetIdentityCenterGroupsResult
    def get_identity_center_groups_output(filter: Optional[pulumi.Input[str]] = None,
                                   filter_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   group_type: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   result_output_file: Optional[pulumi.Input[str]] = None,
                                   sort_field: Optional[pulumi.Input[str]] = None,
                                   sort_type: Optional[pulumi.Input[str]] = None,
                                   zone_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetIdentityCenterGroupsResult]
    func GetIdentityCenterGroups(ctx *Context, args *GetIdentityCenterGroupsArgs, opts ...InvokeOption) (*GetIdentityCenterGroupsResult, error)
    func GetIdentityCenterGroupsOutput(ctx *Context, args *GetIdentityCenterGroupsOutputArgs, opts ...InvokeOption) GetIdentityCenterGroupsResultOutput

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

    public static class GetIdentityCenterGroups 
    {
        public static Task<GetIdentityCenterGroupsResult> InvokeAsync(GetIdentityCenterGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetIdentityCenterGroupsResult> Invoke(GetIdentityCenterGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentityCenterGroupsResult> getIdentityCenterGroups(GetIdentityCenterGroupsArgs args, InvokeOptions options)
    public static Output<GetIdentityCenterGroupsResult> getIdentityCenterGroups(GetIdentityCenterGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getIdentityCenterGroups:getIdentityCenterGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Space ID.
    Filter string
    Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
    FilterUsers List<string>
    Filtered user. IsSelected=1 will be returned for the user group associated with this user.
    GroupType string
    User group type. Manual: manually created; Synchronized: externally imported.
    Id string
    ResultOutputFile string
    Used to save results.
    SortField string
    Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
    SortType string
    Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
    ZoneId string
    Space ID.
    Filter string
    Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
    FilterUsers []string
    Filtered user. IsSelected=1 will be returned for the user group associated with this user.
    GroupType string
    User group type. Manual: manually created; Synchronized: externally imported.
    Id string
    ResultOutputFile string
    Used to save results.
    SortField string
    Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
    SortType string
    Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
    zoneId String
    Space ID.
    filter String
    Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
    filterUsers List<String>
    Filtered user. IsSelected=1 will be returned for the user group associated with this user.
    groupType String
    User group type. Manual: manually created; Synchronized: externally imported.
    id String
    resultOutputFile String
    Used to save results.
    sortField String
    Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
    sortType String
    Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
    zoneId string
    Space ID.
    filter string
    Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
    filterUsers string[]
    Filtered user. IsSelected=1 will be returned for the user group associated with this user.
    groupType string
    User group type. Manual: manually created; Synchronized: externally imported.
    id string
    resultOutputFile string
    Used to save results.
    sortField string
    Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
    sortType string
    Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
    zone_id str
    Space ID.
    filter str
    Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
    filter_users Sequence[str]
    Filtered user. IsSelected=1 will be returned for the user group associated with this user.
    group_type str
    User group type. Manual: manually created; Synchronized: externally imported.
    id str
    result_output_file str
    Used to save results.
    sort_field str
    Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
    sort_type str
    Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
    zoneId String
    Space ID.
    filter String
    Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
    filterUsers List<String>
    Filtered user. IsSelected=1 will be returned for the user group associated with this user.
    groupType String
    User group type. Manual: manually created; Synchronized: externally imported.
    id String
    resultOutputFile String
    Used to save results.
    sortField String
    Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
    sortType String
    Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.

    getIdentityCenterGroups Result

    The following output properties are available:

    Groups List<GetIdentityCenterGroupsGroup>
    User group list.
    Id string
    ZoneId string
    Filter string
    FilterUsers List<string>
    GroupType string
    ResultOutputFile string
    SortField string
    SortType string
    Groups []GetIdentityCenterGroupsGroup
    User group list.
    Id string
    ZoneId string
    Filter string
    FilterUsers []string
    GroupType string
    ResultOutputFile string
    SortField string
    SortType string
    groups List<GetIdentityCenterGroupsGroup>
    User group list.
    id String
    zoneId String
    filter String
    filterUsers List<String>
    groupType String
    resultOutputFile String
    sortField String
    sortType String
    groups GetIdentityCenterGroupsGroup[]
    User group list.
    id string
    zoneId string
    filter string
    filterUsers string[]
    groupType string
    resultOutputFile string
    sortField string
    sortType string
    groups List<Property Map>
    User group list.
    id String
    zoneId String
    filter String
    filterUsers List<String>
    groupType String
    resultOutputFile String
    sortField String
    sortType String

    Supporting Types

    GetIdentityCenterGroupsGroup

    CreateTime string
    Description string
    GroupId string
    GroupName string
    GroupType string
    User group type. Manual: manually created; Synchronized: externally imported.
    IsSelected bool
    MemberCount double
    UpdateTime string
    CreateTime string
    Description string
    GroupId string
    GroupName string
    GroupType string
    User group type. Manual: manually created; Synchronized: externally imported.
    IsSelected bool
    MemberCount float64
    UpdateTime string
    createTime String
    description String
    groupId String
    groupName String
    groupType String
    User group type. Manual: manually created; Synchronized: externally imported.
    isSelected Boolean
    memberCount Double
    updateTime String
    createTime string
    description string
    groupId string
    groupName string
    groupType string
    User group type. Manual: manually created; Synchronized: externally imported.
    isSelected boolean
    memberCount number
    updateTime string
    create_time str
    description str
    group_id str
    group_name str
    group_type str
    User group type. Manual: manually created; Synchronized: externally imported.
    is_selected bool
    member_count float
    update_time str
    createTime String
    description String
    groupId String
    groupName String
    groupType String
    User group type. Manual: manually created; Synchronized: externally imported.
    isSelected Boolean
    memberCount Number
    updateTime String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate