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

tencentcloud.getCvmChcHosts

Explore with Pulumi AI

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

    Use this data source to query detailed information of cvm chc_hosts

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const chcHosts = tencentcloud.getCvmChcHosts({
        chcIds: ["chc-xxxxxx"],
        filters: [{
            name: "zone",
            values: ["ap-guangzhou-7"],
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    chc_hosts = tencentcloud.get_cvm_chc_hosts(chc_ids=["chc-xxxxxx"],
        filters=[{
            "name": "zone",
            "values": ["ap-guangzhou-7"],
        }])
    
    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.GetCvmChcHosts(ctx, &tencentcloud.GetCvmChcHostsArgs{
    			ChcIds: []string{
    				"chc-xxxxxx",
    			},
    			Filters: []tencentcloud.GetCvmChcHostsFilter{
    				{
    					Name: "zone",
    					Values: []string{
    						"ap-guangzhou-7",
    					},
    				},
    			},
    		}, nil)
    		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 chcHosts = Tencentcloud.GetCvmChcHosts.Invoke(new()
        {
            ChcIds = new[]
            {
                "chc-xxxxxx",
            },
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetCvmChcHostsFilterInputArgs
                {
                    Name = "zone",
                    Values = new[]
                    {
                        "ap-guangzhou-7",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCvmChcHostsArgs;
    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) {
            final var chcHosts = TencentcloudFunctions.getCvmChcHosts(GetCvmChcHostsArgs.builder()
                .chcIds("chc-xxxxxx")
                .filters(GetCvmChcHostsFilterArgs.builder()
                    .name("zone")
                    .values("ap-guangzhou-7")
                    .build())
                .build());
    
        }
    }
    
    variables:
      chcHosts:
        fn::invoke:
          function: tencentcloud:getCvmChcHosts
          arguments:
            chcIds:
              - chc-xxxxxx
            filters:
              - name: zone
                values:
                  - ap-guangzhou-7
    

    Using getCvmChcHosts

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCvmChcHosts(args: GetCvmChcHostsArgs, opts?: InvokeOptions): Promise<GetCvmChcHostsResult>
    function getCvmChcHostsOutput(args: GetCvmChcHostsOutputArgs, opts?: InvokeOptions): Output<GetCvmChcHostsResult>
    def get_cvm_chc_hosts(chc_ids: Optional[Sequence[str]] = None,
                          filters: Optional[Sequence[GetCvmChcHostsFilter]] = None,
                          id: Optional[str] = None,
                          result_output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCvmChcHostsResult
    def get_cvm_chc_hosts_output(chc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetCvmChcHostsFilterArgs]]]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          result_output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCvmChcHostsResult]
    func GetCvmChcHosts(ctx *Context, args *GetCvmChcHostsArgs, opts ...InvokeOption) (*GetCvmChcHostsResult, error)
    func GetCvmChcHostsOutput(ctx *Context, args *GetCvmChcHostsOutputArgs, opts ...InvokeOption) GetCvmChcHostsResultOutput

    > Note: This function is named GetCvmChcHosts in the Go SDK.

    public static class GetCvmChcHosts 
    {
        public static Task<GetCvmChcHostsResult> InvokeAsync(GetCvmChcHostsArgs args, InvokeOptions? opts = null)
        public static Output<GetCvmChcHostsResult> Invoke(GetCvmChcHostsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCvmChcHostsResult> getCvmChcHosts(GetCvmChcHostsArgs args, InvokeOptions options)
    public static Output<GetCvmChcHostsResult> getCvmChcHosts(GetCvmChcHostsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCvmChcHosts:getCvmChcHosts
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ChcIds List<string>
    CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
    Filters List<GetCvmChcHostsFilter>
    zone Filter by the availability zone, such as ap-guangzhou-1. Valid values: See Regions and Availability Zones.

    • instance-name Filter by the instance name.
    • instance-state Filter by the instance status. For status details, see InstanceStatus.
    • device-type Filter by the device type.
    • vpc-id Filter by the unique VPC ID.
    • subnet-id Filter by the unique VPC subnet ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ChcIds []string
    CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
    Filters []GetCvmChcHostsFilter
    zone Filter by the availability zone, such as ap-guangzhou-1. Valid values: See Regions and Availability Zones.

    • instance-name Filter by the instance name.
    • instance-state Filter by the instance status. For status details, see InstanceStatus.
    • device-type Filter by the device type.
    • vpc-id Filter by the unique VPC ID.
    • subnet-id Filter by the unique VPC subnet ID.
    Id string
    ResultOutputFile string
    Used to save results.
    chcIds List<String>
    CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
    filters List<GetCvmChcHostsFilter>
    zone Filter by the availability zone, such as ap-guangzhou-1. Valid values: See Regions and Availability Zones.

    • instance-name Filter by the instance name.
    • instance-state Filter by the instance status. For status details, see InstanceStatus.
    • device-type Filter by the device type.
    • vpc-id Filter by the unique VPC ID.
    • subnet-id Filter by the unique VPC subnet ID.
    id String
    resultOutputFile String
    Used to save results.
    chcIds string[]
    CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
    filters GetCvmChcHostsFilter[]
    zone Filter by the availability zone, such as ap-guangzhou-1. Valid values: See Regions and Availability Zones.

    • instance-name Filter by the instance name.
    • instance-state Filter by the instance status. For status details, see InstanceStatus.
    • device-type Filter by the device type.
    • vpc-id Filter by the unique VPC ID.
    • subnet-id Filter by the unique VPC subnet ID.
    id string
    resultOutputFile string
    Used to save results.
    chc_ids Sequence[str]
    CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
    filters Sequence[GetCvmChcHostsFilter]
    zone Filter by the availability zone, such as ap-guangzhou-1. Valid values: See Regions and Availability Zones.

    • instance-name Filter by the instance name.
    • instance-state Filter by the instance status. For status details, see InstanceStatus.
    • device-type Filter by the device type.
    • vpc-id Filter by the unique VPC ID.
    • subnet-id Filter by the unique VPC subnet ID.
    id str
    result_output_file str
    Used to save results.
    chcIds List<String>
    CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
    filters List<Property Map>
    zone Filter by the availability zone, such as ap-guangzhou-1. Valid values: See Regions and Availability Zones.

    • instance-name Filter by the instance name.
    • instance-state Filter by the instance status. For status details, see InstanceStatus.
    • device-type Filter by the device type.
    • vpc-id Filter by the unique VPC ID.
    • subnet-id Filter by the unique VPC subnet ID.
    id String
    resultOutputFile String
    Used to save results.

    getCvmChcHosts Result

    The following output properties are available:

    chcHostSets List<Property Map>
    List of returned instances.
    id String
    chcIds List<String>
    filters List<Property Map>
    resultOutputFile String

    Supporting Types

    GetCvmChcHostsChcHostSet

    BmcIp string
    Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
    BmcMac string
    MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    BmcSecurityGroupIds List<string>
    Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    BmcVirtualPrivateClouds List<GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud>
    Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    ChcId string
    CHC host ID.
    Cpu double
    CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    CreatedTime string
    Server creation time.
    CvmInstanceId string
    ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
    DeployIp string
    Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
    DeployMac string
    MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    DeploySecurityGroupIds List<string>
    Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    DeployVirtualPrivateClouds List<GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud>
    Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    DeviceType string
    Device typeNote: This field may return null, indicating that no valid values can be obtained.
    Disk string
    Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    HardwareDescription string
    Instance hardware description, including CPU cores, memory capacity and disk capacity.Note: This field may return null, indicating that no valid values can be obtained.
    InstanceName string
    Instance name.
    InstanceState string
    CHC host status<br/><ul><li>REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured.</li><li>VPC_READY: The out-of-band network and deployment network are configured.</li><li>PREPARED: It's ready and can be associated with a CVM.</li><li>ONLINE: It's already associated with a CVM.</li></ul>.
    Memory double
    Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
    Placements List<GetCvmChcHostsChcHostSetPlacement>
    Availability zone.
    SerialNumber string
    Server serial number.
    TenantType string
    Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
    BmcIp string
    Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
    BmcMac string
    MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    BmcSecurityGroupIds []string
    Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    BmcVirtualPrivateClouds []GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud
    Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    ChcId string
    CHC host ID.
    Cpu float64
    CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    CreatedTime string
    Server creation time.
    CvmInstanceId string
    ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
    DeployIp string
    Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
    DeployMac string
    MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    DeploySecurityGroupIds []string
    Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    DeployVirtualPrivateClouds []GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud
    Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    DeviceType string
    Device typeNote: This field may return null, indicating that no valid values can be obtained.
    Disk string
    Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    HardwareDescription string
    Instance hardware description, including CPU cores, memory capacity and disk capacity.Note: This field may return null, indicating that no valid values can be obtained.
    InstanceName string
    Instance name.
    InstanceState string
    CHC host status<br/><ul><li>REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured.</li><li>VPC_READY: The out-of-band network and deployment network are configured.</li><li>PREPARED: It's ready and can be associated with a CVM.</li><li>ONLINE: It's already associated with a CVM.</li></ul>.
    Memory float64
    Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
    Placements []GetCvmChcHostsChcHostSetPlacement
    Availability zone.
    SerialNumber string
    Server serial number.
    TenantType string
    Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
    bmcIp String
    Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
    bmcMac String
    MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    bmcSecurityGroupIds List<String>
    Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    bmcVirtualPrivateClouds List<GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud>
    Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    chcId String
    CHC host ID.
    cpu Double
    CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    createdTime String
    Server creation time.
    cvmInstanceId String
    ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
    deployIp String
    Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
    deployMac String
    MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deploySecurityGroupIds List<String>
    Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    deployVirtualPrivateClouds List<GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud>
    Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deviceType String
    Device typeNote: This field may return null, indicating that no valid values can be obtained.
    disk String
    Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    hardwareDescription String
    Instance hardware description, including CPU cores, memory capacity and disk capacity.Note: This field may return null, indicating that no valid values can be obtained.
    instanceName String
    Instance name.
    instanceState String
    CHC host status<br/><ul><li>REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured.</li><li>VPC_READY: The out-of-band network and deployment network are configured.</li><li>PREPARED: It's ready and can be associated with a CVM.</li><li>ONLINE: It's already associated with a CVM.</li></ul>.
    memory Double
    Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
    placements List<GetCvmChcHostsChcHostSetPlacement>
    Availability zone.
    serialNumber String
    Server serial number.
    tenantType String
    Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
    bmcIp string
    Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
    bmcMac string
    MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    bmcSecurityGroupIds string[]
    Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    bmcVirtualPrivateClouds GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud[]
    Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    chcId string
    CHC host ID.
    cpu number
    CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    createdTime string
    Server creation time.
    cvmInstanceId string
    ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
    deployIp string
    Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
    deployMac string
    MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deploySecurityGroupIds string[]
    Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    deployVirtualPrivateClouds GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud[]
    Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deviceType string
    Device typeNote: This field may return null, indicating that no valid values can be obtained.
    disk string
    Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    hardwareDescription string
    Instance hardware description, including CPU cores, memory capacity and disk capacity.Note: This field may return null, indicating that no valid values can be obtained.
    instanceName string
    Instance name.
    instanceState string
    CHC host status<br/><ul><li>REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured.</li><li>VPC_READY: The out-of-band network and deployment network are configured.</li><li>PREPARED: It's ready and can be associated with a CVM.</li><li>ONLINE: It's already associated with a CVM.</li></ul>.
    memory number
    Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
    placements GetCvmChcHostsChcHostSetPlacement[]
    Availability zone.
    serialNumber string
    Server serial number.
    tenantType string
    Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
    bmc_ip str
    Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
    bmc_mac str
    MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    bmc_security_group_ids Sequence[str]
    Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    bmc_virtual_private_clouds Sequence[GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud]
    Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    chc_id str
    CHC host ID.
    cpu float
    CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    created_time str
    Server creation time.
    cvm_instance_id str
    ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
    deploy_ip str
    Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
    deploy_mac str
    MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deploy_security_group_ids Sequence[str]
    Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    deploy_virtual_private_clouds Sequence[GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud]
    Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    device_type str
    Device typeNote: This field may return null, indicating that no valid values can be obtained.
    disk str
    Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    hardware_description str
    Instance hardware description, including CPU cores, memory capacity and disk capacity.Note: This field may return null, indicating that no valid values can be obtained.
    instance_name str
    Instance name.
    instance_state str
    CHC host status<br/><ul><li>REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured.</li><li>VPC_READY: The out-of-band network and deployment network are configured.</li><li>PREPARED: It's ready and can be associated with a CVM.</li><li>ONLINE: It's already associated with a CVM.</li></ul>.
    memory float
    Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
    placements Sequence[GetCvmChcHostsChcHostSetPlacement]
    Availability zone.
    serial_number str
    Server serial number.
    tenant_type str
    Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
    bmcIp String
    Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
    bmcMac String
    MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    bmcSecurityGroupIds List<String>
    Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    bmcVirtualPrivateClouds List<Property Map>
    Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
    chcId String
    CHC host ID.
    cpu Number
    CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    createdTime String
    Server creation time.
    cvmInstanceId String
    ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
    deployIp String
    Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
    deployMac String
    MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deploySecurityGroupIds List<String>
    Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
    deployVirtualPrivateClouds List<Property Map>
    Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
    deviceType String
    Device typeNote: This field may return null, indicating that no valid values can be obtained.
    disk String
    Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
    hardwareDescription String
    Instance hardware description, including CPU cores, memory capacity and disk capacity.Note: This field may return null, indicating that no valid values can be obtained.
    instanceName String
    Instance name.
    instanceState String
    CHC host status<br/><ul><li>REGISTERED: The CHC host is registered, but the out-of-band network and deployment network are not configured.</li><li>VPC_READY: The out-of-band network and deployment network are configured.</li><li>PREPARED: It's ready and can be associated with a CVM.</li><li>ONLINE: It's already associated with a CVM.</li></ul>.
    memory Number
    Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
    placements List<Property Map>
    Availability zone.
    serialNumber String
    Server serial number.
    tenantType String
    Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.

    GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud

    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.
    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.
    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.
    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.
    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.
    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.

    GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud

    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.
    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.
    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.
    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.
    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.
    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.

    GetCvmChcHostsChcHostSetPlacement

    HostId string
    The ID of the CDH to which the instance belongs, only used as an output parameter.
    HostIds List<string>
    ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
    HostIps List<string>
    (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
    ProjectId double
    ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
    Zone string
    ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
    HostId string
    The ID of the CDH to which the instance belongs, only used as an output parameter.
    HostIds []string
    ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
    HostIps []string
    (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
    ProjectId float64
    ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
    Zone string
    ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
    hostId String
    The ID of the CDH to which the instance belongs, only used as an output parameter.
    hostIds List<String>
    ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
    hostIps List<String>
    (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
    projectId Double
    ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
    zone String
    ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
    hostId string
    The ID of the CDH to which the instance belongs, only used as an output parameter.
    hostIds string[]
    ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
    hostIps string[]
    (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
    projectId number
    ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
    zone string
    ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
    host_id str
    The ID of the CDH to which the instance belongs, only used as an output parameter.
    host_ids Sequence[str]
    ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
    host_ips Sequence[str]
    (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
    project_id float
    ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
    zone str
    ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.
    hostId String
    The ID of the CDH to which the instance belongs, only used as an output parameter.
    hostIds List<String>
    ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
    hostIps List<String>
    (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
    projectId Number
    ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
    zone String
    ID of the availability zone where the instance resides. You can call the DescribeZones API and obtain the ID in the returned Zone field.

    GetCvmChcHostsFilter

    Name string
    Filter name.
    Values List<string>
    Filter values.
    Name string
    Filter name.
    Values []string
    Filter values.
    name String
    Filter name.
    values List<String>
    Filter values.
    name string
    Filter name.
    values string[]
    Filter values.
    name str
    Filter name.
    values Sequence[str]
    Filter values.
    name String
    Filter name.
    values List<String>
    Filter values.

    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