NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Role → Get

AI-generated

Overview

This node interacts with the NetBox API to retrieve information about a specific Rack Role within the DCIM domain. It is useful for scenarios where you need to fetch detailed data about rack roles in a data center infrastructure management context, such as automation workflows for inventory management or infrastructure monitoring.

Use Case Examples

  1. Retrieve details of a rack role by its ID to display or process in an automation workflow.
  2. Fetch rack role information to update a CMDB or asset management system.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to use, here it is set to 'dcim' for data center infrastructure management.
ID The unique identifier of the rack role to retrieve. This is required to specify which rack role record to get from the NetBox API.

Output

JSON

  • id - The unique identifier of the rack role.
  • name - The name of the rack role.
  • slug - A URL-friendly identifier for the rack role.
  • color - The color associated with the rack role for UI representation.
  • description - A textual description of the rack role.
  • created - Timestamp when the rack role was created.
  • last_updated - Timestamp when the rack role was last updated.

Dependencies

  • NetBox API with appropriate authentication credentials

Troubleshooting

  • Ensure the 'ID' property is correctly set to a valid rack role ID; otherwise, the API call will fail.
  • Verify that the API credentials provided have sufficient permissions to access the DCIM domain and rack roles resource.
  • If the node throws an error, check the error message for details such as network issues, authentication failures, or invalid parameters.
  • Enable 'Continue on Fail' option to handle errors gracefully in workflows and receive error details as output.

Links

Discussion