tencentcloud_instanceNivis Nix constructor for the tencentcloud_instance resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
allocate_public_ip ? null,
anti_ddos_package_id ? null,
availability_zone ? null,
bandwidth_package_id ? null,
cam_role_name ? null,
cdh_host_id ? null,
cdh_instance_type ? null,
dedicated_cluster_id ? null,
dedicated_resource_pack_ids ? null,
dedicated_resource_pack_tenancy ? null,
disable_api_termination ? null,
disable_automation_service ? null,
disable_monitor_service ? null,
disable_security_service ? null,
disaster_recover_group_ids ? null,
enable_jumbo_frame ? null,
force_delete ? null,
force_replace_placement_group_id ? null,
force_stop ? null,
hostname ? null,
hpc_cluster_id ? null,
id ? null,
image_id ? null,
instance_charge_type ? null,
instance_charge_type_prepaid_period ? null,
instance_charge_type_prepaid_renew_flag ? null,
instance_name ? null,
instance_type ? null,
internet_charge_type ? null,
internet_max_bandwidth_out ? null,
ipv4_address_type ? null,
ipv6_address_count ? null,
ipv6_address_type ? null,
keep_image_login ? null,
key_ids ? null,
key_name ? null,
launch_template_id ? null,
launch_template_version ? null,
orderly_security_groups ? null,
partition_number ? null,
password ? null,
placement_group_id ? null,
private_ip ? null,
project_id ? null,
release_address ? null,
running_flag ? null,
security_groups ? null,
spot_instance_type ? null,
spot_max_price ? null,
stop_type ? null,
stopped_mode ? null,
subnet_id ? null,
system_disk_encrypt ? null,
system_disk_id ? null,
system_disk_kms_key_id ? null,
system_disk_name ? null,
system_disk_resize_online ? null,
system_disk_size ? null,
system_disk_type ? null,
tags ? null,
user_data ? null,
user_data_raw ? null,
user_data_replace_on_change ? null,
vpc_id ? null,
cpu_topology ? null,
data_disks ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
allocate_public_ip(defaults tonull)anti_ddos_package_id(defaults tonull)availability_zone(defaults tonull)bandwidth_package_id(defaults tonull)cam_role_name(defaults tonull)cdh_host_id(defaults tonull)cdh_instance_type(defaults tonull)dedicated_cluster_id(defaults tonull)dedicated_resource_pack_ids(defaults tonull)dedicated_resource_pack_tenancy(defaults tonull)disable_api_termination(defaults tonull)disable_automation_service(defaults tonull)disable_monitor_service(defaults tonull)disable_security_service(defaults tonull)disaster_recover_group_ids(defaults tonull)enable_jumbo_frame(defaults tonull)force_delete(defaults tonull)force_replace_placement_group_id(defaults tonull)force_stop(defaults tonull)hostname(defaults tonull)hpc_cluster_id(defaults tonull)id(defaults tonull)image_id(defaults tonull)instance_charge_type(defaults tonull)instance_charge_type_prepaid_period(defaults tonull)instance_charge_type_prepaid_renew_flag(defaults tonull)instance_name(defaults tonull)instance_type(defaults tonull)internet_charge_type(defaults tonull)internet_max_bandwidth_out(defaults tonull)ipv4_address_type(defaults tonull)ipv6_address_count(defaults tonull)ipv6_address_type(defaults tonull)keep_image_login(defaults tonull)key_ids(defaults tonull)key_name(defaults tonull)launch_template_id(defaults tonull)launch_template_version(defaults tonull)orderly_security_groups(defaults tonull)partition_number(defaults tonull)password(defaults tonull)placement_group_id(defaults tonull)private_ip(defaults tonull)project_id(defaults tonull)release_address(defaults tonull)running_flag(defaults tonull)security_groups(defaults tonull)spot_instance_type(defaults tonull)spot_max_price(defaults tonull)stop_type(defaults tonull)stopped_mode(defaults tonull)subnet_id(defaults tonull)system_disk_encrypt(defaults tonull)system_disk_id(defaults tonull)system_disk_kms_key_id(defaults tonull)system_disk_name(defaults tonull)system_disk_resize_online(defaults tonull)system_disk_size(defaults tonull)system_disk_type(defaults tonull)tags(defaults tonull)user_data(defaults tonull)user_data_raw(defaults tonull)user_data_replace_on_change(defaults tonull)vpc_id(defaults tonull)cpu_topology(defaults tonull)data_disks(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cpucreate_timeexpired_timeinstance_statusipv6_addressesmemoryos_namepublic_ippublic_ipv6_addressesrack_iduuid
Example
tencentcloud_instance {
name = "instance";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.