---
title: "NetMRI_Easy.pm Attributes"
canonical: "https://docs.infoblox.com/space/NetMRI753/42077211/NetMRI_Easy.pm%20Attributes"
format: markdown
---
The table contains the NetMRI_Easy attributes and their descriptions.

| **Attribute** | **Description** |
| --- | --- |
| `$easy->job_id` | Job ID of the Perl script running on the NetMRI appliance. |
| `$easy->device_id` | ID of the target device against which the script is running. |
| `$easy->batch_id` | Batch id of the Perl script running on the NetMRI appliance. |
| `$easy->username` | The NetMRI username. |
| `$easy->dis_session_id` | Returns the DIS session id used to interact with the target device. The DIS session is opened automatically when needed, and closes automatically when the NetMRI_Easy object goes out of scope (typically when the Perl script terminates on the NetMRI appliance). |
| `$easy->device` | Returns the `NetMRI::API::Remote::Device` (new Perl API) or `NetMRI::API::Device` (old Perl API) for the target device.  
$easy->device is a shortcut for the following:<br>`$easy->broker->device->show(DeviceID => $self->device_id )->device;`<br>The device is cached and fetched only once. |