1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCvmChcHosts
tencentcloud 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack

tencentcloud.getCvmChcHosts

Explore with Pulumi AI

tencentcloud 1.81.187 published on Monday, Apr 28, 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"],
    }],
});
Copy
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"],
    }])
Copy
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
	})
}
Copy
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",
                },
            },
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  chcHosts:
    fn::invoke:
      function: tencentcloud:getCvmChcHosts
      arguments:
        chcIds:
          - chc-xxxxxx
        filters:
          - name: zone
            values:
              - ap-guangzhou-7
Copy

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>
Copy
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]
Copy
func GetCvmChcHosts(ctx *Context, args *GetCvmChcHostsArgs, opts ...InvokeOption) (*GetCvmChcHostsResult, error)
func GetCvmChcHostsOutput(ctx *Context, args *GetCvmChcHostsOutputArgs, opts ...InvokeOption) GetCvmChcHostsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCvmChcHostsResult> getCvmChcHosts(GetCvmChcHostsArgs args, InvokeOptions options)
public static Output<GetCvmChcHostsResult> getCvmChcHosts(GetCvmChcHostsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getCvmChcHosts:getCvmChcHosts
  arguments:
    # arguments dictionary
Copy

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 This property is required. string
Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
BmcMac This property is required. string
MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
BmcSecurityGroupIds This property is required. List<string>
Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
BmcVirtualPrivateClouds This property is required. List<GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud>
Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
ChcId This property is required. string
CHC host ID.
Cpu This property is required. double
CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
CreatedTime This property is required. string
Server creation time.
CvmInstanceId This property is required. string
ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
DeployIp This property is required. string
Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
DeployMac This property is required. string
MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
DeploySecurityGroupIds This property is required. List<string>
Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
DeployVirtualPrivateClouds This property is required. List<GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud>
Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
DeviceType This property is required. string
Device typeNote: This field may return null, indicating that no valid values can be obtained.
Disk This property is required. string
Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
HardwareDescription This property is required. 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 This property is required. string
Instance name.
InstanceState This property is required. 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 This property is required. double
Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
Placements This property is required. List<GetCvmChcHostsChcHostSetPlacement>
Availability zone.
SerialNumber This property is required. string
Server serial number.
TenantType This property is required. string
Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
BmcIp This property is required. string
Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
BmcMac This property is required. string
MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
BmcSecurityGroupIds This property is required. []string
Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
BmcVirtualPrivateClouds This property is required. []GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud
Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
ChcId This property is required. string
CHC host ID.
Cpu This property is required. float64
CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
CreatedTime This property is required. string
Server creation time.
CvmInstanceId This property is required. string
ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
DeployIp This property is required. string
Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
DeployMac This property is required. string
MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
DeploySecurityGroupIds This property is required. []string
Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
DeployVirtualPrivateClouds This property is required. []GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud
Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
DeviceType This property is required. string
Device typeNote: This field may return null, indicating that no valid values can be obtained.
Disk This property is required. string
Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
HardwareDescription This property is required. 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 This property is required. string
Instance name.
InstanceState This property is required. 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 This property is required. float64
Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
Placements This property is required. []GetCvmChcHostsChcHostSetPlacement
Availability zone.
SerialNumber This property is required. string
Server serial number.
TenantType This property is required. string
Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
bmcIp This property is required. String
Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
bmcMac This property is required. String
MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
bmcSecurityGroupIds This property is required. List<String>
Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
bmcVirtualPrivateClouds This property is required. List<GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud>
Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
chcId This property is required. String
CHC host ID.
cpu This property is required. Double
CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
createdTime This property is required. String
Server creation time.
cvmInstanceId This property is required. String
ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
deployIp This property is required. String
Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
deployMac This property is required. String
MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
deploySecurityGroupIds This property is required. List<String>
Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
deployVirtualPrivateClouds This property is required. List<GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud>
Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
deviceType This property is required. String
Device typeNote: This field may return null, indicating that no valid values can be obtained.
disk This property is required. String
Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
hardwareDescription This property is required. 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 This property is required. String
Instance name.
instanceState This property is required. 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 This property is required. Double
Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
placements This property is required. List<GetCvmChcHostsChcHostSetPlacement>
Availability zone.
serialNumber This property is required. String
Server serial number.
tenantType This property is required. String
Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
bmcIp This property is required. string
Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
bmcMac This property is required. string
MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
bmcSecurityGroupIds This property is required. string[]
Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
bmcVirtualPrivateClouds This property is required. GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud[]
Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
chcId This property is required. string
CHC host ID.
cpu This property is required. number
CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
createdTime This property is required. string
Server creation time.
cvmInstanceId This property is required. string
ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
deployIp This property is required. string
Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
deployMac This property is required. string
MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
deploySecurityGroupIds This property is required. string[]
Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
deployVirtualPrivateClouds This property is required. GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud[]
Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
deviceType This property is required. string
Device typeNote: This field may return null, indicating that no valid values can be obtained.
disk This property is required. string
Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
hardwareDescription This property is required. 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 This property is required. string
Instance name.
instanceState This property is required. 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 This property is required. number
Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
placements This property is required. GetCvmChcHostsChcHostSetPlacement[]
Availability zone.
serialNumber This property is required. string
Server serial number.
tenantType This property is required. string
Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
bmc_ip This property is required. str
Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
bmc_mac This property is required. 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 This property is required. 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 This property is required. Sequence[GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud]
Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
chc_id This property is required. str
CHC host ID.
cpu This property is required. float
CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
created_time This property is required. str
Server creation time.
cvm_instance_id This property is required. str
ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
deploy_ip This property is required. str
Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
deploy_mac This property is required. 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 This property is required. Sequence[str]
Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
deploy_virtual_private_clouds This property is required. Sequence[GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud]
Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
device_type This property is required. str
Device typeNote: This field may return null, indicating that no valid values can be obtained.
disk This property is required. str
Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
hardware_description This property is required. 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 This property is required. str
Instance name.
instance_state This property is required. 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 This property is required. float
Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
placements This property is required. Sequence[GetCvmChcHostsChcHostSetPlacement]
Availability zone.
serial_number This property is required. str
Server serial number.
tenant_type This property is required. str
Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
bmcIp This property is required. String
Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
bmcMac This property is required. String
MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
bmcSecurityGroupIds This property is required. List<String>
Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
bmcVirtualPrivateClouds This property is required. List<Property Map>
Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
chcId This property is required. String
CHC host ID.
cpu This property is required. Number
CPU cores of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
createdTime This property is required. String
Server creation time.
cvmInstanceId This property is required. String
ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
deployIp This property is required. String
Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
deployMac This property is required. String
MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
deploySecurityGroupIds This property is required. List<String>
Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
deployVirtualPrivateClouds This property is required. List<Property Map>
Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
deviceType This property is required. String
Device typeNote: This field may return null, indicating that no valid values can be obtained.
disk This property is required. String
Disk capacity of the CHC hostNote: This field may return null, indicating that no valid values can be obtained.
hardwareDescription This property is required. 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 This property is required. String
Instance name.
instanceState This property is required. 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 This property is required. Number
Memory capacity of the CHC host (unit: GB)Note: This field may return null, indicating that no valid values can be obtained.
placements This property is required. List<Property Map>
Availability zone.
serialNumber This property is required. String
Server serial number.
tenantType This property is required. String
Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.

GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud

AsVpcGateway This property is required. 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 This property is required. double
Number of IPv6 addresses randomly generated for the ENI.
PrivateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. float64
Number of IPv6 addresses randomly generated for the ENI.
PrivateIpAddresses This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. Double
Number of IPv6 addresses randomly generated for the ENI.
privateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. number
Number of IPv6 addresses randomly generated for the ENI.
privateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. float
Number of IPv6 addresses randomly generated for the ENI.
private_ip_addresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. Number
Number of IPv6 addresses randomly generated for the ENI.
privateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. double
Number of IPv6 addresses randomly generated for the ENI.
PrivateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. float64
Number of IPv6 addresses randomly generated for the ENI.
PrivateIpAddresses This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. Double
Number of IPv6 addresses randomly generated for the ENI.
privateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. number
Number of IPv6 addresses randomly generated for the ENI.
privateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. float
Number of IPv6 addresses randomly generated for the ENI.
private_ip_addresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. Number
Number of IPv6 addresses randomly generated for the ENI.
privateIpAddresses This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The ID of the CDH to which the instance belongs, only used as an output parameter.
HostIds This property is required. 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 This property is required. List<string>
(Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
ProjectId This property is required. 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 This property is required. 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 This property is required. string
The ID of the CDH to which the instance belongs, only used as an output parameter.
HostIds This property is required. []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 This property is required. []string
(Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
ProjectId This property is required. 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 This property is required. 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 This property is required. String
The ID of the CDH to which the instance belongs, only used as an output parameter.
hostIds This property is required. 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 This property is required. List<String>
(Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
projectId This property is required. 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 This property is required. 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 This property is required. string
The ID of the CDH to which the instance belongs, only used as an output parameter.
hostIds This property is required. 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 This property is required. string[]
(Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
projectId This property is required. 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 This property is required. 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 This property is required. str
The ID of the CDH to which the instance belongs, only used as an output parameter.
host_ids This property is required. 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 This property is required. Sequence[str]
(Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
project_id This property is required. 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 This property is required. 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 This property is required. String
The ID of the CDH to which the instance belongs, only used as an output parameter.
hostIds This property is required. 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 This property is required. List<String>
(Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
projectId This property is required. 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 This property is required. 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 This property is required. string
Filter name.
Values This property is required. List<string>
Filter values.
Name This property is required. string
Filter name.
Values This property is required. []string
Filter values.
name This property is required. String
Filter name.
values This property is required. List<String>
Filter values.
name This property is required. string
Filter name.
values This property is required. string[]
Filter values.
name This property is required. str
Filter name.
values This property is required. Sequence[str]
Filter values.
name This property is required. String
Filter name.
values This property is required. 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 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack