Skip to content

Latest commit

 

History

History
294 lines (246 loc) · 6.99 KB

mso_schema_site_anp_epg_domain.md

File metadata and controls

294 lines (246 loc) · 6.99 KB

mso_schema_site_anp_epg_domain

back

Index

Terraform

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

top

Example Usage

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

  # allow_micro_segmentation - (optional) is a type of bool
  allow_micro_segmentation = null
  # anp_name - (required) is a type of string
  anp_name = null
  # deploy_immediacy - (required) is a type of string
  deploy_immediacy = null
  # dn - (required) is a type of string
  dn = null
  # domain_type - (required) is a type of string
  domain_type = null
  # enhanced_lag_policy_dn - (optional) is a type of string
  enhanced_lag_policy_dn = null
  # enhanced_lag_policy_name - (optional) is a type of string
  enhanced_lag_policy_name = null
  # epg_name - (required) is a type of string
  epg_name = null
  # micro_seg_vlan - (optional) is a type of number
  micro_seg_vlan = null
  # micro_seg_vlan_type - (optional) is a type of string
  micro_seg_vlan_type = null
  # port_encap_vlan - (optional) is a type of number
  port_encap_vlan = null
  # port_encap_vlan_type - (optional) is a type of string
  port_encap_vlan_type = null
  # resolution_immediacy - (required) is a type of string
  resolution_immediacy = null
  # schema_id - (required) is a type of string
  schema_id = null
  # site_id - (required) is a type of string
  site_id = null
  # switch_type - (optional) is a type of string
  switch_type = null
  # switching_mode - (optional) is a type of string
  switching_mode = null
  # template_name - (required) is a type of string
  template_name = null
  # vlan_encap_mode - (optional) is a type of string
  vlan_encap_mode = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

top

Resource

resource "mso_schema_site_anp_epg_domain" "this" {
  # allow_micro_segmentation - (optional) is a type of bool
  allow_micro_segmentation = var.allow_micro_segmentation
  # anp_name - (required) is a type of string
  anp_name = var.anp_name
  # deploy_immediacy - (required) is a type of string
  deploy_immediacy = var.deploy_immediacy
  # dn - (required) is a type of string
  dn = var.dn
  # domain_type - (required) is a type of string
  domain_type = var.domain_type
  # enhanced_lag_policy_dn - (optional) is a type of string
  enhanced_lag_policy_dn = var.enhanced_lag_policy_dn
  # enhanced_lag_policy_name - (optional) is a type of string
  enhanced_lag_policy_name = var.enhanced_lag_policy_name
  # epg_name - (required) is a type of string
  epg_name = var.epg_name
  # micro_seg_vlan - (optional) is a type of number
  micro_seg_vlan = var.micro_seg_vlan
  # micro_seg_vlan_type - (optional) is a type of string
  micro_seg_vlan_type = var.micro_seg_vlan_type
  # port_encap_vlan - (optional) is a type of number
  port_encap_vlan = var.port_encap_vlan
  # port_encap_vlan_type - (optional) is a type of string
  port_encap_vlan_type = var.port_encap_vlan_type
  # resolution_immediacy - (required) is a type of string
  resolution_immediacy = var.resolution_immediacy
  # 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
  # switch_type - (optional) is a type of string
  switch_type = var.switch_type
  # switching_mode - (optional) is a type of string
  switching_mode = var.switching_mode
  # template_name - (required) is a type of string
  template_name = var.template_name
  # vlan_encap_mode - (optional) is a type of string
  vlan_encap_mode = var.vlan_encap_mode
}

top

Outputs

output "allow_micro_segmentation" {
  description = "returns a bool"
  value       = mso_schema_site_anp_epg_domain.this.allow_micro_segmentation
}

output "enhanced_lag_policy_dn" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.enhanced_lag_policy_dn
}

output "enhanced_lag_policy_name" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.enhanced_lag_policy_name
}

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

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

output "micro_seg_vlan_type" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.micro_seg_vlan_type
}

output "port_encap_vlan" {
  description = "returns a number"
  value       = mso_schema_site_anp_epg_domain.this.port_encap_vlan
}

output "port_encap_vlan_type" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.port_encap_vlan_type
}

output "switch_type" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.switch_type
}

output "switching_mode" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.switching_mode
}

output "vlan_encap_mode" {
  description = "returns a string"
  value       = mso_schema_site_anp_epg_domain.this.vlan_encap_mode
}

output "this" {
  value = mso_schema_site_anp_epg_domain.this
}

top