azurerm_virtual_machine_scale_setNivis Nix constructor for the azurerm_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,
location,
resource_group_name,
upgrade_policy_mode,
automatic_os_upgrade ? null,
eviction_policy ? null,
health_probe_id ? null,
id ? null,
license_type ? null,
cfg_name ? null,
overprovision ? null,
priority ? null,
proximity_placement_group_id ? null,
single_placement_group ? null,
tags ? null,
zones ? null,
boot_diagnostics ? null,
extension ? null,
identity ? null,
network_profile ? null,
os_profile ? null,
os_profile_linux_config ? null,
os_profile_secrets ? null,
os_profile_windows_config ? null,
plan ? null,
rolling_upgrade_policy ? null,
sku ? null,
storage_profile_data_disk ? null,
storage_profile_image_reference ? null,
storage_profile_os_disk ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_nameupgrade_policy_mode
Optional arguments
automatic_os_upgrade(defaults tonull)eviction_policy(defaults tonull)health_probe_id(defaults tonull)id(defaults tonull)license_type(defaults tonull)cfg_name(defaults tonull)overprovision(defaults tonull)priority(defaults tonull)proximity_placement_group_id(defaults tonull)single_placement_group(defaults tonull)tags(defaults tonull)zones(defaults tonull)boot_diagnostics(defaults tonull)extension(defaults tonull)identity(defaults tonull)network_profile(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)rolling_upgrade_policy(defaults tonull)sku(defaults tonull)storage_profile_data_disk(defaults tonull)storage_profile_image_reference(defaults tonull)storage_profile_os_disk(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_virtual_machine_scale_set {
name = "virtual_machine_scale_set";
location = …; # required
resource_group_name = …; # required
upgrade_policy_mode = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.