Skip to content

Commit

Permalink
Add name query option to network profile data source
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 8, 2024
1 parent 741ccaf commit 0658eef
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Add `name` query option to `catalystcenter_project` data source
- Add `name` query option to `catalystcenter_template` data source
- Add `name` query option to `catalystcenter_area` and `catalystcenter_building` data source
- Add `name` query option to `catalystcenter_network_profile` data source

## 0.1.1

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/network_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ data "catalystcenter_network_profile" "example" {
<!-- schema generated by tfplugindocs -->
## Schema

### Required
### Optional

- `id` (String) The id of the object
- `name` (String) The name of the network profile

### Read-Only

- `name` (String) The name of the network profile
- `templates` (Attributes List) (see [below for nested schema](#nestedatt--templates))
- `type` (String) Profile type

Expand Down
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ description: |-
- Add `name` query option to `catalystcenter_project` data source
- Add `name` query option to `catalystcenter_template` data source
- Add `name` query option to `catalystcenter_area` and `catalystcenter_building` data source
- Add `name` query option to `catalystcenter_network_profile` data source

## 0.1.1

Expand Down
1 change: 1 addition & 0 deletions gen/definitions/network_profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ attributes:
response_data_path: response.name
type: String
id: true
data_source_query: true
description: The name of the network profile
example: Profile1
- model_name: namespace
Expand Down
3 changes: 2 additions & 1 deletion gen/templates/data_source.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 37 additions & 1 deletion internal/provider/data_source_catalystcenter_network_profile.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions templates/guides/changelog.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ description: |-
- Add `name` query option to `catalystcenter_project` data source
- Add `name` query option to `catalystcenter_template` data source
- Add `name` query option to `catalystcenter_area` and `catalystcenter_building` data source
- Add `name` query option to `catalystcenter_network_profile` data source

## 0.1.1

Expand Down

0 comments on commit 0658eef

Please sign in to comment.