Skip to content

Latest commit

 

History

History
133 lines (106 loc) · 2.5 KB

mso_schema_site_anp_epg_static_leaf.md

File metadata and controls

133 lines (106 loc) · 2.5 KB

mso_schema_site_anp_epg_static_leaf

back

Index

Terraform

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

top

Example Usage

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

  # anp_name - (required) is a type of string
  anp_name = null
  # epg_name - (required) is a type of string
  epg_name = null
  # path - (required) is a type of string
  path = null
  # port_encap_vlan - (optional) is a type of number
  port_encap_vlan = null
  # schema_id - (required) is a type of string
  schema_id = 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 "anp_name" {
  description = "(required)"
  type        = string
}

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

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

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

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

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

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

top

Datasource

data "mso_schema_site_anp_epg_static_leaf" "this" {
  # anp_name - (required) is a type of string
  anp_name = var.anp_name
  # epg_name - (required) is a type of string
  epg_name = var.epg_name
  # path - (required) is a type of string
  path = var.path
  # port_encap_vlan - (optional) is a type of number
  port_encap_vlan = var.port_encap_vlan
  # schema_id - (required) is a type of string
  schema_id = var.schema_id
  # 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 "id" {
  description = "returns a string"
  value       = data.mso_schema_site_anp_epg_static_leaf.this.id
}

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

output "this" {
  value = mso_schema_site_anp_epg_static_leaf.this
}

top