From bf6084649124eb5a94a2ac1380e0dad4446b2909 Mon Sep 17 00:00:00 2001 From: akinross Date: Sun, 28 Apr 2024 14:16:33 +0200 Subject: [PATCH] [minor_change] Add deprecation warning for relation_fv_rs_cust_qos_pol in aci_endpoint_security_group (ESG) resource --- aci/resource_aci_fvesg.go | 4 ++-- docs/resources/endpoint_security_group.md | 2 +- legacy-docs/docs/r/endpoint_security_group.html.markdown | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aci/resource_aci_fvesg.go b/aci/resource_aci_fvesg.go index 641746917..f23866116 100644 --- a/aci/resource_aci_fvesg.go +++ b/aci/resource_aci_fvesg.go @@ -116,10 +116,10 @@ func resourceAciEndpointSecurityGroup() *schema.Resource { }, }, "relation_fv_rs_cust_qos_pol": { - Type: schema.TypeString, - + Type: schema.TypeString, Optional: true, Description: "Create relation to qos:CustomPol", + Deprecated: "Remove `relation_fv_rs_cust_qos_pol` configuration as it is not used by ESG configuration. The attribute will be removed in the next major version of the provider.", }, "relation_fv_rs_intra_epg": { Type: schema.TypeSet, diff --git a/docs/resources/endpoint_security_group.md b/docs/resources/endpoint_security_group.md index d2a178f65..1c63b0ba9 100644 --- a/docs/resources/endpoint_security_group.md +++ b/docs/resources/endpoint_security_group.md @@ -84,7 +84,7 @@ resource "aci_endpoint_security_group" "example" { - `prio` - (Optional) The contract interface priority. Allowed values are "level1", "level2", "level3", "level4", "level5", "level6", "unspecified", and default value is "unspecified". Type: String. - `target_dn` - (Required) The distinguished name of the target contract. Type: String. -- `relation_fv_rs_cust_qos_pol` - (Optional) Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String. +- `relation_fv_rs_cust_qos_pol` - (Optional) **WARNING:** This attribute is deprecated and will be removed in the next major version. Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String. - `relation_fv_rs_intra_epg` - (Optional) Represents the relation to an Intra EPg Contract (class vzBrCP). Represents that the EPg is moving from "allow all within epg" mode to a "deny all within epg" mode. The only type of traffic allowed between EPs in this EPg is the one specified by contracts EPg associates to this relation. Type: List. diff --git a/legacy-docs/docs/r/endpoint_security_group.html.markdown b/legacy-docs/docs/r/endpoint_security_group.html.markdown index d2a178f65..1c63b0ba9 100644 --- a/legacy-docs/docs/r/endpoint_security_group.html.markdown +++ b/legacy-docs/docs/r/endpoint_security_group.html.markdown @@ -84,7 +84,7 @@ resource "aci_endpoint_security_group" "example" { - `prio` - (Optional) The contract interface priority. Allowed values are "level1", "level2", "level3", "level4", "level5", "level6", "unspecified", and default value is "unspecified". Type: String. - `target_dn` - (Required) The distinguished name of the target contract. Type: String. -- `relation_fv_rs_cust_qos_pol` - (Optional) Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String. +- `relation_fv_rs_cust_qos_pol` - (Optional) **WARNING:** This attribute is deprecated and will be removed in the next major version. Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String. - `relation_fv_rs_intra_epg` - (Optional) Represents the relation to an Intra EPg Contract (class vzBrCP). Represents that the EPg is moving from "allow all within epg" mode to a "deny all within epg" mode. The only type of traffic allowed between EPs in this EPg is the one specified by contracts EPg associates to this relation. Type: List.