Skip to content

Commit

Permalink
fix resource description
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-mazurkiewicz committed Aug 5, 2024
1 parent 7d51440 commit c91be32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/pnp_import_devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "catalystcenter_pnp_import_devices Resource - terraform-provider-catalystcenter"
subcategory: "Plug and Play"
description: |-
This resource adds devices to PNP in bulk file on the chosen network device (upgrade the software on the device). Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP. When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices
This resource adds devices to PNP in bulk. Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP. When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices
---

# catalystcenter_pnp_import_devices (Resource)

This resource adds devices to PNP in bulk file on the chosen network device (upgrade the software on the device). Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP. When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices
This resource adds devices to PNP in bulk. Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP. When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion gen/definitions/pnp_import_devices.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: PnP Import Devices
rest_endpoint: /dna/intent/api/v1/onboarding/pnp-device/import
res_description: 'This resource adds devices to PNP in bulk file on the chosen network device (upgrade the software on the device).
res_description: 'This resource adds devices to PNP in bulk.
Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP.
When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices'
no_data_source: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (r *PnPImportDevicesResource) Metadata(ctx context.Context, req resource.Me
func (r *PnPImportDevicesResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
// This description is used by the documentation generator and the language server.
MarkdownDescription: helpers.NewAttributeDescription("This resource adds devices to PNP in bulk file on the chosen network device (upgrade the software on the device). Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP. When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices").String,
MarkdownDescription: helpers.NewAttributeDescription("This resource adds devices to PNP in bulk. Every time this resource is created or re-created, the Catalyst Center considers adding new devices to PNP. When this resource is destroyed or updated or refreshed, no actions are done either on CatalystCenter or on devices").String,

Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Expand Down

0 comments on commit c91be32

Please sign in to comment.