diff --git a/website/docs/r/schema_site_anp_epg_static_port.html.markdown b/website/docs/r/schema_site_anp_epg_static_port.html.markdown index acffd33d..b24947db 100644 --- a/website/docs/r/schema_site_anp_epg_static_port.html.markdown +++ b/website/docs/r/schema_site_anp_epg_static_port.html.markdown @@ -12,6 +12,8 @@ Manages MSO Schema Template Application Network Profiles Endpoint Groups Static ## Example Usage ## +### path_type: port ### + ```hcl resource "mso_schema_site_anp_epg_static_port" "static_port" { schema_id = "5c4d5bb72700000401f80948" @@ -30,6 +32,46 @@ resource "mso_schema_site_anp_epg_static_port" "static_port" { } ``` +### path_type: vpc ### + +```hcl +resource "mso_schema_site_anp_epg_static_port" "static_port" { + schema_id = "5c4d5bb72700000401f80948" + site_id = "5c7c95b25100008f01c1ee3c" + template_name = "Template1" + anp_name = "ANP" + epg_name = "DB" + path_type = "port" + deployment_immediacy = "lazy" + pod = "pod-1" + leaf = "101-102" + path = "HX-FI-B_PolGrp" + vlan = 200 + mode = "untagged" + +} +``` + +### path_type: dpc + +```hcl +resource "mso_schema_site_anp_epg_static_port" "static_port" { + schema_id = "5c4d5bb72700000401f80948" + site_id = "5c7c95b25100008f01c1ee3c" + template_name = "Template1" + anp_name = "ANP" + epg_name = "DB" + path_type = "dpc" + deployment_immediacy = "lazy" + pod = "pod-7" + leaf = "109" + path = "HX-FI-A_PolGrp" + vlan = 200 + mode = "untagged" + +} +``` + ## Argument Reference ## * `schema_id` - (Required) SchemaID under which you want to deploy Static Port. @@ -39,7 +81,7 @@ resource "mso_schema_site_anp_epg_static_port" "static_port" { * `epg_name` - (Required) EPG name under which you want to deploy Static Port. * `path_type` - (Required) The type of the static port. Allowed values are `port`, `vpc` and `dpc`. * `pod` - (Required) The pod of the static port. -* `leaf` - (Required) The leaf of the static port. +* `leaf` - (Required) The leaf of the static port. When `path_type` is `port` or `dpc`, then `leaf` is a string of the leaf ID; Example - '101'. When `path_type` is `vpc`, then `leaf` is a list with both leaf IDs; Example - '101-102'. * `path` - (Required) The path of the static port. * `mode` - (Required) The mode of the static port. Allowed values are `native`, `regular` and `untagged`. * `deployment_immediacy` - (Required) The deployment immediacy of the static port. Allowed values are `immediate` and `lazy`.