Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update File System Resource description to be consistent #53

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/data-sources/filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ linkTitle: "powerscale_filesystem"
page_title: "powerscale_filesystem Data Source - terraform-provider-powerscale"
subcategory: ""
description: |-
FileSystem data source.This is used to query the existing FileSystem(Namespace Directory) from PowerScale array.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.
This datasource is used to query the existing FileSystem(Namespace Directory) from PowerScale array. The information fetched from this datasource can be used for getting the details / for further processing in resource block.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.
---

# powerscale_filesystem (Data Source)

FileSystem data source.This is used to query the existing FileSystem(Namespace Directory) from PowerScale array.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.
This datasource is used to query the existing FileSystem(Namespace Directory) from PowerScale array. The information fetched from this datasource can be used for getting the details / for further processing in resource block.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ linkTitle: "powerscale_filesystem"
page_title: "powerscale_filesystem Resource - terraform-provider-powerscale"
subcategory: ""
description: |-
FileSystem resource.This Resource allows you to manage the Namespace Directory on the Powerscale array
This resource is used to manage the FileSystem(Namespace directory) entity of PowerScale Array. We can Create, Update and Delete the FileSystem using this resource. We can also import an existing FileSystem from PowerScale array.
---

# powerscale_filesystem (Resource)

FileSystem resource.This Resource allows you to manage the Namespace Directory on the Powerscale array
This resource is used to manage the FileSystem(Namespace directory) entity of PowerScale Array. We can Create, Update and Delete the FileSystem using this resource. We can also import an existing FileSystem from PowerScale array.


## Example Usage
Expand Down
4 changes: 2 additions & 2 deletions powerscale/provider/file_system_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func (d *FileSystemDataSource) Metadata(ctx context.Context, req datasource.Meta
func (d *FileSystemDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse) {
resp.Schema = schema.Schema{
// This description is used by the documentation generator and the language server.
MarkdownDescription: "FileSystem data source.This is used to query the existing FileSystem(Namespace Directory) from PowerScale array.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.",
Description: "FileSystem data source.This is used to query the existing FileSystem(Namespace Directory) from PowerScale array.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.",
MarkdownDescription: "This datasource is used to query the existing FileSystem(Namespace Directory) from PowerScale array. The information fetched from this datasource can be used for getting the details / for further processing in resource block.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.",
Description: "This datasource is used to query the existing FileSystem(Namespace Directory) from PowerScale array. The information fetched from this datasource can be used for getting the details / for further processing in resource block.It allows you to get information which includes all metadata , access control , quotas and snapshots related information for the directory.",

Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Expand Down
3 changes: 2 additions & 1 deletion powerscale/provider/file_system_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ func (r *FileSystemResource) Metadata(ctx context.Context, req resource.Metadata
func (r *FileSystemResource) 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: "FileSystem resource.This Resource allows you to manage the Namespace Directory on the Powerscale array",
MarkdownDescription: "This resource is used to manage the FileSystem(Namespace directory) entity of PowerScale Array. We can Create, Update and Delete the FileSystem using this resource. We can also import an existing FileSystem from PowerScale array.",
Description: "This resource is used to manage the FileSystem(Namespace directory) entity of PowerScale Array. We can Create, Update and Delete the FileSystem using this resource. We can also import an existing FileSystem from PowerScale array.",

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