From c0dbca17ca5ba5451dd69cd784cd7fa34bc4f45f Mon Sep 17 00:00:00 2001 From: samitab Date: Tue, 19 Nov 2024 11:45:41 +1000 Subject: [PATCH] [ignore] Expand certificate_usage option appreviations --- docs/data-sources/certificate_authority.md | 2 +- docs/resources/certificate_authority.md | 2 +- gen/definitions/properties.yaml | 2 +- internal/provider/data_source_aci_certificate_authority.go | 2 +- internal/provider/resource_aci_certificate_authority.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/data-sources/certificate_authority.md b/docs/data-sources/certificate_authority.md index d3db1f9d6..8a1df35a1 100644 --- a/docs/data-sources/certificate_authority.md +++ b/docs/data-sources/certificate_authority.md @@ -63,7 +63,7 @@ data "aci_certificate_authority" "example_tenant" { * `id` - (string) The distinguished name (DN) of the Certificate Authority object. * `annotation` (annotation) - (string) The annotation of the Certificate Authority object. * `certificate_chain` (certChain) - (string) The PEM-encoded chain of trust from the trustpoint to a trusted root authority. -* `certificate_usage` (certUsage) - (list) The certificate usage of the Certificate Authority object. +* `certificate_usage` (certUsage) - (list) The usage of the Certificate Authority object which can be Web Service/Authentication (WebSvcOrAuth), Platform Experience Grid (pxGrid), or both. * `description` (descr) - (string) The description of the Certificate Authority object. * `name_alias` (nameAlias) - (string) The name alias of the Certificate Authority object. * `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation. diff --git a/docs/resources/certificate_authority.md b/docs/resources/certificate_authority.md index 9d11ab7ad..9214bd332 100644 --- a/docs/resources/certificate_authority.md +++ b/docs/resources/certificate_authority.md @@ -187,7 +187,7 @@ All examples for the Certificate Authority resource can be found in the [example - Default: `uni/userext/pkiext` * `annotation` (annotation) - (string) The annotation of the Certificate Authority object. - Default: `orchestrator:terraform` -* `certificate_usage` (certUsage) - (list) The certificate usage of the Certificate Authority object. +* `certificate_usage` (certUsage) - (list) The usage of the Certificate Authority object which can be Web Service/Authentication (WebSvcOrAuth), Platform Experience Grid (pxGrid), or both. - Default: `WebSvcOrAuth`. - Valid Values: `WebSvcOrAuth`, `pxGrid`. * `description` (descr) - (string) The description of the Certificate Authority object. diff --git a/gen/definitions/properties.yaml b/gen/definitions/properties.yaml index c39fdf1fe..cf89c49d0 100644 --- a/gen/definitions/properties.yaml +++ b/gen/definitions/properties.yaml @@ -205,7 +205,7 @@ pkiTP: ignore_properties_in_test: certUsage: ["WebSvcOrAuth"] documentation: - certUsage: "The certificate usage of the Certificate Authority object." + certUsage: "The usage of the Certificate Authority object which can be Web Service/Authentication (WebSvcOrAuth), Platform Experience Grid (pxGrid), or both." test_values: resource_required: certificate_chain: -----BEGIN CERTIFICATE-----\\nMIICODCCAaGgAwIBAgIJAIt8XMntue0VMA0GCSqGSIb3DQEBCwUAMDQxDjAMBgNV\\nBAMMBUFkbWluMRUwEwYDVQQKDAxZb3VyIENvbXBhbnkxCzAJBgNVBAYTAlVTMCAX\\nDTE4MDEwOTAwNTk0NFoYDzIxMTcxMjE2MDA1OTQ0WjA0MQ4wDAYDVQQDDAVBZG1p\\nbjEVMBMGA1UECgwMWW91ciBDb21wYW55MQswCQYDVQQGEwJVUzCBnzANBgkqhkiG\\n9w0BAQEFAAOBjQAwgYkCgYEAohG/7axtt7CbSaMP7r+2mhTKbNgh0Ww36C7Ta14i\\nv+VmLyKkQHnXinKGhp6uy3Nug+15a+eIu7CrgpBVMQeCiWfsnwRocKcQJWIYDrWl\\nXHxGQn31yYKR6mylE7Dcj3rMFybnyhezr5D8GcP85YRPmwG9H2hO/0Y1FUnWu9Iw\\nAQkCAwEAAaNQME4wHQYDVR0OBBYEFD0jLXfpkrU/ChzRvfruRs/fy1VXMB8GA1Ud\\nIwQYMBaAFD0jLXfpkrU/ChzRvfruRs/fy1VXMAwGA1UdEwQFMAMBAf8wDQYJKoZI\\nhvcNAQELBQADgYEAOmvre+5tgZ0+F3DgsfxNQqLTrGiBgGCIymPkP/cBXXkNuJyl\\n3ac7tArHQc7WEA4U2R2rZbEq8FC3UJJm4nUVtCPvEh3G9OhN2xwYev79yt6pIn/l\\nKU0Td2OpVyo0eLqjoX5u2G90IBWzhyjFbo+CcKMrSVKj1YOdG0E3OuiJf00=\\n-----END CERTIFICATE----- diff --git a/internal/provider/data_source_aci_certificate_authority.go b/internal/provider/data_source_aci_certificate_authority.go index 40fc59b53..ea7a141bc 100644 --- a/internal/provider/data_source_aci_certificate_authority.go +++ b/internal/provider/data_source_aci_certificate_authority.go @@ -60,7 +60,7 @@ func (d *PkiTPDataSource) Schema(ctx context.Context, req datasource.SchemaReque }, "certificate_usage": schema.SetAttribute{ Computed: true, - MarkdownDescription: `The certificate usage of the Certificate Authority object.`, + MarkdownDescription: `The usage of the Certificate Authority object which can be Web Service/Authentication (WebSvcOrAuth), Platform Experience Grid (pxGrid), or both.`, ElementType: types.StringType, }, "description": schema.StringAttribute{ diff --git a/internal/provider/resource_aci_certificate_authority.go b/internal/provider/resource_aci_certificate_authority.go index af2ba3021..8f272544b 100644 --- a/internal/provider/resource_aci_certificate_authority.go +++ b/internal/provider/resource_aci_certificate_authority.go @@ -189,7 +189,7 @@ func (r *PkiTPResource) Schema(ctx context.Context, req resource.SchemaRequest, MarkdownDescription: `The PEM-encoded chain of trust from the trustpoint to a trusted root authority.`, }, "certificate_usage": schema.SetAttribute{ - MarkdownDescription: `The certificate usage of the Certificate Authority object.`, + MarkdownDescription: `The usage of the Certificate Authority object which can be Web Service/Authentication (WebSvcOrAuth), Platform Experience Grid (pxGrid), or both.`, Optional: true, Computed: true, PlanModifiers: []planmodifier.Set{