Skip to content

Commit 0cd8a46

Browse files
committed
chore: regenerate docs
1 parent 426b9e7 commit 0cd8a46

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

docs/data-sources/prefix.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,26 @@ description: |-
1717

1818
### Optional
1919

20-
- `cidr` (String, Deprecated) Conflicts with `prefix`.
20+
- `cidr` (String, Deprecated) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given. Conflicts with `prefix`.
2121
- `custom_fields` (Map of String)
22-
- `description` (String) Description to include in the data source filter.
23-
- `family` (Number) The IP family of the prefix. One of 4 or 6.
24-
- `prefix` (String) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `site_id`, `role_id`, `cidr`, `custom_fields` or `tag` must be given. Conflicts with `cidr`.
25-
- `role_id` (Number)
26-
- `site_id` (Number)
27-
- `tag` (String) Tag to include in the data source filter (must match the tag's slug).
22+
- `description` (String) Description to include in the data source filter. At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
23+
- `family` (Number) The IP family of the prefix. One of 4 or 6. At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
24+
- `prefix` (String) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given. Conflicts with `cidr`.
25+
- `role_id` (Number) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
26+
- `site_id` (Number) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
27+
- `status` (String) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
28+
- `tag` (String) Tag to include in the data source filter (must match the tag's slug). At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
2829
- `tag__n` (String) Tag to exclude from the data source filter (must match the tag's slug).
2930
Refer to [Netbox's documentation](https://demo.netbox.dev/static/docs/rest-api/filtering/#lookup-expressions)
3031
for more information on available lookup expressions.
31-
- `vlan_id` (Number)
32-
- `vlan_vid` (Number)
33-
- `vrf_id` (Number)
32+
- `tenant_id` (Number) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
33+
- `vlan_id` (Number) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
34+
- `vlan_vid` (Number) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
35+
- `vrf_id` (Number) At least one of `description`, `family`, `prefix`, `vlan_vid`, `vrf_id`, `vlan_id`, `tenant_id`, `site_id`, `role_id`, `cidr`, `tag` or `status` must be given.
3436

3537
### Read-Only
3638

3739
- `id` (Number) The ID of this resource.
38-
- `status` (String)
3940
- `tags` (Set of String)
4041

4142

docs/data-sources/prefixes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ description: |-
3030

3131
Required:
3232

33-
- `name` (String) The name of the field to filter on. Supported fields are: `prefix`, `contains`, `vlan_vid`, `vrf_id`, `vlan_id`, `status`, `site_id`, & `tag`.
33+
- `name` (String) The name of the field to filter on. Supported fields are: `prefix`, `contains`, `vlan_vid`, `vrf_id`, `vlan_id`, `status`, `tenant_id`, `site_id`, & `tag`.
3434
- `value` (String) The value to pass to the specified filter.
3535

3636

@@ -45,6 +45,7 @@ Read-Only:
4545
- `site_id` (Number)
4646
- `status` (String)
4747
- `tags` (Set of String)
48+
- `tenant_id` (Number)
4849
- `vlan_id` (Number)
4950
- `vlan_vid` (Number)
5051
- `vrf_id` (Number)

docs/data-sources/vlan_group.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ data "netbox_vlan_group" "example3" {
3636

3737
### Optional
3838

39-
- `name` (String) At least one of `name` or `slug` must be given.
39+
- `name` (String) At least one of `name`, `slug` or `scope_type` must be given.
4040
- `scope_id` (Number) Required when `scope_type` is set.
41-
- `scope_type` (String) Valid values are `dcim.location`, `dcim.site`, `dcim.sitegroup`, `dcim.region`, `dcim.rack`, `virtualization.cluster` and `virtualization.clustergroup`.
42-
- `slug` (String) At least one of `name` or `slug` must be given.
41+
- `scope_type` (String) Valid values are `dcim.location`, `dcim.site`, `dcim.sitegroup`, `dcim.region`, `dcim.rack`, `virtualization.cluster` and `virtualization.clustergroup`. At least one of `name`, `slug` or `scope_type` must be given.
42+
- `slug` (String) At least one of `name`, `slug` or `scope_type` must be given.
4343

4444
### Read-Only
4545

0 commit comments

Comments
 (0)