Gets a tape device by its ID.
Endpoint
https://<Director_IP_address>:4443/c/router
Tenant Endpoint
For tenants of the multi-tenant product the endpoint must be:https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
Request Example
curl --request POST \ --url https://<Director_IP_address>:4443/c/router \ --header "content-type: application/json" \ --cookie @cookies.txt \ --data "{ "action": "TapeDeviceManagement", "method": "getDeviceInfo", "data": [1], "type": "rpc", "tid": 1 }"
Request Fields
Field | Type | Value(s) |
---|---|---|
action | string |
|
method | string |
|
data | array | ID of the tape device |
type | string | rpc |
tid | int | 1 |
Response Sample
Response Fields
Field | Value | Description |
---|---|---|
message | string | Message if the request failed |
where | string | Reference to the method where the problem occurred |
cause | string | Cause of failure |
data | Json | Tape device parameters. See the data table below |
data
Field | Value | Description |
---|---|---|
| long | The error code of the alert (if any) |
| string | The description of the alert (if any) |
| string | The title of the alert (if any) |
| boolean | Checks if the tape device is attached |
| int | Block size of the current tape device |
| string | Change status. Possible values: |
| Json | Media changers of the tape library |
| string | Compression type |
| string | Tape device name |
| int | Number of tape library drives |
| Json | Tape drives of the tape library |
| long | Free capacity of the tape device |
| long | Tape device ID |
| int | ID of the location of tape device |
| string | Name of the location of tape device |
| int | ID of the media pool of tape device |
| string | Name of the media pool of tape device |
| array | Lock reasons |
| boolean |
|
| boolean |
|
| string | Tape device name |
| int | ID of the location for tapes ejected from this tape device |
| string | Name of the location for tapes ejected from this tape device |
| string | Timestamp of the beginning of the current operation |
| long | Relative timestamp (e.g. time since start) of the beginning of the current operation |
| string | Path to the tape device |
| boolean | If |
| int | Progress of the current operation |
| int | Number of tape library slots |
| string | Tape device state |
| string | Status of the current operation on the tape device. |
| int | Number of tape device cartridges |
| long | Tape cartridge ID |
| string | Tape cartridge name |
| long | Assigned transporter ID |
| string | Assigned transporter name |
| string | Tape device type. Possible values: |
| boolean | Checks if the changers of tape library were updated |
| boolean | Checks if the drives of tape library were updated |
| string | Tape device UUID |
| string | Tape device VID |
| boolean | Checks if the tape device was created |
| boolean | Checks if the tape device was discovered once |
| boolean | Checks if the tape device was edited |