Skip to content

Latest commit

 

History

History
183 lines (148 loc) · 3.67 KB

fortios_switchcontroller_stpsettings.md

File metadata and controls

183 lines (148 loc) · 3.67 KB

fortios_switchcontroller_stpsettings

back

Index

Terraform

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

top

Example Usage

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

  # forward_time - (optional) is a type of number
  forward_time = null
  # hello_time - (optional) is a type of number
  hello_time = null
  # max_age - (optional) is a type of number
  max_age = null
  # max_hops - (optional) is a type of number
  max_hops = null
  # name - (optional) is a type of string
  name = null
  # pending_timer - (optional) is a type of number
  pending_timer = null
  # revision - (optional) is a type of number
  revision = null
  # status - (optional) is a type of string
  status = null
}

top

Variables

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

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

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

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

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

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

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

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

top

Resource

resource "fortios_switchcontroller_stpsettings" "this" {
  # forward_time - (optional) is a type of number
  forward_time = var.forward_time
  # hello_time - (optional) is a type of number
  hello_time = var.hello_time
  # max_age - (optional) is a type of number
  max_age = var.max_age
  # max_hops - (optional) is a type of number
  max_hops = var.max_hops
  # name - (optional) is a type of string
  name = var.name
  # pending_timer - (optional) is a type of number
  pending_timer = var.pending_timer
  # revision - (optional) is a type of number
  revision = var.revision
  # status - (optional) is a type of string
  status = var.status
}

top

Outputs

output "forward_time" {
  description = "returns a number"
  value       = fortios_switchcontroller_stpsettings.this.forward_time
}

output "hello_time" {
  description = "returns a number"
  value       = fortios_switchcontroller_stpsettings.this.hello_time
}

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

output "max_age" {
  description = "returns a number"
  value       = fortios_switchcontroller_stpsettings.this.max_age
}

output "max_hops" {
  description = "returns a number"
  value       = fortios_switchcontroller_stpsettings.this.max_hops
}

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

output "pending_timer" {
  description = "returns a number"
  value       = fortios_switchcontroller_stpsettings.this.pending_timer
}

output "revision" {
  description = "returns a number"
  value       = fortios_switchcontroller_stpsettings.this.revision
}

output "status" {
  description = "returns a string"
  value       = fortios_switchcontroller_stpsettings.this.status
}

output "this" {
  value = fortios_switchcontroller_stpsettings.this
}

top