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

tencentcloud.CvmChcConfig

Explore with Pulumi AI

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

    Provides a resource to create a cvm chc_config

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const chcConfig = new tencentcloud.CvmChcConfig("chcConfig", {
        bmcSecurityGroupIds: ["sg-xxxxxx"],
        bmcUser: "admin",
        bmcVirtualPrivateCloud: {
            subnetId: "subnet-xxxxxx",
            vpcId: "vpc-xxxxxx",
        },
        chcId: "chc-xxxxxx",
        deploySecurityGroupIds: ["sg-xxxxxx"],
        deployVirtualPrivateCloud: {
            subnetId: "subnet-xxxxxx",
            vpcId: "vpc-xxxxxx",
        },
        instanceName: "xxxxxx",
        password: "xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    chc_config = tencentcloud.CvmChcConfig("chcConfig",
        bmc_security_group_ids=["sg-xxxxxx"],
        bmc_user="admin",
        bmc_virtual_private_cloud={
            "subnet_id": "subnet-xxxxxx",
            "vpc_id": "vpc-xxxxxx",
        },
        chc_id="chc-xxxxxx",
        deploy_security_group_ids=["sg-xxxxxx"],
        deploy_virtual_private_cloud={
            "subnet_id": "subnet-xxxxxx",
            "vpc_id": "vpc-xxxxxx",
        },
        instance_name="xxxxxx",
        password="xxxxxx")
    
    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.NewCvmChcConfig(ctx, "chcConfig", &tencentcloud.CvmChcConfigArgs{
    			BmcSecurityGroupIds: pulumi.StringArray{
    				pulumi.String("sg-xxxxxx"),
    			},
    			BmcUser: pulumi.String("admin"),
    			BmcVirtualPrivateCloud: &tencentcloud.CvmChcConfigBmcVirtualPrivateCloudArgs{
    				SubnetId: pulumi.String("subnet-xxxxxx"),
    				VpcId:    pulumi.String("vpc-xxxxxx"),
    			},
    			ChcId: pulumi.String("chc-xxxxxx"),
    			DeploySecurityGroupIds: pulumi.StringArray{
    				pulumi.String("sg-xxxxxx"),
    			},
    			DeployVirtualPrivateCloud: &tencentcloud.CvmChcConfigDeployVirtualPrivateCloudArgs{
    				SubnetId: pulumi.String("subnet-xxxxxx"),
    				VpcId:    pulumi.String("vpc-xxxxxx"),
    			},
    			InstanceName: pulumi.String("xxxxxx"),
    			Password:     pulumi.String("xxxxxx"),
    		})
    		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 chcConfig = new Tencentcloud.CvmChcConfig("chcConfig", new()
        {
            BmcSecurityGroupIds = new[]
            {
                "sg-xxxxxx",
            },
            BmcUser = "admin",
            BmcVirtualPrivateCloud = new Tencentcloud.Inputs.CvmChcConfigBmcVirtualPrivateCloudArgs
            {
                SubnetId = "subnet-xxxxxx",
                VpcId = "vpc-xxxxxx",
            },
            ChcId = "chc-xxxxxx",
            DeploySecurityGroupIds = new[]
            {
                "sg-xxxxxx",
            },
            DeployVirtualPrivateCloud = new Tencentcloud.Inputs.CvmChcConfigDeployVirtualPrivateCloudArgs
            {
                SubnetId = "subnet-xxxxxx",
                VpcId = "vpc-xxxxxx",
            },
            InstanceName = "xxxxxx",
            Password = "xxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CvmChcConfig;
    import com.pulumi.tencentcloud.CvmChcConfigArgs;
    import com.pulumi.tencentcloud.inputs.CvmChcConfigBmcVirtualPrivateCloudArgs;
    import com.pulumi.tencentcloud.inputs.CvmChcConfigDeployVirtualPrivateCloudArgs;
    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 chcConfig = new CvmChcConfig("chcConfig", CvmChcConfigArgs.builder()
                .bmcSecurityGroupIds("sg-xxxxxx")
                .bmcUser("admin")
                .bmcVirtualPrivateCloud(CvmChcConfigBmcVirtualPrivateCloudArgs.builder()
                    .subnetId("subnet-xxxxxx")
                    .vpcId("vpc-xxxxxx")
                    .build())
                .chcId("chc-xxxxxx")
                .deploySecurityGroupIds("sg-xxxxxx")
                .deployVirtualPrivateCloud(CvmChcConfigDeployVirtualPrivateCloudArgs.builder()
                    .subnetId("subnet-xxxxxx")
                    .vpcId("vpc-xxxxxx")
                    .build())
                .instanceName("xxxxxx")
                .password("xxxxxx")
                .build());
    
        }
    }
    
    resources:
      chcConfig:
        type: tencentcloud:CvmChcConfig
        properties:
          bmcSecurityGroupIds:
            - sg-xxxxxx
          bmcUser: admin
          bmcVirtualPrivateCloud:
            subnetId: subnet-xxxxxx
            vpcId: vpc-xxxxxx
          chcId: chc-xxxxxx
          deploySecurityGroupIds:
            - sg-xxxxxx
          deployVirtualPrivateCloud:
            subnetId: subnet-xxxxxx
            vpcId: vpc-xxxxxx
          instanceName: xxxxxx
          password: xxxxxx
    

    Create CvmChcConfig Resource

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

    Constructor syntax

    new CvmChcConfig(name: string, args: CvmChcConfigArgs, opts?: CustomResourceOptions);
    @overload
    def CvmChcConfig(resource_name: str,
                     args: CvmChcConfigArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CvmChcConfig(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     chc_id: Optional[str] = None,
                     bmc_security_group_ids: Optional[Sequence[str]] = None,
                     bmc_user: Optional[str] = None,
                     bmc_virtual_private_cloud: Optional[CvmChcConfigBmcVirtualPrivateCloudArgs] = None,
                     cvm_chc_config_id: Optional[str] = None,
                     deploy_security_group_ids: Optional[Sequence[str]] = None,
                     deploy_virtual_private_cloud: Optional[CvmChcConfigDeployVirtualPrivateCloudArgs] = None,
                     device_type: Optional[str] = None,
                     instance_name: Optional[str] = None,
                     password: Optional[str] = None)
    func NewCvmChcConfig(ctx *Context, name string, args CvmChcConfigArgs, opts ...ResourceOption) (*CvmChcConfig, error)
    public CvmChcConfig(string name, CvmChcConfigArgs args, CustomResourceOptions? opts = null)
    public CvmChcConfig(String name, CvmChcConfigArgs args)
    public CvmChcConfig(String name, CvmChcConfigArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CvmChcConfig
    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 CvmChcConfigArgs
    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 CvmChcConfigArgs
    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 CvmChcConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CvmChcConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CvmChcConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ChcId string
    CHC host ID.
    BmcSecurityGroupIds List<string>
    Out-of-band network security group list.
    BmcUser string
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    BmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloud
    Out-of-band network information.
    CvmChcConfigId string
    ID of the resource.
    DeploySecurityGroupIds List<string>
    Deployment network security group list.
    DeployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloud
    Deployment network information.
    DeviceType string
    Server type.
    InstanceName string
    CHC host name.
    Password string
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    ChcId string
    CHC host ID.
    BmcSecurityGroupIds []string
    Out-of-band network security group list.
    BmcUser string
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    BmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloudArgs
    Out-of-band network information.
    CvmChcConfigId string
    ID of the resource.
    DeploySecurityGroupIds []string
    Deployment network security group list.
    DeployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloudArgs
    Deployment network information.
    DeviceType string
    Server type.
    InstanceName string
    CHC host name.
    Password string
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    chcId String
    CHC host ID.
    bmcSecurityGroupIds List<String>
    Out-of-band network security group list.
    bmcUser String
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloud
    Out-of-band network information.
    cvmChcConfigId String
    ID of the resource.
    deploySecurityGroupIds List<String>
    Deployment network security group list.
    deployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloud
    Deployment network information.
    deviceType String
    Server type.
    instanceName String
    CHC host name.
    password String
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    chcId string
    CHC host ID.
    bmcSecurityGroupIds string[]
    Out-of-band network security group list.
    bmcUser string
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloud
    Out-of-band network information.
    cvmChcConfigId string
    ID of the resource.
    deploySecurityGroupIds string[]
    Deployment network security group list.
    deployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloud
    Deployment network information.
    deviceType string
    Server type.
    instanceName string
    CHC host name.
    password string
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    chc_id str
    CHC host ID.
    bmc_security_group_ids Sequence[str]
    Out-of-band network security group list.
    bmc_user str
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmc_virtual_private_cloud CvmChcConfigBmcVirtualPrivateCloudArgs
    Out-of-band network information.
    cvm_chc_config_id str
    ID of the resource.
    deploy_security_group_ids Sequence[str]
    Deployment network security group list.
    deploy_virtual_private_cloud CvmChcConfigDeployVirtualPrivateCloudArgs
    Deployment network information.
    device_type str
    Server type.
    instance_name str
    CHC host name.
    password str
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    chcId String
    CHC host ID.
    bmcSecurityGroupIds List<String>
    Out-of-band network security group list.
    bmcUser String
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmcVirtualPrivateCloud Property Map
    Out-of-band network information.
    cvmChcConfigId String
    ID of the resource.
    deploySecurityGroupIds List<String>
    Deployment network security group list.
    deployVirtualPrivateCloud Property Map
    Deployment network information.
    deviceType String
    Server type.
    instanceName String
    CHC host name.
    password String
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CvmChcConfig 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 CvmChcConfig Resource

    Get an existing CvmChcConfig 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?: CvmChcConfigState, opts?: CustomResourceOptions): CvmChcConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bmc_security_group_ids: Optional[Sequence[str]] = None,
            bmc_user: Optional[str] = None,
            bmc_virtual_private_cloud: Optional[CvmChcConfigBmcVirtualPrivateCloudArgs] = None,
            chc_id: Optional[str] = None,
            cvm_chc_config_id: Optional[str] = None,
            deploy_security_group_ids: Optional[Sequence[str]] = None,
            deploy_virtual_private_cloud: Optional[CvmChcConfigDeployVirtualPrivateCloudArgs] = None,
            device_type: Optional[str] = None,
            instance_name: Optional[str] = None,
            password: Optional[str] = None) -> CvmChcConfig
    func GetCvmChcConfig(ctx *Context, name string, id IDInput, state *CvmChcConfigState, opts ...ResourceOption) (*CvmChcConfig, error)
    public static CvmChcConfig Get(string name, Input<string> id, CvmChcConfigState? state, CustomResourceOptions? opts = null)
    public static CvmChcConfig get(String name, Output<String> id, CvmChcConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CvmChcConfig    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:
    BmcSecurityGroupIds List<string>
    Out-of-band network security group list.
    BmcUser string
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    BmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloud
    Out-of-band network information.
    ChcId string
    CHC host ID.
    CvmChcConfigId string
    ID of the resource.
    DeploySecurityGroupIds List<string>
    Deployment network security group list.
    DeployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloud
    Deployment network information.
    DeviceType string
    Server type.
    InstanceName string
    CHC host name.
    Password string
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    BmcSecurityGroupIds []string
    Out-of-band network security group list.
    BmcUser string
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    BmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloudArgs
    Out-of-band network information.
    ChcId string
    CHC host ID.
    CvmChcConfigId string
    ID of the resource.
    DeploySecurityGroupIds []string
    Deployment network security group list.
    DeployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloudArgs
    Deployment network information.
    DeviceType string
    Server type.
    InstanceName string
    CHC host name.
    Password string
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    bmcSecurityGroupIds List<String>
    Out-of-band network security group list.
    bmcUser String
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloud
    Out-of-band network information.
    chcId String
    CHC host ID.
    cvmChcConfigId String
    ID of the resource.
    deploySecurityGroupIds List<String>
    Deployment network security group list.
    deployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloud
    Deployment network information.
    deviceType String
    Server type.
    instanceName String
    CHC host name.
    password String
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    bmcSecurityGroupIds string[]
    Out-of-band network security group list.
    bmcUser string
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmcVirtualPrivateCloud CvmChcConfigBmcVirtualPrivateCloud
    Out-of-band network information.
    chcId string
    CHC host ID.
    cvmChcConfigId string
    ID of the resource.
    deploySecurityGroupIds string[]
    Deployment network security group list.
    deployVirtualPrivateCloud CvmChcConfigDeployVirtualPrivateCloud
    Deployment network information.
    deviceType string
    Server type.
    instanceName string
    CHC host name.
    password string
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    bmc_security_group_ids Sequence[str]
    Out-of-band network security group list.
    bmc_user str
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmc_virtual_private_cloud CvmChcConfigBmcVirtualPrivateCloudArgs
    Out-of-band network information.
    chc_id str
    CHC host ID.
    cvm_chc_config_id str
    ID of the resource.
    deploy_security_group_ids Sequence[str]
    Deployment network security group list.
    deploy_virtual_private_cloud CvmChcConfigDeployVirtualPrivateCloudArgs
    Deployment network information.
    device_type str
    Server type.
    instance_name str
    CHC host name.
    password str
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).
    bmcSecurityGroupIds List<String>
    Out-of-band network security group list.
    bmcUser String
    Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
    bmcVirtualPrivateCloud Property Map
    Out-of-band network information.
    chcId String
    CHC host ID.
    cvmChcConfigId String
    ID of the resource.
    deploySecurityGroupIds List<String>
    Deployment network security group list.
    deployVirtualPrivateCloud Property Map
    Deployment network information.
    deviceType String
    Server type.
    instanceName String
    CHC host name.
    password String
    The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&amp;*-+=_|{}).

    Supporting Types

    CvmChcConfigBmcVirtualPrivateCloud, CvmChcConfigBmcVirtualPrivateCloudArgs

    SubnetId string
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    VpcId string
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    AsVpcGateway bool
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    Ipv6AddressCount double
    Number of IPv6 addresses randomly generated for the ENI.
    PrivateIpAddresses List<string>
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    SubnetId string
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    VpcId string
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    AsVpcGateway bool
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    Ipv6AddressCount float64
    Number of IPv6 addresses randomly generated for the ENI.
    PrivateIpAddresses []string
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnetId String
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpcId String
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    asVpcGateway Boolean
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6AddressCount Double
    Number of IPv6 addresses randomly generated for the ENI.
    privateIpAddresses List<String>
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnetId string
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpcId string
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    asVpcGateway boolean
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6AddressCount number
    Number of IPv6 addresses randomly generated for the ENI.
    privateIpAddresses string[]
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnet_id str
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpc_id str
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    as_vpc_gateway bool
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6_address_count float
    Number of IPv6 addresses randomly generated for the ENI.
    private_ip_addresses Sequence[str]
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnetId String
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpcId String
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    asVpcGateway Boolean
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6AddressCount Number
    Number of IPv6 addresses randomly generated for the ENI.
    privateIpAddresses List<String>
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.

    CvmChcConfigDeployVirtualPrivateCloud, CvmChcConfigDeployVirtualPrivateCloudArgs

    SubnetId string
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    VpcId string
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    AsVpcGateway bool
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    Ipv6AddressCount double
    Number of IPv6 addresses randomly generated for the ENI.
    PrivateIpAddresses List<string>
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    SubnetId string
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    VpcId string
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    AsVpcGateway bool
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    Ipv6AddressCount float64
    Number of IPv6 addresses randomly generated for the ENI.
    PrivateIpAddresses []string
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnetId String
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpcId String
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    asVpcGateway Boolean
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6AddressCount Double
    Number of IPv6 addresses randomly generated for the ENI.
    privateIpAddresses List<String>
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnetId string
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpcId string
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    asVpcGateway boolean
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6AddressCount number
    Number of IPv6 addresses randomly generated for the ENI.
    privateIpAddresses string[]
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnet_id str
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpc_id str
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    as_vpc_gateway bool
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6_address_count float
    Number of IPv6 addresses randomly generated for the ENI.
    private_ip_addresses Sequence[str]
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
    subnetId String
    VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
    vpcId String
    VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
    asVpcGateway Boolean
    Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
    ipv6AddressCount Number
    Number of IPv6 addresses randomly generated for the ENI.
    privateIpAddresses List<String>
    Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.

    Import

    cvm chc_config can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/cvmChcConfig:CvmChcConfig chc_config chc_config_id
    

    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