diff --git a/docs/data-sources/ca_product.md b/docs/data-sources/ca_product.md index 442fdc4..34384df 100644 --- a/docs/data-sources/ca_product.md +++ b/docs/data-sources/ca_product.md @@ -3,12 +3,12 @@ page_title: "tlspc_ca_product Data Source - tlspc" subcategory: "" description: |- - + Look up the ID of a CA Product Option --- # tlspc_ca_product (Data Source) - +Look up the ID of a CA Product Option ## Example Usage @@ -25,9 +25,19 @@ data "tlspc_ca_product" "built_in" { ### Required -- `ca_name` (String) -- `product_option` (String) -- `type` (String) +- `ca_name` (String) Name of Certificate Authority +- `product_option` (String) Name of Product Option +- `type` (String) Type of Certificate Authority, valid values include: + * BUILTIN + * DIGICERT + * GLOBALSIGN + * ENTRUST + * MICROSOFT + * ACME + * ZTPKI + * GLOBALSIGNMSSL + * TPP + * CONNECTOR ### Read-Only diff --git a/internal/provider/ca_product_data_source.go b/internal/provider/ca_product_data_source.go index 64c392e..230bf0f 100644 --- a/internal/provider/ca_product_data_source.go +++ b/internal/provider/ca_product_data_source.go @@ -59,18 +59,32 @@ func (d *caProductDataSource) Metadata(_ context.Context, req datasource.Metadat // Schema defines the schema for the data source. func (d *caProductDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) { resp.Schema = schema.Schema{ + MarkdownDescription: "Look up the ID of a CA Product Option", Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, }, "type": schema.StringAttribute{ Required: true, + MarkdownDescription: `Type of Certificate Authority, valid values include: + * BUILTIN + * DIGICERT + * GLOBALSIGN + * ENTRUST + * MICROSOFT + * ACME + * ZTPKI + * GLOBALSIGNMSSL + * TPP + * CONNECTOR`, }, "ca_name": schema.StringAttribute{ - Required: true, + Required: true, + MarkdownDescription: "Name of Certificate Authority", }, "product_option": schema.StringAttribute{ - Required: true, + Required: true, + MarkdownDescription: "Name of Product Option", }, }, }