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

tencentcloud.DasbAcl

Explore with Pulumi AI

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

    Provides a resource to create a dasb acl

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const exampleDasbUser = new tencentcloud.DasbUser("exampleDasbUser", {
        userName: "tf_example",
        realName: "terraform",
        phone: "+86|18345678782",
        email: "demo@tencent.com",
        authType: 0,
    });
    const exampleDasbUserGroup = new tencentcloud.DasbUserGroup("exampleDasbUserGroup", {});
    const exampleDasbDevice = new tencentcloud.DasbDevice("exampleDasbDevice", {
        osName: "Linux",
        ip: "192.168.0.1",
        port: 80,
    });
    const exampleDasbDeviceGroup = new tencentcloud.DasbDeviceGroup("exampleDasbDeviceGroup", {});
    const exampleDasbDeviceAccount = new tencentcloud.DasbDeviceAccount("exampleDasbDeviceAccount", {
        deviceId: exampleDasbDevice.dasbDeviceId,
        account: "root",
    });
    const exampleDasbCmdTemplate = new tencentcloud.DasbCmdTemplate("exampleDasbCmdTemplate", {cmdList: "rm -rf*"});
    const exampleDasbAcl = new tencentcloud.DasbAcl("exampleDasbAcl", {
        allowDiskRedirect: true,
        allowAnyAccount: false,
        allowClipFileUp: true,
        allowClipFileDown: true,
        allowClipTextUp: true,
        allowClipTextDown: true,
        allowFileUp: true,
        allowFileDown: true,
        maxFileUpSize: 0,
        maxFileDownSize: 0,
        userIdSets: [exampleDasbUser.dasbUserId],
        userGroupIdSets: [exampleDasbUserGroup.dasbUserGroupId],
        deviceIdSets: [exampleDasbDevice.dasbDeviceId],
        deviceGroupIdSets: [exampleDasbDeviceGroup.dasbDeviceGroupId],
        accountSets: [exampleDasbDeviceAccount.dasbDeviceAccountId],
        cmdTemplateIdSets: [exampleDasbCmdTemplate.dasbCmdTemplateId],
        acTemplateIdSets: [],
        allowDiskFileUp: true,
        allowDiskFileDown: true,
        allowShellFileUp: true,
        allowShellFileDown: true,
        allowFileDel: true,
        allowAccessCredential: true,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example_dasb_user = tencentcloud.DasbUser("exampleDasbUser",
        user_name="tf_example",
        real_name="terraform",
        phone="+86|18345678782",
        email="demo@tencent.com",
        auth_type=0)
    example_dasb_user_group = tencentcloud.DasbUserGroup("exampleDasbUserGroup")
    example_dasb_device = tencentcloud.DasbDevice("exampleDasbDevice",
        os_name="Linux",
        ip="192.168.0.1",
        port=80)
    example_dasb_device_group = tencentcloud.DasbDeviceGroup("exampleDasbDeviceGroup")
    example_dasb_device_account = tencentcloud.DasbDeviceAccount("exampleDasbDeviceAccount",
        device_id=example_dasb_device.dasb_device_id,
        account="root")
    example_dasb_cmd_template = tencentcloud.DasbCmdTemplate("exampleDasbCmdTemplate", cmd_list="rm -rf*")
    example_dasb_acl = tencentcloud.DasbAcl("exampleDasbAcl",
        allow_disk_redirect=True,
        allow_any_account=False,
        allow_clip_file_up=True,
        allow_clip_file_down=True,
        allow_clip_text_up=True,
        allow_clip_text_down=True,
        allow_file_up=True,
        allow_file_down=True,
        max_file_up_size=0,
        max_file_down_size=0,
        user_id_sets=[example_dasb_user.dasb_user_id],
        user_group_id_sets=[example_dasb_user_group.dasb_user_group_id],
        device_id_sets=[example_dasb_device.dasb_device_id],
        device_group_id_sets=[example_dasb_device_group.dasb_device_group_id],
        account_sets=[example_dasb_device_account.dasb_device_account_id],
        cmd_template_id_sets=[example_dasb_cmd_template.dasb_cmd_template_id],
        ac_template_id_sets=[],
        allow_disk_file_up=True,
        allow_disk_file_down=True,
        allow_shell_file_up=True,
        allow_shell_file_down=True,
        allow_file_del=True,
        allow_access_credential=True)
    
    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 {
    		exampleDasbUser, err := tencentcloud.NewDasbUser(ctx, "exampleDasbUser", &tencentcloud.DasbUserArgs{
    			UserName: pulumi.String("tf_example"),
    			RealName: pulumi.String("terraform"),
    			Phone:    pulumi.String("+86|18345678782"),
    			Email:    pulumi.String("demo@tencent.com"),
    			AuthType: pulumi.Float64(0),
    		})
    		if err != nil {
    			return err
    		}
    		exampleDasbUserGroup, err := tencentcloud.NewDasbUserGroup(ctx, "exampleDasbUserGroup", nil)
    		if err != nil {
    			return err
    		}
    		exampleDasbDevice, err := tencentcloud.NewDasbDevice(ctx, "exampleDasbDevice", &tencentcloud.DasbDeviceArgs{
    			OsName: pulumi.String("Linux"),
    			Ip:     pulumi.String("192.168.0.1"),
    			Port:   pulumi.Float64(80),
    		})
    		if err != nil {
    			return err
    		}
    		exampleDasbDeviceGroup, err := tencentcloud.NewDasbDeviceGroup(ctx, "exampleDasbDeviceGroup", nil)
    		if err != nil {
    			return err
    		}
    		exampleDasbDeviceAccount, err := tencentcloud.NewDasbDeviceAccount(ctx, "exampleDasbDeviceAccount", &tencentcloud.DasbDeviceAccountArgs{
    			DeviceId: exampleDasbDevice.DasbDeviceId,
    			Account:  pulumi.String("root"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleDasbCmdTemplate, err := tencentcloud.NewDasbCmdTemplate(ctx, "exampleDasbCmdTemplate", &tencentcloud.DasbCmdTemplateArgs{
    			CmdList: pulumi.String("rm -rf*"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewDasbAcl(ctx, "exampleDasbAcl", &tencentcloud.DasbAclArgs{
    			AllowDiskRedirect: pulumi.Bool(true),
    			AllowAnyAccount:   pulumi.Bool(false),
    			AllowClipFileUp:   pulumi.Bool(true),
    			AllowClipFileDown: pulumi.Bool(true),
    			AllowClipTextUp:   pulumi.Bool(true),
    			AllowClipTextDown: pulumi.Bool(true),
    			AllowFileUp:       pulumi.Bool(true),
    			AllowFileDown:     pulumi.Bool(true),
    			MaxFileUpSize:     pulumi.Float64(0),
    			MaxFileDownSize:   pulumi.Float64(0),
    			UserIdSets: pulumi.Float64Array{
    				exampleDasbUser.DasbUserId,
    			},
    			UserGroupIdSets: pulumi.Float64Array{
    				exampleDasbUserGroup.DasbUserGroupId,
    			},
    			DeviceIdSets: pulumi.Float64Array{
    				exampleDasbDevice.DasbDeviceId,
    			},
    			DeviceGroupIdSets: pulumi.Float64Array{
    				exampleDasbDeviceGroup.DasbDeviceGroupId,
    			},
    			AccountSets: pulumi.StringArray{
    				exampleDasbDeviceAccount.DasbDeviceAccountId,
    			},
    			CmdTemplateIdSets: pulumi.Float64Array{
    				exampleDasbCmdTemplate.DasbCmdTemplateId,
    			},
    			AcTemplateIdSets:      pulumi.StringArray{},
    			AllowDiskFileUp:       pulumi.Bool(true),
    			AllowDiskFileDown:     pulumi.Bool(true),
    			AllowShellFileUp:      pulumi.Bool(true),
    			AllowShellFileDown:    pulumi.Bool(true),
    			AllowFileDel:          pulumi.Bool(true),
    			AllowAccessCredential: pulumi.Bool(true),
    		})
    		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 exampleDasbUser = new Tencentcloud.DasbUser("exampleDasbUser", new()
        {
            UserName = "tf_example",
            RealName = "terraform",
            Phone = "+86|18345678782",
            Email = "demo@tencent.com",
            AuthType = 0,
        });
    
        var exampleDasbUserGroup = new Tencentcloud.DasbUserGroup("exampleDasbUserGroup");
    
        var exampleDasbDevice = new Tencentcloud.DasbDevice("exampleDasbDevice", new()
        {
            OsName = "Linux",
            Ip = "192.168.0.1",
            Port = 80,
        });
    
        var exampleDasbDeviceGroup = new Tencentcloud.DasbDeviceGroup("exampleDasbDeviceGroup");
    
        var exampleDasbDeviceAccount = new Tencentcloud.DasbDeviceAccount("exampleDasbDeviceAccount", new()
        {
            DeviceId = exampleDasbDevice.DasbDeviceId,
            Account = "root",
        });
    
        var exampleDasbCmdTemplate = new Tencentcloud.DasbCmdTemplate("exampleDasbCmdTemplate", new()
        {
            CmdList = "rm -rf*",
        });
    
        var exampleDasbAcl = new Tencentcloud.DasbAcl("exampleDasbAcl", new()
        {
            AllowDiskRedirect = true,
            AllowAnyAccount = false,
            AllowClipFileUp = true,
            AllowClipFileDown = true,
            AllowClipTextUp = true,
            AllowClipTextDown = true,
            AllowFileUp = true,
            AllowFileDown = true,
            MaxFileUpSize = 0,
            MaxFileDownSize = 0,
            UserIdSets = new[]
            {
                exampleDasbUser.DasbUserId,
            },
            UserGroupIdSets = new[]
            {
                exampleDasbUserGroup.DasbUserGroupId,
            },
            DeviceIdSets = new[]
            {
                exampleDasbDevice.DasbDeviceId,
            },
            DeviceGroupIdSets = new[]
            {
                exampleDasbDeviceGroup.DasbDeviceGroupId,
            },
            AccountSets = new[]
            {
                exampleDasbDeviceAccount.DasbDeviceAccountId,
            },
            CmdTemplateIdSets = new[]
            {
                exampleDasbCmdTemplate.DasbCmdTemplateId,
            },
            AcTemplateIdSets = new[] {},
            AllowDiskFileUp = true,
            AllowDiskFileDown = true,
            AllowShellFileUp = true,
            AllowShellFileDown = true,
            AllowFileDel = true,
            AllowAccessCredential = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DasbUser;
    import com.pulumi.tencentcloud.DasbUserArgs;
    import com.pulumi.tencentcloud.DasbUserGroup;
    import com.pulumi.tencentcloud.DasbDevice;
    import com.pulumi.tencentcloud.DasbDeviceArgs;
    import com.pulumi.tencentcloud.DasbDeviceGroup;
    import com.pulumi.tencentcloud.DasbDeviceAccount;
    import com.pulumi.tencentcloud.DasbDeviceAccountArgs;
    import com.pulumi.tencentcloud.DasbCmdTemplate;
    import com.pulumi.tencentcloud.DasbCmdTemplateArgs;
    import com.pulumi.tencentcloud.DasbAcl;
    import com.pulumi.tencentcloud.DasbAclArgs;
    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 exampleDasbUser = new DasbUser("exampleDasbUser", DasbUserArgs.builder()
                .userName("tf_example")
                .realName("terraform")
                .phone("+86|18345678782")
                .email("demo@tencent.com")
                .authType(0)
                .build());
    
            var exampleDasbUserGroup = new DasbUserGroup("exampleDasbUserGroup");
    
            var exampleDasbDevice = new DasbDevice("exampleDasbDevice", DasbDeviceArgs.builder()
                .osName("Linux")
                .ip("192.168.0.1")
                .port(80)
                .build());
    
            var exampleDasbDeviceGroup = new DasbDeviceGroup("exampleDasbDeviceGroup");
    
            var exampleDasbDeviceAccount = new DasbDeviceAccount("exampleDasbDeviceAccount", DasbDeviceAccountArgs.builder()
                .deviceId(exampleDasbDevice.dasbDeviceId())
                .account("root")
                .build());
    
            var exampleDasbCmdTemplate = new DasbCmdTemplate("exampleDasbCmdTemplate", DasbCmdTemplateArgs.builder()
                .cmdList("rm -rf*")
                .build());
    
            var exampleDasbAcl = new DasbAcl("exampleDasbAcl", DasbAclArgs.builder()
                .allowDiskRedirect(true)
                .allowAnyAccount(false)
                .allowClipFileUp(true)
                .allowClipFileDown(true)
                .allowClipTextUp(true)
                .allowClipTextDown(true)
                .allowFileUp(true)
                .allowFileDown(true)
                .maxFileUpSize(0)
                .maxFileDownSize(0)
                .userIdSets(exampleDasbUser.dasbUserId())
                .userGroupIdSets(exampleDasbUserGroup.dasbUserGroupId())
                .deviceIdSets(exampleDasbDevice.dasbDeviceId())
                .deviceGroupIdSets(exampleDasbDeviceGroup.dasbDeviceGroupId())
                .accountSets(exampleDasbDeviceAccount.dasbDeviceAccountId())
                .cmdTemplateIdSets(exampleDasbCmdTemplate.dasbCmdTemplateId())
                .acTemplateIdSets()
                .allowDiskFileUp(true)
                .allowDiskFileDown(true)
                .allowShellFileUp(true)
                .allowShellFileDown(true)
                .allowFileDel(true)
                .allowAccessCredential(true)
                .build());
    
        }
    }
    
    resources:
      exampleDasbUser:
        type: tencentcloud:DasbUser
        properties:
          userName: tf_example
          realName: terraform
          phone: +86|18345678782
          email: demo@tencent.com
          authType: 0
      exampleDasbUserGroup:
        type: tencentcloud:DasbUserGroup
      exampleDasbDevice:
        type: tencentcloud:DasbDevice
        properties:
          osName: Linux
          ip: 192.168.0.1
          port: 80
      exampleDasbDeviceGroup:
        type: tencentcloud:DasbDeviceGroup
      exampleDasbDeviceAccount:
        type: tencentcloud:DasbDeviceAccount
        properties:
          deviceId: ${exampleDasbDevice.dasbDeviceId}
          account: root
      exampleDasbCmdTemplate:
        type: tencentcloud:DasbCmdTemplate
        properties:
          cmdList: rm -rf*
      exampleDasbAcl:
        type: tencentcloud:DasbAcl
        properties:
          allowDiskRedirect: true
          allowAnyAccount: false
          allowClipFileUp: true
          allowClipFileDown: true
          allowClipTextUp: true
          allowClipTextDown: true
          allowFileUp: true
          allowFileDown: true
          maxFileUpSize: 0
          maxFileDownSize: 0
          userIdSets:
            - ${exampleDasbUser.dasbUserId}
          userGroupIdSets:
            - ${exampleDasbUserGroup.dasbUserGroupId}
          deviceIdSets:
            - ${exampleDasbDevice.dasbDeviceId}
          deviceGroupIdSets:
            - ${exampleDasbDeviceGroup.dasbDeviceGroupId}
          accountSets:
            - ${exampleDasbDeviceAccount.dasbDeviceAccountId}
          cmdTemplateIdSets:
            - ${exampleDasbCmdTemplate.dasbCmdTemplateId}
          acTemplateIdSets: []
          allowDiskFileUp: true
          allowDiskFileDown: true
          allowShellFileUp: true
          allowShellFileDown: true
          allowFileDel: true
          allowAccessCredential: true
    

    Create DasbAcl Resource

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

    Constructor syntax

    new DasbAcl(name: string, args: DasbAclArgs, opts?: CustomResourceOptions);
    @overload
    def DasbAcl(resource_name: str,
                args: DasbAclArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def DasbAcl(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                allow_any_account: Optional[bool] = None,
                allow_disk_redirect: Optional[bool] = None,
                allow_shell_file_down: Optional[bool] = None,
                user_group_id_sets: Optional[Sequence[float]] = None,
                allow_clip_file_down: Optional[bool] = None,
                allow_clip_file_up: Optional[bool] = None,
                allow_clip_text_down: Optional[bool] = None,
                allow_clip_text_up: Optional[bool] = None,
                allow_disk_file_down: Optional[bool] = None,
                allow_disk_file_up: Optional[bool] = None,
                account_sets: Optional[Sequence[str]] = None,
                allow_file_del: Optional[bool] = None,
                allow_file_down: Optional[bool] = None,
                allow_file_up: Optional[bool] = None,
                allow_access_credential: Optional[bool] = None,
                ac_template_id_sets: Optional[Sequence[str]] = None,
                device_id_sets: Optional[Sequence[float]] = None,
                dasb_acl_id: Optional[str] = None,
                department_id: Optional[str] = None,
                device_group_id_sets: Optional[Sequence[float]] = None,
                cmd_template_id_sets: Optional[Sequence[float]] = None,
                max_file_down_size: Optional[float] = None,
                max_file_up_size: Optional[float] = None,
                name: Optional[str] = None,
                allow_shell_file_up: Optional[bool] = None,
                user_id_sets: Optional[Sequence[float]] = None,
                validate_from: Optional[str] = None,
                validate_to: Optional[str] = None)
    func NewDasbAcl(ctx *Context, name string, args DasbAclArgs, opts ...ResourceOption) (*DasbAcl, error)
    public DasbAcl(string name, DasbAclArgs args, CustomResourceOptions? opts = null)
    public DasbAcl(String name, DasbAclArgs args)
    public DasbAcl(String name, DasbAclArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DasbAcl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DasbAclArgs
    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 DasbAclArgs
    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 DasbAclArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DasbAclArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DasbAclArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DasbAcl 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 DasbAcl resource accepts the following input properties:

    AllowAnyAccount bool
    Allow any account.
    AllowDiskRedirect bool
    Allow disk redirect.
    AcTemplateIdSets List<string>
    Associate high-risk DB template IDs.
    AccountSets List<string>
    Associated accounts.
    AllowAccessCredential bool
    Allow access credential,default allow.
    AllowClipFileDown bool
    Allow clip file down.
    AllowClipFileUp bool
    Allow clip file up.
    AllowClipTextDown bool
    Allow clip text down.
    AllowClipTextUp bool
    Allow clip text up.
    AllowDiskFileDown bool
    Allow disk file download.
    AllowDiskFileUp bool
    Allow disk file upload.
    AllowFileDel bool
    Allow sftp file delete.
    AllowFileDown bool
    Allow sftp file download.
    AllowFileUp bool
    Allow sftp up file.
    AllowShellFileDown bool
    Allow shell file download.
    AllowShellFileUp bool
    Allow shell file upload.
    CmdTemplateIdSets List<double>
    Associated high-risk command template ID.
    DasbAclId string
    ID of the resource.
    DepartmentId string
    Department id.
    DeviceGroupIdSets List<double>
    Associated device group ID.
    DeviceIdSets List<double>
    Associated collection of device IDs.
    MaxFileDownSize double
    File transfer download size limit (reserved parameter, currently unused).
    MaxFileUpSize double
    File upload transfer size limit (artifact parameter, currently unused).
    Name string
    Acl name.
    UserGroupIdSets List<double>
    Associated user group ID.
    UserIdSets List<double>
    Associated set of user IDs.
    ValidateFrom string
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    ValidateTo string
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    AllowAnyAccount bool
    Allow any account.
    AllowDiskRedirect bool
    Allow disk redirect.
    AcTemplateIdSets []string
    Associate high-risk DB template IDs.
    AccountSets []string
    Associated accounts.
    AllowAccessCredential bool
    Allow access credential,default allow.
    AllowClipFileDown bool
    Allow clip file down.
    AllowClipFileUp bool
    Allow clip file up.
    AllowClipTextDown bool
    Allow clip text down.
    AllowClipTextUp bool
    Allow clip text up.
    AllowDiskFileDown bool
    Allow disk file download.
    AllowDiskFileUp bool
    Allow disk file upload.
    AllowFileDel bool
    Allow sftp file delete.
    AllowFileDown bool
    Allow sftp file download.
    AllowFileUp bool
    Allow sftp up file.
    AllowShellFileDown bool
    Allow shell file download.
    AllowShellFileUp bool
    Allow shell file upload.
    CmdTemplateIdSets []float64
    Associated high-risk command template ID.
    DasbAclId string
    ID of the resource.
    DepartmentId string
    Department id.
    DeviceGroupIdSets []float64
    Associated device group ID.
    DeviceIdSets []float64
    Associated collection of device IDs.
    MaxFileDownSize float64
    File transfer download size limit (reserved parameter, currently unused).
    MaxFileUpSize float64
    File upload transfer size limit (artifact parameter, currently unused).
    Name string
    Acl name.
    UserGroupIdSets []float64
    Associated user group ID.
    UserIdSets []float64
    Associated set of user IDs.
    ValidateFrom string
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    ValidateTo string
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    allowAnyAccount Boolean
    Allow any account.
    allowDiskRedirect Boolean
    Allow disk redirect.
    acTemplateIdSets List<String>
    Associate high-risk DB template IDs.
    accountSets List<String>
    Associated accounts.
    allowAccessCredential Boolean
    Allow access credential,default allow.
    allowClipFileDown Boolean
    Allow clip file down.
    allowClipFileUp Boolean
    Allow clip file up.
    allowClipTextDown Boolean
    Allow clip text down.
    allowClipTextUp Boolean
    Allow clip text up.
    allowDiskFileDown Boolean
    Allow disk file download.
    allowDiskFileUp Boolean
    Allow disk file upload.
    allowFileDel Boolean
    Allow sftp file delete.
    allowFileDown Boolean
    Allow sftp file download.
    allowFileUp Boolean
    Allow sftp up file.
    allowShellFileDown Boolean
    Allow shell file download.
    allowShellFileUp Boolean
    Allow shell file upload.
    cmdTemplateIdSets List<Double>
    Associated high-risk command template ID.
    dasbAclId String
    ID of the resource.
    departmentId String
    Department id.
    deviceGroupIdSets List<Double>
    Associated device group ID.
    deviceIdSets List<Double>
    Associated collection of device IDs.
    maxFileDownSize Double
    File transfer download size limit (reserved parameter, currently unused).
    maxFileUpSize Double
    File upload transfer size limit (artifact parameter, currently unused).
    name String
    Acl name.
    userGroupIdSets List<Double>
    Associated user group ID.
    userIdSets List<Double>
    Associated set of user IDs.
    validateFrom String
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validateTo String
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    allowAnyAccount boolean
    Allow any account.
    allowDiskRedirect boolean
    Allow disk redirect.
    acTemplateIdSets string[]
    Associate high-risk DB template IDs.
    accountSets string[]
    Associated accounts.
    allowAccessCredential boolean
    Allow access credential,default allow.
    allowClipFileDown boolean
    Allow clip file down.
    allowClipFileUp boolean
    Allow clip file up.
    allowClipTextDown boolean
    Allow clip text down.
    allowClipTextUp boolean
    Allow clip text up.
    allowDiskFileDown boolean
    Allow disk file download.
    allowDiskFileUp boolean
    Allow disk file upload.
    allowFileDel boolean
    Allow sftp file delete.
    allowFileDown boolean
    Allow sftp file download.
    allowFileUp boolean
    Allow sftp up file.
    allowShellFileDown boolean
    Allow shell file download.
    allowShellFileUp boolean
    Allow shell file upload.
    cmdTemplateIdSets number[]
    Associated high-risk command template ID.
    dasbAclId string
    ID of the resource.
    departmentId string
    Department id.
    deviceGroupIdSets number[]
    Associated device group ID.
    deviceIdSets number[]
    Associated collection of device IDs.
    maxFileDownSize number
    File transfer download size limit (reserved parameter, currently unused).
    maxFileUpSize number
    File upload transfer size limit (artifact parameter, currently unused).
    name string
    Acl name.
    userGroupIdSets number[]
    Associated user group ID.
    userIdSets number[]
    Associated set of user IDs.
    validateFrom string
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validateTo string
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    allow_any_account bool
    Allow any account.
    allow_disk_redirect bool
    Allow disk redirect.
    ac_template_id_sets Sequence[str]
    Associate high-risk DB template IDs.
    account_sets Sequence[str]
    Associated accounts.
    allow_access_credential bool
    Allow access credential,default allow.
    allow_clip_file_down bool
    Allow clip file down.
    allow_clip_file_up bool
    Allow clip file up.
    allow_clip_text_down bool
    Allow clip text down.
    allow_clip_text_up bool
    Allow clip text up.
    allow_disk_file_down bool
    Allow disk file download.
    allow_disk_file_up bool
    Allow disk file upload.
    allow_file_del bool
    Allow sftp file delete.
    allow_file_down bool
    Allow sftp file download.
    allow_file_up bool
    Allow sftp up file.
    allow_shell_file_down bool
    Allow shell file download.
    allow_shell_file_up bool
    Allow shell file upload.
    cmd_template_id_sets Sequence[float]
    Associated high-risk command template ID.
    dasb_acl_id str
    ID of the resource.
    department_id str
    Department id.
    device_group_id_sets Sequence[float]
    Associated device group ID.
    device_id_sets Sequence[float]
    Associated collection of device IDs.
    max_file_down_size float
    File transfer download size limit (reserved parameter, currently unused).
    max_file_up_size float
    File upload transfer size limit (artifact parameter, currently unused).
    name str
    Acl name.
    user_group_id_sets Sequence[float]
    Associated user group ID.
    user_id_sets Sequence[float]
    Associated set of user IDs.
    validate_from str
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validate_to str
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    allowAnyAccount Boolean
    Allow any account.
    allowDiskRedirect Boolean
    Allow disk redirect.
    acTemplateIdSets List<String>
    Associate high-risk DB template IDs.
    accountSets List<String>
    Associated accounts.
    allowAccessCredential Boolean
    Allow access credential,default allow.
    allowClipFileDown Boolean
    Allow clip file down.
    allowClipFileUp Boolean
    Allow clip file up.
    allowClipTextDown Boolean
    Allow clip text down.
    allowClipTextUp Boolean
    Allow clip text up.
    allowDiskFileDown Boolean
    Allow disk file download.
    allowDiskFileUp Boolean
    Allow disk file upload.
    allowFileDel Boolean
    Allow sftp file delete.
    allowFileDown Boolean
    Allow sftp file download.
    allowFileUp Boolean
    Allow sftp up file.
    allowShellFileDown Boolean
    Allow shell file download.
    allowShellFileUp Boolean
    Allow shell file upload.
    cmdTemplateIdSets List<Number>
    Associated high-risk command template ID.
    dasbAclId String
    ID of the resource.
    departmentId String
    Department id.
    deviceGroupIdSets List<Number>
    Associated device group ID.
    deviceIdSets List<Number>
    Associated collection of device IDs.
    maxFileDownSize Number
    File transfer download size limit (reserved parameter, currently unused).
    maxFileUpSize Number
    File upload transfer size limit (artifact parameter, currently unused).
    name String
    Acl name.
    userGroupIdSets List<Number>
    Associated user group ID.
    userIdSets List<Number>
    Associated set of user IDs.
    validateFrom String
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validateTo String
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DasbAcl Resource

    Get an existing DasbAcl 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?: DasbAclState, opts?: CustomResourceOptions): DasbAcl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ac_template_id_sets: Optional[Sequence[str]] = None,
            account_sets: Optional[Sequence[str]] = None,
            allow_access_credential: Optional[bool] = None,
            allow_any_account: Optional[bool] = None,
            allow_clip_file_down: Optional[bool] = None,
            allow_clip_file_up: Optional[bool] = None,
            allow_clip_text_down: Optional[bool] = None,
            allow_clip_text_up: Optional[bool] = None,
            allow_disk_file_down: Optional[bool] = None,
            allow_disk_file_up: Optional[bool] = None,
            allow_disk_redirect: Optional[bool] = None,
            allow_file_del: Optional[bool] = None,
            allow_file_down: Optional[bool] = None,
            allow_file_up: Optional[bool] = None,
            allow_shell_file_down: Optional[bool] = None,
            allow_shell_file_up: Optional[bool] = None,
            cmd_template_id_sets: Optional[Sequence[float]] = None,
            dasb_acl_id: Optional[str] = None,
            department_id: Optional[str] = None,
            device_group_id_sets: Optional[Sequence[float]] = None,
            device_id_sets: Optional[Sequence[float]] = None,
            max_file_down_size: Optional[float] = None,
            max_file_up_size: Optional[float] = None,
            name: Optional[str] = None,
            user_group_id_sets: Optional[Sequence[float]] = None,
            user_id_sets: Optional[Sequence[float]] = None,
            validate_from: Optional[str] = None,
            validate_to: Optional[str] = None) -> DasbAcl
    func GetDasbAcl(ctx *Context, name string, id IDInput, state *DasbAclState, opts ...ResourceOption) (*DasbAcl, error)
    public static DasbAcl Get(string name, Input<string> id, DasbAclState? state, CustomResourceOptions? opts = null)
    public static DasbAcl get(String name, Output<String> id, DasbAclState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DasbAcl    get:      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:
    AcTemplateIdSets List<string>
    Associate high-risk DB template IDs.
    AccountSets List<string>
    Associated accounts.
    AllowAccessCredential bool
    Allow access credential,default allow.
    AllowAnyAccount bool
    Allow any account.
    AllowClipFileDown bool
    Allow clip file down.
    AllowClipFileUp bool
    Allow clip file up.
    AllowClipTextDown bool
    Allow clip text down.
    AllowClipTextUp bool
    Allow clip text up.
    AllowDiskFileDown bool
    Allow disk file download.
    AllowDiskFileUp bool
    Allow disk file upload.
    AllowDiskRedirect bool
    Allow disk redirect.
    AllowFileDel bool
    Allow sftp file delete.
    AllowFileDown bool
    Allow sftp file download.
    AllowFileUp bool
    Allow sftp up file.
    AllowShellFileDown bool
    Allow shell file download.
    AllowShellFileUp bool
    Allow shell file upload.
    CmdTemplateIdSets List<double>
    Associated high-risk command template ID.
    DasbAclId string
    ID of the resource.
    DepartmentId string
    Department id.
    DeviceGroupIdSets List<double>
    Associated device group ID.
    DeviceIdSets List<double>
    Associated collection of device IDs.
    MaxFileDownSize double
    File transfer download size limit (reserved parameter, currently unused).
    MaxFileUpSize double
    File upload transfer size limit (artifact parameter, currently unused).
    Name string
    Acl name.
    UserGroupIdSets List<double>
    Associated user group ID.
    UserIdSets List<double>
    Associated set of user IDs.
    ValidateFrom string
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    ValidateTo string
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    AcTemplateIdSets []string
    Associate high-risk DB template IDs.
    AccountSets []string
    Associated accounts.
    AllowAccessCredential bool
    Allow access credential,default allow.
    AllowAnyAccount bool
    Allow any account.
    AllowClipFileDown bool
    Allow clip file down.
    AllowClipFileUp bool
    Allow clip file up.
    AllowClipTextDown bool
    Allow clip text down.
    AllowClipTextUp bool
    Allow clip text up.
    AllowDiskFileDown bool
    Allow disk file download.
    AllowDiskFileUp bool
    Allow disk file upload.
    AllowDiskRedirect bool
    Allow disk redirect.
    AllowFileDel bool
    Allow sftp file delete.
    AllowFileDown bool
    Allow sftp file download.
    AllowFileUp bool
    Allow sftp up file.
    AllowShellFileDown bool
    Allow shell file download.
    AllowShellFileUp bool
    Allow shell file upload.
    CmdTemplateIdSets []float64
    Associated high-risk command template ID.
    DasbAclId string
    ID of the resource.
    DepartmentId string
    Department id.
    DeviceGroupIdSets []float64
    Associated device group ID.
    DeviceIdSets []float64
    Associated collection of device IDs.
    MaxFileDownSize float64
    File transfer download size limit (reserved parameter, currently unused).
    MaxFileUpSize float64
    File upload transfer size limit (artifact parameter, currently unused).
    Name string
    Acl name.
    UserGroupIdSets []float64
    Associated user group ID.
    UserIdSets []float64
    Associated set of user IDs.
    ValidateFrom string
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    ValidateTo string
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    acTemplateIdSets List<String>
    Associate high-risk DB template IDs.
    accountSets List<String>
    Associated accounts.
    allowAccessCredential Boolean
    Allow access credential,default allow.
    allowAnyAccount Boolean
    Allow any account.
    allowClipFileDown Boolean
    Allow clip file down.
    allowClipFileUp Boolean
    Allow clip file up.
    allowClipTextDown Boolean
    Allow clip text down.
    allowClipTextUp Boolean
    Allow clip text up.
    allowDiskFileDown Boolean
    Allow disk file download.
    allowDiskFileUp Boolean
    Allow disk file upload.
    allowDiskRedirect Boolean
    Allow disk redirect.
    allowFileDel Boolean
    Allow sftp file delete.
    allowFileDown Boolean
    Allow sftp file download.
    allowFileUp Boolean
    Allow sftp up file.
    allowShellFileDown Boolean
    Allow shell file download.
    allowShellFileUp Boolean
    Allow shell file upload.
    cmdTemplateIdSets List<Double>
    Associated high-risk command template ID.
    dasbAclId String
    ID of the resource.
    departmentId String
    Department id.
    deviceGroupIdSets List<Double>
    Associated device group ID.
    deviceIdSets List<Double>
    Associated collection of device IDs.
    maxFileDownSize Double
    File transfer download size limit (reserved parameter, currently unused).
    maxFileUpSize Double
    File upload transfer size limit (artifact parameter, currently unused).
    name String
    Acl name.
    userGroupIdSets List<Double>
    Associated user group ID.
    userIdSets List<Double>
    Associated set of user IDs.
    validateFrom String
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validateTo String
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    acTemplateIdSets string[]
    Associate high-risk DB template IDs.
    accountSets string[]
    Associated accounts.
    allowAccessCredential boolean
    Allow access credential,default allow.
    allowAnyAccount boolean
    Allow any account.
    allowClipFileDown boolean
    Allow clip file down.
    allowClipFileUp boolean
    Allow clip file up.
    allowClipTextDown boolean
    Allow clip text down.
    allowClipTextUp boolean
    Allow clip text up.
    allowDiskFileDown boolean
    Allow disk file download.
    allowDiskFileUp boolean
    Allow disk file upload.
    allowDiskRedirect boolean
    Allow disk redirect.
    allowFileDel boolean
    Allow sftp file delete.
    allowFileDown boolean
    Allow sftp file download.
    allowFileUp boolean
    Allow sftp up file.
    allowShellFileDown boolean
    Allow shell file download.
    allowShellFileUp boolean
    Allow shell file upload.
    cmdTemplateIdSets number[]
    Associated high-risk command template ID.
    dasbAclId string
    ID of the resource.
    departmentId string
    Department id.
    deviceGroupIdSets number[]
    Associated device group ID.
    deviceIdSets number[]
    Associated collection of device IDs.
    maxFileDownSize number
    File transfer download size limit (reserved parameter, currently unused).
    maxFileUpSize number
    File upload transfer size limit (artifact parameter, currently unused).
    name string
    Acl name.
    userGroupIdSets number[]
    Associated user group ID.
    userIdSets number[]
    Associated set of user IDs.
    validateFrom string
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validateTo string
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    ac_template_id_sets Sequence[str]
    Associate high-risk DB template IDs.
    account_sets Sequence[str]
    Associated accounts.
    allow_access_credential bool
    Allow access credential,default allow.
    allow_any_account bool
    Allow any account.
    allow_clip_file_down bool
    Allow clip file down.
    allow_clip_file_up bool
    Allow clip file up.
    allow_clip_text_down bool
    Allow clip text down.
    allow_clip_text_up bool
    Allow clip text up.
    allow_disk_file_down bool
    Allow disk file download.
    allow_disk_file_up bool
    Allow disk file upload.
    allow_disk_redirect bool
    Allow disk redirect.
    allow_file_del bool
    Allow sftp file delete.
    allow_file_down bool
    Allow sftp file download.
    allow_file_up bool
    Allow sftp up file.
    allow_shell_file_down bool
    Allow shell file download.
    allow_shell_file_up bool
    Allow shell file upload.
    cmd_template_id_sets Sequence[float]
    Associated high-risk command template ID.
    dasb_acl_id str
    ID of the resource.
    department_id str
    Department id.
    device_group_id_sets Sequence[float]
    Associated device group ID.
    device_id_sets Sequence[float]
    Associated collection of device IDs.
    max_file_down_size float
    File transfer download size limit (reserved parameter, currently unused).
    max_file_up_size float
    File upload transfer size limit (artifact parameter, currently unused).
    name str
    Acl name.
    user_group_id_sets Sequence[float]
    Associated user group ID.
    user_id_sets Sequence[float]
    Associated set of user IDs.
    validate_from str
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validate_to str
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    acTemplateIdSets List<String>
    Associate high-risk DB template IDs.
    accountSets List<String>
    Associated accounts.
    allowAccessCredential Boolean
    Allow access credential,default allow.
    allowAnyAccount Boolean
    Allow any account.
    allowClipFileDown Boolean
    Allow clip file down.
    allowClipFileUp Boolean
    Allow clip file up.
    allowClipTextDown Boolean
    Allow clip text down.
    allowClipTextUp Boolean
    Allow clip text up.
    allowDiskFileDown Boolean
    Allow disk file download.
    allowDiskFileUp Boolean
    Allow disk file upload.
    allowDiskRedirect Boolean
    Allow disk redirect.
    allowFileDel Boolean
    Allow sftp file delete.
    allowFileDown Boolean
    Allow sftp file download.
    allowFileUp Boolean
    Allow sftp up file.
    allowShellFileDown Boolean
    Allow shell file download.
    allowShellFileUp Boolean
    Allow shell file upload.
    cmdTemplateIdSets List<Number>
    Associated high-risk command template ID.
    dasbAclId String
    ID of the resource.
    departmentId String
    Department id.
    deviceGroupIdSets List<Number>
    Associated device group ID.
    deviceIdSets List<Number>
    Associated collection of device IDs.
    maxFileDownSize Number
    File transfer download size limit (reserved parameter, currently unused).
    maxFileUpSize Number
    File upload transfer size limit (artifact parameter, currently unused).
    name String
    Acl name.
    userGroupIdSets List<Number>
    Associated user group ID.
    userIdSets List<Number>
    Associated set of user IDs.
    validateFrom String
    Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
    validateTo String
    Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.

    Import

    dasb acl can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/dasbAcl:DasbAcl example 132
    

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack