Skip to content

Latest commit

 

History

History
307 lines (255 loc) · 6.03 KB

fortios_authentication_rule.md

File metadata and controls

307 lines (255 loc) · 6.03 KB

fortios_authentication_rule

back

Index

Terraform

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

top

Example Usage

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

  # active_auth_method - (optional) is a type of string
  active_auth_method = null
  # comments - (optional) is a type of string
  comments = null
  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = null
  # ip_based - (optional) is a type of string
  ip_based = null
  # name - (optional) is a type of string
  name = null
  # protocol - (optional) is a type of string
  protocol = null
  # sso_auth_method - (optional) is a type of string
  sso_auth_method = null
  # status - (optional) is a type of string
  status = null
  # transaction_based - (optional) is a type of string
  transaction_based = null
  # web_auth_cookie - (optional) is a type of string
  web_auth_cookie = null
  # web_portal - (optional) is a type of string
  web_portal = null

  dstaddr = [{
    name = null
  }]

  srcaddr = [{
    name = null
  }]

  srcaddr6 = [{
    name = null
  }]

  srcintf = [{
    name = null
  }]
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

top

Resource

resource "fortios_authentication_rule" "this" {
  # active_auth_method - (optional) is a type of string
  active_auth_method = var.active_auth_method
  # comments - (optional) is a type of string
  comments = var.comments
  # dynamic_sort_subtable - (optional) is a type of string
  dynamic_sort_subtable = var.dynamic_sort_subtable
  # ip_based - (optional) is a type of string
  ip_based = var.ip_based
  # name - (optional) is a type of string
  name = var.name
  # protocol - (optional) is a type of string
  protocol = var.protocol
  # sso_auth_method - (optional) is a type of string
  sso_auth_method = var.sso_auth_method
  # status - (optional) is a type of string
  status = var.status
  # transaction_based - (optional) is a type of string
  transaction_based = var.transaction_based
  # web_auth_cookie - (optional) is a type of string
  web_auth_cookie = var.web_auth_cookie
  # web_portal - (optional) is a type of string
  web_portal = var.web_portal

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

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

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

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

}

top

Outputs

output "active_auth_method" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.active_auth_method
}

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

output "ip_based" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.ip_based
}

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

output "protocol" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.protocol
}

output "sso_auth_method" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.sso_auth_method
}

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

output "transaction_based" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.transaction_based
}

output "web_auth_cookie" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.web_auth_cookie
}

output "web_portal" {
  description = "returns a string"
  value       = fortios_authentication_rule.this.web_portal
}

output "this" {
  value = fortios_authentication_rule.this
}

top