Hudu icon

Hudu

Interact with Hudu REST API

Rack Storage Item → Create

AI-generated

Overview

This node operation creates a new Rack Storage Item in the Hudu system. It is useful for managing physical or virtual rack storage by specifying details such as the rack storage role, associated asset, unit positions, status, and side. This operation is beneficial in scenarios where users need to programmatically add storage items to racks, for example, in data center management or asset tracking systems.

Use Case Examples

  1. Creating a rack storage item by specifying the rack storage role ID, asset ID, start and end units, status, and side.
  2. Adding additional optional details like maximum wattage, power draw, and reserved messages to a rack storage item.

Properties

Name Meaning
Rack Storage Role ID The unique ID of the rack storage role, used to associate the storage item with a specific role.
Asset ID The unique ID of the asset to be stored in the rack storage item.
Start Unit The starting unit position of the rack storage item within the rack.
End Unit The ending unit position of the rack storage item within the rack.
Status The status of the rack storage item, indicating its current state or availability.
Side The side of the rack where the storage item is located.
Additional Fields Optional additional properties for the rack storage item, including max wattage, power draw, and reserved message.

Output

JSON

  • id - The unique identifier of the created rack storage item.
  • rack_storage_role_id - The rack storage role ID associated with the created item.
  • asset_id - The asset ID linked to the created rack storage item.
  • start_unit - The starting unit position of the created rack storage item.
  • end_unit - The ending unit position of the created rack storage item.
  • status - The status of the created rack storage item.
  • side - The side of the rack where the item is located.
  • max_wattage - The maximum wattage of the created rack storage item, if provided.
  • power_draw - The power draw of the created rack storage item, if provided.
  • reserved_message - The reserved message for the created rack storage item, if provided.

Dependencies

  • Requires an API key credential for authenticating with the Hudu REST API.

Troubleshooting

  • Common issues include providing invalid or missing required IDs such as rack storage role ID or asset ID, which will cause the creation to fail.
  • Errors may occur if the start unit or end unit values are out of range or logically inconsistent (e.g., end unit less than start unit).
  • Ensure the API key credential is correctly configured and has sufficient permissions to create rack storage items.
  • If the node throws an error about unknown resource, verify that the resource parameter is correctly set to 'rack_storage_items'.

Discussion