1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ClsConsole
Viewing docs for tencentcloud 1.82.100
published on Wednesday, Jun 3, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.100
published on Wednesday, Jun 3, 2026 by tencentcloudstack

    Provides a resource to create a CLS DataSight console.

    Example Usage

    If login_mode is set to 0

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.ClsConsole("example", {
        accessModes: [
            "public",
            "internal",
        ],
        loginMode: 0,
        domainPrefix: "datasight",
        remarks: "remarks.",
        intranetType: 1,
        intranetRegion: "ap-chongqing",
        accounts: [
            {
                userName: "your_username1",
                password: "your_password1",
                secretId: "your_secret_id",
                secretKey: "your_secret_key",
                email: "demo@example.com",
            },
            {
                userName: "your_username2",
                password: "your_password2",
                secretId: "your_secret_id",
                secretKey: "your_secret_key",
                email: "demo@example.com",
            },
            {
                userName: "your_username3",
                password: "your_password3",
                secretId: "your_secret_id",
                secretKey: "your_secret_key",
                email: "demo@example.com",
            },
        ],
        menuses: [
            "/cls/search",
            "/cls/dashboard",
            "/cls/alarm",
            "/cls/process",
        ],
        accessControlRules: [
            {
                accessMode: "public",
                action: "DENY",
                cidrBlocks: [
                    "1.1.1.1",
                    "2.2.2.2",
                    "3.3.3.3",
                ],
            },
            {
                accessMode: "internal",
                action: "DENY",
                cidrBlocks: [
                    "4.4.4.4",
                    "5.5.5.5",
                ],
            },
        ],
        tags: [{
            key: "createdBy",
            value: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.ClsConsole("example",
        access_modes=[
            "public",
            "internal",
        ],
        login_mode=0,
        domain_prefix="datasight",
        remarks="remarks.",
        intranet_type=1,
        intranet_region="ap-chongqing",
        accounts=[
            {
                "user_name": "your_username1",
                "password": "your_password1",
                "secret_id": "your_secret_id",
                "secret_key": "your_secret_key",
                "email": "demo@example.com",
            },
            {
                "user_name": "your_username2",
                "password": "your_password2",
                "secret_id": "your_secret_id",
                "secret_key": "your_secret_key",
                "email": "demo@example.com",
            },
            {
                "user_name": "your_username3",
                "password": "your_password3",
                "secret_id": "your_secret_id",
                "secret_key": "your_secret_key",
                "email": "demo@example.com",
            },
        ],
        menuses=[
            "/cls/search",
            "/cls/dashboard",
            "/cls/alarm",
            "/cls/process",
        ],
        access_control_rules=[
            {
                "access_mode": "public",
                "action": "DENY",
                "cidr_blocks": [
                    "1.1.1.1",
                    "2.2.2.2",
                    "3.3.3.3",
                ],
            },
            {
                "access_mode": "internal",
                "action": "DENY",
                "cidr_blocks": [
                    "4.4.4.4",
                    "5.5.5.5",
                ],
            },
        ],
        tags=[{
            "key": "createdBy",
            "value": "Terraform",
        }])
    
    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.NewClsConsole(ctx, "example", &tencentcloud.ClsConsoleArgs{
    			AccessModes: pulumi.StringArray{
    				pulumi.String("public"),
    				pulumi.String("internal"),
    			},
    			LoginMode:      pulumi.Float64(0),
    			DomainPrefix:   pulumi.String("datasight"),
    			Remarks:        pulumi.String("remarks."),
    			IntranetType:   pulumi.Float64(1),
    			IntranetRegion: pulumi.String("ap-chongqing"),
    			Accounts: tencentcloud.ClsConsoleAccountArray{
    				&tencentcloud.ClsConsoleAccountArgs{
    					UserName:  pulumi.String("your_username1"),
    					Password:  pulumi.String("your_password1"),
    					SecretId:  pulumi.String("your_secret_id"),
    					SecretKey: pulumi.String("your_secret_key"),
    					Email:     pulumi.String("demo@example.com"),
    				},
    				&tencentcloud.ClsConsoleAccountArgs{
    					UserName:  pulumi.String("your_username2"),
    					Password:  pulumi.String("your_password2"),
    					SecretId:  pulumi.String("your_secret_id"),
    					SecretKey: pulumi.String("your_secret_key"),
    					Email:     pulumi.String("demo@example.com"),
    				},
    				&tencentcloud.ClsConsoleAccountArgs{
    					UserName:  pulumi.String("your_username3"),
    					Password:  pulumi.String("your_password3"),
    					SecretId:  pulumi.String("your_secret_id"),
    					SecretKey: pulumi.String("your_secret_key"),
    					Email:     pulumi.String("demo@example.com"),
    				},
    			},
    			Menuses: pulumi.StringArray{
    				pulumi.String("/cls/search"),
    				pulumi.String("/cls/dashboard"),
    				pulumi.String("/cls/alarm"),
    				pulumi.String("/cls/process"),
    			},
    			AccessControlRules: tencentcloud.ClsConsoleAccessControlRuleArray{
    				&tencentcloud.ClsConsoleAccessControlRuleArgs{
    					AccessMode: pulumi.String("public"),
    					Action:     pulumi.String("DENY"),
    					CidrBlocks: pulumi.StringArray{
    						pulumi.String("1.1.1.1"),
    						pulumi.String("2.2.2.2"),
    						pulumi.String("3.3.3.3"),
    					},
    				},
    				&tencentcloud.ClsConsoleAccessControlRuleArgs{
    					AccessMode: pulumi.String("internal"),
    					Action:     pulumi.String("DENY"),
    					CidrBlocks: pulumi.StringArray{
    						pulumi.String("4.4.4.4"),
    						pulumi.String("5.5.5.5"),
    					},
    				},
    			},
    			Tags: tencentcloud.ClsConsoleTagArray{
    				&tencentcloud.ClsConsoleTagArgs{
    					Key:   pulumi.String("createdBy"),
    					Value: pulumi.String("Terraform"),
    				},
    			},
    		})
    		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 = new Tencentcloud.ClsConsole("example", new()
        {
            AccessModes = new[]
            {
                "public",
                "internal",
            },
            LoginMode = 0,
            DomainPrefix = "datasight",
            Remarks = "remarks.",
            IntranetType = 1,
            IntranetRegion = "ap-chongqing",
            Accounts = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleAccountArgs
                {
                    UserName = "your_username1",
                    Password = "your_password1",
                    SecretId = "your_secret_id",
                    SecretKey = "your_secret_key",
                    Email = "demo@example.com",
                },
                new Tencentcloud.Inputs.ClsConsoleAccountArgs
                {
                    UserName = "your_username2",
                    Password = "your_password2",
                    SecretId = "your_secret_id",
                    SecretKey = "your_secret_key",
                    Email = "demo@example.com",
                },
                new Tencentcloud.Inputs.ClsConsoleAccountArgs
                {
                    UserName = "your_username3",
                    Password = "your_password3",
                    SecretId = "your_secret_id",
                    SecretKey = "your_secret_key",
                    Email = "demo@example.com",
                },
            },
            Menuses = new[]
            {
                "/cls/search",
                "/cls/dashboard",
                "/cls/alarm",
                "/cls/process",
            },
            AccessControlRules = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleAccessControlRuleArgs
                {
                    AccessMode = "public",
                    Action = "DENY",
                    CidrBlocks = new[]
                    {
                        "1.1.1.1",
                        "2.2.2.2",
                        "3.3.3.3",
                    },
                },
                new Tencentcloud.Inputs.ClsConsoleAccessControlRuleArgs
                {
                    AccessMode = "internal",
                    Action = "DENY",
                    CidrBlocks = new[]
                    {
                        "4.4.4.4",
                        "5.5.5.5",
                    },
                },
            },
            Tags = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleTagArgs
                {
                    Key = "createdBy",
                    Value = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClsConsole;
    import com.pulumi.tencentcloud.ClsConsoleArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleAccountArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleAccessControlRuleArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleTagArgs;
    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) {
            var example = new ClsConsole("example", ClsConsoleArgs.builder()
                .accessModes(            
                    "public",
                    "internal")
                .loginMode(0.0)
                .domainPrefix("datasight")
                .remarks("remarks.")
                .intranetType(1.0)
                .intranetRegion("ap-chongqing")
                .accounts(            
                    ClsConsoleAccountArgs.builder()
                        .userName("your_username1")
                        .password("your_password1")
                        .secretId("your_secret_id")
                        .secretKey("your_secret_key")
                        .email("demo@example.com")
                        .build(),
                    ClsConsoleAccountArgs.builder()
                        .userName("your_username2")
                        .password("your_password2")
                        .secretId("your_secret_id")
                        .secretKey("your_secret_key")
                        .email("demo@example.com")
                        .build(),
                    ClsConsoleAccountArgs.builder()
                        .userName("your_username3")
                        .password("your_password3")
                        .secretId("your_secret_id")
                        .secretKey("your_secret_key")
                        .email("demo@example.com")
                        .build())
                .menuses(            
                    "/cls/search",
                    "/cls/dashboard",
                    "/cls/alarm",
                    "/cls/process")
                .accessControlRules(            
                    ClsConsoleAccessControlRuleArgs.builder()
                        .accessMode("public")
                        .action("DENY")
                        .cidrBlocks(                    
                            "1.1.1.1",
                            "2.2.2.2",
                            "3.3.3.3")
                        .build(),
                    ClsConsoleAccessControlRuleArgs.builder()
                        .accessMode("internal")
                        .action("DENY")
                        .cidrBlocks(                    
                            "4.4.4.4",
                            "5.5.5.5")
                        .build())
                .tags(ClsConsoleTagArgs.builder()
                    .key("createdBy")
                    .value("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:ClsConsole
        properties:
          accessModes:
            - public
            - internal
          loginMode: 0
          domainPrefix: datasight
          remarks: remarks.
          intranetType: 1
          intranetRegion: ap-chongqing
          accounts:
            - userName: your_username1
              password: your_password1
              secretId: your_secret_id
              secretKey: your_secret_key
              email: demo@example.com
            - userName: your_username2
              password: your_password2
              secretId: your_secret_id
              secretKey: your_secret_key
              email: demo@example.com
            - userName: your_username3
              password: your_password3
              secretId: your_secret_id
              secretKey: your_secret_key
              email: demo@example.com
          menuses:
            - /cls/search
            - /cls/dashboard
            - /cls/alarm
            - /cls/process
          accessControlRules:
            - accessMode: public
              action: DENY
              cidrBlocks:
                - 1.1.1.1
                - 2.2.2.2
                - 3.3.3.3
            - accessMode: internal
              action: DENY
              cidrBlocks:
                - 4.4.4.4
                - 5.5.5.5
          tags:
            - key: createdBy
              value: Terraform
    
    Example coming soon!
    

    If login_mode is set to 1

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.ClsConsole("example", {
        accessModes: ["internal"],
        loginMode: 1,
        domainPrefix: "datasight",
        remarks: "remarks.",
        intranetType: 1,
        intranetRegion: "ap-chongqing",
        anonymousLogin: {
            secretId: "your_secret_id",
            secretKey: "your_secret_key",
        },
        menuses: [
            "/cls/search",
            "/cls/dashboard",
            "/cls/alarm",
        ],
        tags: [{
            key: "createdBy",
            value: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.ClsConsole("example",
        access_modes=["internal"],
        login_mode=1,
        domain_prefix="datasight",
        remarks="remarks.",
        intranet_type=1,
        intranet_region="ap-chongqing",
        anonymous_login={
            "secret_id": "your_secret_id",
            "secret_key": "your_secret_key",
        },
        menuses=[
            "/cls/search",
            "/cls/dashboard",
            "/cls/alarm",
        ],
        tags=[{
            "key": "createdBy",
            "value": "Terraform",
        }])
    
    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.NewClsConsole(ctx, "example", &tencentcloud.ClsConsoleArgs{
    			AccessModes: pulumi.StringArray{
    				pulumi.String("internal"),
    			},
    			LoginMode:      pulumi.Float64(1),
    			DomainPrefix:   pulumi.String("datasight"),
    			Remarks:        pulumi.String("remarks."),
    			IntranetType:   pulumi.Float64(1),
    			IntranetRegion: pulumi.String("ap-chongqing"),
    			AnonymousLogin: &tencentcloud.ClsConsoleAnonymousLoginArgs{
    				SecretId:  pulumi.String("your_secret_id"),
    				SecretKey: pulumi.String("your_secret_key"),
    			},
    			Menuses: pulumi.StringArray{
    				pulumi.String("/cls/search"),
    				pulumi.String("/cls/dashboard"),
    				pulumi.String("/cls/alarm"),
    			},
    			Tags: tencentcloud.ClsConsoleTagArray{
    				&tencentcloud.ClsConsoleTagArgs{
    					Key:   pulumi.String("createdBy"),
    					Value: pulumi.String("Terraform"),
    				},
    			},
    		})
    		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 = new Tencentcloud.ClsConsole("example", new()
        {
            AccessModes = new[]
            {
                "internal",
            },
            LoginMode = 1,
            DomainPrefix = "datasight",
            Remarks = "remarks.",
            IntranetType = 1,
            IntranetRegion = "ap-chongqing",
            AnonymousLogin = new Tencentcloud.Inputs.ClsConsoleAnonymousLoginArgs
            {
                SecretId = "your_secret_id",
                SecretKey = "your_secret_key",
            },
            Menuses = new[]
            {
                "/cls/search",
                "/cls/dashboard",
                "/cls/alarm",
            },
            Tags = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleTagArgs
                {
                    Key = "createdBy",
                    Value = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClsConsole;
    import com.pulumi.tencentcloud.ClsConsoleArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleAnonymousLoginArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleTagArgs;
    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) {
            var example = new ClsConsole("example", ClsConsoleArgs.builder()
                .accessModes("internal")
                .loginMode(1.0)
                .domainPrefix("datasight")
                .remarks("remarks.")
                .intranetType(1.0)
                .intranetRegion("ap-chongqing")
                .anonymousLogin(ClsConsoleAnonymousLoginArgs.builder()
                    .secretId("your_secret_id")
                    .secretKey("your_secret_key")
                    .build())
                .menuses(            
                    "/cls/search",
                    "/cls/dashboard",
                    "/cls/alarm")
                .tags(ClsConsoleTagArgs.builder()
                    .key("createdBy")
                    .value("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:ClsConsole
        properties:
          accessModes:
            - internal
          loginMode: 1
          domainPrefix: datasight
          remarks: remarks.
          intranetType: 1
          intranetRegion: ap-chongqing
          anonymousLogin:
            secretId: your_secret_id
            secretKey: your_secret_key
          menuses:
            - /cls/search
            - /cls/dashboard
            - /cls/alarm
          tags:
            - key: createdBy
              value: Terraform
    
    Example coming soon!
    

    If login_mode is set to 2

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example2 = new tencentcloud.ClsConsole("example2", {
        accessModes: ["internal"],
        loginMode: 2,
        domainPrefix: "datasight2",
        remarks: "remarks.",
        intranetType: 1,
        intranetRegion: "ap-chongqing",
        authRoles: [
            {
                roleName: "role1",
                secretId: "your_secret_id",
                secretKey: "your_secret_key",
            },
            {
                roleName: "role2",
                secretId: "your_secret_id",
                secretKey: "your_secret_key",
            },
            {
                roleName: "role3",
                secretId: "your_secret_id",
                secretKey: "your_secret_key",
            },
        ],
        menuses: [
            "/cls/search",
            "/cls/dashboard",
            "/cls/alarm",
            "/cls/process",
        ],
        accessControlRules: [{
            accessMode: "internal",
            action: "ACCEPT",
            cidrBlocks: [
                "1.1.1.1",
                "2.2.2.2",
            ],
        }],
        tags: [{
            key: "createdBy",
            value: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example2 = tencentcloud.ClsConsole("example2",
        access_modes=["internal"],
        login_mode=2,
        domain_prefix="datasight2",
        remarks="remarks.",
        intranet_type=1,
        intranet_region="ap-chongqing",
        auth_roles=[
            {
                "role_name": "role1",
                "secret_id": "your_secret_id",
                "secret_key": "your_secret_key",
            },
            {
                "role_name": "role2",
                "secret_id": "your_secret_id",
                "secret_key": "your_secret_key",
            },
            {
                "role_name": "role3",
                "secret_id": "your_secret_id",
                "secret_key": "your_secret_key",
            },
        ],
        menuses=[
            "/cls/search",
            "/cls/dashboard",
            "/cls/alarm",
            "/cls/process",
        ],
        access_control_rules=[{
            "access_mode": "internal",
            "action": "ACCEPT",
            "cidr_blocks": [
                "1.1.1.1",
                "2.2.2.2",
            ],
        }],
        tags=[{
            "key": "createdBy",
            "value": "Terraform",
        }])
    
    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.NewClsConsole(ctx, "example2", &tencentcloud.ClsConsoleArgs{
    			AccessModes: pulumi.StringArray{
    				pulumi.String("internal"),
    			},
    			LoginMode:      pulumi.Float64(2),
    			DomainPrefix:   pulumi.String("datasight2"),
    			Remarks:        pulumi.String("remarks."),
    			IntranetType:   pulumi.Float64(1),
    			IntranetRegion: pulumi.String("ap-chongqing"),
    			AuthRoles: tencentcloud.ClsConsoleAuthRoleArray{
    				&tencentcloud.ClsConsoleAuthRoleArgs{
    					RoleName:  pulumi.String("role1"),
    					SecretId:  pulumi.String("your_secret_id"),
    					SecretKey: pulumi.String("your_secret_key"),
    				},
    				&tencentcloud.ClsConsoleAuthRoleArgs{
    					RoleName:  pulumi.String("role2"),
    					SecretId:  pulumi.String("your_secret_id"),
    					SecretKey: pulumi.String("your_secret_key"),
    				},
    				&tencentcloud.ClsConsoleAuthRoleArgs{
    					RoleName:  pulumi.String("role3"),
    					SecretId:  pulumi.String("your_secret_id"),
    					SecretKey: pulumi.String("your_secret_key"),
    				},
    			},
    			Menuses: pulumi.StringArray{
    				pulumi.String("/cls/search"),
    				pulumi.String("/cls/dashboard"),
    				pulumi.String("/cls/alarm"),
    				pulumi.String("/cls/process"),
    			},
    			AccessControlRules: tencentcloud.ClsConsoleAccessControlRuleArray{
    				&tencentcloud.ClsConsoleAccessControlRuleArgs{
    					AccessMode: pulumi.String("internal"),
    					Action:     pulumi.String("ACCEPT"),
    					CidrBlocks: pulumi.StringArray{
    						pulumi.String("1.1.1.1"),
    						pulumi.String("2.2.2.2"),
    					},
    				},
    			},
    			Tags: tencentcloud.ClsConsoleTagArray{
    				&tencentcloud.ClsConsoleTagArgs{
    					Key:   pulumi.String("createdBy"),
    					Value: pulumi.String("Terraform"),
    				},
    			},
    		})
    		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 example2 = new Tencentcloud.ClsConsole("example2", new()
        {
            AccessModes = new[]
            {
                "internal",
            },
            LoginMode = 2,
            DomainPrefix = "datasight2",
            Remarks = "remarks.",
            IntranetType = 1,
            IntranetRegion = "ap-chongqing",
            AuthRoles = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleAuthRoleArgs
                {
                    RoleName = "role1",
                    SecretId = "your_secret_id",
                    SecretKey = "your_secret_key",
                },
                new Tencentcloud.Inputs.ClsConsoleAuthRoleArgs
                {
                    RoleName = "role2",
                    SecretId = "your_secret_id",
                    SecretKey = "your_secret_key",
                },
                new Tencentcloud.Inputs.ClsConsoleAuthRoleArgs
                {
                    RoleName = "role3",
                    SecretId = "your_secret_id",
                    SecretKey = "your_secret_key",
                },
            },
            Menuses = new[]
            {
                "/cls/search",
                "/cls/dashboard",
                "/cls/alarm",
                "/cls/process",
            },
            AccessControlRules = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleAccessControlRuleArgs
                {
                    AccessMode = "internal",
                    Action = "ACCEPT",
                    CidrBlocks = new[]
                    {
                        "1.1.1.1",
                        "2.2.2.2",
                    },
                },
            },
            Tags = new[]
            {
                new Tencentcloud.Inputs.ClsConsoleTagArgs
                {
                    Key = "createdBy",
                    Value = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ClsConsole;
    import com.pulumi.tencentcloud.ClsConsoleArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleAuthRoleArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleAccessControlRuleArgs;
    import com.pulumi.tencentcloud.inputs.ClsConsoleTagArgs;
    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) {
            var example2 = new ClsConsole("example2", ClsConsoleArgs.builder()
                .accessModes("internal")
                .loginMode(2.0)
                .domainPrefix("datasight2")
                .remarks("remarks.")
                .intranetType(1.0)
                .intranetRegion("ap-chongqing")
                .authRoles(            
                    ClsConsoleAuthRoleArgs.builder()
                        .roleName("role1")
                        .secretId("your_secret_id")
                        .secretKey("your_secret_key")
                        .build(),
                    ClsConsoleAuthRoleArgs.builder()
                        .roleName("role2")
                        .secretId("your_secret_id")
                        .secretKey("your_secret_key")
                        .build(),
                    ClsConsoleAuthRoleArgs.builder()
                        .roleName("role3")
                        .secretId("your_secret_id")
                        .secretKey("your_secret_key")
                        .build())
                .menuses(            
                    "/cls/search",
                    "/cls/dashboard",
                    "/cls/alarm",
                    "/cls/process")
                .accessControlRules(ClsConsoleAccessControlRuleArgs.builder()
                    .accessMode("internal")
                    .action("ACCEPT")
                    .cidrBlocks(                
                        "1.1.1.1",
                        "2.2.2.2")
                    .build())
                .tags(ClsConsoleTagArgs.builder()
                    .key("createdBy")
                    .value("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example2:
        type: tencentcloud:ClsConsole
        properties:
          accessModes:
            - internal
          loginMode: 2
          domainPrefix: datasight2
          remarks: remarks.
          intranetType: 1
          intranetRegion: ap-chongqing
          authRoles:
            - roleName: role1
              secretId: your_secret_id
              secretKey: your_secret_key
            - roleName: role2
              secretId: your_secret_id
              secretKey: your_secret_key
            - roleName: role3
              secretId: your_secret_id
              secretKey: your_secret_key
          menuses:
            - /cls/search
            - /cls/dashboard
            - /cls/alarm
            - /cls/process
          accessControlRules:
            - accessMode: internal
              action: ACCEPT
              cidrBlocks:
                - 1.1.1.1
                - 2.2.2.2
          tags:
            - key: createdBy
              value: Terraform
    
    Example coming soon!
    

    Create ClsConsole Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ClsConsole(name: string, args: ClsConsoleArgs, opts?: CustomResourceOptions);
    @overload
    def ClsConsole(resource_name: str,
                   args: ClsConsoleArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClsConsole(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   domain_prefix: Optional[str] = None,
                   access_modes: Optional[Sequence[str]] = None,
                   login_mode: Optional[float] = None,
                   intranet_region: Optional[str] = None,
                   auth_roles: Optional[Sequence[ClsConsoleAuthRoleArgs]] = None,
                   cls_console_id: Optional[str] = None,
                   anonymous_login: Optional[ClsConsoleAnonymousLoginArgs] = None,
                   hide_params: Optional[Sequence[str]] = None,
                   access_control_rules: Optional[Sequence[ClsConsoleAccessControlRuleArgs]] = None,
                   intranet_type: Optional[float] = None,
                   accounts: Optional[Sequence[ClsConsoleAccountArgs]] = None,
                   menuses: Optional[Sequence[str]] = None,
                   remarks: Optional[str] = None,
                   subnet_id: Optional[str] = None,
                   tags: Optional[Sequence[ClsConsoleTagArgs]] = None,
                   vpc_id: Optional[str] = None)
    func NewClsConsole(ctx *Context, name string, args ClsConsoleArgs, opts ...ResourceOption) (*ClsConsole, error)
    public ClsConsole(string name, ClsConsoleArgs args, CustomResourceOptions? opts = null)
    public ClsConsole(String name, ClsConsoleArgs args)
    public ClsConsole(String name, ClsConsoleArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ClsConsole
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_clsconsole" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ClsConsoleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClsConsoleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClsConsoleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClsConsoleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClsConsoleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ClsConsole Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ClsConsole resource accepts the following input properties:

    AccessModes List<string>
    Access mode list. Valid values: public (public network), internal (intranet).
    DomainPrefix string
    Custom domain prefix.
    LoginMode double
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    AccessControlRules List<ClsConsoleAccessControlRule>
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    Accounts List<ClsConsoleAccount>
    User account information. Required when login_mode is 0 (account-password authentication).
    AnonymousLogin ClsConsoleAnonymousLogin
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    AuthRoles List<ClsConsoleAuthRole>
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    ClsConsoleId string
    ID of the resource.
    HideParams List<string>
    Custom hidden parameters.
    IntranetRegion string
    Intranet region.
    IntranetType double
    Intranet type. Default is 0.
    Menuses List<string>
    Custom display menus.
    Remarks string
    Remarks.
    SubnetId string
    Intranet subnet ID.
    Tags List<ClsConsoleTag>
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    VpcId string
    Intranet VPC ID.
    AccessModes []string
    Access mode list. Valid values: public (public network), internal (intranet).
    DomainPrefix string
    Custom domain prefix.
    LoginMode float64
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    AccessControlRules []ClsConsoleAccessControlRuleArgs
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    Accounts []ClsConsoleAccountArgs
    User account information. Required when login_mode is 0 (account-password authentication).
    AnonymousLogin ClsConsoleAnonymousLoginArgs
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    AuthRoles []ClsConsoleAuthRoleArgs
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    ClsConsoleId string
    ID of the resource.
    HideParams []string
    Custom hidden parameters.
    IntranetRegion string
    Intranet region.
    IntranetType float64
    Intranet type. Default is 0.
    Menuses []string
    Custom display menus.
    Remarks string
    Remarks.
    SubnetId string
    Intranet subnet ID.
    Tags []ClsConsoleTagArgs
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    VpcId string
    Intranet VPC ID.
    access_modes list(string)
    Access mode list. Valid values: public (public network), internal (intranet).
    domain_prefix string
    Custom domain prefix.
    login_mode number
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    access_control_rules list(object)
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accounts list(object)
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymous_login object
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    auth_roles list(object)
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    cls_console_id string
    ID of the resource.
    hide_params list(string)
    Custom hidden parameters.
    intranet_region string
    Intranet region.
    intranet_type number
    Intranet type. Default is 0.
    menuses list(string)
    Custom display menus.
    remarks string
    Remarks.
    subnet_id string
    Intranet subnet ID.
    tags list(object)
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpc_id string
    Intranet VPC ID.
    accessModes List<String>
    Access mode list. Valid values: public (public network), internal (intranet).
    domainPrefix String
    Custom domain prefix.
    loginMode Double
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    accessControlRules List<ClsConsoleAccessControlRule>
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accounts List<ClsConsoleAccount>
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymousLogin ClsConsoleAnonymousLogin
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    authRoles List<ClsConsoleAuthRole>
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    clsConsoleId String
    ID of the resource.
    hideParams List<String>
    Custom hidden parameters.
    intranetRegion String
    Intranet region.
    intranetType Double
    Intranet type. Default is 0.
    menuses List<String>
    Custom display menus.
    remarks String
    Remarks.
    subnetId String
    Intranet subnet ID.
    tags List<ClsConsoleTag>
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpcId String
    Intranet VPC ID.
    accessModes string[]
    Access mode list. Valid values: public (public network), internal (intranet).
    domainPrefix string
    Custom domain prefix.
    loginMode number
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    accessControlRules ClsConsoleAccessControlRule[]
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accounts ClsConsoleAccount[]
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymousLogin ClsConsoleAnonymousLogin
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    authRoles ClsConsoleAuthRole[]
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    clsConsoleId string
    ID of the resource.
    hideParams string[]
    Custom hidden parameters.
    intranetRegion string
    Intranet region.
    intranetType number
    Intranet type. Default is 0.
    menuses string[]
    Custom display menus.
    remarks string
    Remarks.
    subnetId string
    Intranet subnet ID.
    tags ClsConsoleTag[]
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpcId string
    Intranet VPC ID.
    access_modes Sequence[str]
    Access mode list. Valid values: public (public network), internal (intranet).
    domain_prefix str
    Custom domain prefix.
    login_mode float
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    access_control_rules Sequence[ClsConsoleAccessControlRuleArgs]
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accounts Sequence[ClsConsoleAccountArgs]
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymous_login ClsConsoleAnonymousLoginArgs
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    auth_roles Sequence[ClsConsoleAuthRoleArgs]
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    cls_console_id str
    ID of the resource.
    hide_params Sequence[str]
    Custom hidden parameters.
    intranet_region str
    Intranet region.
    intranet_type float
    Intranet type. Default is 0.
    menuses Sequence[str]
    Custom display menus.
    remarks str
    Remarks.
    subnet_id str
    Intranet subnet ID.
    tags Sequence[ClsConsoleTagArgs]
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpc_id str
    Intranet VPC ID.
    accessModes List<String>
    Access mode list. Valid values: public (public network), internal (intranet).
    domainPrefix String
    Custom domain prefix.
    loginMode Number
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    accessControlRules List<Property Map>
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accounts List<Property Map>
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymousLogin Property Map
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    authRoles List<Property Map>
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    clsConsoleId String
    ID of the resource.
    hideParams List<String>
    Custom hidden parameters.
    intranetRegion String
    Intranet region.
    intranetType Number
    Intranet type. Default is 0.
    menuses List<String>
    Custom display menus.
    remarks String
    Remarks.
    subnetId String
    Intranet subnet ID.
    tags List<Property Map>
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpcId String
    Intranet VPC ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ClsConsole resource produces the following output properties:

    ConsoleId string
    DataSight console ID.
    Domain string
    Public network access domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntranetDomain string
    Intranet access domain.
    ConsoleId string
    DataSight console ID.
    Domain string
    Public network access domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntranetDomain string
    Intranet access domain.
    console_id string
    DataSight console ID.
    domain string
    Public network access domain.
    id string
    The provider-assigned unique ID for this managed resource.
    intranet_domain string
    Intranet access domain.
    consoleId String
    DataSight console ID.
    domain String
    Public network access domain.
    id String
    The provider-assigned unique ID for this managed resource.
    intranetDomain String
    Intranet access domain.
    consoleId string
    DataSight console ID.
    domain string
    Public network access domain.
    id string
    The provider-assigned unique ID for this managed resource.
    intranetDomain string
    Intranet access domain.
    console_id str
    DataSight console ID.
    domain str
    Public network access domain.
    id str
    The provider-assigned unique ID for this managed resource.
    intranet_domain str
    Intranet access domain.
    consoleId String
    DataSight console ID.
    domain String
    Public network access domain.
    id String
    The provider-assigned unique ID for this managed resource.
    intranetDomain String
    Intranet access domain.

    Look up Existing ClsConsole Resource

    Get an existing ClsConsole resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClsConsoleState, opts?: CustomResourceOptions): ClsConsole
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_control_rules: Optional[Sequence[ClsConsoleAccessControlRuleArgs]] = None,
            access_modes: Optional[Sequence[str]] = None,
            accounts: Optional[Sequence[ClsConsoleAccountArgs]] = None,
            anonymous_login: Optional[ClsConsoleAnonymousLoginArgs] = None,
            auth_roles: Optional[Sequence[ClsConsoleAuthRoleArgs]] = None,
            cls_console_id: Optional[str] = None,
            console_id: Optional[str] = None,
            domain: Optional[str] = None,
            domain_prefix: Optional[str] = None,
            hide_params: Optional[Sequence[str]] = None,
            intranet_domain: Optional[str] = None,
            intranet_region: Optional[str] = None,
            intranet_type: Optional[float] = None,
            login_mode: Optional[float] = None,
            menuses: Optional[Sequence[str]] = None,
            remarks: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Sequence[ClsConsoleTagArgs]] = None,
            vpc_id: Optional[str] = None) -> ClsConsole
    func GetClsConsole(ctx *Context, name string, id IDInput, state *ClsConsoleState, opts ...ResourceOption) (*ClsConsole, error)
    public static ClsConsole Get(string name, Input<string> id, ClsConsoleState? state, CustomResourceOptions? opts = null)
    public static ClsConsole get(String name, Output<String> id, ClsConsoleState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ClsConsole    get:      id: ${id}
    import {
      to = tencentcloud_clsconsole.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessControlRules List<ClsConsoleAccessControlRule>
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    AccessModes List<string>
    Access mode list. Valid values: public (public network), internal (intranet).
    Accounts List<ClsConsoleAccount>
    User account information. Required when login_mode is 0 (account-password authentication).
    AnonymousLogin ClsConsoleAnonymousLogin
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    AuthRoles List<ClsConsoleAuthRole>
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    ClsConsoleId string
    ID of the resource.
    ConsoleId string
    DataSight console ID.
    Domain string
    Public network access domain.
    DomainPrefix string
    Custom domain prefix.
    HideParams List<string>
    Custom hidden parameters.
    IntranetDomain string
    Intranet access domain.
    IntranetRegion string
    Intranet region.
    IntranetType double
    Intranet type. Default is 0.
    LoginMode double
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    Menuses List<string>
    Custom display menus.
    Remarks string
    Remarks.
    SubnetId string
    Intranet subnet ID.
    Tags List<ClsConsoleTag>
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    VpcId string
    Intranet VPC ID.
    AccessControlRules []ClsConsoleAccessControlRuleArgs
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    AccessModes []string
    Access mode list. Valid values: public (public network), internal (intranet).
    Accounts []ClsConsoleAccountArgs
    User account information. Required when login_mode is 0 (account-password authentication).
    AnonymousLogin ClsConsoleAnonymousLoginArgs
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    AuthRoles []ClsConsoleAuthRoleArgs
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    ClsConsoleId string
    ID of the resource.
    ConsoleId string
    DataSight console ID.
    Domain string
    Public network access domain.
    DomainPrefix string
    Custom domain prefix.
    HideParams []string
    Custom hidden parameters.
    IntranetDomain string
    Intranet access domain.
    IntranetRegion string
    Intranet region.
    IntranetType float64
    Intranet type. Default is 0.
    LoginMode float64
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    Menuses []string
    Custom display menus.
    Remarks string
    Remarks.
    SubnetId string
    Intranet subnet ID.
    Tags []ClsConsoleTagArgs
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    VpcId string
    Intranet VPC ID.
    access_control_rules list(object)
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    access_modes list(string)
    Access mode list. Valid values: public (public network), internal (intranet).
    accounts list(object)
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymous_login object
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    auth_roles list(object)
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    cls_console_id string
    ID of the resource.
    console_id string
    DataSight console ID.
    domain string
    Public network access domain.
    domain_prefix string
    Custom domain prefix.
    hide_params list(string)
    Custom hidden parameters.
    intranet_domain string
    Intranet access domain.
    intranet_region string
    Intranet region.
    intranet_type number
    Intranet type. Default is 0.
    login_mode number
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    menuses list(string)
    Custom display menus.
    remarks string
    Remarks.
    subnet_id string
    Intranet subnet ID.
    tags list(object)
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpc_id string
    Intranet VPC ID.
    accessControlRules List<ClsConsoleAccessControlRule>
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accessModes List<String>
    Access mode list. Valid values: public (public network), internal (intranet).
    accounts List<ClsConsoleAccount>
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymousLogin ClsConsoleAnonymousLogin
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    authRoles List<ClsConsoleAuthRole>
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    clsConsoleId String
    ID of the resource.
    consoleId String
    DataSight console ID.
    domain String
    Public network access domain.
    domainPrefix String
    Custom domain prefix.
    hideParams List<String>
    Custom hidden parameters.
    intranetDomain String
    Intranet access domain.
    intranetRegion String
    Intranet region.
    intranetType Double
    Intranet type. Default is 0.
    loginMode Double
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    menuses List<String>
    Custom display menus.
    remarks String
    Remarks.
    subnetId String
    Intranet subnet ID.
    tags List<ClsConsoleTag>
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpcId String
    Intranet VPC ID.
    accessControlRules ClsConsoleAccessControlRule[]
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accessModes string[]
    Access mode list. Valid values: public (public network), internal (intranet).
    accounts ClsConsoleAccount[]
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymousLogin ClsConsoleAnonymousLogin
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    authRoles ClsConsoleAuthRole[]
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    clsConsoleId string
    ID of the resource.
    consoleId string
    DataSight console ID.
    domain string
    Public network access domain.
    domainPrefix string
    Custom domain prefix.
    hideParams string[]
    Custom hidden parameters.
    intranetDomain string
    Intranet access domain.
    intranetRegion string
    Intranet region.
    intranetType number
    Intranet type. Default is 0.
    loginMode number
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    menuses string[]
    Custom display menus.
    remarks string
    Remarks.
    subnetId string
    Intranet subnet ID.
    tags ClsConsoleTag[]
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpcId string
    Intranet VPC ID.
    access_control_rules Sequence[ClsConsoleAccessControlRuleArgs]
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    access_modes Sequence[str]
    Access mode list. Valid values: public (public network), internal (intranet).
    accounts Sequence[ClsConsoleAccountArgs]
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymous_login ClsConsoleAnonymousLoginArgs
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    auth_roles Sequence[ClsConsoleAuthRoleArgs]
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    cls_console_id str
    ID of the resource.
    console_id str
    DataSight console ID.
    domain str
    Public network access domain.
    domain_prefix str
    Custom domain prefix.
    hide_params Sequence[str]
    Custom hidden parameters.
    intranet_domain str
    Intranet access domain.
    intranet_region str
    Intranet region.
    intranet_type float
    Intranet type. Default is 0.
    login_mode float
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    menuses Sequence[str]
    Custom display menus.
    remarks str
    Remarks.
    subnet_id str
    Intranet subnet ID.
    tags Sequence[ClsConsoleTagArgs]
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpc_id str
    Intranet VPC ID.
    accessControlRules List<Property Map>
    Access control rules. Required when login_mode is 2 (third-party authentication login) and AccessMode contains internal with Action ACCEPT rules.
    accessModes List<String>
    Access mode list. Valid values: public (public network), internal (intranet).
    accounts List<Property Map>
    User account information. Required when login_mode is 0 (account-password authentication).
    anonymousLogin Property Map
    Anonymous login account information. Required when login_mode is 1 (anonymous login).
    authRoles List<Property Map>
    Auth role information. Required when login_mode is 2 (third-party authentication login).
    clsConsoleId String
    ID of the resource.
    consoleId String
    DataSight console ID.
    domain String
    Public network access domain.
    domainPrefix String
    Custom domain prefix.
    hideParams List<String>
    Custom hidden parameters.
    intranetDomain String
    Intranet access domain.
    intranetRegion String
    Intranet region.
    intranetType Number
    Intranet type. Default is 0.
    loginMode Number
    Login mode. Valid values: 0 (account-password authentication), 1 (anonymous login), 2 (third-party authentication login).
    menuses List<String>
    Custom display menus.
    remarks String
    Remarks.
    subnetId String
    Intranet subnet ID.
    tags List<Property Map>
    Tag bindings. ModifyConsole does not accept tags, so changing this field forces resource replacement.
    vpcId String
    Intranet VPC ID.

    Supporting Types

    ClsConsoleAccessControlRule, ClsConsoleAccessControlRuleArgs

    AccessMode string
    Access mode for the rule. Valid values: public, internal.
    Action string
    Rule action. Valid values: ACCEPT, DROP.
    CidrBlocks List<string>
    CIDR blocks or IPs, supporting IPv4 or IPv6.
    AccessMode string
    Access mode for the rule. Valid values: public, internal.
    Action string
    Rule action. Valid values: ACCEPT, DROP.
    CidrBlocks []string
    CIDR blocks or IPs, supporting IPv4 or IPv6.
    access_mode string
    Access mode for the rule. Valid values: public, internal.
    action string
    Rule action. Valid values: ACCEPT, DROP.
    cidr_blocks list(string)
    CIDR blocks or IPs, supporting IPv4 or IPv6.
    accessMode String
    Access mode for the rule. Valid values: public, internal.
    action String
    Rule action. Valid values: ACCEPT, DROP.
    cidrBlocks List<String>
    CIDR blocks or IPs, supporting IPv4 or IPv6.
    accessMode string
    Access mode for the rule. Valid values: public, internal.
    action string
    Rule action. Valid values: ACCEPT, DROP.
    cidrBlocks string[]
    CIDR blocks or IPs, supporting IPv4 or IPv6.
    access_mode str
    Access mode for the rule. Valid values: public, internal.
    action str
    Rule action. Valid values: ACCEPT, DROP.
    cidr_blocks Sequence[str]
    CIDR blocks or IPs, supporting IPv4 or IPv6.
    accessMode String
    Access mode for the rule. Valid values: public, internal.
    action String
    Rule action. Valid values: ACCEPT, DROP.
    cidrBlocks List<String>
    CIDR blocks or IPs, supporting IPv4 or IPv6.

    ClsConsoleAccount, ClsConsoleAccountArgs

    Email string
    Email address used to send verification codes.
    Password string
    User password.
    SecretId string
    Tencent Cloud account SecretId.
    SecretKey string
    Tencent Cloud account SecretKey.
    UserName string
    User name.
    Email string
    Email address used to send verification codes.
    Password string
    User password.
    SecretId string
    Tencent Cloud account SecretId.
    SecretKey string
    Tencent Cloud account SecretKey.
    UserName string
    User name.
    email string
    Email address used to send verification codes.
    password string
    User password.
    secret_id string
    Tencent Cloud account SecretId.
    secret_key string
    Tencent Cloud account SecretKey.
    user_name string
    User name.
    email String
    Email address used to send verification codes.
    password String
    User password.
    secretId String
    Tencent Cloud account SecretId.
    secretKey String
    Tencent Cloud account SecretKey.
    userName String
    User name.
    email string
    Email address used to send verification codes.
    password string
    User password.
    secretId string
    Tencent Cloud account SecretId.
    secretKey string
    Tencent Cloud account SecretKey.
    userName string
    User name.
    email str
    Email address used to send verification codes.
    password str
    User password.
    secret_id str
    Tencent Cloud account SecretId.
    secret_key str
    Tencent Cloud account SecretKey.
    user_name str
    User name.
    email String
    Email address used to send verification codes.
    password String
    User password.
    secretId String
    Tencent Cloud account SecretId.
    secretKey String
    Tencent Cloud account SecretKey.
    userName String
    User name.

    ClsConsoleAnonymousLogin, ClsConsoleAnonymousLoginArgs

    SecretId string
    Anonymous login account SecretId.
    SecretKey string
    Anonymous login account SecretKey.
    SecretId string
    Anonymous login account SecretId.
    SecretKey string
    Anonymous login account SecretKey.
    secret_id string
    Anonymous login account SecretId.
    secret_key string
    Anonymous login account SecretKey.
    secretId String
    Anonymous login account SecretId.
    secretKey String
    Anonymous login account SecretKey.
    secretId string
    Anonymous login account SecretId.
    secretKey string
    Anonymous login account SecretKey.
    secret_id str
    Anonymous login account SecretId.
    secret_key str
    Anonymous login account SecretKey.
    secretId String
    Anonymous login account SecretId.
    secretKey String
    Anonymous login account SecretKey.

    ClsConsoleAuthRole, ClsConsoleAuthRoleArgs

    RoleName string
    Auth role name.
    SecretId string
    SecretId for the auth role permission.
    SecretKey string
    SecretKey for the auth role permission.
    RoleName string
    Auth role name.
    SecretId string
    SecretId for the auth role permission.
    SecretKey string
    SecretKey for the auth role permission.
    role_name string
    Auth role name.
    secret_id string
    SecretId for the auth role permission.
    secret_key string
    SecretKey for the auth role permission.
    roleName String
    Auth role name.
    secretId String
    SecretId for the auth role permission.
    secretKey String
    SecretKey for the auth role permission.
    roleName string
    Auth role name.
    secretId string
    SecretId for the auth role permission.
    secretKey string
    SecretKey for the auth role permission.
    role_name str
    Auth role name.
    secret_id str
    SecretId for the auth role permission.
    secret_key str
    SecretKey for the auth role permission.
    roleName String
    Auth role name.
    secretId String
    SecretId for the auth role permission.
    secretKey String
    SecretKey for the auth role permission.

    ClsConsoleTag, ClsConsoleTagArgs

    Key string
    Tag key.
    Value string
    Tag value.
    Key string
    Tag key.
    Value string
    Tag value.
    key string
    Tag key.
    value string
    Tag value.
    key String
    Tag key.
    value String
    Tag value.
    key string
    Tag key.
    value string
    Tag value.
    key str
    Tag key.
    value str
    Tag value.
    key String
    Tag key.
    value String
    Tag value.

    Import

    CLS DataSight console can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/clsConsole:ClsConsole example clsconsole-0d59e193
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.100
    published on Wednesday, Jun 3, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial