azurerm_maintenance_assignment_virtual_machineNivis Nix constructor for the azurerm_maintenance_assignment_virtual_machine 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,
maintenance_configuration_id,
virtual_machine_id,
id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationmaintenance_configuration_idvirtual_machine_id
Optional arguments
id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_maintenance_assignment_virtual_machine {
name = "maintenance_assignment_virtual_machine";
location = …; # required
maintenance_configuration_id = …; # required
virtual_machine_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.