Skip to content

Latest commit

 

History

History
332 lines (277 loc) · 8.17 KB

fortios_switchcontroller_global.md

File metadata and controls

332 lines (277 loc) · 8.17 KB

fortios_switchcontroller_global

back

Index

Terraform

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

top

Example Usage

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

  # allow_multiple_interfaces - (optional) is a type of string
  allow_multiple_interfaces = null
  # bounce_quarantined_link - (optional) is a type of string
  bounce_quarantined_link = null
  # default_virtual_switch_vlan - (optional) is a type of string
  default_virtual_switch_vlan = null
  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = null
  # https_image_push - (optional) is a type of string
  https_image_push = null
  # log_mac_limit_violations - (optional) is a type of string
  log_mac_limit_violations = null
  # mac_aging_interval - (optional) is a type of number
  mac_aging_interval = null
  # mac_event_logging - (optional) is a type of string
  mac_event_logging = null
  # mac_retention_period - (optional) is a type of number
  mac_retention_period = null
  # mac_violation_timer - (optional) is a type of number
  mac_violation_timer = null
  # quarantine_mode - (optional) is a type of string
  quarantine_mode = null
  # sn_dns_resolution - (optional) is a type of string
  sn_dns_resolution = null
  # update_user_device - (optional) is a type of string
  update_user_device = null
  # vlan_all_mode - (optional) is a type of string
  vlan_all_mode = null
  # vlan_optimization - (optional) is a type of string
  vlan_optimization = null

  custom_command = [{
    command_entry = null
    command_name  = null
  }]

  disable_discovery = [{
    name = null
  }]
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

variable "custom_command" {
  description = "nested block: NestingList, min items: 0, max items: 0"
  type = set(object(
    {
      command_entry = string
      command_name  = string
    }
  ))
  default = []
}

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

top

Resource

resource "fortios_switchcontroller_global" "this" {
  # allow_multiple_interfaces - (optional) is a type of string
  allow_multiple_interfaces = var.allow_multiple_interfaces
  # bounce_quarantined_link - (optional) is a type of string
  bounce_quarantined_link = var.bounce_quarantined_link
  # default_virtual_switch_vlan - (optional) is a type of string
  default_virtual_switch_vlan = var.default_virtual_switch_vlan
  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = var.dynamic_sort_subtable
  # https_image_push - (optional) is a type of string
  https_image_push = var.https_image_push
  # log_mac_limit_violations - (optional) is a type of string
  log_mac_limit_violations = var.log_mac_limit_violations
  # mac_aging_interval - (optional) is a type of number
  mac_aging_interval = var.mac_aging_interval
  # mac_event_logging - (optional) is a type of string
  mac_event_logging = var.mac_event_logging
  # mac_retention_period - (optional) is a type of number
  mac_retention_period = var.mac_retention_period
  # mac_violation_timer - (optional) is a type of number
  mac_violation_timer = var.mac_violation_timer
  # quarantine_mode - (optional) is a type of string
  quarantine_mode = var.quarantine_mode
  # sn_dns_resolution - (optional) is a type of string
  sn_dns_resolution = var.sn_dns_resolution
  # update_user_device - (optional) is a type of string
  update_user_device = var.update_user_device
  # vlan_all_mode - (optional) is a type of string
  vlan_all_mode = var.vlan_all_mode
  # vlan_optimization - (optional) is a type of string
  vlan_optimization = var.vlan_optimization

  dynamic "custom_command" {
    for_each = var.custom_command
    content {
      # command_entry - (optional) is a type of string
      command_entry = custom_command.value["command_entry"]
      # command_name - (optional) is a type of string
      command_name = custom_command.value["command_name"]
    }
  }

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

}

top

Outputs

output "allow_multiple_interfaces" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.allow_multiple_interfaces
}

output "bounce_quarantined_link" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.bounce_quarantined_link
}

output "default_virtual_switch_vlan" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.default_virtual_switch_vlan
}

output "https_image_push" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.https_image_push
}

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

output "log_mac_limit_violations" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.log_mac_limit_violations
}

output "mac_aging_interval" {
  description = "returns a number"
  value       = fortios_switchcontroller_global.this.mac_aging_interval
}

output "mac_event_logging" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.mac_event_logging
}

output "mac_retention_period" {
  description = "returns a number"
  value       = fortios_switchcontroller_global.this.mac_retention_period
}

output "mac_violation_timer" {
  description = "returns a number"
  value       = fortios_switchcontroller_global.this.mac_violation_timer
}

output "quarantine_mode" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.quarantine_mode
}

output "sn_dns_resolution" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.sn_dns_resolution
}

output "update_user_device" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.update_user_device
}

output "vlan_all_mode" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.vlan_all_mode
}

output "vlan_optimization" {
  description = "returns a string"
  value       = fortios_switchcontroller_global.this.vlan_optimization
}

output "this" {
  value = fortios_switchcontroller_global.this
}

top