Skip to content

Latest commit

 

History

History
314 lines (263 loc) · 6.94 KB

File metadata and controls

314 lines (263 loc) · 6.94 KB

fortios_system_automationtrigger

back

Index

Terraform

terraform {
  required_providers {
    fortios = ">= 1.11.0"
  }
}

top

Example Usage

module "fortios_system_automationtrigger" {
  source = "./modules/fortios/r/fortios_system_automationtrigger"

  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = null
  # event_type - (optional) is a type of string
  event_type = null
  # faz_event_name - (optional) is a type of string
  faz_event_name = null
  # faz_event_severity - (optional) is a type of string
  faz_event_severity = null
  # faz_event_tags - (optional) is a type of string
  faz_event_tags = null
  # ioc_level - (optional) is a type of string
  ioc_level = null
  # license_type - (optional) is a type of string
  license_type = null
  # logid - (optional) is a type of number
  logid = null
  # name - (optional) is a type of string
  name = null
  # report_type - (optional) is a type of string
  report_type = null
  # trigger_day - (optional) is a type of number
  trigger_day = null
  # trigger_frequency - (optional) is a type of string
  trigger_frequency = null
  # trigger_hour - (optional) is a type of number
  trigger_hour = null
  # trigger_minute - (optional) is a type of number
  trigger_minute = null
  # trigger_type - (optional) is a type of string
  trigger_type = null
  # trigger_weekday - (optional) is a type of string
  trigger_weekday = null

  fields = [{
    id    = null
    name  = null
    value = null
  }]
}

top

Variables

variable "dynamic_sort_subtable" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "event_type" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "faz_event_name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "faz_event_severity" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "faz_event_tags" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "ioc_level" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "license_type" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "logid" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "report_type" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "trigger_day" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "trigger_frequency" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "trigger_hour" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "trigger_minute" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "trigger_type" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "trigger_weekday" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "fields" {
  description = "nested block: NestingList, min items: 0, max items: 0"
  type = set(object(
    {
      id    = number
      name  = string
      value = string
    }
  ))
  default = []
}

top

Resource

resource "fortios_system_automationtrigger" "this" {
  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = var.dynamic_sort_subtable
  # event_type - (optional) is a type of string
  event_type = var.event_type
  # faz_event_name - (optional) is a type of string
  faz_event_name = var.faz_event_name
  # faz_event_severity - (optional) is a type of string
  faz_event_severity = var.faz_event_severity
  # faz_event_tags - (optional) is a type of string
  faz_event_tags = var.faz_event_tags
  # ioc_level - (optional) is a type of string
  ioc_level = var.ioc_level
  # license_type - (optional) is a type of string
  license_type = var.license_type
  # logid - (optional) is a type of number
  logid = var.logid
  # name - (optional) is a type of string
  name = var.name
  # report_type - (optional) is a type of string
  report_type = var.report_type
  # trigger_day - (optional) is a type of number
  trigger_day = var.trigger_day
  # trigger_frequency - (optional) is a type of string
  trigger_frequency = var.trigger_frequency
  # trigger_hour - (optional) is a type of number
  trigger_hour = var.trigger_hour
  # trigger_minute - (optional) is a type of number
  trigger_minute = var.trigger_minute
  # trigger_type - (optional) is a type of string
  trigger_type = var.trigger_type
  # trigger_weekday - (optional) is a type of string
  trigger_weekday = var.trigger_weekday

  dynamic "fields" {
    for_each = var.fields
    content {
      # id - (optional) is a type of number
      id = fields.value["id"]
      # name - (optional) is a type of string
      name = fields.value["name"]
      # value - (optional) is a type of string
      value = fields.value["value"]
    }
  }

}

top

Outputs

output "event_type" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.event_type
}

output "id" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.id
}

output "ioc_level" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.ioc_level
}

output "license_type" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.license_type
}

output "logid" {
  description = "returns a number"
  value       = fortios_system_automationtrigger.this.logid
}

output "name" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.name
}

output "report_type" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.report_type
}

output "trigger_day" {
  description = "returns a number"
  value       = fortios_system_automationtrigger.this.trigger_day
}

output "trigger_frequency" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.trigger_frequency
}

output "trigger_hour" {
  description = "returns a number"
  value       = fortios_system_automationtrigger.this.trigger_hour
}

output "trigger_minute" {
  description = "returns a number"
  value       = fortios_system_automationtrigger.this.trigger_minute
}

output "trigger_type" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.trigger_type
}

output "trigger_weekday" {
  description = "returns a string"
  value       = fortios_system_automationtrigger.this.trigger_weekday
}

output "this" {
  value = fortios_system_automationtrigger.this
}

top