azurestack_windows_virtual_machineNivis Nix constructor for the azurestack_windows_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_password,
admin_username,
location,
network_interface_ids,
resource_group_name,
size,
allow_extension_operations ? null,
availability_set_id ? null,
computer_name ? null,
custom_data ? null,
enable_automatic_updates ? 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,
patch_mode ? null,
priority ? null,
provision_vm_agent ? null,
source_image_id ? null,
tags ? null,
timezone ? null,
virtual_machine_scale_set_id ? null,
zone ? null,
additional_capabilities ? null,
additional_unattend_content ? null,
boot_diagnostics ? null,
os_disk ? null,
plan ? null,
secret ? null,
source_image_reference ? null,
timeouts ? null,
winrm_listener ? null,
overrides ? {}
}Required arguments
admin_passwordadmin_usernamelocationnetwork_interface_idsresource_group_namesize
Optional arguments
allow_extension_operations(defaults tonull)availability_set_id(defaults tonull)computer_name(defaults tonull)custom_data(defaults tonull)enable_automatic_updates(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)patch_mode(defaults tonull)priority(defaults tonull)provision_vm_agent(defaults tonull)source_image_id(defaults tonull)tags(defaults tonull)timezone(defaults tonull)virtual_machine_scale_set_id(defaults tonull)zone(defaults tonull)additional_capabilities(defaults tonull)additional_unattend_content(defaults tonull)boot_diagnostics(defaults tonull)os_disk(defaults tonull)plan(defaults tonull)secret(defaults tonull)source_image_reference(defaults tonull)timeouts(defaults tonull)winrm_listener(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
private_ip_addressprivate_ip_addressespublic_ip_addresspublic_ip_addressesvirtual_machine_id
Example
azurestack_windows_virtual_machine {
name = "windows_virtual_machine";
admin_password = …; # required
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.