newrelic_synthetics_script_monitor

Nivis Nix constructor for the newrelic_synthetics_script_monitor resource (provider newrelic). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  period,
  status,
  type,
  account_id ? null,
  browsers ? null,
  device_orientation ? null,
  device_type ? null,
  devices ? null,
  enable_screenshot_on_failure_and_script ? null,
  id ? null,
  locations_public ? null,
  cfg_name ? null,
  runtime_type ? null,
  runtime_type_version ? null,
  script ? null,
  script_language ? null,
  use_unsupported_legacy_runtime ? null,
  location_private ? null,
  tag ? null,
  overrides ? {}
}
Required arguments
  • period
  • status
  • type
Optional arguments
  • account_id (defaults to null)
  • browsers (defaults to null)
  • device_orientation (defaults to null)
  • device_type (defaults to null)
  • devices (defaults to null)
  • enable_screenshot_on_failure_and_script (defaults to null)
  • id (defaults to null)
  • locations_public (defaults to null)
  • cfg_name (defaults to null)
  • runtime_type (defaults to null)
  • runtime_type_version (defaults to null)
  • script (defaults to null)
  • script_language (defaults to null)
  • use_unsupported_legacy_runtime (defaults to null)
  • location_private (defaults to null)
  • tag (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • guid
  • monitor_id
  • period_in_minutes
Example
newrelic_synthetics_script_monitor {
  name = "synthetics_script_monitor";
  period = …;  # required
  status = …;  # required
  type = …;  # required
}

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