Skip to content

Latest commit

 

History

History
163 lines (131 loc) · 2.97 KB

File metadata and controls

163 lines (131 loc) · 2.97 KB

fortios_system_autoscript

back

Index

Terraform

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

top

Example Usage

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

  # interval - (optional) is a type of number
  interval = null
  # name - (optional) is a type of string
  name = null
  # output_size - (optional) is a type of number
  output_size = null
  # repeat - (optional) is a type of number
  repeat = null
  # script - (optional) is a type of string
  script = null
  # start - (optional) is a type of string
  start = null
  # timeout - (optional) is a type of number
  timeout = null
}

top

Variables

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

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

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

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

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

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

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

top

Resource

resource "fortios_system_autoscript" "this" {
  # interval - (optional) is a type of number
  interval = var.interval
  # name - (optional) is a type of string
  name = var.name
  # output_size - (optional) is a type of number
  output_size = var.output_size
  # repeat - (optional) is a type of number
  repeat = var.repeat
  # script - (optional) is a type of string
  script = var.script
  # start - (optional) is a type of string
  start = var.start
  # timeout - (optional) is a type of number
  timeout = var.timeout
}

top

Outputs

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

output "interval" {
  description = "returns a number"
  value       = fortios_system_autoscript.this.interval
}

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

output "output_size" {
  description = "returns a number"
  value       = fortios_system_autoscript.this.output_size
}

output "repeat" {
  description = "returns a number"
  value       = fortios_system_autoscript.this.repeat
}

output "start" {
  description = "returns a string"
  value       = fortios_system_autoscript.this.start
}

output "timeout" {
  description = "returns a number"
  value       = fortios_system_autoscript.this.timeout
}

output "this" {
  value = fortios_system_autoscript.this
}

top