tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCvmChcHosts
Explore with Pulumi AI
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:
- Chc
Ids 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<Get
Cvm Chc Hosts Filter> 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
- Result
Output stringFile - Used to save results.
- Chc
Ids []string - CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
- Filters
[]Get
Cvm Chc Hosts Filter 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
- Result
Output stringFile - Used to save results.
- chc
Ids 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<Get
Cvm Chc Hosts Filter> 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
- result
Output StringFile - Used to save results.
- chc
Ids string[] - CHC host ID. Up to 100 instances per request is allowed. ChcIds and Filters cannot be specified at the same time.
- filters
Get
Cvm Chc Hosts Filter[] 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
- result
Output stringFile - 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[Get
Cvm Chc Hosts Filter] 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_ strfile - Used to save results.
- chc
Ids 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
- result
Output StringFile - Used to save results.
getCvmChcHosts Result
The following output properties are available:
- Chc
Host List<GetSets Cvm Chc Hosts Chc Host Set> - List of returned instances.
- Id string
- Chc
Ids List<string> - Filters
List<Get
Cvm Chc Hosts Filter> - Result
Output stringFile
- Chc
Host []GetSets Cvm Chc Hosts Chc Host Set - List of returned instances.
- Id string
- Chc
Ids []string - Filters
[]Get
Cvm Chc Hosts Filter - Result
Output stringFile
- chc
Host List<GetSets Cvm Chc Hosts Chc Host Set> - List of returned instances.
- id String
- chc
Ids List<String> - filters
List<Get
Cvm Chc Hosts Filter> - result
Output StringFile
- chc
Host GetSets Cvm Chc Hosts Chc Host Set[] - List of returned instances.
- id string
- chc
Ids string[] - filters
Get
Cvm Chc Hosts Filter[] - result
Output stringFile
- chc_
host_ Sequence[Getsets Cvm Chc Hosts Chc Host Set] - List of returned instances.
- id str
- chc_
ids Sequence[str] - filters
Sequence[Get
Cvm Chc Hosts Filter] - result_
output_ strfile
- chc
Host List<Property Map>Sets - List of returned instances.
- id String
- chc
Ids List<String> - filters List<Property Map>
- result
Output StringFile
Supporting Types
GetCvmChcHostsChcHostSet
- Bmc
Ip string - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Mac string - MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Security List<string>Group Ids - Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Virtual List<GetPrivate Clouds Cvm Chc Hosts Chc Host Set Bmc Virtual Private Cloud> - Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- Chc
Id 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.
- Created
Time string - Server creation time.
- Cvm
Instance stringId - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Ip string - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Mac string - MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Security List<string>Group Ids - Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Virtual List<GetPrivate Clouds Cvm Chc Hosts Chc Host Set Deploy Virtual Private Cloud> - Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- Device
Type 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.
- Hardware
Description 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.
- Instance
Name string - Instance name.
- Instance
State 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<Get
Cvm Chc Hosts Chc Host Set Placement> - Availability zone.
- Serial
Number string - Server serial number.
- Tenant
Type string - Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Ip string - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Mac string - MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Security []stringGroup Ids - Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Virtual []GetPrivate Clouds Cvm Chc Hosts Chc Host Set Bmc Virtual Private Cloud - Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- Chc
Id 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.
- Created
Time string - Server creation time.
- Cvm
Instance stringId - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Ip string - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Mac string - MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Security []stringGroup Ids - Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Virtual []GetPrivate Clouds Cvm Chc Hosts Chc Host Set Deploy Virtual Private Cloud - Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- Device
Type 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.
- Hardware
Description 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.
- Instance
Name string - Instance name.
- Instance
State 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
[]Get
Cvm Chc Hosts Chc Host Set Placement - Availability zone.
- Serial
Number string - Server serial number.
- Tenant
Type string - Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Ip String - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Mac String - MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Security List<String>Group Ids - Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Virtual List<GetPrivate Clouds Cvm Chc Hosts Chc Host Set Bmc Virtual Private Cloud> - Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- chc
Id 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.
- created
Time String - Server creation time.
- cvm
Instance StringId - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Ip String - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Mac String - MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Security List<String>Group Ids - Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Virtual List<GetPrivate Clouds Cvm Chc Hosts Chc Host Set Deploy Virtual Private Cloud> - Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- device
Type 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.
- hardware
Description 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.
- instance
Name String - Instance name.
- instance
State 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<Get
Cvm Chc Hosts Chc Host Set Placement> - Availability zone.
- serial
Number String - Server serial number.
- tenant
Type String - Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Ip string - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Mac string - MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Security string[]Group Ids - Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Virtual GetPrivate Clouds Cvm Chc Hosts Chc Host Set Bmc Virtual Private Cloud[] - Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- chc
Id 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.
- created
Time string - Server creation time.
- cvm
Instance stringId - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Ip string - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Mac string - MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Security string[]Group Ids - Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Virtual GetPrivate Clouds Cvm Chc Hosts Chc Host Set Deploy Virtual Private Cloud[] - Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- device
Type 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.
- hardware
Description 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.
- instance
Name string - Instance name.
- instance
State 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
Get
Cvm Chc Hosts Chc Host Set Placement[] - Availability zone.
- serial
Number string - Server serial number.
- tenant
Type 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_ Sequence[str]group_ ids - Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- bmc_
virtual_ Sequence[Getprivate_ clouds Cvm Chc Hosts Chc Host Set Bmc Virtual Private Cloud] - 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_ strid - 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_ Sequence[str]group_ ids - Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- deploy_
virtual_ Sequence[Getprivate_ clouds Cvm Chc Hosts Chc Host Set Deploy Virtual Private Cloud] - 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[Get
Cvm Chc Hosts Chc Host Set Placement] - 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.
- bmc
Ip String - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Mac String - MAC address assigned under the out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Security List<String>Group Ids - Out-of-band network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Virtual List<Property Map>Private Clouds - Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- chc
Id 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.
- created
Time String - Server creation time.
- cvm
Instance StringId - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Ip String - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Mac String - MAC address assigned under the deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Security List<String>Group Ids - Deployment network security group IDNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Virtual List<Property Map>Private Clouds - Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- device
Type 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.
- hardware
Description 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.
- instance
Name String - Instance name.
- instance
State 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.
- serial
Number String - Server serial number.
- tenant
Type String - Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud
- As
Vpc boolGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- Ipv6Address
Count double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip List<string>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- Subnet
Id string - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- Vpc
Id string - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- As
Vpc boolGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- Ipv6Address
Count float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip []stringAddresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- Subnet
Id string - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- Vpc
Id string - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc BooleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6Address
Count Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id String - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc
Id String - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc booleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6Address
Count number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip string[]Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id string - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc
Id string - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as_
vpc_ boolgateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6_
address_ floatcount - Number of IPv6 addresses randomly generated for the ENI.
- private_
ip_ Sequence[str]addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet_
id str - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc_
id str - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc BooleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6Address
Count Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id String - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc
Id String - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
GetCvmChcHostsChcHostSetDeployVirtualPrivateCloud
- As
Vpc boolGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- Ipv6Address
Count double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip List<string>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- Subnet
Id string - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- Vpc
Id string - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- As
Vpc boolGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- Ipv6Address
Count float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip []stringAddresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- Subnet
Id string - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- Vpc
Id string - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc BooleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6Address
Count Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id String - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc
Id String - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc booleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6Address
Count number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip string[]Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id string - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc
Id string - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as_
vpc_ boolgateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6_
address_ floatcount - Number of IPv6 addresses randomly generated for the ENI.
- private_
ip_ Sequence[str]addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet_
id str - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc_
id str - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
- as
Vpc BooleanGateway - Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values:<br><li>TRUE: yes;<br><li>FALSE: no<br><br>Default: FALSE.
- ipv6Address
Count Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip List<String>Addresses - Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
- subnet
Id String - VPC subnet ID in the format subnet-xxx. To obtain valid subnet IDs, you can log in to the console or call DescribeSubnets and look for the unSubnetId fields in the response. If you specify DEFAULT for both SubnetId and VpcId when creating an instance, the default VPC will be used.
- vpc
Id String - VPC ID in the format of vpc-xxx. To obtain valid VPC IDs, you can log in to the console or call the DescribeVpcEx API and look for the unVpcId fields in the response. If you specify DEFAULT for both VpcId and SubnetId when creating an instance, the default VPC will be used.
GetCvmChcHostsChcHostSetPlacement
- Host
Id string - The ID of the CDH to which the instance belongs, only used as an output parameter.
- Host
Ids 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.
- Host
Ips List<string> - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- Project
Id 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.
- Host
Id string - The ID of the CDH to which the instance belongs, only used as an output parameter.
- Host
Ids []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.
- Host
Ips []string - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- Project
Id 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.
- host
Id String - The ID of the CDH to which the instance belongs, only used as an output parameter.
- host
Ids 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.
- host
Ips List<String> - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- project
Id 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.
- host
Id string - The ID of the CDH to which the instance belongs, only used as an output parameter.
- host
Ids 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.
- host
Ips string[] - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- project
Id 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.
- host
Id String - The ID of the CDH to which the instance belongs, only used as an output parameter.
- host
Ids 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.
- host
Ips List<String> - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- project
Id 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
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack