Skip to content

Commit 04337f6

Browse files
authored
Add tenant to location (#829)
1 parent df90517 commit 04337f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

plugins/modules/netbox_location.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@
5050
- The parent location the location will be associated with
5151
required: false
5252
type: raw
53+
tenant:
54+
description:
55+
- The tenant that the location will be associated with
56+
required: false
57+
type: raw
58+
version_added: "3.8.0"
5359
description:
5460
description:
5561
- The description of the location
@@ -143,6 +149,7 @@ def main():
143149
slug=dict(required=False, type="str"),
144150
site=dict(required=False, type="raw"),
145151
parent_location=dict(required=False, type="raw"),
152+
tenant=dict(required=False, type="raw"),
146153
description=dict(required=False, type="str"),
147154
tags=dict(required=False, type="list", elements="raw"),
148155
custom_fields=dict(required=False, type="dict"),

0 commit comments

Comments
 (0)