» avi_scheduler

The Scheduler resource allows the creation and management of Avi Scheduler

» Example Usage

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

» Argument Reference

The following arguments are supported:

  • name - (Required) Name of scheduler.
  • backup_config_ref - (Optional) Backup configuration to be executed by this scheduler.
  • enabled - (Optional) Boolean flag to set enabled.
  • end_date_time - (Optional) Scheduler end date and time.
  • frequency - (Optional) Frequency at which custom scheduler will run.
  • frequency_unit - (Optional) Unit at which custom scheduler will run.
  • run_mode - (Optional) Scheduler run mode.
  • run_script_ref - (Optional) Control script to be executed by this scheduler.
  • scheduler_action - (Optional) Define scheduler action.
  • start_date_time - (Optional) Scheduler start date and time.
  • tenant_ref - (Optional) It is a reference to an object of type tenant.

» 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.