azurerm_windows_virtual_machine_scale_setNivis Nix constructor for the azurerm_windows_virtual_machine_scale_set resource (provider azurerm). 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,
instances,
location,
resource_group_name,
sku,
automatic_updates_enabled ? null,
automatic_zone_rebalancing_enabled ? null,
capacity_reservation_group_id ? null,
computer_name_prefix ? null,
custom_data ? null,
do_not_run_extensions_on_overprovisioned_machines ? null,
edge_zone ? null,
encryption_at_host_enabled ? null,
eviction_policy ? null,
extension_operations_enabled ? null,
extensions_time_budget ? null,
health_probe_id ? null,
host_group_id ? null,
id ? null,
license_type ? null,
max_bid_price ? null,
cfg_name ? null,
overprovision ? null,
platform_fault_domain_count ? null,
priority ? null,
provision_vm_agent ? null,
proximity_placement_group_id ? null,
resilient_vm_creation_enabled ? null,
resilient_vm_deletion_enabled ? null,
secure_boot_enabled ? null,
single_placement_group ? null,
source_image_id ? null,
tags ? null,
timezone ? null,
upgrade_mode ? null,
user_data ? null,
vtpm_enabled ? null,
zone_balance ? null,
zones ? null,
additional_capabilities ? null,
additional_unattend_content ? null,
automatic_instance_repair ? null,
automatic_os_upgrade_policy ? null,
boot_diagnostics ? null,
data_disk ? null,
extension ? null,
gallery_application ? null,
identity ? null,
network_interface ? null,
os_disk ? null,
plan ? null,
rolling_upgrade_policy ? null,
scale_in ? null,
secret ? null,
source_image_reference ? null,
spot_restore ? null,
termination_notification ? null,
timeouts ? null,
winrm_listener ? null,
overrides ? {}
}Required arguments
admin_passwordadmin_usernameinstanceslocationresource_group_namesku
Optional arguments
automatic_updates_enabled(defaults tonull)automatic_zone_rebalancing_enabled(defaults tonull)capacity_reservation_group_id(defaults tonull)computer_name_prefix(defaults tonull)custom_data(defaults tonull)do_not_run_extensions_on_overprovisioned_machines(defaults tonull)edge_zone(defaults tonull)encryption_at_host_enabled(defaults tonull)eviction_policy(defaults tonull)extension_operations_enabled(defaults tonull)extensions_time_budget(defaults tonull)health_probe_id(defaults tonull)host_group_id(defaults tonull)id(defaults tonull)license_type(defaults tonull)max_bid_price(defaults tonull)cfg_name(defaults tonull)overprovision(defaults tonull)platform_fault_domain_count(defaults tonull)priority(defaults tonull)provision_vm_agent(defaults tonull)proximity_placement_group_id(defaults tonull)resilient_vm_creation_enabled(defaults tonull)resilient_vm_deletion_enabled(defaults tonull)secure_boot_enabled(defaults tonull)single_placement_group(defaults tonull)source_image_id(defaults tonull)tags(defaults tonull)timezone(defaults tonull)upgrade_mode(defaults tonull)user_data(defaults tonull)vtpm_enabled(defaults tonull)zone_balance(defaults tonull)zones(defaults tonull)additional_capabilities(defaults tonull)additional_unattend_content(defaults tonull)automatic_instance_repair(defaults tonull)automatic_os_upgrade_policy(defaults tonull)boot_diagnostics(defaults tonull)data_disk(defaults tonull)extension(defaults tonull)gallery_application(defaults tonull)identity(defaults tonull)network_interface(defaults tonull)os_disk(defaults tonull)plan(defaults tonull)rolling_upgrade_policy(defaults tonull)scale_in(defaults tonull)secret(defaults tonull)source_image_reference(defaults tonull)spot_restore(defaults tonull)termination_notification(defaults tonull)timeouts(defaults tonull)winrm_listener(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
unique_id
Example
azurerm_windows_virtual_machine_scale_set {
name = "windows_virtual_machine_scale_set";
admin_password = …; # required
admin_username = …; # required
instances = …; # required
location = …; # required
resource_group_name = …; # required
sku = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.