published on Friday, Apr 10, 2026 by tencentcloudstack
published on Friday, Apr 10, 2026 by tencentcloudstack
Provides a BH (Bastion Host) acl.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.BhAcl("example", {
name: "tf-example",
allowDiskRedirect: true,
allowAnyAccount: false,
allowClipFileUp: true,
allowClipFileDown: false,
allowClipTextUp: false,
allowClipTextDown: true,
allowFileUp: false,
allowFileDown: true,
allowDiskFileUp: true,
allowDiskFileDown: false,
allowShellFileUp: false,
allowShellFileDown: false,
allowFileDel: false,
allowAccessCredential: true,
allowKeyboardLogger: false,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.BhAcl("example",
name="tf-example",
allow_disk_redirect=True,
allow_any_account=False,
allow_clip_file_up=True,
allow_clip_file_down=False,
allow_clip_text_up=False,
allow_clip_text_down=True,
allow_file_up=False,
allow_file_down=True,
allow_disk_file_up=True,
allow_disk_file_down=False,
allow_shell_file_up=False,
allow_shell_file_down=False,
allow_file_del=False,
allow_access_credential=True,
allow_keyboard_logger=False)
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.NewBhAcl(ctx, "example", &tencentcloud.BhAclArgs{
Name: pulumi.String("tf-example"),
AllowDiskRedirect: pulumi.Bool(true),
AllowAnyAccount: pulumi.Bool(false),
AllowClipFileUp: pulumi.Bool(true),
AllowClipFileDown: pulumi.Bool(false),
AllowClipTextUp: pulumi.Bool(false),
AllowClipTextDown: pulumi.Bool(true),
AllowFileUp: pulumi.Bool(false),
AllowFileDown: pulumi.Bool(true),
AllowDiskFileUp: pulumi.Bool(true),
AllowDiskFileDown: pulumi.Bool(false),
AllowShellFileUp: pulumi.Bool(false),
AllowShellFileDown: pulumi.Bool(false),
AllowFileDel: pulumi.Bool(false),
AllowAccessCredential: pulumi.Bool(true),
AllowKeyboardLogger: pulumi.Bool(false),
})
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.BhAcl("example", new()
{
Name = "tf-example",
AllowDiskRedirect = true,
AllowAnyAccount = false,
AllowClipFileUp = true,
AllowClipFileDown = false,
AllowClipTextUp = false,
AllowClipTextDown = true,
AllowFileUp = false,
AllowFileDown = true,
AllowDiskFileUp = true,
AllowDiskFileDown = false,
AllowShellFileUp = false,
AllowShellFileDown = false,
AllowFileDel = false,
AllowAccessCredential = true,
AllowKeyboardLogger = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.BhAcl;
import com.pulumi.tencentcloud.BhAclArgs;
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 BhAcl("example", BhAclArgs.builder()
.name("tf-example")
.allowDiskRedirect(true)
.allowAnyAccount(false)
.allowClipFileUp(true)
.allowClipFileDown(false)
.allowClipTextUp(false)
.allowClipTextDown(true)
.allowFileUp(false)
.allowFileDown(true)
.allowDiskFileUp(true)
.allowDiskFileDown(false)
.allowShellFileUp(false)
.allowShellFileDown(false)
.allowFileDel(false)
.allowAccessCredential(true)
.allowKeyboardLogger(false)
.build());
}
}
resources:
example:
type: tencentcloud:BhAcl
properties:
name: tf-example
allowDiskRedirect: true
allowAnyAccount: false
allowClipFileUp: true
allowClipFileDown: false
allowClipTextUp: false
allowClipTextDown: true
allowFileUp: false
allowFileDown: true
allowDiskFileUp: true
allowDiskFileDown: false
allowShellFileUp: false
allowShellFileDown: false
allowFileDel: false
allowAccessCredential: true
allowKeyboardLogger: false
Create BhAcl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BhAcl(name: string, args: BhAclArgs, opts?: CustomResourceOptions);@overload
def BhAcl(resource_name: str,
args: BhAclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BhAcl(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_any_account: Optional[bool] = None,
allow_disk_redirect: Optional[bool] = None,
allow_keyboard_logger: Optional[bool] = None,
device_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,
ac_template_id_sets: Optional[Sequence[str]] = None,
allow_shell_file_down: Optional[bool] = None,
allow_access_credential: Optional[bool] = None,
bh_acl_id: Optional[str] = None,
allow_shell_file_up: Optional[bool] = None,
cmd_template_id_sets: Optional[Sequence[float]] = None,
department_id: Optional[str] = None,
app_asset_id_sets: Optional[Sequence[float]] = None,
device_id_sets: Optional[Sequence[float]] = None,
max_access_credential_duration: Optional[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)func NewBhAcl(ctx *Context, name string, args BhAclArgs, opts ...ResourceOption) (*BhAcl, error)public BhAcl(string name, BhAclArgs args, CustomResourceOptions? opts = null)type: tencentcloud:BhAcl
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 BhAclArgs
- 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 BhAclArgs
- 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 BhAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BhAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BhAclArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BhAcl 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 BhAcl resource accepts the following input properties:
- Allow
Any boolAccount - Whether to allow any account to log in.
- Allow
Disk boolRedirect - Whether to enable disk mapping.
- Ac
Template List<string>Id Sets - Associated high-risk DB template ID set.
- Account
Sets List<string> - Associated account set.
- Allow
Access boolCredential - Whether to allow the use of access credentials. Default is allowed.
- Allow
Clip boolFile Down - Whether to enable clipboard file download.
- Allow
Clip boolFile Up - Whether to enable clipboard file upload.
- Allow
Clip boolText Down - Whether to enable clipboard text (including images) download.
- Allow
Clip boolText Up - Whether to enable clipboard text (including images) upload.
- Allow
Disk boolFile Down - Whether to enable RDP disk mapping file download.
- Allow
Disk boolFile Up - Whether to enable RDP disk mapping file upload.
- Allow
File boolDel - Whether to enable SFTP file deletion.
- Allow
File boolDown - Whether to enable SFTP file download.
- Allow
File boolUp - Whether to enable SFTP file upload.
- Allow
Keyboard boolLogger - Whether to allow keyboard logging.
- Allow
Shell boolFile Down - Whether to enable rz sz file download.
- Allow
Shell boolFile Up - Whether to enable rz sz file upload.
- App
Asset List<double>Id Sets - Associated application asset ID set.
- Bh
Acl stringId - ID of the resource.
- Cmd
Template List<double>Id Sets - Associated high-risk command template ID set.
- Department
Id string - Department ID to which the access permission belongs, e.g.:
1.2.3. - Device
Group List<double>Id Sets - Associated asset group ID set.
- Device
Id List<double>Sets - Associated asset ID set.
- Max
Access doubleCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- Max
File doubleDown Size - File transfer download size limit (reserved parameter, not currently used).
- Max
File doubleUp Size - File transfer upload size limit (reserved parameter, not currently used).
- Name string
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- User
Group List<double>Id Sets - Associated user group ID set.
- User
Id List<double>Sets - Associated user ID set.
- Validate
From string - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - Validate
To string - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- Allow
Any boolAccount - Whether to allow any account to log in.
- Allow
Disk boolRedirect - Whether to enable disk mapping.
- Ac
Template []stringId Sets - Associated high-risk DB template ID set.
- Account
Sets []string - Associated account set.
- Allow
Access boolCredential - Whether to allow the use of access credentials. Default is allowed.
- Allow
Clip boolFile Down - Whether to enable clipboard file download.
- Allow
Clip boolFile Up - Whether to enable clipboard file upload.
- Allow
Clip boolText Down - Whether to enable clipboard text (including images) download.
- Allow
Clip boolText Up - Whether to enable clipboard text (including images) upload.
- Allow
Disk boolFile Down - Whether to enable RDP disk mapping file download.
- Allow
Disk boolFile Up - Whether to enable RDP disk mapping file upload.
- Allow
File boolDel - Whether to enable SFTP file deletion.
- Allow
File boolDown - Whether to enable SFTP file download.
- Allow
File boolUp - Whether to enable SFTP file upload.
- Allow
Keyboard boolLogger - Whether to allow keyboard logging.
- Allow
Shell boolFile Down - Whether to enable rz sz file download.
- Allow
Shell boolFile Up - Whether to enable rz sz file upload.
- App
Asset []float64Id Sets - Associated application asset ID set.
- Bh
Acl stringId - ID of the resource.
- Cmd
Template []float64Id Sets - Associated high-risk command template ID set.
- Department
Id string - Department ID to which the access permission belongs, e.g.:
1.2.3. - Device
Group []float64Id Sets - Associated asset group ID set.
- Device
Id []float64Sets - Associated asset ID set.
- Max
Access float64Credential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- Max
File float64Down Size - File transfer download size limit (reserved parameter, not currently used).
- Max
File float64Up Size - File transfer upload size limit (reserved parameter, not currently used).
- Name string
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- User
Group []float64Id Sets - Associated user group ID set.
- User
Id []float64Sets - Associated user ID set.
- Validate
From string - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - Validate
To string - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- allow
Any BooleanAccount - Whether to allow any account to log in.
- allow
Disk BooleanRedirect - Whether to enable disk mapping.
- ac
Template List<String>Id Sets - Associated high-risk DB template ID set.
- account
Sets List<String> - Associated account set.
- allow
Access BooleanCredential - Whether to allow the use of access credentials. Default is allowed.
- allow
Clip BooleanFile Down - Whether to enable clipboard file download.
- allow
Clip BooleanFile Up - Whether to enable clipboard file upload.
- allow
Clip BooleanText Down - Whether to enable clipboard text (including images) download.
- allow
Clip BooleanText Up - Whether to enable clipboard text (including images) upload.
- allow
Disk BooleanFile Down - Whether to enable RDP disk mapping file download.
- allow
Disk BooleanFile Up - Whether to enable RDP disk mapping file upload.
- allow
File BooleanDel - Whether to enable SFTP file deletion.
- allow
File BooleanDown - Whether to enable SFTP file download.
- allow
File BooleanUp - Whether to enable SFTP file upload.
- allow
Keyboard BooleanLogger - Whether to allow keyboard logging.
- allow
Shell BooleanFile Down - Whether to enable rz sz file download.
- allow
Shell BooleanFile Up - Whether to enable rz sz file upload.
- app
Asset List<Double>Id Sets - Associated application asset ID set.
- bh
Acl StringId - ID of the resource.
- cmd
Template List<Double>Id Sets - Associated high-risk command template ID set.
- department
Id String - Department ID to which the access permission belongs, e.g.:
1.2.3. - device
Group List<Double>Id Sets - Associated asset group ID set.
- device
Id List<Double>Sets - Associated asset ID set.
- max
Access DoubleCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max
File DoubleDown Size - File transfer download size limit (reserved parameter, not currently used).
- max
File DoubleUp Size - File transfer upload size limit (reserved parameter, not currently used).
- name String
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user
Group List<Double>Id Sets - Associated user group ID set.
- user
Id List<Double>Sets - Associated user ID set.
- validate
From String - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate
To String - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- allow
Any booleanAccount - Whether to allow any account to log in.
- allow
Disk booleanRedirect - Whether to enable disk mapping.
- ac
Template string[]Id Sets - Associated high-risk DB template ID set.
- account
Sets string[] - Associated account set.
- allow
Access booleanCredential - Whether to allow the use of access credentials. Default is allowed.
- allow
Clip booleanFile Down - Whether to enable clipboard file download.
- allow
Clip booleanFile Up - Whether to enable clipboard file upload.
- allow
Clip booleanText Down - Whether to enable clipboard text (including images) download.
- allow
Clip booleanText Up - Whether to enable clipboard text (including images) upload.
- allow
Disk booleanFile Down - Whether to enable RDP disk mapping file download.
- allow
Disk booleanFile Up - Whether to enable RDP disk mapping file upload.
- allow
File booleanDel - Whether to enable SFTP file deletion.
- allow
File booleanDown - Whether to enable SFTP file download.
- allow
File booleanUp - Whether to enable SFTP file upload.
- allow
Keyboard booleanLogger - Whether to allow keyboard logging.
- allow
Shell booleanFile Down - Whether to enable rz sz file download.
- allow
Shell booleanFile Up - Whether to enable rz sz file upload.
- app
Asset number[]Id Sets - Associated application asset ID set.
- bh
Acl stringId - ID of the resource.
- cmd
Template number[]Id Sets - Associated high-risk command template ID set.
- department
Id string - Department ID to which the access permission belongs, e.g.:
1.2.3. - device
Group number[]Id Sets - Associated asset group ID set.
- device
Id number[]Sets - Associated asset ID set.
- max
Access numberCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max
File numberDown Size - File transfer download size limit (reserved parameter, not currently used).
- max
File numberUp Size - File transfer upload size limit (reserved parameter, not currently used).
- name string
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user
Group number[]Id Sets - Associated user group ID set.
- user
Id number[]Sets - Associated user ID set.
- validate
From string - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate
To string - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- allow_
any_ boolaccount - Whether to allow any account to log in.
- allow_
disk_ boolredirect - Whether to enable disk mapping.
- ac_
template_ Sequence[str]id_ sets - Associated high-risk DB template ID set.
- account_
sets Sequence[str] - Associated account set.
- allow_
access_ boolcredential - Whether to allow the use of access credentials. Default is allowed.
- allow_
clip_ boolfile_ down - Whether to enable clipboard file download.
- allow_
clip_ boolfile_ up - Whether to enable clipboard file upload.
- allow_
clip_ booltext_ down - Whether to enable clipboard text (including images) download.
- allow_
clip_ booltext_ up - Whether to enable clipboard text (including images) upload.
- allow_
disk_ boolfile_ down - Whether to enable RDP disk mapping file download.
- allow_
disk_ boolfile_ up - Whether to enable RDP disk mapping file upload.
- allow_
file_ booldel - Whether to enable SFTP file deletion.
- allow_
file_ booldown - Whether to enable SFTP file download.
- allow_
file_ boolup - Whether to enable SFTP file upload.
- allow_
keyboard_ boollogger - Whether to allow keyboard logging.
- allow_
shell_ boolfile_ down - Whether to enable rz sz file download.
- allow_
shell_ boolfile_ up - Whether to enable rz sz file upload.
- app_
asset_ Sequence[float]id_ sets - Associated application asset ID set.
- bh_
acl_ strid - ID of the resource.
- cmd_
template_ Sequence[float]id_ sets - Associated high-risk command template ID set.
- department_
id str - Department ID to which the access permission belongs, e.g.:
1.2.3. - device_
group_ Sequence[float]id_ sets - Associated asset group ID set.
- device_
id_ Sequence[float]sets - Associated asset ID set.
- max_
access_ floatcredential_ duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max_
file_ floatdown_ size - File transfer download size limit (reserved parameter, not currently used).
- max_
file_ floatup_ size - File transfer upload size limit (reserved parameter, not currently used).
- name str
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user_
group_ Sequence[float]id_ sets - Associated user group ID set.
- user_
id_ Sequence[float]sets - Associated user ID set.
- validate_
from str - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate_
to str - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- allow
Any BooleanAccount - Whether to allow any account to log in.
- allow
Disk BooleanRedirect - Whether to enable disk mapping.
- ac
Template List<String>Id Sets - Associated high-risk DB template ID set.
- account
Sets List<String> - Associated account set.
- allow
Access BooleanCredential - Whether to allow the use of access credentials. Default is allowed.
- allow
Clip BooleanFile Down - Whether to enable clipboard file download.
- allow
Clip BooleanFile Up - Whether to enable clipboard file upload.
- allow
Clip BooleanText Down - Whether to enable clipboard text (including images) download.
- allow
Clip BooleanText Up - Whether to enable clipboard text (including images) upload.
- allow
Disk BooleanFile Down - Whether to enable RDP disk mapping file download.
- allow
Disk BooleanFile Up - Whether to enable RDP disk mapping file upload.
- allow
File BooleanDel - Whether to enable SFTP file deletion.
- allow
File BooleanDown - Whether to enable SFTP file download.
- allow
File BooleanUp - Whether to enable SFTP file upload.
- allow
Keyboard BooleanLogger - Whether to allow keyboard logging.
- allow
Shell BooleanFile Down - Whether to enable rz sz file download.
- allow
Shell BooleanFile Up - Whether to enable rz sz file upload.
- app
Asset List<Number>Id Sets - Associated application asset ID set.
- bh
Acl StringId - ID of the resource.
- cmd
Template List<Number>Id Sets - Associated high-risk command template ID set.
- department
Id String - Department ID to which the access permission belongs, e.g.:
1.2.3. - device
Group List<Number>Id Sets - Associated asset group ID set.
- device
Id List<Number>Sets - Associated asset ID set.
- max
Access NumberCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max
File NumberDown Size - File transfer download size limit (reserved parameter, not currently used).
- max
File NumberUp Size - File transfer upload size limit (reserved parameter, not currently used).
- name String
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user
Group List<Number>Id Sets - Associated user group ID set.
- user
Id List<Number>Sets - Associated user ID set.
- validate
From String - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate
To String - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
Outputs
All input properties are implicitly available as output properties. Additionally, the BhAcl resource produces the following output properties:
Look up Existing BhAcl Resource
Get an existing BhAcl 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?: BhAclState, opts?: CustomResourceOptions): BhAcl@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,
acl_id: Optional[float] = 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_keyboard_logger: Optional[bool] = None,
allow_shell_file_down: Optional[bool] = None,
allow_shell_file_up: Optional[bool] = None,
app_asset_id_sets: Optional[Sequence[float]] = None,
bh_acl_id: Optional[str] = None,
cmd_template_id_sets: Optional[Sequence[float]] = None,
department_id: Optional[str] = None,
device_group_id_sets: Optional[Sequence[float]] = None,
device_id_sets: Optional[Sequence[float]] = None,
max_access_credential_duration: Optional[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) -> BhAclfunc GetBhAcl(ctx *Context, name string, id IDInput, state *BhAclState, opts ...ResourceOption) (*BhAcl, error)public static BhAcl Get(string name, Input<string> id, BhAclState? state, CustomResourceOptions? opts = null)public static BhAcl get(String name, Output<String> id, BhAclState state, CustomResourceOptions options)resources: _: type: tencentcloud:BhAcl 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.
- Ac
Template List<string>Id Sets - Associated high-risk DB template ID set.
- Account
Sets List<string> - Associated account set.
- Acl
Id double - Access permission ID.
- Allow
Access boolCredential - Whether to allow the use of access credentials. Default is allowed.
- Allow
Any boolAccount - Whether to allow any account to log in.
- Allow
Clip boolFile Down - Whether to enable clipboard file download.
- Allow
Clip boolFile Up - Whether to enable clipboard file upload.
- Allow
Clip boolText Down - Whether to enable clipboard text (including images) download.
- Allow
Clip boolText Up - Whether to enable clipboard text (including images) upload.
- Allow
Disk boolFile Down - Whether to enable RDP disk mapping file download.
- Allow
Disk boolFile Up - Whether to enable RDP disk mapping file upload.
- Allow
Disk boolRedirect - Whether to enable disk mapping.
- Allow
File boolDel - Whether to enable SFTP file deletion.
- Allow
File boolDown - Whether to enable SFTP file download.
- Allow
File boolUp - Whether to enable SFTP file upload.
- Allow
Keyboard boolLogger - Whether to allow keyboard logging.
- Allow
Shell boolFile Down - Whether to enable rz sz file download.
- Allow
Shell boolFile Up - Whether to enable rz sz file upload.
- App
Asset List<double>Id Sets - Associated application asset ID set.
- Bh
Acl stringId - ID of the resource.
- Cmd
Template List<double>Id Sets - Associated high-risk command template ID set.
- Department
Id string - Department ID to which the access permission belongs, e.g.:
1.2.3. - Device
Group List<double>Id Sets - Associated asset group ID set.
- Device
Id List<double>Sets - Associated asset ID set.
- Max
Access doubleCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- Max
File doubleDown Size - File transfer download size limit (reserved parameter, not currently used).
- Max
File doubleUp Size - File transfer upload size limit (reserved parameter, not currently used).
- Name string
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- User
Group List<double>Id Sets - Associated user group ID set.
- User
Id List<double>Sets - Associated user ID set.
- Validate
From string - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - Validate
To string - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- Ac
Template []stringId Sets - Associated high-risk DB template ID set.
- Account
Sets []string - Associated account set.
- Acl
Id float64 - Access permission ID.
- Allow
Access boolCredential - Whether to allow the use of access credentials. Default is allowed.
- Allow
Any boolAccount - Whether to allow any account to log in.
- Allow
Clip boolFile Down - Whether to enable clipboard file download.
- Allow
Clip boolFile Up - Whether to enable clipboard file upload.
- Allow
Clip boolText Down - Whether to enable clipboard text (including images) download.
- Allow
Clip boolText Up - Whether to enable clipboard text (including images) upload.
- Allow
Disk boolFile Down - Whether to enable RDP disk mapping file download.
- Allow
Disk boolFile Up - Whether to enable RDP disk mapping file upload.
- Allow
Disk boolRedirect - Whether to enable disk mapping.
- Allow
File boolDel - Whether to enable SFTP file deletion.
- Allow
File boolDown - Whether to enable SFTP file download.
- Allow
File boolUp - Whether to enable SFTP file upload.
- Allow
Keyboard boolLogger - Whether to allow keyboard logging.
- Allow
Shell boolFile Down - Whether to enable rz sz file download.
- Allow
Shell boolFile Up - Whether to enable rz sz file upload.
- App
Asset []float64Id Sets - Associated application asset ID set.
- Bh
Acl stringId - ID of the resource.
- Cmd
Template []float64Id Sets - Associated high-risk command template ID set.
- Department
Id string - Department ID to which the access permission belongs, e.g.:
1.2.3. - Device
Group []float64Id Sets - Associated asset group ID set.
- Device
Id []float64Sets - Associated asset ID set.
- Max
Access float64Credential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- Max
File float64Down Size - File transfer download size limit (reserved parameter, not currently used).
- Max
File float64Up Size - File transfer upload size limit (reserved parameter, not currently used).
- Name string
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- User
Group []float64Id Sets - Associated user group ID set.
- User
Id []float64Sets - Associated user ID set.
- Validate
From string - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - Validate
To string - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- ac
Template List<String>Id Sets - Associated high-risk DB template ID set.
- account
Sets List<String> - Associated account set.
- acl
Id Double - Access permission ID.
- allow
Access BooleanCredential - Whether to allow the use of access credentials. Default is allowed.
- allow
Any BooleanAccount - Whether to allow any account to log in.
- allow
Clip BooleanFile Down - Whether to enable clipboard file download.
- allow
Clip BooleanFile Up - Whether to enable clipboard file upload.
- allow
Clip BooleanText Down - Whether to enable clipboard text (including images) download.
- allow
Clip BooleanText Up - Whether to enable clipboard text (including images) upload.
- allow
Disk BooleanFile Down - Whether to enable RDP disk mapping file download.
- allow
Disk BooleanFile Up - Whether to enable RDP disk mapping file upload.
- allow
Disk BooleanRedirect - Whether to enable disk mapping.
- allow
File BooleanDel - Whether to enable SFTP file deletion.
- allow
File BooleanDown - Whether to enable SFTP file download.
- allow
File BooleanUp - Whether to enable SFTP file upload.
- allow
Keyboard BooleanLogger - Whether to allow keyboard logging.
- allow
Shell BooleanFile Down - Whether to enable rz sz file download.
- allow
Shell BooleanFile Up - Whether to enable rz sz file upload.
- app
Asset List<Double>Id Sets - Associated application asset ID set.
- bh
Acl StringId - ID of the resource.
- cmd
Template List<Double>Id Sets - Associated high-risk command template ID set.
- department
Id String - Department ID to which the access permission belongs, e.g.:
1.2.3. - device
Group List<Double>Id Sets - Associated asset group ID set.
- device
Id List<Double>Sets - Associated asset ID set.
- max
Access DoubleCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max
File DoubleDown Size - File transfer download size limit (reserved parameter, not currently used).
- max
File DoubleUp Size - File transfer upload size limit (reserved parameter, not currently used).
- name String
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user
Group List<Double>Id Sets - Associated user group ID set.
- user
Id List<Double>Sets - Associated user ID set.
- validate
From String - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate
To String - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- ac
Template string[]Id Sets - Associated high-risk DB template ID set.
- account
Sets string[] - Associated account set.
- acl
Id number - Access permission ID.
- allow
Access booleanCredential - Whether to allow the use of access credentials. Default is allowed.
- allow
Any booleanAccount - Whether to allow any account to log in.
- allow
Clip booleanFile Down - Whether to enable clipboard file download.
- allow
Clip booleanFile Up - Whether to enable clipboard file upload.
- allow
Clip booleanText Down - Whether to enable clipboard text (including images) download.
- allow
Clip booleanText Up - Whether to enable clipboard text (including images) upload.
- allow
Disk booleanFile Down - Whether to enable RDP disk mapping file download.
- allow
Disk booleanFile Up - Whether to enable RDP disk mapping file upload.
- allow
Disk booleanRedirect - Whether to enable disk mapping.
- allow
File booleanDel - Whether to enable SFTP file deletion.
- allow
File booleanDown - Whether to enable SFTP file download.
- allow
File booleanUp - Whether to enable SFTP file upload.
- allow
Keyboard booleanLogger - Whether to allow keyboard logging.
- allow
Shell booleanFile Down - Whether to enable rz sz file download.
- allow
Shell booleanFile Up - Whether to enable rz sz file upload.
- app
Asset number[]Id Sets - Associated application asset ID set.
- bh
Acl stringId - ID of the resource.
- cmd
Template number[]Id Sets - Associated high-risk command template ID set.
- department
Id string - Department ID to which the access permission belongs, e.g.:
1.2.3. - device
Group number[]Id Sets - Associated asset group ID set.
- device
Id number[]Sets - Associated asset ID set.
- max
Access numberCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max
File numberDown Size - File transfer download size limit (reserved parameter, not currently used).
- max
File numberUp Size - File transfer upload size limit (reserved parameter, not currently used).
- name string
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user
Group number[]Id Sets - Associated user group ID set.
- user
Id number[]Sets - Associated user ID set.
- validate
From string - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate
To string - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- ac_
template_ Sequence[str]id_ sets - Associated high-risk DB template ID set.
- account_
sets Sequence[str] - Associated account set.
- acl_
id float - Access permission ID.
- allow_
access_ boolcredential - Whether to allow the use of access credentials. Default is allowed.
- allow_
any_ boolaccount - Whether to allow any account to log in.
- allow_
clip_ boolfile_ down - Whether to enable clipboard file download.
- allow_
clip_ boolfile_ up - Whether to enable clipboard file upload.
- allow_
clip_ booltext_ down - Whether to enable clipboard text (including images) download.
- allow_
clip_ booltext_ up - Whether to enable clipboard text (including images) upload.
- allow_
disk_ boolfile_ down - Whether to enable RDP disk mapping file download.
- allow_
disk_ boolfile_ up - Whether to enable RDP disk mapping file upload.
- allow_
disk_ boolredirect - Whether to enable disk mapping.
- allow_
file_ booldel - Whether to enable SFTP file deletion.
- allow_
file_ booldown - Whether to enable SFTP file download.
- allow_
file_ boolup - Whether to enable SFTP file upload.
- allow_
keyboard_ boollogger - Whether to allow keyboard logging.
- allow_
shell_ boolfile_ down - Whether to enable rz sz file download.
- allow_
shell_ boolfile_ up - Whether to enable rz sz file upload.
- app_
asset_ Sequence[float]id_ sets - Associated application asset ID set.
- bh_
acl_ strid - ID of the resource.
- cmd_
template_ Sequence[float]id_ sets - Associated high-risk command template ID set.
- department_
id str - Department ID to which the access permission belongs, e.g.:
1.2.3. - device_
group_ Sequence[float]id_ sets - Associated asset group ID set.
- device_
id_ Sequence[float]sets - Associated asset ID set.
- max_
access_ floatcredential_ duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max_
file_ floatdown_ size - File transfer download size limit (reserved parameter, not currently used).
- max_
file_ floatup_ size - File transfer upload size limit (reserved parameter, not currently used).
- name str
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user_
group_ Sequence[float]id_ sets - Associated user group ID set.
- user_
id_ Sequence[float]sets - Associated user ID set.
- validate_
from str - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate_
to str - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
- ac
Template List<String>Id Sets - Associated high-risk DB template ID set.
- account
Sets List<String> - Associated account set.
- acl
Id Number - Access permission ID.
- allow
Access BooleanCredential - Whether to allow the use of access credentials. Default is allowed.
- allow
Any BooleanAccount - Whether to allow any account to log in.
- allow
Clip BooleanFile Down - Whether to enable clipboard file download.
- allow
Clip BooleanFile Up - Whether to enable clipboard file upload.
- allow
Clip BooleanText Down - Whether to enable clipboard text (including images) download.
- allow
Clip BooleanText Up - Whether to enable clipboard text (including images) upload.
- allow
Disk BooleanFile Down - Whether to enable RDP disk mapping file download.
- allow
Disk BooleanFile Up - Whether to enable RDP disk mapping file upload.
- allow
Disk BooleanRedirect - Whether to enable disk mapping.
- allow
File BooleanDel - Whether to enable SFTP file deletion.
- allow
File BooleanDown - Whether to enable SFTP file download.
- allow
File BooleanUp - Whether to enable SFTP file upload.
- allow
Keyboard BooleanLogger - Whether to allow keyboard logging.
- allow
Shell BooleanFile Down - Whether to enable rz sz file download.
- allow
Shell BooleanFile Up - Whether to enable rz sz file upload.
- app
Asset List<Number>Id Sets - Associated application asset ID set.
- bh
Acl StringId - ID of the resource.
- cmd
Template List<Number>Id Sets - Associated high-risk command template ID set.
- department
Id String - Department ID to which the access permission belongs, e.g.:
1.2.3. - device
Group List<Number>Id Sets - Associated asset group ID set.
- device
Id List<Number>Sets - Associated asset ID set.
- max
Access NumberCredential Duration - Maximum validity period of access credentials (in seconds). Must be a multiple of 86400 when access credentials are enabled.
- max
File NumberDown Size - File transfer download size limit (reserved parameter, not currently used).
- max
File NumberUp Size - File transfer upload size limit (reserved parameter, not currently used).
- name String
- Access permission name, maximum 32 characters, cannot contain whitespace characters.
- user
Group List<Number>Id Sets - Associated user group ID set.
- user
Id List<Number>Sets - Associated user ID set.
- validate
From String - Access permission effective time in ISO8601 format, e.g.:
2021-09-22T00:00:00+00:00. If not set, the permission is permanently valid. - validate
To String - Access permission expiration time in ISO8601 format, e.g.:
2021-09-23T00:00:00+00:00. If not set, the permission is permanently valid.
Import
BH acl can be imported using the id, e.g.
$ pulumi import tencentcloud:index/bhAcl:BhAcl example 1374
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
tencentcloudTerraform Provider.
published on Friday, Apr 10, 2026 by tencentcloudstack
