[Feature]: Update an object with its ID #791
Replies: 2 comments 1 reply
-
Have you looked at https://netbox-ansible-collection.readthedocs.io/en/latest/getting_started/how-to-use/advanced.html#using-query-params-module-argument ? |
Beta Was this translation helpful? Give feedback.
-
Still think this would be useful - I'm looking to manipulate device details but not name.. - I have the device id but not the name. of course I can get it and look it up but why would I? I already have the inbuilt NetBox device identifier but the name field seems to be required according to the documentation and this name lookup will slow my loop down needlessly for several thousands of devices.. |
Beta Was this translation helpful? Give feedback.
-
NetBox version
v3.2.1
Feature type
Change to existing Module
Proposed functionality
Possibility to update object data by mentionning its ID instead of its name to select it.
Use case
Usefull for changing a device name or updating the data of a member of a virtual chassis that has no name.
ex:
External dependencies
No response
Beta Was this translation helpful? Give feedback.
All reactions