Skip to content

Latest commit

 

History

History
153 lines (122 loc) · 2.97 KB

fortios_firewall_internetservicename.md

File metadata and controls

153 lines (122 loc) · 2.97 KB

fortios_firewall_internetservicename

back

Index

Terraform

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

top

Example Usage

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

  # city_id - (optional) is a type of number
  city_id = null
  # country_id - (optional) is a type of number
  country_id = null
  # internet_service_id - (optional) is a type of number
  internet_service_id = null
  # name - (optional) is a type of string
  name = null
  # region_id - (optional) is a type of number
  region_id = null
  # type - (optional) is a type of string
  type = null
}

top

Variables

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

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

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

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

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

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

top

Resource

resource "fortios_firewall_internetservicename" "this" {
  # city_id - (optional) is a type of number
  city_id = var.city_id
  # country_id - (optional) is a type of number
  country_id = var.country_id
  # internet_service_id - (optional) is a type of number
  internet_service_id = var.internet_service_id
  # name - (optional) is a type of string
  name = var.name
  # region_id - (optional) is a type of number
  region_id = var.region_id
  # type - (optional) is a type of string
  type = var.type
}

top

Outputs

output "city_id" {
  description = "returns a number"
  value       = fortios_firewall_internetservicename.this.city_id
}

output "country_id" {
  description = "returns a number"
  value       = fortios_firewall_internetservicename.this.country_id
}

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

output "internet_service_id" {
  description = "returns a number"
  value       = fortios_firewall_internetservicename.this.internet_service_id
}

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

output "region_id" {
  description = "returns a number"
  value       = fortios_firewall_internetservicename.this.region_id
}

output "type" {
  description = "returns a string"
  value       = fortios_firewall_internetservicename.this.type
}

output "this" {
  value = fortios_firewall_internetservicename.this
}

top