From d63d7e3b796c57586ada3a31fffe28705dac5d87 Mon Sep 17 00:00:00 2001 From: akinross Date: Tue, 2 Jul 2024 22:30:42 +0200 Subject: [PATCH] [ignore] Change documentation for matchT attribute in ESG and provided contract --- docs/data-sources/endpoint_security_group.md | 2 +- docs/data-sources/relation_to_provided_contract.md | 2 +- docs/resources/endpoint_security_group.md | 2 +- docs/resources/relation_to_provided_contract.md | 2 +- gen/definitions/properties.yaml | 1 + internal/provider/data_source_aci_endpoint_security_group.go | 2 +- .../provider/data_source_aci_relation_to_provided_contract.go | 2 +- internal/provider/resource_aci_endpoint_security_group.go | 2 +- internal/provider/resource_aci_relation_to_provided_contract.go | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/data-sources/endpoint_security_group.md b/docs/data-sources/endpoint_security_group.md index ba0e63276..2fc0c33fa 100644 --- a/docs/data-sources/endpoint_security_group.md +++ b/docs/data-sources/endpoint_security_group.md @@ -73,7 +73,7 @@ data "aci_endpoint_security_group" "example_application_profile" { * `relation_to_provided_contracts` - (list) A list of Relation To Provided Contracts (ACI object [fvRsProv](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsProv/overview)) pointing to Contract (ACI Object [vzBrCP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/vzBrCP/overview)). This attribute is supported in ACI versions: 1.0(1e) and later. * `annotation` (annotation) - (string) The annotation of the Relation To Provided Contract object. - * `match_criteria` (matchT) - (string) The matched EPG type. + * `match_criteria` (matchT) - (string) The provider label match criteria. * `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles. * `contract_name` (tnVzBrCPName) - (string) The provider contract name. diff --git a/docs/data-sources/relation_to_provided_contract.md b/docs/data-sources/relation_to_provided_contract.md index bc10ee929..95c04dc2d 100644 --- a/docs/data-sources/relation_to_provided_contract.md +++ b/docs/data-sources/relation_to_provided_contract.md @@ -84,7 +84,7 @@ data "aci_relation_to_provided_contract" "example_endpoint_security_group" { * `id` - (string) The distinguished name (DN) of the Relation To Provided Contract object. * `annotation` (annotation) - (string) The annotation of the Relation To Provided Contract object. -* `match_criteria` (matchT) - (string) The matched EPG type. +* `match_criteria` (matchT) - (string) The provider label match criteria. * `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles. * `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later. diff --git a/docs/resources/endpoint_security_group.md b/docs/resources/endpoint_security_group.md index e00e0b42c..73ed6898c 100644 --- a/docs/resources/endpoint_security_group.md +++ b/docs/resources/endpoint_security_group.md @@ -196,7 +196,7 @@ All examples for the Endpoint Security Group resource can be found in the [examp * `annotation` (annotation) - (string) The annotation of the Relation To Provided Contract object. - Default: `orchestrator:terraform` - * `match_criteria` (matchT) - (string) The matched EPG type. + * `match_criteria` (matchT) - (string) The provider label match criteria. - Default: `AtleastOne` - Valid Values: `All`, `AtleastOne`, `AtmostOne`, `None`. * `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles. diff --git a/docs/resources/relation_to_provided_contract.md b/docs/resources/relation_to_provided_contract.md index 333f5e931..de5b27199 100644 --- a/docs/resources/relation_to_provided_contract.md +++ b/docs/resources/relation_to_provided_contract.md @@ -141,7 +141,7 @@ All examples for the Relation To Provided Contract resource can be found in the * `annotation` (annotation) - (string) The annotation of the Relation To Provided Contract object. - Default: `orchestrator:terraform` -* `match_criteria` (matchT) - (string) The matched EPG type. +* `match_criteria` (matchT) - (string) The provider label match criteria. - Default: `AtleastOne` - Valid Values: `All`, `AtleastOne`, `AtmostOne`, `None`. * `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles. diff --git a/gen/definitions/properties.yaml b/gen/definitions/properties.yaml index 481b7c3c9..fa6a1de3c 100644 --- a/gen/definitions/properties.yaml +++ b/gen/definitions/properties.yaml @@ -13,6 +13,7 @@ global: tnVzOOBBrCPName: "The name of the Out Of Band Contract object." tnRtctrlProfileName: "The name of the Route Control Profile object." prio: "The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles." + matchT: "The provider label match criteria." overwrites: count: "apic_count" # count is a terraform reserved schema entry provider: "prov" # provider is a terraform reserved schema entry diff --git a/internal/provider/data_source_aci_endpoint_security_group.go b/internal/provider/data_source_aci_endpoint_security_group.go index 0aad16d22..909677eae 100644 --- a/internal/provider/data_source_aci_endpoint_security_group.go +++ b/internal/provider/data_source_aci_endpoint_security_group.go @@ -188,7 +188,7 @@ func (d *FvESgDataSource) Schema(ctx context.Context, req datasource.SchemaReque }, "match_criteria": schema.StringAttribute{ Computed: true, - MarkdownDescription: `The matched EPG type.`, + MarkdownDescription: `The provider label match criteria.`, }, "priority": schema.StringAttribute{ Computed: true, diff --git a/internal/provider/data_source_aci_relation_to_provided_contract.go b/internal/provider/data_source_aci_relation_to_provided_contract.go index 66f7cde05..d5ee6faef 100644 --- a/internal/provider/data_source_aci_relation_to_provided_contract.go +++ b/internal/provider/data_source_aci_relation_to_provided_contract.go @@ -54,7 +54,7 @@ func (d *FvRsProvDataSource) Schema(ctx context.Context, req datasource.SchemaRe }, "match_criteria": schema.StringAttribute{ Computed: true, - MarkdownDescription: `The matched EPG type.`, + MarkdownDescription: `The provider label match criteria.`, }, "priority": schema.StringAttribute{ Computed: true, diff --git a/internal/provider/resource_aci_endpoint_security_group.go b/internal/provider/resource_aci_endpoint_security_group.go index 7a78b9b59..7fb3baf0c 100644 --- a/internal/provider/resource_aci_endpoint_security_group.go +++ b/internal/provider/resource_aci_endpoint_security_group.go @@ -1236,7 +1236,7 @@ func (r *FvESgResource) Schema(ctx context.Context, req resource.SchemaRequest, Validators: []validator.String{ stringvalidator.OneOf("All", "AtleastOne", "AtmostOne", "None"), }, - MarkdownDescription: `The matched EPG type.`, + MarkdownDescription: `The provider label match criteria.`, }, "priority": schema.StringAttribute{ Optional: true, diff --git a/internal/provider/resource_aci_relation_to_provided_contract.go b/internal/provider/resource_aci_relation_to_provided_contract.go index 06e5140a6..4b4fb3f16 100644 --- a/internal/provider/resource_aci_relation_to_provided_contract.go +++ b/internal/provider/resource_aci_relation_to_provided_contract.go @@ -115,7 +115,7 @@ func (r *FvRsProvResource) Schema(ctx context.Context, req resource.SchemaReques Validators: []validator.String{ stringvalidator.OneOf("All", "AtleastOne", "AtmostOne", "None"), }, - MarkdownDescription: `The matched EPG type.`, + MarkdownDescription: `The provider label match criteria.`, }, "priority": schema.StringAttribute{ Optional: true,