Skip to content

Latest commit

 

History

History
122 lines (97 loc) · 2.2 KB

fortios_fmg_devicemanager_script_execute.md

File metadata and controls

122 lines (97 loc) · 2.2 KB

fortios_fmg_devicemanager_script_execute

back

Index

Terraform

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

top

Example Usage

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

  # adom - (optional) is a type of string
  adom = null
  # package - (optional) is a type of string
  package = null
  # script_name - (required) is a type of string
  script_name = null
  # target_devname - (optional) is a type of string
  target_devname = null
  # timeout - (optional) is a type of number
  timeout = null
  # vdom - (optional) is a type of string
  vdom = null
}

top

Variables

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

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

variable "script_name" {
  description = "(required)"
  type        = string
}

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

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

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

top

Resource

resource "fortios_fmg_devicemanager_script_execute" "this" {
  # adom - (optional) is a type of string
  adom = var.adom
  # package - (optional) is a type of string
  package = var.package
  # script_name - (required) is a type of string
  script_name = var.script_name
  # target_devname - (optional) is a type of string
  target_devname = var.target_devname
  # timeout - (optional) is a type of number
  timeout = var.timeout
  # vdom - (optional) is a type of string
  vdom = var.vdom
}

top

Outputs

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

output "this" {
  value = fortios_fmg_devicemanager_script_execute.this
}

top