Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Power Outlet → Create
AI-generatedOverview
This node interacts with the NetBox API to create a new power outlet resource within the DCIM domain. It is useful for automating the management of power outlets associated with devices in a data center or network infrastructure. For example, users can create power outlets by specifying the device ID, outlet name, and additional optional details such as module ID, label, outlet type, feed leg, power port ID, connection status, description, tags, and custom fields.
Use Case Examples
- Creating a power outlet for a specific device by providing the device ID and outlet name.
- Adding detailed information to a power outlet such as its type (e.g., IEC 60320 C13), physical label, and custom tags for better organization.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is set to 'dcim' for data center infrastructure management. |
| Device ID | The ID of the device to which the power outlet belongs, required to associate the outlet with a device. |
| Name | The name of the power outlet, used to identify it uniquely within the device. |
| Additional Fields | Optional additional details for the power outlet such as module ID, label, type, feed leg, power port ID, connection status, description, tags, and custom fields. |
Output
JSON
id- Unique identifier of the created power outletname- Name of the created power outletdevice_id- ID of the device the power outlet belongs totype- Type of the power outletlabel- Physical label on the power outletfeed_leg- Feed leg for three-phase powerpower_port- ID of the associated power portmark_connected- Indicates if the outlet is marked as connecteddescription- Description of the power outlettags- Tags associated with the power outletcustom_fields- Custom metadata fields associated with the power outlet
Dependencies
- NetBox API
- API key credential for authentication
Troubleshooting
- Common issues include invalid device ID or missing required fields such as the power outlet name, which will cause API errors.
- Errors related to authentication failure if the API key credential is incorrect or missing.
- Network connectivity issues to the NetBox API endpoint can cause request failures.
Links
- NetBox API Documentation - Power Outlets - Official documentation for managing power outlets via the NetBox API.