Extras¶
pynautobot.models.extras
¶
Overrides for models in the Extras app.
Classes, attributes and methods only need to be defined here if they need to override the default behavior.
pynautobot.models.extras.CustomFieldChoices
¶
pynautobot.models.extras.DynamicGroups
¶
Bases: Record
DynamicGroups.
members
property
¶
Represents the members
detail endpoint.
Returns a list of DetailEndpoint objects that are related to the dynamic group
:returns: :py:class:.DetailEndpoint
:Examples:
Dynamic group of devices:
group = nb.extras.dynamic_groups.get("device-group") group.members.list() [
...]
Dynamic group of IPs:
group = nb.extras.dynamic_groups.get("ip-group") group.members.list() [
...]
__str__()
¶
Return the string representation of the DynamicGroups object.