-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add ability to return json objects of all endpoints
- Loading branch information
Showing
140 changed files
with
4,325 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
docs/data-sources/json_circuits_circuit_terminations_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_circuits\_circuit\_terminations\_list Data Source | ||
|
||
Get json output from the circuits_circuit_terminations_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_circuits_circuit_terminations_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_circuits_circuit_terminations_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_circuits\_circuit\_types\_list Data Source | ||
|
||
Get json output from the circuits_circuit_types_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_circuits_circuit_types_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_circuits_circuit_types_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_circuits\_circuits\_list Data Source | ||
|
||
Get json output from the circuits_circuits_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_circuits_circuits_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_circuits_circuits_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_circuits\_providers\_list Data Source | ||
|
||
Get json output from the circuits_providers_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_circuits_providers_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_circuits_providers_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_cables\_list Data Source | ||
|
||
Get json output from the dcim_cables_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_cables_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_cables_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_console\_connections\_list Data Source | ||
|
||
Get json output from the dcim_console_connections_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_console_connections_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_console_connections_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
22 changes: 22 additions & 0 deletions
22
docs/data-sources/json_dcim_console_port_templates_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_console\_port\_templates\_list Data Source | ||
|
||
Get json output from the dcim_console_port_templates_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_console_port_templates_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_console_port_templates_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_console\_ports\_list Data Source | ||
|
||
Get json output from the dcim_console_ports_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_console_ports_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_console_ports_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
22 changes: 22 additions & 0 deletions
22
docs/data-sources/json_dcim_console_server_port_templates_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_console\_server\_port\_templates\_list Data Source | ||
|
||
Get json output from the dcim_console_server_port_templates_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_console_server_port_templates_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_console_server_port_templates_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_console\_server\_ports\_list Data Source | ||
|
||
Get json output from the dcim_console_server_ports_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_console_server_ports_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_console_server_ports_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_device\_bay\_templates\_list Data Source | ||
|
||
Get json output from the dcim_device_bay_templates_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_device_bay_templates_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_device_bay_templates_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_device\_bays\_list Data Source | ||
|
||
Get json output from the dcim_device_bays_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_device_bays_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_device_bays_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_device\_roles\_list Data Source | ||
|
||
Get json output from the dcim_device_roles_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_device_roles_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_device_roles_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# netbox\_json\_dcim\_device\_types\_list Data Source | ||
|
||
Get json output from the dcim_device_types_list Netbox endpoint | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "netbox_json_dcim_device_types_list" "test" {} | ||
output "example" { | ||
value = jsondecode(data.netbox_json_dcim_device_types_list.test.json) | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
This function takes no arguments. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the above arguments, the following attributes are exported: | ||
* ``json`` - JSON output of the list of objects for this Netbox endpoint. | ||
|
Oops, something went wrong.