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"],
}],
});
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 This property is required. string - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Mac 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.
- Bmc
Security Group Ids 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.
- Bmc
Virtual Private Clouds This property is required. List<GetCvm 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 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.
- Created
Time This property is required. string - Server creation time.
- Cvm
Instance Id This property is required. string - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Ip This property is required. string - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Mac 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.
- Deploy
Security Group Ids This property is required. List<string> - 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. List<GetCvm 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 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.
- Hardware
Description 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.
- Instance
Name This property is required. string - Instance name.
- Instance
State 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<GetCvm Chc Hosts Chc Host Set Placement> - Availability zone.
- Serial
Number This property is required. string - Server serial number.
- Tenant
Type 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. string - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- Bmc
Mac 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.
- Bmc
Security Group Ids 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.
- Bmc
Virtual Private Clouds This property is required. []GetCvm 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 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.
- Created
Time This property is required. string - Server creation time.
- Cvm
Instance Id This property is required. string - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Ip This property is required. string - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- Deploy
Mac 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.
- Deploy
Security Group Ids This property is required. []string - 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. []GetCvm 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 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.
- Hardware
Description 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.
- Instance
Name This property is required. string - Instance name.
- Instance
State 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. []GetCvm Chc Hosts Chc Host Set Placement - Availability zone.
- Serial
Number This property is required. string - Server serial number.
- Tenant
Type 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. String - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Mac 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.
- bmc
Security Group Ids 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.
- bmc
Virtual Private Clouds This property is required. List<GetCvm 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 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.
- created
Time This property is required. String - Server creation time.
- cvm
Instance Id This property is required. String - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Ip This property is required. String - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Mac 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.
- deploy
Security Group Ids This property is required. List<String> - 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. List<GetCvm 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 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.
- hardware
Description 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.
- instance
Name This property is required. String - Instance name.
- instance
State 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<GetCvm Chc Hosts Chc Host Set Placement> - Availability zone.
- serial
Number This property is required. String - Server serial number.
- tenant
Type 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. string - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Mac 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.
- bmc
Security Group Ids 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.
- bmc
Virtual Private Clouds This property is required. GetCvm 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 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.
- created
Time This property is required. string - Server creation time.
- cvm
Instance Id This property is required. string - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Ip This property is required. string - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Mac 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.
- deploy
Security Group Ids This property is required. string[] - 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. GetCvm 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 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.
- hardware
Description 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.
- instance
Name This property is required. string - Instance name.
- instance
State 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. GetCvm Chc Hosts Chc Host Set Placement[] - Availability zone.
- serial
Number This property is required. string - Server serial number.
- tenant
Type 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[GetCvm 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 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[GetCvm 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 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[GetCvm Chc Hosts Chc Host Set Placement] - 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.
- bmc
Ip This property is required. String - Out-of-band network IPNote: This field may return null, indicating that no valid values can be obtained.
- bmc
Mac 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.
- bmc
Security Group Ids 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.
- bmc
Virtual Private Clouds This property is required. List<Property Map> - Out-of-band networkNote: This field may return null, indicating that no valid values can be obtained.
- chc
Id 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.
- created
Time This property is required. String - Server creation time.
- cvm
Instance Id This property is required. String - ID of the associated CVMNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Ip This property is required. String - Deployment network IPNote: This field may return null, indicating that no valid values can be obtained.
- deploy
Mac 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.
- deploy
Security Group Ids This property is required. List<String> - 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. List<Property Map> - Deployment networkNote: This field may return null, indicating that no valid values can be obtained.
- device
Type 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.
- hardware
Description 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.
- instance
Name This property is required. String - Instance name.
- instance
State 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.
- serial
Number This property is required. String - Server serial number.
- tenant
Type This property is required. String - Management typeHOSTING: HostingTENANT: LeasingNote: This field may return null, indicating that no valid values can be obtained.
GetCvmChcHostsChcHostSetBmcVirtualPrivateCloud
- 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.
- Ipv6Address
Count This property is required. double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip Addresses 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.
- Subnet
Id 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.
- Vpc
Id 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.
- Ipv6Address
Count This property is required. float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip Addresses 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.
- Subnet
Id 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.
- Vpc
Id 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. 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.
- ipv6Address
Count This property is required. Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip Addresses 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.
- subnet
Id 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.
- vpc
Id 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. 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.
- ipv6Address
Count This property is required. number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip Addresses 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.
- subnet
Id 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.
- vpc
Id 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.
- as
Vpc Gateway 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.
- ipv6Address
Count This property is required. Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip Addresses 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.
- subnet
Id 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.
- vpc
Id 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
- 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.
- Ipv6Address
Count This property is required. double - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip Addresses 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.
- Subnet
Id 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.
- Vpc
Id 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.
- Ipv6Address
Count This property is required. float64 - Number of IPv6 addresses randomly generated for the ENI.
- Private
Ip Addresses 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.
- Subnet
Id 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.
- Vpc
Id 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. 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.
- ipv6Address
Count This property is required. Double - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip Addresses 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.
- subnet
Id 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.
- vpc
Id 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. 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.
- ipv6Address
Count This property is required. number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip Addresses 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.
- subnet
Id 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.
- vpc
Id 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.
- as
Vpc Gateway 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.
- ipv6Address
Count This property is required. Number - Number of IPv6 addresses randomly generated for the ENI.
- private
Ip Addresses 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.
- subnet
Id 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.
- vpc
Id 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
- Host
Id This property is required. string - The ID of the CDH to which the instance belongs, only used as an output parameter.
- Host
Ids 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.
- Host
Ips This property is required. List<string> - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- Project
Id 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.
- Host
Id This property is required. string - The ID of the CDH to which the instance belongs, only used as an output parameter.
- Host
Ids 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.
- Host
Ips This property is required. []string - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- Project
Id 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.
- host
Id This property is required. String - The ID of the CDH to which the instance belongs, only used as an output parameter.
- host
Ids 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.
- host
Ips This property is required. List<String> - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- project
Id 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.
- host
Id This property is required. string - The ID of the CDH to which the instance belongs, only used as an output parameter.
- host
Ids 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.
- host
Ips This property is required. string[] - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- project
Id 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.
- host
Id This property is required. String - The ID of the CDH to which the instance belongs, only used as an output parameter.
- host
Ids 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.
- host
Ips This property is required. List<String> - (Deprecated) It has been deprecated from version 1.81.108. IPs of the hosts to create CVMs.
- project
Id 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
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