tencentcloud.CvmChcConfig
Explore with Pulumi AI
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:
- Chc
Id string - CHC host ID.
- Bmc
Security List<string>Group Ids - Out-of-band network security group list.
- Bmc
User string - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- Bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud - Out-of-band network information.
- Cvm
Chc stringConfig Id - ID of the resource.
- Deploy
Security List<string>Group Ids - Deployment network security group list.
- Deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud - Deployment network information.
- Device
Type string - Server type.
- Instance
Name string - CHC host name.
- Password string
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- Chc
Id string - CHC host ID.
- Bmc
Security []stringGroup Ids - Out-of-band network security group list.
- Bmc
User string - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- Bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud Args - Out-of-band network information.
- Cvm
Chc stringConfig Id - ID of the resource.
- Deploy
Security []stringGroup Ids - Deployment network security group list.
- Deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud Args - Deployment network information.
- Device
Type string - Server type.
- Instance
Name string - CHC host name.
- Password string
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- chc
Id String - CHC host ID.
- bmc
Security List<String>Group Ids - Out-of-band network security group list.
- bmc
User String - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud - Out-of-band network information.
- cvm
Chc StringConfig Id - ID of the resource.
- deploy
Security List<String>Group Ids - Deployment network security group list.
- deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud - Deployment network information.
- device
Type String - Server type.
- instance
Name String - CHC host name.
- password String
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- chc
Id string - CHC host ID.
- bmc
Security string[]Group Ids - Out-of-band network security group list.
- bmc
User string - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud - Out-of-band network information.
- cvm
Chc stringConfig Id - ID of the resource.
- deploy
Security string[]Group Ids - Deployment network security group list.
- deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud - Deployment network information.
- device
Type string - Server type.
- instance
Name string - CHC host name.
- password string
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- chc_
id str - CHC host ID.
- bmc_
security_ Sequence[str]group_ ids - Out-of-band network security group list.
- bmc_
user str - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc_
virtual_ Cvmprivate_ cloud Chc Config Bmc Virtual Private Cloud Args - Out-of-band network information.
- cvm_
chc_ strconfig_ id - ID of the resource.
- deploy_
security_ Sequence[str]group_ ids - Deployment network security group list.
- deploy_
virtual_ Cvmprivate_ cloud Chc Config Deploy Virtual Private Cloud Args - 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 (()`~!@#$%^&*-+=_|{}).
- chc
Id String - CHC host ID.
- bmc
Security List<String>Group Ids - Out-of-band network security group list.
- bmc
User String - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc
Virtual Property MapPrivate Cloud - Out-of-band network information.
- cvm
Chc StringConfig Id - ID of the resource.
- deploy
Security List<String>Group Ids - Deployment network security group list.
- deploy
Virtual Property MapPrivate Cloud - Deployment network information.
- device
Type String - Server type.
- instance
Name String - CHC host name.
- password String
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
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.
- Bmc
Security List<string>Group Ids - Out-of-band network security group list.
- Bmc
User string - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- Bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud - Out-of-band network information.
- Chc
Id string - CHC host ID.
- Cvm
Chc stringConfig Id - ID of the resource.
- Deploy
Security List<string>Group Ids - Deployment network security group list.
- Deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud - Deployment network information.
- Device
Type string - Server type.
- Instance
Name string - CHC host name.
- Password string
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- Bmc
Security []stringGroup Ids - Out-of-band network security group list.
- Bmc
User string - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- Bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud Args - Out-of-band network information.
- Chc
Id string - CHC host ID.
- Cvm
Chc stringConfig Id - ID of the resource.
- Deploy
Security []stringGroup Ids - Deployment network security group list.
- Deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud Args - Deployment network information.
- Device
Type string - Server type.
- Instance
Name string - CHC host name.
- Password string
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- bmc
Security List<String>Group Ids - Out-of-band network security group list.
- bmc
User String - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud - Out-of-band network information.
- chc
Id String - CHC host ID.
- cvm
Chc StringConfig Id - ID of the resource.
- deploy
Security List<String>Group Ids - Deployment network security group list.
- deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud - Deployment network information.
- device
Type String - Server type.
- instance
Name String - CHC host name.
- password String
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- bmc
Security string[]Group Ids - Out-of-band network security group list.
- bmc
User string - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc
Virtual CvmPrivate Cloud Chc Config Bmc Virtual Private Cloud - Out-of-band network information.
- chc
Id string - CHC host ID.
- cvm
Chc stringConfig Id - ID of the resource.
- deploy
Security string[]Group Ids - Deployment network security group list.
- deploy
Virtual CvmPrivate Cloud Chc Config Deploy Virtual Private Cloud - Deployment network information.
- device
Type string - Server type.
- instance
Name string - CHC host name.
- password string
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
- bmc_
security_ Sequence[str]group_ ids - Out-of-band network security group list.
- bmc_
user str - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc_
virtual_ Cvmprivate_ cloud Chc Config Bmc Virtual Private Cloud Args - Out-of-band network information.
- chc_
id str - CHC host ID.
- cvm_
chc_ strconfig_ id - ID of the resource.
- deploy_
security_ Sequence[str]group_ ids - Deployment network security group list.
- deploy_
virtual_ Cvmprivate_ cloud Chc Config Deploy Virtual Private Cloud Args - 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 (()`~!@#$%^&*-+=_|{}).
- bmc
Security List<String>Group Ids - Out-of-band network security group list.
- bmc
User String - Valid characters: Letters, numbers, hyphens and underscores. Only set when update password.
- bmc
Virtual Property MapPrivate Cloud - Out-of-band network information.
- chc
Id String - CHC host ID.
- cvm
Chc StringConfig Id - ID of the resource.
- deploy
Security List<String>Group Ids - Deployment network security group list.
- deploy
Virtual Property MapPrivate Cloud - Deployment network information.
- device
Type String - Server type.
- instance
Name String - CHC host name.
- password String
- The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
Supporting Types
CvmChcConfigBmcVirtualPrivateCloud, CvmChcConfigBmcVirtualPrivateCloudArgs
- Subnet
Id 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.
- Vpc
Id 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.
- As
Vpc boolGateway - 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.
- Ipv6Address
Count double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip List<string>Addresses - 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 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.
- Vpc
Id 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.
- As
Vpc boolGateway - 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.
- Ipv6Address
Count float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip []stringAddresses - 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 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.
- vpc
Id 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.
- as
Vpc BooleanGateway - 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.
- ipv6Address
Count Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - 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 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.
- vpc
Id 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.
- as
Vpc booleanGateway - 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.
- ipv6Address
Count number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip string[]Addresses - 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_ boolgateway - 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_ floatcount - Number of IPv6 addresses randomly generated for the ENI.
- private_
ip_ Sequence[str]addresses - 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 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.
- vpc
Id 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.
- as
Vpc BooleanGateway - 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.
- ipv6Address
Count Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - 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
- Subnet
Id 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.
- Vpc
Id 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.
- As
Vpc boolGateway - 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.
- Ipv6Address
Count double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip List<string>Addresses - 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 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.
- Vpc
Id 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.
- As
Vpc boolGateway - 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.
- Ipv6Address
Count float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip []stringAddresses - 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 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.
- vpc
Id 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.
- as
Vpc BooleanGateway - 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.
- ipv6Address
Count Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - 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 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.
- vpc
Id 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.
- as
Vpc booleanGateway - 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.
- ipv6Address
Count number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip string[]Addresses - 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_ boolgateway - 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_ floatcount - Number of IPv6 addresses randomly generated for the ENI.
- private_
ip_ Sequence[str]addresses - 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 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.
- vpc
Id 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.
- as
Vpc BooleanGateway - 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.
- ipv6Address
Count Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - 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.