Skip to content

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.ConfigContexts

Bases: Record

ConfigContext object.

pynautobot.models.extras.CustomFieldChoices

Bases: Record

CustomFieldChoices.

__str__()

Return the string representation of the CustomFieldChoices object.

pynautobot.models.extras.CustomFields

Bases: Record

CustomFields.

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.

pynautobot.models.extras.ExternalIntegrations

Bases: Record

ExternalIntegrations.

pynautobot.models.extras.GitRepositories

Bases: Record

GitRepositories.

pynautobot.models.extras.GraphqlQueries

Bases: Record

GraphqlQueries.

run(*args, **kwargs)

Run a graphql query from a saved graphql instance.

pynautobot.models.extras.JobResults

Bases: Record

JobResults.

pynautobot.models.extras.Jobs

Bases: Record

Jobs.

run(**kwargs)

Run a job from within a job instance.

pynautobot.models.extras.ObjectChanges

Bases: Record

ObjectChanges.

__str__()

Return the string representation of the ObjectChanges object.

pynautobot.models.extras.Relationships

Bases: Record

Relationships.

pynautobot.models.extras.SavedViews

Bases: Record

SavedViews.

pynautobot.models.extras.Secrets

Bases: Record

Secrets.