azurerm_automation_watcher

Nivis Nix constructor for the azurerm_automation_watcher 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,
  automation_account_id,
  execution_frequency_in_seconds,
  location,
  script_name,
  script_run_on,
  description ? null,
  etag ? null,
  id ? null,
  cfg_name ? null,
  script_parameters ? null,
  tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • automation_account_id
  • execution_frequency_in_seconds
  • location
  • script_name
  • script_run_on
Optional arguments
  • description (defaults to null)
  • etag (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • script_parameters (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • status
Example
azurerm_automation_watcher {
  name = "automation_watcher";
  automation_account_id = …;  # required
  execution_frequency_in_seconds = …;  # required
  location = …;  # required
  script_name = …;  # required
  script_run_on = …;  # required
}

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