@@ -39,6 +39,19 @@ func (r *pluginResource) Metadata(_ context.Context, req resource.MetadataReques
3939
4040func (r * pluginResource ) Schema (_ context.Context , _ resource.SchemaRequest , resp * resource.SchemaResponse ) {
4141 resp .Schema = schema.Schema {
42+ MarkdownDescription : `Manage the installed plugins for a TLS Protect Cloud tenant.
43+
44+ See the [API Documentation](https://developer.venafi.com/tlsprotectcloud/reference/post-v1-plugins) for guidance.
45+ The manifest attribute should be a json string which meets the specification of the manifest object.
46+
47+ For an example, see the [DigiCert CA Connector](https://github.com/Venafi/digicert-ca-connector/blob/main/manifest.json).
48+ This would additionally need a deployment block to meet the required specification, and specify the image location:
49+ ` + "```" + `
50+ "deployment": {
51+ "executionTarget": "vsat",
52+ "image": "org/image:v0.1.0"
53+ }
54+ ` + "```" ,
4255 Attributes : map [string ]schema.Attribute {
4356 "id" : schema.StringAttribute {
4457 Computed : true ,
@@ -47,11 +60,13 @@ func (r *pluginResource) Schema(_ context.Context, _ resource.SchemaRequest, res
4760 },
4861 },
4962 "type" : schema.StringAttribute {
50- Required : true ,
63+ Required : true ,
64+ MarkdownDescription : "Type of plugin, e.g. `CA` or `MACHINE`" ,
5165 },
5266 "manifest" : schema.StringAttribute {
53- Required : true ,
54- CustomType : jsontypes.NormalizedType {},
67+ Required : true ,
68+ CustomType : jsontypes.NormalizedType {},
69+ MarkdownDescription : "JSON string of a plugin manifest" ,
5570 },
5671 },
5772 }
0 commit comments