azurerm_policy_virtual_machine_configuration_assignment

Nivis Nix constructor for the azurerm_policy_virtual_machine_configuration_assignment 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,
  virtual_machine_id,
  id ? null,
  cfg_name ? null,
  configuration ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • virtual_machine_id
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_policy_virtual_machine_configuration_assignment {
  name = "policy_virtual_machine_configuration_assignment";
  location = …;  # required
  virtual_machine_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.