From cfe05c2d2b2ee418847af4cc84fdcdde8e70ee1f Mon Sep 17 00:00:00 2001 From: akinross Date: Fri, 3 May 2024 07:56:31 +0200 Subject: [PATCH] [minor_change] Remove flood_on_encap and prio from schema and change the non required attributes to read-only in aci_endpoint_security datasource --- aci/data_source_aci_fvesg.go | 14 -------------- .../d/endpoint_security_group.html.markdown | 18 +++++++----------- 2 files changed, 7 insertions(+), 25 deletions(-) diff --git a/aci/data_source_aci_fvesg.go b/aci/data_source_aci_fvesg.go index 316df3894..5c5fa4dcf 100644 --- a/aci/data_source_aci_fvesg.go +++ b/aci/data_source_aci_fvesg.go @@ -20,17 +20,10 @@ func dataSourceAciEndpointSecurityGroup() *schema.Resource { }, "annotation": { Type: schema.TypeString, - Optional: true, - Computed: true, - }, - "flood_on_encap": { - Type: schema.TypeString, - Optional: true, Computed: true, }, "match_t": { Type: schema.TypeString, - Optional: true, Computed: true, }, "name": { @@ -39,17 +32,10 @@ func dataSourceAciEndpointSecurityGroup() *schema.Resource { }, "pc_enf_pref": { Type: schema.TypeString, - Optional: true, Computed: true, }, "pref_gr_memb": { Type: schema.TypeString, - Optional: true, - Computed: true, - }, - "prio": { - Type: schema.TypeString, - Optional: true, Computed: true, }, })), diff --git a/legacy-docs/docs/d/endpoint_security_group.html.markdown b/legacy-docs/docs/d/endpoint_security_group.html.markdown index 41299e415..5fac73001 100644 --- a/legacy-docs/docs/d/endpoint_security_group.html.markdown +++ b/legacy-docs/docs/d/endpoint_security_group.html.markdown @@ -32,18 +32,14 @@ data "aci_endpoint_security_group" "example" { ## Argument Reference ## * `application_profile_dn` - (Required) Distinguished name of parent Application Profile object. -* `name` - (Required) name of object Endpoint Security Group. +* `name` - (Required) Name of object Endpoint Security Group. ## Attribute Reference ## * `id` - Attribute id set to the Dn of the Endpoint Security Group. -* `annotation` - (Optional) Annotation of object Endpoint Security Group. -* `description` - (Optional) Description of object Endpoint Security Group. -* `name_alias` - (Optional) Name Alias of object Endpoint Security Group. -* `flood_on_encap` - (Optional) Handles L2 Multicast/Broadcast and Link-Layer traffic at EPG level. It represents Control at EPG level and decides if the traffic L2 Multicast/Broadcast and Link Local Layer should be flooded only on ENCAP, or based on bridge-domain settings. -* `match_t` - (Optional) The provider label match criteria. -* `pc_enf_pref` - (Optional) The preferred policy control. -* `pref_gr_memb` - (Optional) Represents parameter used to determine - if EPg is part of a group that does not - a contract for communication. -* `prio` - (Optional) The QoS priority class identifier. +* `annotation` - (Read-Only) Annotation of object Endpoint Security Group. +* `description` - (Read-Only) Description of object Endpoint Security Group. +* `name_alias` - (Read-Only) Name Alias of object Endpoint Security Group. +* `match_t` - (Read-Only) The provider label match criteria. +* `pc_enf_pref` - (Read-Only) The preferred policy control. +* `pref_gr_memb` - (Read-Only) Represents parameter used to determine if EPg is part of a group that does not a contract for communication.