1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getIdentityCenterUsers
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getIdentityCenterUsers

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const identityCenterUsers = tencentcloud.getIdentityCenterUsers({
        zoneId: "z-xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    identity_center_users = tencentcloud.get_identity_center_users(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.GetIdentityCenterUsers(ctx, &tencentcloud.GetIdentityCenterUsersArgs{
    			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 identityCenterUsers = Tencentcloud.GetIdentityCenterUsers.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.GetIdentityCenterUsersArgs;
    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 identityCenterUsers = TencentcloudFunctions.getIdentityCenterUsers(GetIdentityCenterUsersArgs.builder()
                .zoneId("z-xxxxxx")
                .build());
    
        }
    }
    
    variables:
      identityCenterUsers:
        fn::invoke:
          function: tencentcloud:getIdentityCenterUsers
          arguments:
            zoneId: z-xxxxxx
    

    Using getIdentityCenterUsers

    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 getIdentityCenterUsers(args: GetIdentityCenterUsersArgs, opts?: InvokeOptions): Promise<GetIdentityCenterUsersResult>
    function getIdentityCenterUsersOutput(args: GetIdentityCenterUsersOutputArgs, opts?: InvokeOptions): Output<GetIdentityCenterUsersResult>
    def get_identity_center_users(filter: Optional[str] = None,
                                  filter_groups: Optional[Sequence[str]] = None,
                                  id: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  sort_field: Optional[str] = None,
                                  sort_type: Optional[str] = None,
                                  user_status: Optional[str] = None,
                                  user_type: Optional[str] = None,
                                  zone_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetIdentityCenterUsersResult
    def get_identity_center_users_output(filter: Optional[pulumi.Input[str]] = None,
                                  filter_groups: Optional[pulumi.Input[Sequence[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,
                                  user_status: Optional[pulumi.Input[str]] = None,
                                  user_type: Optional[pulumi.Input[str]] = None,
                                  zone_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetIdentityCenterUsersResult]
    func GetIdentityCenterUsers(ctx *Context, args *GetIdentityCenterUsersArgs, opts ...InvokeOption) (*GetIdentityCenterUsersResult, error)
    func GetIdentityCenterUsersOutput(ctx *Context, args *GetIdentityCenterUsersOutputArgs, opts ...InvokeOption) GetIdentityCenterUsersResultOutput

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

    public static class GetIdentityCenterUsers 
    {
        public static Task<GetIdentityCenterUsersResult> InvokeAsync(GetIdentityCenterUsersArgs args, InvokeOptions? opts = null)
        public static Output<GetIdentityCenterUsersResult> Invoke(GetIdentityCenterUsersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentityCenterUsersResult> getIdentityCenterUsers(GetIdentityCenterUsersArgs args, InvokeOptions options)
    public static Output<GetIdentityCenterUsersResult> getIdentityCenterUsers(GetIdentityCenterUsersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getIdentityCenterUsers:getIdentityCenterUsers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Space ID.
    Filter string
    Filter criterion, which currently only supports username, email address, userId, and description.
    FilterGroups List<string>
    Filtered user group. IsSelected=1 will be returned for the sub-user associated with this user group.
    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.
    UserStatus string
    User status: Enabled, Disabled.
    UserType string
    User type. Manual: manually created; Synchronized: externally imported.
    ZoneId string
    Space ID.
    Filter string
    Filter criterion, which currently only supports username, email address, userId, and description.
    FilterGroups []string
    Filtered user group. IsSelected=1 will be returned for the sub-user associated with this user group.
    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.
    UserStatus string
    User status: Enabled, Disabled.
    UserType string
    User type. Manual: manually created; Synchronized: externally imported.
    zoneId String
    Space ID.
    filter String
    Filter criterion, which currently only supports username, email address, userId, and description.
    filterGroups List<String>
    Filtered user group. IsSelected=1 will be returned for the sub-user associated with this user group.
    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.
    userStatus String
    User status: Enabled, Disabled.
    userType String
    User type. Manual: manually created; Synchronized: externally imported.
    zoneId string
    Space ID.
    filter string
    Filter criterion, which currently only supports username, email address, userId, and description.
    filterGroups string[]
    Filtered user group. IsSelected=1 will be returned for the sub-user associated with this user group.
    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.
    userStatus string
    User status: Enabled, Disabled.
    userType string
    User type. Manual: manually created; Synchronized: externally imported.
    zone_id str
    Space ID.
    filter str
    Filter criterion, which currently only supports username, email address, userId, and description.
    filter_groups Sequence[str]
    Filtered user group. IsSelected=1 will be returned for the sub-user associated with this user group.
    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.
    user_status str
    User status: Enabled, Disabled.
    user_type str
    User type. Manual: manually created; Synchronized: externally imported.
    zoneId String
    Space ID.
    filter String
    Filter criterion, which currently only supports username, email address, userId, and description.
    filterGroups List<String>
    Filtered user group. IsSelected=1 will be returned for the sub-user associated with this user group.
    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.
    userStatus String
    User status: Enabled, Disabled.
    userType String
    User type. Manual: manually created; Synchronized: externally imported.

    getIdentityCenterUsers Result

    The following output properties are available:

    Id string
    Users List<GetIdentityCenterUsersUser>
    User list.
    ZoneId string
    Filter string
    FilterGroups List<string>
    ResultOutputFile string
    SortField string
    SortType string
    UserStatus string
    UserType string
    Id string
    Users []GetIdentityCenterUsersUser
    User list.
    ZoneId string
    Filter string
    FilterGroups []string
    ResultOutputFile string
    SortField string
    SortType string
    UserStatus string
    UserType string
    id String
    users List<GetIdentityCenterUsersUser>
    User list.
    zoneId String
    filter String
    filterGroups List<String>
    resultOutputFile String
    sortField String
    sortType String
    userStatus String
    userType String
    id string
    users GetIdentityCenterUsersUser[]
    User list.
    zoneId string
    filter string
    filterGroups string[]
    resultOutputFile string
    sortField string
    sortType string
    userStatus string
    userType string
    id String
    users List<Property Map>
    User list.
    zoneId String
    filter String
    filterGroups List<String>
    resultOutputFile String
    sortField String
    sortType String
    userStatus String
    userType String

    Supporting Types

    GetIdentityCenterUsersUser

    CreateTime string
    Description string
    DisplayName string
    Email string
    FirstName string
    IsSelected bool
    LastName string
    UpdateTime string
    UserId string
    UserName string
    UserStatus string
    User status: Enabled, Disabled.
    UserType string
    User type. Manual: manually created; Synchronized: externally imported.
    CreateTime string
    Description string
    DisplayName string
    Email string
    FirstName string
    IsSelected bool
    LastName string
    UpdateTime string
    UserId string
    UserName string
    UserStatus string
    User status: Enabled, Disabled.
    UserType string
    User type. Manual: manually created; Synchronized: externally imported.
    createTime String
    description String
    displayName String
    email String
    firstName String
    isSelected Boolean
    lastName String
    updateTime String
    userId String
    userName String
    userStatus String
    User status: Enabled, Disabled.
    userType String
    User type. Manual: manually created; Synchronized: externally imported.
    createTime string
    description string
    displayName string
    email string
    firstName string
    isSelected boolean
    lastName string
    updateTime string
    userId string
    userName string
    userStatus string
    User status: Enabled, Disabled.
    userType string
    User type. Manual: manually created; Synchronized: externally imported.
    create_time str
    description str
    display_name str
    email str
    first_name str
    is_selected bool
    last_name str
    update_time str
    user_id str
    user_name str
    user_status str
    User status: Enabled, Disabled.
    user_type str
    User type. Manual: manually created; Synchronized: externally imported.
    createTime String
    description String
    displayName String
    email String
    firstName String
    isSelected Boolean
    lastName String
    updateTime String
    userId String
    userName String
    userStatus String
    User status: Enabled, Disabled.
    userType String
    User type. Manual: manually created; Synchronized: externally imported.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack