alicloud_instanceNivis Nix constructor for the alicloud_instance resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
additional_attributes ? null,
allocate_public_ip ? null,
auto_release_time ? null,
auto_renew_period ? null,
availability_zone ? null,
credit_specification ? null,
dedicated_host_id ? null,
deletion_protection ? null,
deployment_set_id ? null,
description ? null,
dry_run ? null,
enable_high_density_mode ? null,
enable_jumbo_frame ? null,
enable_network_encryption ? null,
force_delete ? null,
host_name ? null,
hpc_cluster_id ? null,
http_endpoint ? null,
http_put_response_hop_limit ? null,
http_tokens ? null,
id ? null,
image_id ? null,
include_data_disks ? null,
instance_charge_type ? null,
instance_metadata_tags ? null,
instance_name ? null,
instance_type ? null,
internet_charge_type ? null,
internet_max_bandwidth_in ? null,
internet_max_bandwidth_out ? null,
ipv6_address_count ? null,
ipv6_addresses ? null,
is_outdated ? null,
key_name ? null,
kms_encrypted_password ? null,
kms_encryption_context ? null,
launch_template_id ? null,
launch_template_name ? null,
launch_template_version ? null,
maintenance_action ? null,
maintenance_notify ? null,
managed_host_id ? null,
network_card_index ? null,
network_interface_id ? null,
network_interface_traffic_mode ? null,
operator_type ? null,
password ? null,
password_inherit ? null,
period ? null,
period_unit ? null,
private_ip ? null,
private_pool_options_id ? null,
private_pool_options_match_criteria ? null,
queue_pair_number ? null,
renewal_status ? null,
resource_group_id ? null,
role_name ? null,
secondary_private_ip_address_count ? null,
secondary_private_ips ? null,
security_enhancement_strategy ? null,
security_groups ? null,
source_dest_check ? null,
spot_duration ? null,
spot_interruption_behavior ? null,
spot_price_limit ? null,
spot_strategy ? null,
status ? null,
stopped_mode ? null,
system_disk_auto_snapshot_policy_id ? null,
system_disk_bursting_enabled ? null,
system_disk_category ? null,
system_disk_description ? null,
system_disk_encrypt_algorithm ? null,
system_disk_encrypted ? null,
system_disk_kms_key_id ? null,
system_disk_name ? null,
system_disk_performance_level ? null,
system_disk_provisioned_iops ? null,
system_disk_size ? null,
system_disk_storage_cluster_id ? null,
tags ? null,
user_data ? null,
volume_tags ? null,
vpc_id ? null,
vswitch_id ? null,
cpu_options ? null,
data_disks ? null,
image_options ? null,
maintenance_time ? null,
network_interfaces ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
additional_attributes(defaults tonull)allocate_public_ip(defaults tonull)auto_release_time(defaults tonull)auto_renew_period(defaults tonull)availability_zone(defaults tonull)credit_specification(defaults tonull)dedicated_host_id(defaults tonull)deletion_protection(defaults tonull)deployment_set_id(defaults tonull)description(defaults tonull)dry_run(defaults tonull)enable_high_density_mode(defaults tonull)enable_jumbo_frame(defaults tonull)enable_network_encryption(defaults tonull)force_delete(defaults tonull)host_name(defaults tonull)hpc_cluster_id(defaults tonull)http_endpoint(defaults tonull)http_put_response_hop_limit(defaults tonull)http_tokens(defaults tonull)id(defaults tonull)image_id(defaults tonull)include_data_disks(defaults tonull)instance_charge_type(defaults tonull)instance_metadata_tags(defaults tonull)instance_name(defaults tonull)instance_type(defaults tonull)internet_charge_type(defaults tonull)internet_max_bandwidth_in(defaults tonull)internet_max_bandwidth_out(defaults tonull)ipv6_address_count(defaults tonull)ipv6_addresses(defaults tonull)is_outdated(defaults tonull)key_name(defaults tonull)kms_encrypted_password(defaults tonull)kms_encryption_context(defaults tonull)launch_template_id(defaults tonull)launch_template_name(defaults tonull)launch_template_version(defaults tonull)maintenance_action(defaults tonull)maintenance_notify(defaults tonull)managed_host_id(defaults tonull)network_card_index(defaults tonull)network_interface_id(defaults tonull)network_interface_traffic_mode(defaults tonull)operator_type(defaults tonull)password(defaults tonull)password_inherit(defaults tonull)period(defaults tonull)period_unit(defaults tonull)private_ip(defaults tonull)private_pool_options_id(defaults tonull)private_pool_options_match_criteria(defaults tonull)queue_pair_number(defaults tonull)renewal_status(defaults tonull)resource_group_id(defaults tonull)role_name(defaults tonull)secondary_private_ip_address_count(defaults tonull)secondary_private_ips(defaults tonull)security_enhancement_strategy(defaults tonull)security_groups(defaults tonull)source_dest_check(defaults tonull)spot_duration(defaults tonull)spot_interruption_behavior(defaults tonull)spot_price_limit(defaults tonull)spot_strategy(defaults tonull)status(defaults tonull)stopped_mode(defaults tonull)system_disk_auto_snapshot_policy_id(defaults tonull)system_disk_bursting_enabled(defaults tonull)system_disk_category(defaults tonull)system_disk_description(defaults tonull)system_disk_encrypt_algorithm(defaults tonull)system_disk_encrypted(defaults tonull)system_disk_kms_key_id(defaults tonull)system_disk_name(defaults tonull)system_disk_performance_level(defaults tonull)system_disk_provisioned_iops(defaults tonull)system_disk_size(defaults tonull)system_disk_storage_cluster_id(defaults tonull)tags(defaults tonull)user_data(defaults tonull)volume_tags(defaults tonull)vpc_id(defaults tonull)vswitch_id(defaults tonull)cpu_options(defaults tonull)data_disks(defaults tonull)image_options(defaults tonull)maintenance_time(defaults tonull)network_interfaces(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cpucreate_timedeployment_set_group_noexpired_timememoryos_nameos_typeprimary_ip_addresspublic_ipstart_timesystem_disk_id
Example
alicloud_instance {
name = "instance";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.