azurestack_virtual_machineNivis Nix constructor for the azurestack_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,
location,
network_interface_ids,
resource_group_name,
vm_size,
availability_set_id ? null,
delete_data_disks_on_termination ? null,
delete_os_disk_on_termination ? null,
id ? null,
license_type ? null,
cfg_name ? null,
primary_network_interface_id ? null,
tags ? null,
zones ? null,
boot_diagnostics ? null,
identity ? null,
os_profile ? null,
os_profile_linux_config ? null,
os_profile_secrets ? null,
os_profile_windows_config ? null,
plan ? null,
storage_data_disk ? null,
storage_image_reference ? null,
storage_os_disk ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationnetwork_interface_idsresource_group_namevm_size
Optional arguments
availability_set_id(defaults tonull)delete_data_disks_on_termination(defaults tonull)delete_os_disk_on_termination(defaults tonull)id(defaults tonull)license_type(defaults tonull)cfg_name(defaults tonull)primary_network_interface_id(defaults tonull)tags(defaults tonull)zones(defaults tonull)boot_diagnostics(defaults tonull)identity(defaults tonull)os_profile(defaults tonull)os_profile_linux_config(defaults tonull)os_profile_secrets(defaults tonull)os_profile_windows_config(defaults tonull)plan(defaults tonull)storage_data_disk(defaults tonull)storage_image_reference(defaults tonull)storage_os_disk(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurestack_virtual_machine {
name = "virtual_machine";
location = …; # required
network_interface_ids = …; # required
resource_group_name = …; # required
vm_size = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.