Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 1.32 KB

File metadata and controls

87 lines (65 loc) · 1.32 KB

fortios_json_generic_api

back

Index

Terraform

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

top

Example Usage

module "fortios_json_generic_api" {
  source = "./modules/fortios/d/fortios_json_generic_api"

  # path - (required) is a type of string
  path = null
  # specialparams - (optional) is a type of string
  specialparams = null
}

top

Variables

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

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

top

Datasource

data "fortios_json_generic_api" "this" {
  # path - (required) is a type of string
  path = var.path
  # specialparams - (optional) is a type of string
  specialparams = var.specialparams
}

top

Outputs

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

output "response" {
  description = "returns a string"
  value       = data.fortios_json_generic_api.this.response
}

output "this" {
  value = fortios_json_generic_api.this
}

top