azurestack_linux_virtual_machineNivis Nix constructor for the azurestack_linux_virtual_machine resource (provider azurestack). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
admin_username,
location,
network_interface_ids,
resource_group_name,
size,
admin_password ? null,
allow_extension_operations ? null,
availability_set_id ? null,
computer_name ? null,
custom_data ? null,
disable_password_authentication ? null,
encryption_at_host_enabled ? null,
eviction_policy ? null,
extensions_time_budget ? null,
id ? null,
license_type ? null,
max_bid_price ? null,
cfg_name ? null,
priority ? null,
provision_vm_agent ? null,
source_image_id ? null,
tags ? null,
virtual_machine_scale_set_id ? null,
zone ? null,
additional_capabilities ? null,
admin_ssh_key ? null,
boot_diagnostics ? null,
os_disk ? null,
plan ? null,
secret ? null,
source_image_reference ? null,
timeouts ? null,
overrides ? {}
}Required arguments
admin_usernamelocationnetwork_interface_idsresource_group_namesize
Optional arguments
admin_password(defaults tonull)allow_extension_operations(defaults tonull)availability_set_id(defaults tonull)computer_name(defaults tonull)custom_data(defaults tonull)disable_password_authentication(defaults tonull)encryption_at_host_enabled(defaults tonull)eviction_policy(defaults tonull)extensions_time_budget(defaults tonull)id(defaults tonull)license_type(defaults tonull)max_bid_price(defaults tonull)cfg_name(defaults tonull)priority(defaults tonull)provision_vm_agent(defaults tonull)source_image_id(defaults tonull)tags(defaults tonull)virtual_machine_scale_set_id(defaults tonull)zone(defaults tonull)additional_capabilities(defaults tonull)admin_ssh_key(defaults tonull)boot_diagnostics(defaults tonull)os_disk(defaults tonull)plan(defaults tonull)secret(defaults tonull)source_image_reference(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
private_ip_addressprivate_ip_addressespublic_ip_addresspublic_ip_addressesvirtual_machine_id
Example
azurestack_linux_virtual_machine {
name = "linux_virtual_machine";
admin_username = …; # required
location = …; # required
network_interface_ids = …; # required
resource_group_name = …; # required
size = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.