Skip to content

Commit

Permalink
ci: Go fmt & go generate
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Jun 29, 2023
1 parent 9fe6adf commit 6413c4a
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 4 deletions.
46 changes: 46 additions & 0 deletions docs/data-sources/json_dcim_virtual_device_contexts_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "netbox_json_dcim_virtual_device_contexts_list Data Source - terraform-provider-netbox"
subcategory: ""
description: |-
Get json output from the dcimvirtualdevicecontextslist Netbox endpoint.
---

# netbox_json_dcim_virtual_device_contexts_list (Data Source)

Get json output from the dcim_virtual_device_contexts_list Netbox endpoint.

## Example Usage

```terraform
data "netbox_json_dcim_virtual_device_contexts_list" "test" {
limit = 0
}
output "example" {
value = jsondecode(data.netbox_json_dcim_virtual_device_contexts_list.test.json)
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `filter` (Block Set) Filter the records returned by the query. (see [below for nested schema](#nestedblock--filter))
- `limit` (Number) The max number of returned results. If 0 is specified, all records will be returned.

### Read-Only

- `id` (String) The ID of this resource.
- `json` (String) JSON output of the list of objects for this Netbox endpoint.

<a id="nestedblock--filter"></a>
### Nested Schema for `filter`

Required:

- `name` (String) Name of the field to use for filtering.
- `value` (String) Value of the field to use for filtering.


46 changes: 46 additions & 0 deletions docs/data-sources/json_extras_saved_filters_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "netbox_json_extras_saved_filters_list Data Source - terraform-provider-netbox"
subcategory: ""
description: |-
Get json output from the extrassavedfilters_list Netbox endpoint.
---

# netbox_json_extras_saved_filters_list (Data Source)

Get json output from the extras_saved_filters_list Netbox endpoint.

## Example Usage

```terraform
data "netbox_json_extras_saved_filters_list" "test" {
limit = 0
}
output "example" {
value = jsondecode(data.netbox_json_extras_saved_filters_list.test.json)
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `filter` (Block Set) Filter the records returned by the query. (see [below for nested schema](#nestedblock--filter))
- `limit` (Number) The max number of returned results. If 0 is specified, all records will be returned.

### Read-Only

- `id` (String) The ID of this resource.
- `json` (String) JSON output of the list of objects for this Netbox endpoint.

<a id="nestedblock--filter"></a>
### Nested Schema for `filter`

Required:

- `name` (String) Name of the field to use for filtering.
- `value` (String) Value of the field to use for filtering.


5 changes: 1 addition & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ The Netbox provider provides resources to interact with [Netbox](https://netbox.
| 2.11 | 2.x.y |
| 3.0 | 3.x.y |
| 3.1 | 4.x.y |
| 3.2 | 5.x.y |
| 3.3 | 6.x.y |
| 3.4 | 7.x.y |

## Example Usage

Expand All @@ -29,7 +26,7 @@ terraform {
required_providers {
netbox = {
source = "smutel/netbox"
version = "~> 7.0.0"
version = "~> 6.3.0"
}
}
}
Expand Down

0 comments on commit 6413c4a

Please sign in to comment.