Skip to content

Latest commit

 

History

History
174 lines (142 loc) · 3.34 KB

mso_schema_site_bd_subnet.md

File metadata and controls

174 lines (142 loc) · 3.34 KB

mso_schema_site_bd_subnet

back

Index

Terraform

terraform {
  required_providers {
    mso = ">= 0.1.5"
  }
}

top

Example Usage

module "mso_schema_site_bd_subnet" {
  source = "./modules/mso/d/mso_schema_site_bd_subnet"

  # bd_name - (required) is a type of string
  bd_name = null
  # description - (optional) is a type of string
  description = null
  # ip - (required) is a type of string
  ip = null
  # no_default_gateway - (optional) is a type of bool
  no_default_gateway = null
  # querier - (optional) is a type of bool
  querier = null
  # schema_id - (required) is a type of string
  schema_id = null
  # scope - (optional) is a type of string
  scope = null
  # shared - (optional) is a type of bool
  shared = null
  # site_id - (required) is a type of string
  site_id = null
  # template_name - (optional) is a type of string
  template_name = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

top

Datasource

data "mso_schema_site_bd_subnet" "this" {
  # bd_name - (required) is a type of string
  bd_name = var.bd_name
  # description - (optional) is a type of string
  description = var.description
  # ip - (required) is a type of string
  ip = var.ip
  # no_default_gateway - (optional) is a type of bool
  no_default_gateway = var.no_default_gateway
  # querier - (optional) is a type of bool
  querier = var.querier
  # schema_id - (required) is a type of string
  schema_id = var.schema_id
  # scope - (optional) is a type of string
  scope = var.scope
  # shared - (optional) is a type of bool
  shared = var.shared
  # site_id - (required) is a type of string
  site_id = var.site_id
  # template_name - (optional) is a type of string
  template_name = var.template_name
}

top

Outputs

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

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

output "no_default_gateway" {
  description = "returns a bool"
  value       = data.mso_schema_site_bd_subnet.this.no_default_gateway
}

output "querier" {
  description = "returns a bool"
  value       = data.mso_schema_site_bd_subnet.this.querier
}

output "this" {
  value = mso_schema_site_bd_subnet.this
}

top