NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Type → Get

AI-generated

Overview

This node interacts with the NetBox API to retrieve details of a specific Rack Type resource within the DCIM domain. It is useful for scenarios where you need to fetch detailed information about a rack type by its ID, such as in data center management or infrastructure automation workflows.

Use Case Examples

  1. Retrieve a rack type's details by providing its ID to integrate with asset management systems.
  2. Fetch rack type information to display in a custom dashboard or report.

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 type to retrieve. This is required to specify which rack type record to get.

Output

JSON

  • id - The unique identifier of the rack type.
  • name - The name of the rack type.
  • width - The width of the rack type.
  • height - The height of the rack type.
  • uHeight - The height in rack units.
  • description - Description of the rack type.
  • tags - Tags associated with the rack type.

Dependencies

  • NetBox API with appropriate authentication credentials

Troubleshooting

  • Ensure the provided rack type ID is valid and exists in the NetBox instance.
  • Verify that the API credentials have sufficient permissions to access the DCIM domain and rack types resource.
  • Check network connectivity to the NetBox API endpoint.
  • Common error messages include authentication failures, resource not found (404), and permission denied (403). Resolving these involves verifying credentials, IDs, and user permissions.

Discussion