» avi_alertconfig

The AlertConfig resource allows the creation and management of Avi AlertConfig

» Example Usage

resource "avi_alertconfig" "foo" {
    name = "terraform-example-foo"
    tenant_ref = "/api/tenant/?name=admin"

» Argument Reference

The following arguments are supported:

  • alert_rule - (Required) List of filters matching on events or client logs used for triggering alerts.
  • category - (Required) Determines whether an alert is raised immediately when event occurs (realtime) or after specified number of events occurs within rolling time window.
  • name - (Required) Name of the alert configuration.
  • source - (Required) Signifies system events or the type of client logsused in this alert configuration.
  • action_group_ref - (Optional) The alert config will trigger the selected alert action, which can send notifications and execute a controlscript.
  • autoscale_alert - (Optional) This alert config applies to auto scale alerts.
  • description - (Optional) A custom description field.
  • enabled - (Optional) Enable or disable this alert config from generating new alerts.
  • expiry_time - (Optional) An alert is expired and deleted after the expiry time has elapsed.
  • obj_uuid - (Optional) Uuid of the resource for which alert was raised.
  • object_type - (Optional) The object type to which the alert config is associated with.
  • recommendation - (Optional) Placeholder for description of property recommendation of obj type alertconfig field type string type str.
  • rolling_window - (Optional) Only if the number of events is reached or exceeded within the time window will an alert be generated.
  • summary - (Optional) Summary of reason why alert is generated.
  • tenant_ref - (Optional) It is a reference to an object of type tenant.
  • threshold - (Optional) An alert is created only when the number of events meets or exceeds this number within the chosen time frame.
  • throttle - (Optional) Alerts are suppressed (throttled) for this duration of time since the last alert was raised for this alert config.

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 40 mins) Used when creating the AMI
  • update - (Defaults to 40 mins) Used when updating the AMI
  • delete - (Defaults to 90 mins) Used when deregistering the AMI

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • uuid - Unique object identifier of the object.