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

tencentcloud.getDlcDescribeUserType

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

    Use this data source to query detailed information of DLC describe user type

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getDlcDescribeUserType({
        userId: "100021240183",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_dlc_describe_user_type(user_id="100021240183")
    
    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.GetDlcDescribeUserType(ctx, &tencentcloud.GetDlcDescribeUserTypeArgs{
    			UserId: pulumi.StringRef("100021240183"),
    		}, 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 example = Tencentcloud.GetDlcDescribeUserType.Invoke(new()
        {
            UserId = "100021240183",
        });
    
    });
    
    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.GetDlcDescribeUserTypeArgs;
    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 example = TencentcloudFunctions.getDlcDescribeUserType(GetDlcDescribeUserTypeArgs.builder()
                .userId("100021240183")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getDlcDescribeUserType
          arguments:
            userId: '100021240183'
    

    Using getDlcDescribeUserType

    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 getDlcDescribeUserType(args: GetDlcDescribeUserTypeArgs, opts?: InvokeOptions): Promise<GetDlcDescribeUserTypeResult>
    function getDlcDescribeUserTypeOutput(args: GetDlcDescribeUserTypeOutputArgs, opts?: InvokeOptions): Output<GetDlcDescribeUserTypeResult>
    def get_dlc_describe_user_type(id: Optional[str] = None,
                                   result_output_file: Optional[str] = None,
                                   user_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDlcDescribeUserTypeResult
    def get_dlc_describe_user_type_output(id: Optional[pulumi.Input[str]] = None,
                                   result_output_file: Optional[pulumi.Input[str]] = None,
                                   user_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDlcDescribeUserTypeResult]
    func GetDlcDescribeUserType(ctx *Context, args *GetDlcDescribeUserTypeArgs, opts ...InvokeOption) (*GetDlcDescribeUserTypeResult, error)
    func GetDlcDescribeUserTypeOutput(ctx *Context, args *GetDlcDescribeUserTypeOutputArgs, opts ...InvokeOption) GetDlcDescribeUserTypeResultOutput

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

    public static class GetDlcDescribeUserType 
    {
        public static Task<GetDlcDescribeUserTypeResult> InvokeAsync(GetDlcDescribeUserTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetDlcDescribeUserTypeResult> Invoke(GetDlcDescribeUserTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDlcDescribeUserTypeResult> getDlcDescribeUserType(GetDlcDescribeUserTypeArgs args, InvokeOptions options)
    public static Output<GetDlcDescribeUserTypeResult> getDlcDescribeUserType(GetDlcDescribeUserTypeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDlcDescribeUserType:getDlcDescribeUserType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    UserId string
    User ID (UIN). If it is not specified, it will be the sub-UIN of the caller by default.
    Id string
    ResultOutputFile string
    Used to save results.
    UserId string
    User ID (UIN). If it is not specified, it will be the sub-UIN of the caller by default.
    id String
    resultOutputFile String
    Used to save results.
    userId String
    User ID (UIN). If it is not specified, it will be the sub-UIN of the caller by default.
    id string
    resultOutputFile string
    Used to save results.
    userId string
    User ID (UIN). If it is not specified, it will be the sub-UIN of the caller by default.
    id str
    result_output_file str
    Used to save results.
    user_id str
    User ID (UIN). If it is not specified, it will be the sub-UIN of the caller by default.
    id String
    resultOutputFile String
    Used to save results.
    userId String
    User ID (UIN). If it is not specified, it will be the sub-UIN of the caller by default.

    getDlcDescribeUserType Result

    The following output properties are available:

    Id string
    UserType string
    Types of users. ADMIN: administrators; COMMON: general users.
    ResultOutputFile string
    UserId string
    Id string
    UserType string
    Types of users. ADMIN: administrators; COMMON: general users.
    ResultOutputFile string
    UserId string
    id String
    userType String
    Types of users. ADMIN: administrators; COMMON: general users.
    resultOutputFile String
    userId String
    id string
    userType string
    Types of users. ADMIN: administrators; COMMON: general users.
    resultOutputFile string
    userId string
    id str
    user_type str
    Types of users. ADMIN: administrators; COMMON: general users.
    result_output_file str
    user_id str
    id String
    userType String
    Types of users. ADMIN: administrators; COMMON: general users.
    resultOutputFile String
    userId 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