Skip to content

Latest commit

 

History

History
201 lines (166 loc) · 4 KB

mso_schema_site_anp_epg_static_port.md

File metadata and controls

201 lines (166 loc) · 4 KB

mso_schema_site_anp_epg_static_port

back

Index

Terraform

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

top

Example Usage

module "mso_schema_site_anp_epg_static_port" {
  source = "./modules/mso/r/mso_schema_site_anp_epg_static_port"

  # anp_name - (required) is a type of string
  anp_name = null
  # deployment_immediacy - (required) is a type of string
  deployment_immediacy = null
  # epg_name - (required) is a type of string
  epg_name = null
  # fex - (optional) is a type of string
  fex = null
  # leaf - (required) is a type of string
  leaf = null
  # micro_seg_vlan - (optional) is a type of number
  micro_seg_vlan = null
  # mode - (required) is a type of string
  mode = null
  # path - (required) is a type of string
  path = null
  # path_type - (required) is a type of string
  path_type = null
  # pod - (required) is a type of string
  pod = 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 - (required) is a type of string
  template_name = null
  # vlan - (required) is a type of number
  vlan = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

variable "vlan" {
  description = "(required)"
  type        = number
}

top

Resource

resource "mso_schema_site_anp_epg_static_port" "this" {
  # anp_name - (required) is a type of string
  anp_name = var.anp_name
  # deployment_immediacy - (required) is a type of string
  deployment_immediacy = var.deployment_immediacy
  # epg_name - (required) is a type of string
  epg_name = var.epg_name
  # fex - (optional) is a type of string
  fex = var.fex
  # leaf - (required) is a type of string
  leaf = var.leaf
  # micro_seg_vlan - (optional) is a type of number
  micro_seg_vlan = var.micro_seg_vlan
  # mode - (required) is a type of string
  mode = var.mode
  # path - (required) is a type of string
  path = var.path
  # path_type - (required) is a type of string
  path_type = var.path_type
  # pod - (required) is a type of string
  pod = var.pod
  # 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 - (required) is a type of string
  template_name = var.template_name
  # vlan - (required) is a type of number
  vlan = var.vlan
}

top

Outputs

output "fex" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_static_port.this.fex
}

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

output "micro_seg_vlan" {
  description = "returns a number"
  value       = mso_schema_site_anp_epg_static_port.this.micro_seg_vlan
}

output "this" {
  value = mso_schema_site_anp_epg_static_port.this
}

top