azurerm_maintenance_assignment_virtual_machine

Nivis 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
  • location
  • maintenance_configuration_id
  • virtual_machine_id
Optional arguments
  • id (defaults to null)
  • timeouts (defaults to null)
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.