File tree Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Original file line number Diff line number Diff line change 7
7
8
8
__metaclass__ = type
9
9
10
- ANSIBLE_METADATA = {
11
- "metadata_version" : "1.1" ,
12
- "status" : ["preview" ],
13
- "supported_by" : "community" ,
14
- }
15
-
16
10
DOCUMENTATION = r"""
17
11
---
18
12
module: netbox_region
51
45
- The parent region this region should be tied to
52
46
required: false
53
47
type: raw
48
+ description:
49
+ description:
50
+ - The description of the region
51
+ required: false
52
+ type: str
53
+ version_added: 3.5.0
54
+ tags:
55
+ description:
56
+ - Any tags that the region may need to be associated with
57
+ required: false
58
+ type: list
59
+ elements: raw
60
+ version_added: 3.5.0
61
+ custom_fields:
62
+ description:
63
+ - Must exist in NetBox and in key/value format
64
+ required: false
65
+ type: dict
66
+ version_added: 3.5.0
54
67
required: true
55
68
"""
56
69
@@ -113,6 +126,9 @@ def main():
113
126
name = dict (required = True , type = "str" ),
114
127
slug = dict (required = False , type = "str" ),
115
128
parent_region = dict (required = False , type = "raw" ),
129
+ description = dict (required = False , type = "str" ),
130
+ tags = dict (required = False , type = "list" , elements = "raw" ),
131
+ custom_fields = dict (required = False , type = "dict" ),
116
132
),
117
133
),
118
134
)
You can’t perform that action at this time.
0 commit comments