netbox-community / go-netbox

The official Go API client for Netbox IPAM and DCIM service.
Other
194 stars 144 forks source link

Writable_prefix tenant and site as int64 #111

Closed gunnertwin closed 1 year ago

gunnertwin commented 3 years ago

I am using this module to create prefixes using Terraform but I have to specify the site and tenant as the ID (int64)

It would be helpful to be able to either specify "site_id" or "site_name" which would be TypeString.

v0ctor commented 1 year ago

Closing, as it is a Netbox API limitation. It is not possible to implement the requested feature in this library.