1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. BhResource
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.BhResource("example", {
        deployRegion: "ap-guangzhou",
        vpcId: "vpc-q1of50wz",
        subnetId: "subnet-7uhvm46o",
        resourceEdition: "standard",
        resourceNode: 20,
        timeUnit: "m",
        timeSpan: 1,
        payMode: 1,
        autoRenewFlag: 1,
        deployZone: "ap-guangzhou-6",
        cidrBlock: "192.168.11.0/24",
        vpcCidrBlock: "192.168.0.0/16",
        intranetAccess: 1,
        externalAccess: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.BhResource("example",
        deploy_region="ap-guangzhou",
        vpc_id="vpc-q1of50wz",
        subnet_id="subnet-7uhvm46o",
        resource_edition="standard",
        resource_node=20,
        time_unit="m",
        time_span=1,
        pay_mode=1,
        auto_renew_flag=1,
        deploy_zone="ap-guangzhou-6",
        cidr_block="192.168.11.0/24",
        vpc_cidr_block="192.168.0.0/16",
        intranet_access=1,
        external_access=1)
    
    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.NewBhResource(ctx, "example", &tencentcloud.BhResourceArgs{
    			DeployRegion:    pulumi.String("ap-guangzhou"),
    			VpcId:           pulumi.String("vpc-q1of50wz"),
    			SubnetId:        pulumi.String("subnet-7uhvm46o"),
    			ResourceEdition: pulumi.String("standard"),
    			ResourceNode:    pulumi.Float64(20),
    			TimeUnit:        pulumi.String("m"),
    			TimeSpan:        pulumi.Float64(1),
    			PayMode:         pulumi.Float64(1),
    			AutoRenewFlag:   pulumi.Float64(1),
    			DeployZone:      pulumi.String("ap-guangzhou-6"),
    			CidrBlock:       pulumi.String("192.168.11.0/24"),
    			VpcCidrBlock:    pulumi.String("192.168.0.0/16"),
    			IntranetAccess:  pulumi.Float64(1),
    			ExternalAccess:  pulumi.Float64(1),
    		})
    		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.BhResource("example", new()
        {
            DeployRegion = "ap-guangzhou",
            VpcId = "vpc-q1of50wz",
            SubnetId = "subnet-7uhvm46o",
            ResourceEdition = "standard",
            ResourceNode = 20,
            TimeUnit = "m",
            TimeSpan = 1,
            PayMode = 1,
            AutoRenewFlag = 1,
            DeployZone = "ap-guangzhou-6",
            CidrBlock = "192.168.11.0/24",
            VpcCidrBlock = "192.168.0.0/16",
            IntranetAccess = 1,
            ExternalAccess = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.BhResource;
    import com.pulumi.tencentcloud.BhResourceArgs;
    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 BhResource("example", BhResourceArgs.builder()
                .deployRegion("ap-guangzhou")
                .vpcId("vpc-q1of50wz")
                .subnetId("subnet-7uhvm46o")
                .resourceEdition("standard")
                .resourceNode(20.0)
                .timeUnit("m")
                .timeSpan(1.0)
                .payMode(1.0)
                .autoRenewFlag(1.0)
                .deployZone("ap-guangzhou-6")
                .cidrBlock("192.168.11.0/24")
                .vpcCidrBlock("192.168.0.0/16")
                .intranetAccess(1.0)
                .externalAccess(1.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:BhResource
        properties:
          deployRegion: ap-guangzhou
          vpcId: vpc-q1of50wz
          subnetId: subnet-7uhvm46o
          resourceEdition: standard
          resourceNode: 20
          timeUnit: m
          timeSpan: '1'
          payMode: 1
          autoRenewFlag: 1
          deployZone: ap-guangzhou-6
          cidrBlock: 192.168.11.0/24
          vpcCidrBlock: 192.168.0.0/16
          intranetAccess: 1
          externalAccess: 1
    

    Create BhResource Resource

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

    Constructor syntax

    new BhResource(name: string, args: BhResourceArgs, opts?: CustomResourceOptions);
    @overload
    def BhResource(resource_name: str,
                   args: BhResourceArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def BhResource(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   pay_mode: Optional[float] = None,
                   resource_node: Optional[float] = None,
                   cidr_block: Optional[str] = None,
                   resource_edition: Optional[str] = None,
                   deploy_region: Optional[str] = None,
                   deploy_zone: Optional[str] = None,
                   vpc_id: Optional[str] = None,
                   vpc_cidr_block: Optional[str] = None,
                   time_unit: Optional[str] = None,
                   auto_renew_flag: Optional[float] = None,
                   time_span: Optional[float] = None,
                   subnet_id: Optional[str] = None,
                   share_clb: Optional[float] = None,
                   client_access: Optional[float] = None,
                   bh_resource_id: Optional[str] = None,
                   trial: Optional[float] = None,
                   intranet_access: Optional[float] = None,
                   external_access: Optional[float] = None,
                   web_access: Optional[float] = None)
    func NewBhResource(ctx *Context, name string, args BhResourceArgs, opts ...ResourceOption) (*BhResource, error)
    public BhResource(string name, BhResourceArgs args, CustomResourceOptions? opts = null)
    public BhResource(String name, BhResourceArgs args)
    public BhResource(String name, BhResourceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:BhResource
    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 BhResourceArgs
    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 BhResourceArgs
    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 BhResourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BhResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BhResourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AutoRenewFlag double
    Auto-renewal.
    CidrBlock string
    CIDR block of the bastion host.
    DeployRegion string
    Deployment region.
    DeployZone string
    Deployment zone.
    PayMode double
    Billing mode, 1 for prepaid.
    ResourceEdition string
    Resource type. Values: standard/pro.
    ResourceNode double
    Number of resource nodes.
    SubnetId string
    Subnet ID for deploying the bastion host.
    TimeSpan double
    Billing duration.
    TimeUnit string
    Billing cycle.
    VpcCidrBlock string
    The network segment corresponding to the VPC that needs to activate the service.
    VpcId string
    VPC ID for deploying the bastion host.
    BhResourceId string
    ID of the resource.
    ClientAccess double
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    ExternalAccess double
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    IntranetAccess double
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    ShareClb double
    Whether to share CLB, 0: not shared, 1: shared.
    Trial double
    0 for non-trial version, 1 for trial version.
    WebAccess double
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    AutoRenewFlag float64
    Auto-renewal.
    CidrBlock string
    CIDR block of the bastion host.
    DeployRegion string
    Deployment region.
    DeployZone string
    Deployment zone.
    PayMode float64
    Billing mode, 1 for prepaid.
    ResourceEdition string
    Resource type. Values: standard/pro.
    ResourceNode float64
    Number of resource nodes.
    SubnetId string
    Subnet ID for deploying the bastion host.
    TimeSpan float64
    Billing duration.
    TimeUnit string
    Billing cycle.
    VpcCidrBlock string
    The network segment corresponding to the VPC that needs to activate the service.
    VpcId string
    VPC ID for deploying the bastion host.
    BhResourceId string
    ID of the resource.
    ClientAccess float64
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    ExternalAccess float64
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    IntranetAccess float64
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    ShareClb float64
    Whether to share CLB, 0: not shared, 1: shared.
    Trial float64
    0 for non-trial version, 1 for trial version.
    WebAccess float64
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    autoRenewFlag Double
    Auto-renewal.
    cidrBlock String
    CIDR block of the bastion host.
    deployRegion String
    Deployment region.
    deployZone String
    Deployment zone.
    payMode Double
    Billing mode, 1 for prepaid.
    resourceEdition String
    Resource type. Values: standard/pro.
    resourceNode Double
    Number of resource nodes.
    subnetId String
    Subnet ID for deploying the bastion host.
    timeSpan Double
    Billing duration.
    timeUnit String
    Billing cycle.
    vpcCidrBlock String
    The network segment corresponding to the VPC that needs to activate the service.
    vpcId String
    VPC ID for deploying the bastion host.
    bhResourceId String
    ID of the resource.
    clientAccess Double
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    externalAccess Double
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranetAccess Double
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    shareClb Double
    Whether to share CLB, 0: not shared, 1: shared.
    trial Double
    0 for non-trial version, 1 for trial version.
    webAccess Double
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    autoRenewFlag number
    Auto-renewal.
    cidrBlock string
    CIDR block of the bastion host.
    deployRegion string
    Deployment region.
    deployZone string
    Deployment zone.
    payMode number
    Billing mode, 1 for prepaid.
    resourceEdition string
    Resource type. Values: standard/pro.
    resourceNode number
    Number of resource nodes.
    subnetId string
    Subnet ID for deploying the bastion host.
    timeSpan number
    Billing duration.
    timeUnit string
    Billing cycle.
    vpcCidrBlock string
    The network segment corresponding to the VPC that needs to activate the service.
    vpcId string
    VPC ID for deploying the bastion host.
    bhResourceId string
    ID of the resource.
    clientAccess number
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    externalAccess number
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranetAccess number
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    shareClb number
    Whether to share CLB, 0: not shared, 1: shared.
    trial number
    0 for non-trial version, 1 for trial version.
    webAccess number
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    auto_renew_flag float
    Auto-renewal.
    cidr_block str
    CIDR block of the bastion host.
    deploy_region str
    Deployment region.
    deploy_zone str
    Deployment zone.
    pay_mode float
    Billing mode, 1 for prepaid.
    resource_edition str
    Resource type. Values: standard/pro.
    resource_node float
    Number of resource nodes.
    subnet_id str
    Subnet ID for deploying the bastion host.
    time_span float
    Billing duration.
    time_unit str
    Billing cycle.
    vpc_cidr_block str
    The network segment corresponding to the VPC that needs to activate the service.
    vpc_id str
    VPC ID for deploying the bastion host.
    bh_resource_id str
    ID of the resource.
    client_access float
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    external_access float
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranet_access float
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    share_clb float
    Whether to share CLB, 0: not shared, 1: shared.
    trial float
    0 for non-trial version, 1 for trial version.
    web_access float
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    autoRenewFlag Number
    Auto-renewal.
    cidrBlock String
    CIDR block of the bastion host.
    deployRegion String
    Deployment region.
    deployZone String
    Deployment zone.
    payMode Number
    Billing mode, 1 for prepaid.
    resourceEdition String
    Resource type. Values: standard/pro.
    resourceNode Number
    Number of resource nodes.
    subnetId String
    Subnet ID for deploying the bastion host.
    timeSpan Number
    Billing duration.
    timeUnit String
    Billing cycle.
    vpcCidrBlock String
    The network segment corresponding to the VPC that needs to activate the service.
    vpcId String
    VPC ID for deploying the bastion host.
    bhResourceId String
    ID of the resource.
    clientAccess Number
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    externalAccess Number
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranetAccess Number
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    shareClb Number
    Whether to share CLB, 0: not shared, 1: shared.
    trial Number
    0 for non-trial version, 1 for trial version.
    webAccess Number
    0 - Disable web access bastion host; 1 - Enable web access bastion host.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceId string
    Resource instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceId string
    Resource instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceId String
    Resource instance ID.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceId string
    Resource instance ID.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_id str
    Resource instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceId String
    Resource instance ID.

    Look up Existing BhResource Resource

    Get an existing BhResource 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?: BhResourceState, opts?: CustomResourceOptions): BhResource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew_flag: Optional[float] = None,
            bh_resource_id: Optional[str] = None,
            cidr_block: Optional[str] = None,
            client_access: Optional[float] = None,
            deploy_region: Optional[str] = None,
            deploy_zone: Optional[str] = None,
            external_access: Optional[float] = None,
            intranet_access: Optional[float] = None,
            pay_mode: Optional[float] = None,
            resource_edition: Optional[str] = None,
            resource_id: Optional[str] = None,
            resource_node: Optional[float] = None,
            share_clb: Optional[float] = None,
            subnet_id: Optional[str] = None,
            time_span: Optional[float] = None,
            time_unit: Optional[str] = None,
            trial: Optional[float] = None,
            vpc_cidr_block: Optional[str] = None,
            vpc_id: Optional[str] = None,
            web_access: Optional[float] = None) -> BhResource
    func GetBhResource(ctx *Context, name string, id IDInput, state *BhResourceState, opts ...ResourceOption) (*BhResource, error)
    public static BhResource Get(string name, Input<string> id, BhResourceState? state, CustomResourceOptions? opts = null)
    public static BhResource get(String name, Output<String> id, BhResourceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:BhResource    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:
    AutoRenewFlag double
    Auto-renewal.
    BhResourceId string
    ID of the resource.
    CidrBlock string
    CIDR block of the bastion host.
    ClientAccess double
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    DeployRegion string
    Deployment region.
    DeployZone string
    Deployment zone.
    ExternalAccess double
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    IntranetAccess double
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    PayMode double
    Billing mode, 1 for prepaid.
    ResourceEdition string
    Resource type. Values: standard/pro.
    ResourceId string
    Resource instance ID.
    ResourceNode double
    Number of resource nodes.
    ShareClb double
    Whether to share CLB, 0: not shared, 1: shared.
    SubnetId string
    Subnet ID for deploying the bastion host.
    TimeSpan double
    Billing duration.
    TimeUnit string
    Billing cycle.
    Trial double
    0 for non-trial version, 1 for trial version.
    VpcCidrBlock string
    The network segment corresponding to the VPC that needs to activate the service.
    VpcId string
    VPC ID for deploying the bastion host.
    WebAccess double
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    AutoRenewFlag float64
    Auto-renewal.
    BhResourceId string
    ID of the resource.
    CidrBlock string
    CIDR block of the bastion host.
    ClientAccess float64
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    DeployRegion string
    Deployment region.
    DeployZone string
    Deployment zone.
    ExternalAccess float64
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    IntranetAccess float64
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    PayMode float64
    Billing mode, 1 for prepaid.
    ResourceEdition string
    Resource type. Values: standard/pro.
    ResourceId string
    Resource instance ID.
    ResourceNode float64
    Number of resource nodes.
    ShareClb float64
    Whether to share CLB, 0: not shared, 1: shared.
    SubnetId string
    Subnet ID for deploying the bastion host.
    TimeSpan float64
    Billing duration.
    TimeUnit string
    Billing cycle.
    Trial float64
    0 for non-trial version, 1 for trial version.
    VpcCidrBlock string
    The network segment corresponding to the VPC that needs to activate the service.
    VpcId string
    VPC ID for deploying the bastion host.
    WebAccess float64
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    autoRenewFlag Double
    Auto-renewal.
    bhResourceId String
    ID of the resource.
    cidrBlock String
    CIDR block of the bastion host.
    clientAccess Double
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    deployRegion String
    Deployment region.
    deployZone String
    Deployment zone.
    externalAccess Double
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranetAccess Double
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    payMode Double
    Billing mode, 1 for prepaid.
    resourceEdition String
    Resource type. Values: standard/pro.
    resourceId String
    Resource instance ID.
    resourceNode Double
    Number of resource nodes.
    shareClb Double
    Whether to share CLB, 0: not shared, 1: shared.
    subnetId String
    Subnet ID for deploying the bastion host.
    timeSpan Double
    Billing duration.
    timeUnit String
    Billing cycle.
    trial Double
    0 for non-trial version, 1 for trial version.
    vpcCidrBlock String
    The network segment corresponding to the VPC that needs to activate the service.
    vpcId String
    VPC ID for deploying the bastion host.
    webAccess Double
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    autoRenewFlag number
    Auto-renewal.
    bhResourceId string
    ID of the resource.
    cidrBlock string
    CIDR block of the bastion host.
    clientAccess number
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    deployRegion string
    Deployment region.
    deployZone string
    Deployment zone.
    externalAccess number
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranetAccess number
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    payMode number
    Billing mode, 1 for prepaid.
    resourceEdition string
    Resource type. Values: standard/pro.
    resourceId string
    Resource instance ID.
    resourceNode number
    Number of resource nodes.
    shareClb number
    Whether to share CLB, 0: not shared, 1: shared.
    subnetId string
    Subnet ID for deploying the bastion host.
    timeSpan number
    Billing duration.
    timeUnit string
    Billing cycle.
    trial number
    0 for non-trial version, 1 for trial version.
    vpcCidrBlock string
    The network segment corresponding to the VPC that needs to activate the service.
    vpcId string
    VPC ID for deploying the bastion host.
    webAccess number
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    auto_renew_flag float
    Auto-renewal.
    bh_resource_id str
    ID of the resource.
    cidr_block str
    CIDR block of the bastion host.
    client_access float
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    deploy_region str
    Deployment region.
    deploy_zone str
    Deployment zone.
    external_access float
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranet_access float
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    pay_mode float
    Billing mode, 1 for prepaid.
    resource_edition str
    Resource type. Values: standard/pro.
    resource_id str
    Resource instance ID.
    resource_node float
    Number of resource nodes.
    share_clb float
    Whether to share CLB, 0: not shared, 1: shared.
    subnet_id str
    Subnet ID for deploying the bastion host.
    time_span float
    Billing duration.
    time_unit str
    Billing cycle.
    trial float
    0 for non-trial version, 1 for trial version.
    vpc_cidr_block str
    The network segment corresponding to the VPC that needs to activate the service.
    vpc_id str
    VPC ID for deploying the bastion host.
    web_access float
    0 - Disable web access bastion host; 1 - Enable web access bastion host.
    autoRenewFlag Number
    Auto-renewal.
    bhResourceId String
    ID of the resource.
    cidrBlock String
    CIDR block of the bastion host.
    clientAccess Number
    0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host.
    deployRegion String
    Deployment region.
    deployZone String
    Deployment zone.
    externalAccess Number
    0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host.
    intranetAccess Number
    0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host.
    payMode Number
    Billing mode, 1 for prepaid.
    resourceEdition String
    Resource type. Values: standard/pro.
    resourceId String
    Resource instance ID.
    resourceNode Number
    Number of resource nodes.
    shareClb Number
    Whether to share CLB, 0: not shared, 1: shared.
    subnetId String
    Subnet ID for deploying the bastion host.
    timeSpan Number
    Billing duration.
    timeUnit String
    Billing cycle.
    trial Number
    0 for non-trial version, 1 for trial version.
    vpcCidrBlock String
    The network segment corresponding to the VPC that needs to activate the service.
    vpcId String
    VPC ID for deploying the bastion host.
    webAccess Number
    0 - Disable web access bastion host; 1 - Enable web access bastion host.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate